New Ghostscript/GhostPDL compiler warnings - 2018-01-23-10:45:04 - 34f29fe8f77a626ef71c1f04fd781dd8b8bacd85

[email protected] Tue, 23 Jan 2018 12:09:55 -0800 (PST)
Newsgroups gmane.comp.printing.ghostscript.regression
Message-ID <20180123200955.B814420401B7@i7>
Previous Revision: 2ce962cfc20267b3e678d8d1357dfc2643b7a477
 Current Revision: 34f29fe8f77a626ef71c1f04fd781dd8b8bacd85

commit 34f29fe8f77a626ef71c1f04fd781dd8b8bacd85
Author:     Shailesh Mistry <[email protected]>
AuthorDate: Tue Jan 23 08:49:04 2018 +0000
CommitDate: Tue Jan 23 17:26:56 2018 +0000

    Bug 697545 : Fix pxstate memory leak.
    
    Fix memory leak for allocation event numbers 517 - 520.
    
    Error created using :-
    MEMENTO_FAILAT=578 ./membin/gpcl6 -sDEVICE=ppmraw -o /dev/null ./pcl/examples/owl.pcl

base/gsfont.c
pcl/pxl/pxstate.c



Ghostscript:

new cppcheck warnings (Cppcheck 1.72): 

base/gsfont.c:367: error: Shifting a negative value is undefined behaviour
base/gsfont.c:897: error: Shifting a negative value is undefined behaviour
base/gsfont.c:901: error: Shifting a negative value is undefined behaviour

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