New Ghostscript/GhostPDL compiler warnings - 2018-03-30-09:15:05 - f0e234d660dbeb774f39392f0e45e333fd9308a3

[email protected] Fri, 30 Mar 2018 10:33:54 -0700 (PDT)
Newsgroups gmane.comp.printing.ghostscript.regression
Message-ID <20180330173354.0B7BD2040273@i7>
Previous Revision: bd2ce49067793d8b57c6a1b4831e16f952183f6b
 Current Revision: f0e234d660dbeb774f39392f0e45e333fd9308a3

commit f0e234d660dbeb774f39392f0e45e333fd9308a3
Author:     Shailesh Mistry <[email protected]>
AuthorDate: Thu Mar 29 20:15:29 2018 +0100
CommitDate: Fri Mar 30 15:39:04 2018 +0100

    Bug 697545 : Update set_cache_device to prevent memory leaks.
    
    Added a matching grestore for the gsave on all error paths.

base/gxchar.c



Ghostscript:

new cppcheck warnings (Cppcheck 1.72): 

base/gxchar.c:628: error: Shifting a negative value is undefined behaviour
base/gxchar.c:646: error: Shifting a negative value is undefined behaviour
base/gxchar.c:1092: error: Shifting a negative value is undefined behaviour
base/gxchar.c:1094: error: Shifting a negative value is undefined behaviour
base/gxchar.c:1598: error: Shifting a negative value is undefined behaviour
base/gxchar.c:1599: error: Shifting a negative value is undefined behaviour
base/gxchar.c:1606: error: Shifting a negative value is undefined behaviour
base/gxchar.c:1607: error: Shifting a negative value is undefined behaviour

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