New Ghostscript/GhostPDL compiler warnings - 2018-02-03-02:30:28 - dde422bb086ce0b2f56609fa3fc9af87867fc757
[email protected] Sat, 3 Feb 2018 04:25:31 -0800 (PST)
| Newsgroups | gmane.comp.printing.ghostscript.regression |
|---|---|
| Message-ID | <20180203122531.335A6204060A@i7> |
Previous Revision: fa4941c607680159ed62bfe79b754a099adf5a4e Current Revision: dde422bb086ce0b2f56609fa3fc9af87867fc757 commit dde422bb086ce0b2f56609fa3fc9af87867fc757 Author: Ken Sharp <[email protected]> AuthorDate: Sat Feb 3 10:26:18 2018 +0000 CommitDate: Sat Feb 3 10:26:18 2018 +0000 partially revert 07f9da3cb5647b18458cd52d1be35ab5365790eb This was a scanbuild false positive, the original code was in fact correct. base/gdevkrnlsclass.c Ghostscript: new scan-build warnings: ./base/gdevkrnlsclass.c:51:15: warning: Access to field 'parent' results in a dereference of a null pointer (loaded from variable 'dev') while(dev->parent) ^~~~~~~~~~~ ./base/gdevkrnlsclass.c:84:15: warning: Access to field 'parent' results in a dereference of a null pointer (loaded from variable 'dev') while(dev->parent) ^~~~~~~~~~~ http://miles.ghostscript.com:8080/artifex/dde422bb086ce0b2f56609fa3fc9af87867fc757/gs/index.html http://miles.ghostscript.com:8080/artifex/dde422bb086ce0b2f56609fa3fc9af87867fc757/gs-scan-build.txt GhostPCL: new scan-build warnings: ./base/gdevkrnlsclass.c:51:15: warning: Access to field 'parent' results in a dereference of a null pointer (loaded from variable 'dev') while(dev->parent) ^~~~~~~~~~~ ./base/gdevkrnlsclass.c:84:15: warning: Access to field 'parent' results in a dereference of a null pointer (loaded from variable 'dev') while(dev->parent) ^~~~~~~~~~~ http://miles.ghostscript.com:8080/artifex/dde422bb086ce0b2f56609fa3fc9af87867fc757/pcl/index.html http://miles.ghostscript.com:8080/artifex/dde422bb086ce0b2f56609fa3fc9af87867fc757/pcl-scan-build.txt