Blame SOURCES/autotrace-0.31.1-CVE-2016-7392.patch

ec709f
Subject: Fix heap-based buffer overflow in pstoedit_suffix_table_init
ec709f
ID: CVE-2016-7392
ec709f
Author: unknown (taken from DLA-621-1)
ec709f
Bug-Debian: https://bugs.debian.org/837599
ec709f
ec709f
--- a/output-pstoedit.c
ec709f
+++ b/output-pstoedit.c
ec709f
@@ -84,7 +84,7 @@
ec709f
       dd_tmp   = dd_start;
ec709f
       while (dd_tmp->symbolicname)
ec709f
 	dd_tmp++;
ec709f
-      XMALLOC(pstoedit_suffix_table, sizeof(char *) * 2 * (dd_tmp - dd_start) + 1);
ec709f
+      XMALLOC(pstoedit_suffix_table, sizeof(char *) * (2 * (dd_tmp - dd_start) + 1));
ec709f
 
ec709f
 #if defined (OUTPUT_PSTOEDIT_DEBUG) && defined(__GNUC__)
ec709f
   fprintf(stderr, "OUTPUT PSTOEDIT BACKEND DEBUG(%s)\n", __FUNCTION__);