]> git.pld-linux.org Git - packages/autotrace.git/blob - autotrace-CVE-2016-7392.patch
- patch to fix .pc file, force ImageMagick (over GraphicsMagick default)
[packages/autotrace.git] / autotrace-CVE-2016-7392.patch
1 Subject: Fix heap-based buffer overflow in pstoedit_suffix_table_init
2 ID: CVE-2016-7392
3 Author: unknown (taken from DLA-621-1)
4 Bug-Debian: https://bugs.debian.org/837599
5
6 --- a/output-pstoedit.c
7 +++ b/output-pstoedit.c
8 @@ -84,7 +84,7 @@
9        dd_tmp   = dd_start;
10        while (dd_tmp->symbolicname)
11         dd_tmp++;
12 -      XMALLOC(pstoedit_suffix_table, sizeof(char *) * 2 * (dd_tmp - dd_start) + 1);
13 +      XMALLOC(pstoedit_suffix_table, sizeof(char *) * (2 * (dd_tmp - dd_start) + 1));
14  
15  #if defined (OUTPUT_PSTOEDIT_DEBUG) && defined(__GNUC__)
16    fprintf(stderr, "OUTPUT PSTOEDIT BACKEND DEBUG(%s)\n", __FUNCTION__);
This page took 0.033259 seconds and 3 git commands to generate.