New Ghostscript/GhostPDL compiler warnings - 2017-10-06-20:00:02 - 8d2a3a5b0f8280449d75ea99ddcadb69259370b6

[email protected]
Newsgroups gmane.comp.printing.ghostscript.regression
Message-ID <20171007041604.0BD3C204019A@i7>
Previous Revision: ab6acb21bfc42194650ff90243e0737b43d81919
 Current Revision: 8d2a3a5b0f8280449d75ea99ddcadb69259370b6

commit 8d2a3a5b0f8280449d75ea99ddcadb69259370b6
Author:     Robin Watts <[email protected]>
AuthorDate: Tue Oct 3 18:09:05 2017 +0100
CommitDate: Thu Oct 5 19:43:57 2017 +0100

    Tweak art_pdf_recomposite_group_8.
    
    Avoid having to memcpy the input components in the common case,
    at the expense of corrupting src[n_chan] in the difficult
    case. This is fine, because our only caller never accesses
    src[n_chan] again.

base/gxblend.c
base/gxblend.h
base/gxblend1.c



Ghostscript:

new scan-build warnings:

./base/gxblend1.c:548:29: warning: Access to field 'rowstride' results in a dereference of a null pointer (loaded from variable 'maskbuf')
            mask_row_ptr += maskbuf->rowstride;
                            ^~~~~~~~~~~~~~~~~~


http://miles.ghostscript.com:8080/artifex/8d2a3a5b0f8280449d75ea99ddcadb69259370b6/gs/index.html

http://miles.ghostscript.com:8080/artifex/8d2a3a5b0f8280449d75ea99ddcadb69259370b6/gs-scan-build.txt




GhostPCL:

new scan-build warnings:

./base/gxblend1.c:548:29: warning: Access to field 'rowstride' results in a dereference of a null pointer (loaded from variable 'maskbuf')
            mask_row_ptr += maskbuf->rowstride;
                            ^~~~~~~~~~~~~~~~~~


http://miles.ghostscript.com:8080/artifex/8d2a3a5b0f8280449d75ea99ddcadb69259370b6/pcl/index.html

http://miles.ghostscript.com:8080/artifex/8d2a3a5b0f8280449d75ea99ddcadb69259370b6/pcl-scan-build.txt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.