New Ghostscript/GhostPDL compiler warnings - 2018-07-16-05:00:05 - d522f9a9815dce16977f7a9e9715e861cab76a55
[email protected] Mon, 16 Jul 2018 06:22:39 -0700 (PDT)
| Newsgroups | gmane.comp.printing.ghostscript.regression |
|---|---|
| Message-ID | <20180716132239.AD85820401C3@i7> |
Previous Revision: 18a051f2f422f9d336e1d6a28f990068faaf2abc Current Revision: d522f9a9815dce16977f7a9e9715e861cab76a55 commit d522f9a9815dce16977f7a9e9715e861cab76a55 Author: Sebastian Rasmussen <[email protected]> AuthorDate: Mon Apr 9 22:25:34 2018 +0800 CommitDate: Fri Jul 13 16:54:30 2018 +0800 jbig2dec: Fix incorrect adaptive pixel location check. Previously for the adaptive pixel template 2 the check for the location of the adaptive pixel was wrong. Because generic regions with nominal locations are more common this lead to the unoptimized decoder being used. Only a few images where the adaptive pixel location happened to be at this wrong location used the optimized decoder, and presumably were decoded incorrectly. This incorrect location check therefore hid the bug in the optimized generic region decoder concerning what pixels are included at what location in the arithmetic integer context. Now the adaptive pixel location check is corrected as well as the bug in the optimized generic region decoder itself. jbig2dec/jbig2_generic.c Ghostscript: new cppcheck warnings (Cppcheck 1.72): jbig2dec/jbig2_generic.c:799: error: Uninitialized variable: gbat http://miles.ghostscript.com:8080/artifex/d522f9a9815dce16977f7a9e9715e861cab76a55/gs-cppcheck.txt