[med-svn] r20828 - in trunk/packages/autodocksuite/trunk/debian: . patches

Andreas Tille tille at moszumanska.debian.org
Sat Dec 19 20:14:35 UTC 2015


Author: tille
Date: 2015-12-19 20:14:34 +0000 (Sat, 19 Dec 2015)
New Revision: 20828

Added:
   trunk/packages/autodocksuite/trunk/debian/patches/mayhem.patch
Modified:
   trunk/packages/autodocksuite/trunk/debian/changelog
   trunk/packages/autodocksuite/trunk/debian/patches/series
Log:
Fix Mayhem issue


Modified: trunk/packages/autodocksuite/trunk/debian/changelog
===================================================================
--- trunk/packages/autodocksuite/trunk/debian/changelog	2015-12-19 16:56:21 UTC (rev 20827)
+++ trunk/packages/autodocksuite/trunk/debian/changelog	2015-12-19 20:14:34 UTC (rev 20828)
@@ -2,6 +2,8 @@
 
   * cme fix dpkg-control
   * avoid csh Build-Depends
+  * Fix Mayhem issue
+    Closes: #715663
 
  -- Andreas Tille <tille at debian.org>  Sat, 19 Dec 2015 12:11:25 +0100
 

Added: trunk/packages/autodocksuite/trunk/debian/patches/mayhem.patch
===================================================================
--- trunk/packages/autodocksuite/trunk/debian/patches/mayhem.patch	                        (rev 0)
+++ trunk/packages/autodocksuite/trunk/debian/patches/mayhem.patch	2015-12-19 20:14:34 UTC (rev 20828)
@@ -0,0 +1,19 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Sat, 19 Dec 2015 12:11:25 +0100
+Bug-Debian: https://bugs.debian.org/715663
+Description: Fix Mayhem issue by ensuring that the code stops
+ if cruft was permitted as input (for instance via stdin)
+
+--- a/autogrid/main.cpp
++++ b/autogrid/main.cpp
+@@ -1477,6 +1477,10 @@ if ( map_index < num_atom_maps -1 ) {
+             print_error( logFile, FATAL_ERROR, message );
+ 	} 
+ 
++if (!gridmap) {
++	print_error( logFile, FATAL_ERROR, "No gridmaps defined.  AutoGrid must exit." );
++}
++
+ /* Desolvation map */
+ if (( not use_vina_potential) && (strlen( gridmap[dsolvPE].map_filename ) == 0  )) {  
+              (void) fprintf( logFile, "The desolvation map file is not defined in the GPF.\n" );

Modified: trunk/packages/autodocksuite/trunk/debian/patches/series
===================================================================
--- trunk/packages/autodocksuite/trunk/debian/patches/series	2015-12-19 16:56:21 UTC (rev 20827)
+++ trunk/packages/autodocksuite/trunk/debian/patches/series	2015-12-19 20:14:34 UTC (rev 20828)
@@ -1,2 +1,3 @@
 create_fake_autoreconf_files.patch
 csh2bash.patch
+mayhem.patch




More information about the debian-med-commit mailing list