New Ghostscript/GhostPDL compiler warnings - 2018-08-23-18:15:03 - b575e1ec42cc86f6a58c603f2a88fcc2af699cc8
[email protected] Thu, 23 Aug 2018 19:37:25 -0700 (PDT)
| Newsgroups | gmane.comp.printing.ghostscript.regression |
|---|---|
| Message-ID | <20180824023725.14CF220401A2@i7> |
Previous Revision: d224b4abec1d0bd991028b7e38e95d47b7a834f4 Current Revision: b575e1ec42cc86f6a58c603f2a88fcc2af699cc8 commit b575e1ec42cc86f6a58c603f2a88fcc2af699cc8 Author: Chris Liddell <[email protected]> AuthorDate: Thu Aug 23 12:20:56 2018 +0100 CommitDate: Thu Aug 23 12:24:12 2018 +0100 Bug 699668: handle stack overflow during error handling When handling a Postscript error, we push the object throwing the error onto the operand stack for the error handling procedure to access - we were not checking the available stack before doing so, thus causing a crash. Basically, if we get a stack overflow when already handling an error, we're out of options, return to the caller with a fatal error. psi/interp.c Ghostscript: new cppcheck warnings (Cppcheck 1.72): psi/interp.c:1260: error: Uninitialized variable: htemp psi/interp.c:1644: error: Uninitialized variable: htemp psi/interp.c:1152: error: Expression 'iref_temp=(const struct ref_s*)iref_packed,iref_temp' depends on order of evaluation of side effects psi/interp.c:1362: error: Expression 'iref_temp=(const struct ref_s*)iref_packed,iref_temp' depends on order of evaluation of side effects http://miles.ghostscript.com:8080/artifex/b575e1ec42cc86f6a58c603f2a88fcc2af699cc8/gs-cppcheck.txt