[gs-bugs] [Bug 693025] various crashes and leaks
bugzilla-daemon at ghostscript.com
bugzilla-daemon at ghostscript.com
Thu May 31 17:10:58 UTC 2012
http://bugs.ghostscript.com/show_bug.cgi?id=693025
--- Comment #5 from Shailesh Mistry <shailesh.mistry at hotmail.co.uk> 2012-05-31 17:10:56 UTC ---
Zeniko, thank you for spotting and reporting the typos. They have now been
committed as 9cddb4c193c6123140c6f7b1960db34025f86e40
However, please note that the following changes have not been included :-
1) "check = ((int64_t)stride)*((int64_t)height) + 1;"
See the reasoning in comment #3 above relating to Bug690723.
2) "/* SumatraPDF: this looks more correct */ jbig2_free(ctx->allocator,
dicts);"
The original code is correct and frees the memory accordingly.
3) "/* SumatraPDF: fix memory leak */ jbig2_free(ctx->allocator, dicts);"
The dicts are freed during segment release, freeing them early here would cause
a crash later in the process. This is not visible with the attached example
file because it does not enter this code path.
--
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the gs-bugs
mailing list