New Ghostscript/GhostPDL compiler warnings - 2018-07-24-11:30:02 - da7288fe212f24db7789f9807b9e55a0e4367b8a
[email protected] Tue, 24 Jul 2018 12:52:41 -0700 (PDT)
| Newsgroups | gmane.comp.printing.ghostscript.regression |
|---|---|
| Message-ID | <20180724195241.2A25B20409F3@i7> |
Previous Revision: 954d535ee5a63ff751c1af24bbd45adefc2a078c Current Revision: da7288fe212f24db7789f9807b9e55a0e4367b8a commit da7288fe212f24db7789f9807b9e55a0e4367b8a Author: Chris Liddell <[email protected]> AuthorDate: Mon Jul 23 11:54:50 2018 +0100 CommitDate: Tue Jul 24 13:17:12 2018 +0100 gx_cpath_unshare(): zero unset entries. gx_cpath_unshare() does not copy the clip path list, and leaves the list structure uninitialized. Until/Unless we implement copying the list, set the values in the list to zero/NULL so later freeing of the unshared clip path doesn't trip up. base/gxcpath.c base/lib.mak Ghostscript: new cppcheck warnings (Cppcheck 1.72): base/gxcpath.c:105: error: Shifting a negative value is undefined behaviour base/gxcpath.c:520: error: Shifting a negative value is undefined behaviour base/gxcpath.c:521: error: Shifting a negative value is undefined behaviour base/gxcpath.c:522: error: Shifting a negative value is undefined behaviour base/gxcpath.c:782: error: Shifting a negative value is undefined behaviour base/gxcpath.c:783: error: Shifting a negative value is undefined behaviour base/gxcpath.c:784: error: Shifting a negative value is undefined behaviour http://miles.ghostscript.com:8080/artifex/da7288fe212f24db7789f9807b9e55a0e4367b8a/gs-cppcheck.txt