New Ghostscript/GhostPDL compiler warnings - 2018-07-16-16:00:02 - db1efdfb5f194079070bfd1ab50ae11e881de50d

[email protected] Mon, 16 Jul 2018 17:17:18 -0700 (PDT)
Newsgroups gmane.comp.printing.ghostscript.regression
Message-ID <20180717001718.809FE2040417@i7>
Previous Revision: 968c424a70471c086466568bee21097e89149663
 Current Revision: db1efdfb5f194079070bfd1ab50ae11e881de50d

commit db1efdfb5f194079070bfd1ab50ae11e881de50d
Author:     Sebastian Rasmussen <[email protected]>
AuthorDate: Mon Apr 23 14:02:46 2018 +0800
CommitDate: Fri Jul 13 16:54:30 2018 +0800

    jbig2dec: Handle get_next_word() returning error/less than a word.
    
    This includes propagating the error handling to all callers.

jbig2dec/jbig2_arith.c
jbig2dec/jbig2_huffman.c
jbig2dec/jbig2_huffman.h
jbig2dec/jbig2_symbol_dict.c
jbig2dec/jbig2_text.c



Ghostscript:

new cppcheck warnings (Cppcheck 1.72): 

jbig2dec/jbig2_huffman.c:538: error: Shifting a negative value is undefined behaviour

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