New Ghostscript/GhostPDL compiler warnings - 2018-04-05-14:15:02 - cbc44b82c2c63ef48c994fb2eced4350e41159aa

[email protected] Thu, 5 Apr 2018 15:31:20 -0700 (PDT)
Newsgroups gmane.comp.printing.ghostscript.regression
Message-ID <20180405223120.7BA69204050F@i7>
Previous Revision: 4372854939842240c7edb58dd0fa285a0c2f15b1
 Current Revision: cbc44b82c2c63ef48c994fb2eced4350e41159aa

commit cbc44b82c2c63ef48c994fb2eced4350e41159aa
Author:     Shailesh Mistry <[email protected]>
AuthorDate: Wed Apr 4 18:40:01 2018 +0100
CommitDate: Thu Apr 5 18:28:16 2018 +0100

    Bug 697545 : Fix memory leak in show_proceed.
    
    Fix memory leak due to gsave/grestore mismatch.
    
    Error created using :-
    MEMENTO_FAILAT=10946 ./membin/gpcl6 -sDEVICE=ppmraw -o /dev/null ./pcl/examples/owl.pcl

base/gxchar.c



Ghostscript:

new cppcheck warnings (Cppcheck 1.72): 

base/gxchar.c:1601: error: Shifting a negative value is undefined behaviour
base/gxchar.c:1602: error: Shifting a negative value is undefined behaviour
base/gxchar.c:1609: error: Shifting a negative value is undefined behaviour
base/gxchar.c:1610: error: Shifting a negative value is undefined behaviour

http://miles.ghostscript.com:8080/artifex/cbc44b82c2c63ef48c994fb2eced4350e41159aa/gs-cppcheck.txt