New Ghostscript/GhostPDL compiler warnings - 2018-01-04-09:30:06 - 75f389e6b8a2f2bf15ab3044ae4e1ef185061e8d

[email protected] Thu, 4 Jan 2018 11:13:11 -0800 (PST)
Newsgroups gmane.comp.printing.ghostscript.regression
Message-ID <20180104191311.CB716204019F@i7>
Previous Revision: 193e3b87bc711d30be0c2c41f6b3e61f49c92b22
 Current Revision: 75f389e6b8a2f2bf15ab3044ae4e1ef185061e8d

commit 75f389e6b8a2f2bf15ab3044ae4e1ef185061e8d
Author:     Robin Watts <[email protected]>
AuthorDate: Thu Jan 4 15:56:55 2018 +0000
CommitDate: Thu Jan 4 17:21:58 2018 +0000

    pdf14 compose group (masked group) optimisation.
    
    The common case is for the mask (if there is one) to entirely
    cover the group we are masking. We can avoid needless
    checking in this case.
    
    This is the case the apple airprint performance test file
    hits and saves > 4% pam, 5% ppm, and 9% pgm.

base/gxblend.c



Ghostscript:

new scan-build warnings:

./base/gxblend.c:1795:36: warning: Dereference of null pointer
            byte mask = mask_tr_fn[*mask_curr_ptr++];
                                   ^~~~~~~~~~~~~~~~


http://miles.ghostscript.com:8080/artifex/75f389e6b8a2f2bf15ab3044ae4e1ef185061e8d/gs/index.html

http://miles.ghostscript.com:8080/artifex/75f389e6b8a2f2bf15ab3044ae4e1ef185061e8d/gs-scan-build.txt




GhostPCL:

new scan-build warnings:

./base/gxblend.c:1795:36: warning: Dereference of null pointer
            byte mask = mask_tr_fn[*mask_curr_ptr++];
                                   ^~~~~~~~~~~~~~~~


http://miles.ghostscript.com:8080/artifex/75f389e6b8a2f2bf15ab3044ae4e1ef185061e8d/pcl/index.html

http://miles.ghostscript.com:8080/artifex/75f389e6b8a2f2bf15ab3044ae4e1ef185061e8d/pcl-scan-build.txt