[med-svn] r20864 - in trunk/packages/t-coffee/trunk/debian: . patches

Andreas Tille tille at moszumanska.debian.org
Tue Dec 22 15:51:42 UTC 2015


Author: tille
Date: 2015-12-22 15:51:41 +0000 (Tue, 22 Dec 2015)
New Revision: 20864

Added:
   trunk/packages/t-coffee/trunk/debian/patches/mayhem.patch
Modified:
   trunk/packages/t-coffee/trunk/debian/changelog
Log:
Fix Mayhem issue


Modified: trunk/packages/t-coffee/trunk/debian/changelog
===================================================================
--- trunk/packages/t-coffee/trunk/debian/changelog	2015-12-22 15:05:14 UTC (rev 20863)
+++ trunk/packages/t-coffee/trunk/debian/changelog	2015-12-22 15:51:41 UTC (rev 20864)
@@ -6,6 +6,8 @@
   * compress changelog with '-n' option
   * propagate hardening options
   * Do not build unused TMalign
+  * Fix Mayhem issue
+    Closes: #716373
 
  -- Andreas Tille <tille at debian.org>  Mon, 21 Dec 2015 21:30:36 +0100
 

Added: trunk/packages/t-coffee/trunk/debian/patches/mayhem.patch
===================================================================
--- trunk/packages/t-coffee/trunk/debian/patches/mayhem.patch	                        (rev 0)
+++ trunk/packages/t-coffee/trunk/debian/patches/mayhem.patch	2015-12-22 15:51:41 UTC (rev 20864)
@@ -0,0 +1,20 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Mon, 21 Dec 2015 21:30:36 +0100
+Bug-Debian: https://bugs.debian.org/716373
+Description: Fix Mayhem issue
+ The idea behind this patch is that if there is a problem to set the HOME
+ directories no additional processes can exist and so we should *really*
+ exit.  Somehow the printf_exit() function does some logic which ends up
+ in an endless loop and thus forcing the exit by setting clean_exit_started
+ will help here.
+
+--- a/t_coffee_source/util_lib/util.c
++++ b/t_coffee_source/util_lib/util.c
+@@ -4642,6 +4641,7 @@ char *get_home_4_tcoffee ()
+     }
+   else
+     {
++      clean_exit_started=1; /* Force exit */
+       printf_exit (EXIT_FAILURE, stderr, "ERROR: Could not set a HOME directory.\nSet any of the following environement variables to some suitable location: HOME, HOME_4_TCOFFEE, TMP or TEMP [FATAL:%s]\n", PROGRAM);
+     }
+ 




More information about the debian-med-commit mailing list