New Ghostscript/GhostPDL compiler warnings - 2018-03-29-22:15:02 - 25971c91d6433b0249d3b721b75ef704afe0a09c
[email protected] Fri, 30 Mar 2018 00:39:27 -0700 (PDT)
| Newsgroups | gmane.comp.printing.ghostscript.regression |
|---|---|
| Message-ID | <20180330073928.2DB88204050E@i7> |
Previous Revision: d8a919d4b45097a527f6f39d509b920d285d709b Current Revision: 25971c91d6433b0249d3b721b75ef704afe0a09c commit 25971c91d6433b0249d3b721b75ef704afe0a09c Author: Chris Liddell <[email protected]> AuthorDate: Tue Mar 27 16:26:13 2018 +0100 CommitDate: Thu Mar 29 13:44:03 2018 +0100 Update libjpeg to 9c Plus re-applying: Bug 697186: Workaround JPEG lib bug. 8dcec8cc076a0cf8350ca7a6ec1d3136812e2a24 Bug 697186: Tweak to previous JPEG fix. dc62c90930512f4b571f68c9110022b234cbd411 jpeg/Makefile.am jpeg/Makefile.in jpeg/README jpeg/aclocal.m4 jpeg/ar-lib jpeg/cderror.h jpeg/change.log jpeg/cjpeg.1 jpeg/compile jpeg/config.guess jpeg/config.sub jpeg/configure jpeg/configure.ac jpeg/depcomp jpeg/djpeg.1 jpeg/djpeg.c jpeg/filelist.txt jpeg/install-sh jpeg/install.txt jpeg/jcinit.c jpeg/jcmaster.c jpeg/jconfig.vc jpeg/jcsample.c jpeg/jctrans.c jpeg/jdarith.c jpeg/jdatadst.c jpeg/jdatasrc.c jpeg/jdcolor.c jpeg/jdct.h jpeg/jdhuff.c jpeg/jdmainct.c jpeg/jdmaster.c jpeg/jdmerge.c jpeg/jdsample.c jpeg/jerror.c jpeg/jfdctflt.c jpeg/jfdctfst.c jpeg/jfdctint.c jpeg/jidctflt.c jpeg/jidctfst.c jpeg/jidctint.c jpeg/jinclude.h jpeg/jpegint.h jpeg/jpeglib.h jpeg/jpegtran.1 jpeg/jversion.h jpeg/libjpeg.pc.in jpeg/ltmain.sh jpeg/makeasln.v10 jpeg/makeasln.v15 jpeg/makecfil.v10 jpeg/makecfil.v15 jpeg/makecvcx.v10 jpeg/makecvcx.v15 jpeg/makedfil.v10 jpeg/makedfil.v15 jpeg/makedvcx.v10 jpeg/makedvcx.v15 jpeg/makefile.ansi jpeg/makefile.b32 jpeg/makefile.bcc jpeg/makefile.dj jpeg/makefile.manx jpeg/makefile.mc6 jpeg/makefile.mms jpeg/makefile.sas jpeg/makefile.unix jpeg/makefile.vc jpeg/makefile.vs jpeg/makefile.wat jpeg/makejfil.v10 jpeg/makejfil.v15 jpeg/makejsln.v10 jpeg/makejsln.v15 jpeg/makejvcx.v10 jpeg/makejvcx.v15 jpeg/makerfil.v10 jpeg/makerfil.v15 jpeg/makervcx.v10 jpeg/makervcx.v15 jpeg/maketfil.v10 jpeg/maketfil.v15 jpeg/maketvcx.v10 jpeg/maketvcx.v15 jpeg/makewfil.v10 jpeg/makewfil.v15 jpeg/makewvcx.v10 jpeg/makewvcx.v15 jpeg/missing jpeg/rdbmp.c jpeg/rdppm.c jpeg/rdswitch.c jpeg/rdtarga.c jpeg/transupp.c jpeg/usage.txt jpeg/wrbmp.c jpeg/wrgif.c jpeg/wrjpgcom.c jpeg/wrppm.c jpeg/wrrle.c jpeg/wrtarga.c Ghostscript: new gcc warnings (gcc (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609): ./obj/jcsample.c:483:11: warning: variable 'smoothok' set but not used [-Wunused-but-set-variable] http://miles.ghostscript.com:8080/artifex/25971c91d6433b0249d3b721b75ef704afe0a09c/gs-gcc-warnings.txt new scan-build warnings: ./obj/jcsample.c:483:11: warning: variable 'smoothok' set but not used [-Wunused-but-set-variable] boolean smoothok = TRUE; ^ ./obj/jcsample.c:520:7: warning: Value stored to 'smoothok' is never read smoothok = FALSE; ^ ~~~~~ ./obj/jcsample.c:533:7: warning: Value stored to 'smoothok' is never read smoothok = FALSE; ^ ~~~~~ http://miles.ghostscript.com:8080/artifex/25971c91d6433b0249d3b721b75ef704afe0a09c/gs/index.html http://miles.ghostscript.com:8080/artifex/25971c91d6433b0249d3b721b75ef704afe0a09c/gs-scan-build.txt new cppcheck warnings (Cppcheck 1.72): jpeg/djpeg.c:579: error: Possible null pointer dereference: dest_mgr jpeg/djpeg.c:589: error: Possible null pointer dereference: dest_mgr jpeg/djpeg.c:590: error: Possible null pointer dereference: dest_mgr jpeg/djpeg.c:591: error: Possible null pointer dereference: dest_mgr jpeg/djpeg.c:605: error: Possible null pointer dereference: dest_mgr jpeg/jdhuff.c:940: error: Shifting a negative value is undefined behaviour http://miles.ghostscript.com:8080/artifex/25971c91d6433b0249d3b721b75ef704afe0a09c/gs-cppcheck.txt GhostPCL: new gcc warnings (gcc (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609): ./obj/jcsample.c:483:11: warning: variable 'smoothok' set but not used [-Wunused-but-set-variable] http://miles.ghostscript.com:8080/artifex/25971c91d6433b0249d3b721b75ef704afe0a09c/pcl-gcc-warnings.txt new scan-build warnings: ./obj/jcsample.c:483:11: warning: variable 'smoothok' set but not used [-Wunused-but-set-variable] boolean smoothok = TRUE; ^ ./obj/jcsample.c:520:7: warning: Value stored to 'smoothok' is never read smoothok = FALSE; ^ ~~~~~ ./obj/jcsample.c:533:7: warning: Value stored to 'smoothok' is never read smoothok = FALSE; ^ ~~~~~ http://miles.ghostscript.com:8080/artifex/25971c91d6433b0249d3b721b75ef704afe0a09c/pcl/index.html http://miles.ghostscript.com:8080/artifex/25971c91d6433b0249d3b721b75ef704afe0a09c/pcl-scan-build.txt