12345678910111213141516 |
- Patch from debian to fix CVE-2016-7392
- https://blogs.gentoo.org/ago/2016/09/10/autotrace-heap-based-buffer-overflow-in-pstoedit_suffix_table_init-output-pstoedit-c/
- --- a/output-pstoedit.c
- +++ b/output-pstoedit.c
- @@ -84,7 +84,7 @@
- dd_tmp = dd_start;
- while (dd_tmp->symbolicname)
- dd_tmp++;
- - XMALLOC(pstoedit_suffix_table, sizeof(char *) * 2 * (dd_tmp - dd_start) + 1);
- + XMALLOC(pstoedit_suffix_table, sizeof(char *) * (2 * (dd_tmp - dd_start) + 1));
-
- #if defined (OUTPUT_PSTOEDIT_DEBUG) && defined(__GNUC__)
- fprintf(stderr, "OUTPUT PSTOEDIT BACKEND DEBUG(%s)\n", __FUNCTION__);
|