New Ghostscript/GhostPDL compiler warnings - 2018-09-06-21:45:01 - 0d8c7d563745bfd89051a203267fcbf2492ecfcc

[email protected] Thu, 6 Sep 2018 23:30:21 -0700 (PDT)
Newsgroups gmane.comp.printing.ghostscript.regression
Message-ID <20180907063021.AA773204327D@i7>
Previous Revision: 37c1547e61e758cdd17c3dcb0504e2f5988004c3
 Current Revision: 0d8c7d563745bfd89051a203267fcbf2492ecfcc

commit 0d8c7d563745bfd89051a203267fcbf2492ecfcc
Author:     Chris Liddell <[email protected]>
AuthorDate: Wed Sep 5 17:00:41 2018 +0100
CommitDate: Thu Sep 6 17:14:28 2018 +0100

    Bug 699720: Change available buffer space to int from uint
    
    sbufavailable() returns the number of bytes still available in the stream
    buffer. This can end up as negative at EOF (after we've read the final byte in
    the buffer, we read ptr is moved to the next byte, past the end of the buffer -
    that should never be read, however).
    
    We can safely use a signed integer since this is buffer space, *not* the total
    bytes available from the stream

psi/interp.c



Ghostscript:

new cppcheck warnings (Cppcheck 1.72): 

psi/interp.c:1647: error: Uninitialized variable: htemp

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