Fixed findings
List of Findings
Error: COMPILER_WARNING (CWE-563): [#def1]
ghostscript-10.05.1/base/gdevdbit.c: scope_hint: In function ‘gx_default_strip_tile_rect_devn’
ghostscript-10.05.1/base/gdevdbit.c:603:11: warning[-Wunused-variable]: unused variable ‘tile_id’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def2]
ghostscript-10.05.1/base/gsicc_manage.c:1691:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘gsicc_new_namelist(mem)’
ghostscript-10.05.1/base/gsicc_manage.c:1585:1: enter_function: entry to ‘gsicc_set_device_profile_colorants’
ghostscript-10.05.1/base/gsicc_manage.c:1601:8: branch_true: following ‘true’ branch...
ghostscript-10.05.1/base/gsicc_manage.c:1602:12: branch_true: ...to here
ghostscript-10.05.1/base/gsicc_manage.c:1651:12: branch_false: following ‘false’ branch...
ghostscript-10.05.1/base/gsicc_manage.c:1659:22: branch_false: ...to here
ghostscript-10.05.1/base/gsicc_manage.c:1659:22: call_function: calling ‘gsicc_new_namelist’ from ‘gsicc_set_device_profile_colorants’
ghostscript-10.05.1/base/gsicc_manage.c:1659:22: return_function: returning to ‘gsicc_set_device_profile_colorants’ from ‘gsicc_new_namelist’
ghostscript-10.05.1/base/gsicc_manage.c:1663:12: branch_false: following ‘false’ branch...
ghostscript-10.05.1/base/gsicc_manage.c:1665:9: branch_false: ...to here
ghostscript-10.05.1/base/gsicc_manage.c:1671:16: branch_true: following ‘true’ branch (when ‘pch’ is non-NULL)...
ghostscript-10.05.1/base/gsicc_manage.c:1672:17: branch_true: ...to here
ghostscript-10.05.1/base/gsicc_manage.c:1672:16: branch_false: following ‘false’ branch...
ghostscript-10.05.1/base/gsicc_manage.c:1672:16: branch_false: ...to here
ghostscript-10.05.1/base/gsicc_manage.c:1679:20: branch_false: following ‘false’ branch...
ghostscript-10.05.1/base/gsicc_manage.c:1686:26: branch_false: ...to here
ghostscript-10.05.1/base/gsicc_manage.c:1686:26: call_function: calling ‘gsicc_new_colorname’ from ‘gsicc_set_device_profile_colorants’
ghostscript-10.05.1/base/gsicc_manage.c:1686:26: return_function: returning to ‘gsicc_set_device_profile_colorants’ from ‘gsicc_new_colorname’
ghostscript-10.05.1/base/gsicc_manage.c:1687:16: branch_false: following ‘false’ branch...
ghostscript-10.05.1/base/gsicc_manage.c:1690:13: branch_false: ...to here
ghostscript-10.05.1/base/gsicc_manage.c:1691:13: danger: dereference of NULL ‘gsicc_new_namelist(mem)’
Error: COMPILER_WARNING (CWE-457): [#def3]
ghostscript-10.05.1/base/gx.h:26: included_from: Included from here.
ghostscript-10.05.1/base/gdevprn.h:24: included_from: Included from here.
ghostscript-10.05.1/contrib/japanese/gdev10v.c:33: included_from: Included from here.
ghostscript-10.05.1/contrib/japanese/gdev10v.c: scope_hint: In function ‘bj10v_print_page’
ghostscript-10.05.1/base/gsmalloc.h:58:21: warning[-Wmaybe-uninitialized]: ‘in’ may be used uninitialized
ghostscript-10.05.1/contrib/japanese/gdev10v.c:202:15: note: ‘in’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def4]
ghostscript-10.05.1/base/gsmalloc.h:58:21: warning[-Wmaybe-uninitialized]: ‘out’ may be used uninitialized
ghostscript-10.05.1/contrib/japanese/gdev10v.c:202:20: note: ‘out’ was declared here
Error: CPPCHECK_WARNING (CWE-190): [#def5]
ghostscript-10.05.1/base/gxccman.c:82: error[integerOverflow]: Signed integer overflow for expression '-((((1<<3)>((8>8)?(8):8))?(1<<3):((8>8)?(8):8))&((((1<<3)>((8>8)?(8):8))?(1<<3):((8>8)?(8):8))-1)?(((int)sizeof(struct cached_char))+((((1<<3)>((8>8)?(8):8))?(1<<3):((8>8)?(8):8))-1))/(((1<<3)>((8>8)?(8):8))?(1<<3):((8>8)?(8):8))*(((1<<3)>((8>8)?(8):8))?(1<<3):((8>8)?(8):8)):(((int)sizeof(struct cached_char))+((((1<<3)>((8>8)?(8):8))?(1<<3):((8>8)?(8):8))-1))&-(((1<<3)>((8>8)?(8):8))?(1<<3):((8>8)?(8):8)))'.
Error: CPPCHECK_WARNING (CWE-190): [#def6]
ghostscript-10.05.1/base/gxccman.c:762: error[integerOverflow]: Signed integer overflow for expression '-(((1<<3)>((8>8)?(8):8))?(1<<3):((8>8)?(8):8))'.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def7]
ghostscript-10.05.1/contrib/gdevadmp.c:212:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
ghostscript-10.05.1/contrib/gdevadmp.c:165:1: enter_function: entry to ‘dmp_print_page’
ghostscript-10.05.1/contrib/gdevadmp.c:175:28: call_function: inlined call to ‘gp_get_file’ from ‘dmp_print_page’
ghostscript-10.05.1/contrib/gdevadmp.c:178:30: branch_true: ...to here
ghostscript-10.05.1/contrib/gdevadmp.c:187:12: branch_false: following ‘false’ branch...
ghostscript-10.05.1/contrib/gdevadmp.c:212:9: danger: argument 2 (‘<unknown>’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-457): [#def8]
ghostscript-10.05.1/contrib/japanese/gdev10v.c:335:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘out’
ghostscript-10.05.1/contrib/japanese/gdev10v.c:335:9: branch_true: following ‘true’ branch...
ghostscript-10.05.1/contrib/japanese/gdev10v.c:335:9: branch_true: ...to here
ghostscript-10.05.1/contrib/japanese/gdev10v.c:335:9: danger: use of uninitialized value ‘out’ here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def9]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:1569:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:4688:1: enter_function: entry to ‘opvp_beginpage’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:4698:12: call_function: calling ‘opvp_startpage’ from ‘opvp_beginpage’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def10]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:1657:24: warning[-Wanalyzer-malloc-leak]: leak of ‘iconv_open("UTF-8", locale)’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:4688:1: enter_function: entry to ‘opvp_beginpage’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:4698:12: call_function: calling ‘opvp_startpage’ from ‘opvp_beginpage’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def11]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:1657:31: warning[-Wanalyzer-malloc-leak]: leak of ‘buff’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:4688:1: enter_function: entry to ‘opvp_beginpage’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:4698:12: call_function: calling ‘opvp_startpage’ from ‘opvp_beginpage’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def12]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:1660:29: warning[-Wanalyzer-malloc-leak]: leak of ‘iconv_open("UTF-8", locale)’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:4688:1: enter_function: entry to ‘opvp_beginpage’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:4698:12: call_function: calling ‘opvp_startpage’ from ‘opvp_beginpage’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def13]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:1660:29: warning[-Wanalyzer-malloc-leak]: leak of ‘obuff’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:4688:1: enter_function: entry to ‘opvp_beginpage’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:4698:12: call_function: calling ‘opvp_startpage’ from ‘opvp_beginpage’
Error: CPPCHECK_WARNING (CWE-401): [#def14]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:2399: error[memleakOnRealloc]: Common realloc mistake: 'p' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-688): [#def15]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3466:9: warning[-Wanalyzer-null-argument]: use of NULL ‘buff’ where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def16]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3480:12: warning[-Wanalyzer-malloc-leak]: leak of ‘buff’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3480:12: throw: if ‘param_read_string’ throws an exception...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3480:12: danger: ‘buff’ leaks here; was allocated at [(4)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def17]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3493:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buff’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3493:9: throw: if the called function throws an exception...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3493:9: danger: ‘buff’ leaks here; was allocated at [(4)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def18]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3498:12: warning[-Wanalyzer-malloc-leak]: leak of ‘buff’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3498:12: throw: if ‘param_read_string’ throws an exception...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3498:12: danger: ‘buff’ leaks here; was allocated at [(4)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-415): [#def19]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3501:16: warning[-Wanalyzer-double-free]: double-‘free’ of ‘buff’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3486:9: call_function: passing freed pointer ‘buff’ in call to ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3486:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3501:16: danger: second ‘free’ here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def20]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3502:9: warning[-Wanalyzer-null-argument]: use of NULL ‘buff’ where non-null expected
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3486:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3486:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3502:9: danger: argument 1 (‘buff’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def21]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3511:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buff’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3511:9: throw: if the called function throws an exception...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3511:9: danger: ‘buff’ leaks here; was allocated at [(4)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def22]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3516:12: warning[-Wanalyzer-malloc-leak]: leak of ‘buff’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3516:12: throw: if ‘param_read_string’ throws an exception...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3516:12: danger: ‘buff’ leaks here; was allocated at [(4)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def23]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3529:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buff’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3529:9: throw: if the called function throws an exception...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3529:9: danger: ‘buff’ leaks here; was allocated at [(4)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def24]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3534:12: warning[-Wanalyzer-malloc-leak]: leak of ‘buff’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3534:12: throw: if ‘param_read_string’ throws an exception...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3534:12: danger: ‘buff’ leaks here; was allocated at [(4)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/3)
Error: CPPCHECK_WARNING (CWE-401): [#def25]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3537: error[memleakOnRealloc]: Common realloc mistake: 'buff' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-415): [#def26]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3537:16: warning[-Wanalyzer-double-free]: double-‘free’ of ‘buff’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3522:9: call_function: passing freed pointer ‘buff’ in call to ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3522:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3537:16: danger: second ‘free’ here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def27]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3538:9: warning[-Wanalyzer-null-argument]: use of NULL ‘buff’ where non-null expected
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3522:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3522:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3538:9: danger: argument 1 (‘buff’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def28]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3541:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3537:16: release_memory: state of ‘(void *)0B’: ‘stop’ -> ‘freed’ (NULL origin)
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3540:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3540:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3541:13: release_memory: using NULL here
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3541:13: danger: argument 1 (‘fastImage’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def29]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3541:13: warning[-Wanalyzer-null-argument]: use of NULL ‘buff’ where non-null expected
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3540:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3540:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3541:13: release_memory: ‘buff’ is NULL
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3541:13: danger: argument 1 (‘fastImage’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def30]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3541:13: warning[-Wanalyzer-null-argument]: use of NULL ‘fastImage’ where non-null expected
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3540:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3540:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3541:13: danger: argument 1 (‘fastImage’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def31]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3560:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buff’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3560:9: throw: if the called function throws an exception...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3560:9: danger: ‘buff’ leaks here; was allocated at [(4)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def32]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3565:12: warning[-Wanalyzer-malloc-leak]: leak of ‘buff’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3565:12: throw: if ‘param_read_string’ throws an exception...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3565:12: danger: ‘buff’ leaks here; was allocated at [(4)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/3)
Error: CPPCHECK_WARNING (CWE-401): [#def33]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3568: error[memleakOnRealloc]: Common realloc mistake: 'buff' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-415): [#def34]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3568:16: warning[-Wanalyzer-double-free]: double-‘free’ of ‘buff’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3522:9: call_function: passing freed pointer ‘buff’ in call to ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3522:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3568:16: danger: second ‘free’ here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def35]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3569:9: warning[-Wanalyzer-null-argument]: use of NULL ‘buff’ where non-null expected
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3522:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3522:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3569:9: danger: argument 1 (‘buff’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def36]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3577:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buff’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3577:9: throw: if the called function throws an exception...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3577:9: danger: ‘buff’ leaks here; was allocated at [(4)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def37]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3580:12: warning[-Wanalyzer-malloc-leak]: leak of ‘buff’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3580:12: throw: if ‘param_read_string’ throws an exception...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3580:12: danger: ‘buff’ leaks here; was allocated at [(4)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/3)
Error: CPPCHECK_WARNING (CWE-401): [#def38]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3583: error[memleakOnRealloc]: Common realloc mistake: 'buff' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-415): [#def39]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3583:16: warning[-Wanalyzer-double-free]: double-‘free’ of ‘buff’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3522:9: call_function: passing freed pointer ‘buff’ in call to ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3522:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3583:16: danger: second ‘free’ here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def40]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3584:9: warning[-Wanalyzer-null-argument]: use of NULL ‘buff’ where non-null expected
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3522:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3522:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3584:9: danger: argument 1 (‘buff’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def41]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3592:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buff’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3592:9: throw: if the called function throws an exception...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3592:9: danger: ‘buff’ leaks here; was allocated at [(4)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def42]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3595:12: warning[-Wanalyzer-malloc-leak]: leak of ‘buff’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3595:12: throw: if ‘param_read_string’ throws an exception...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3595:12: danger: ‘buff’ leaks here; was allocated at [(4)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/3)
Error: CPPCHECK_WARNING (CWE-401): [#def43]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3598: error[memleakOnRealloc]: Common realloc mistake: 'buff' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-415): [#def44]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3598:16: warning[-Wanalyzer-double-free]: double-‘free’ of ‘buff’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3522:9: call_function: passing freed pointer ‘buff’ in call to ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3522:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3598:16: danger: second ‘free’ here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def45]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3599:9: warning[-Wanalyzer-null-argument]: use of NULL ‘buff’ where non-null expected
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3522:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3522:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3599:9: danger: argument 1 (‘buff’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def46]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3607:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buff’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3607:9: throw: if the called function throws an exception...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3607:9: danger: ‘buff’ leaks here; was allocated at [(4)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def47]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3610:12: warning[-Wanalyzer-malloc-leak]: leak of ‘buff’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3610:12: throw: if ‘param_read_string’ throws an exception...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3610:12: danger: ‘buff’ leaks here; was allocated at [(4)](sarif:/runs/0/results/37/codeFlows/0/threadFlows/0/locations/3)
Error: CPPCHECK_WARNING (CWE-401): [#def48]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3613: error[memleakOnRealloc]: Common realloc mistake: 'buff' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-415): [#def49]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3613:16: warning[-Wanalyzer-double-free]: double-‘free’ of ‘buff’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3522:9: call_function: passing freed pointer ‘buff’ in call to ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3522:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3613:16: danger: second ‘free’ here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def50]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3614:9: warning[-Wanalyzer-null-argument]: use of NULL ‘buff’ where non-null expected
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3522:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3522:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3614:9: danger: argument 1 (‘buff’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def51]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3622:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buff’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3622:9: throw: if the called function throws an exception...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3622:9: danger: ‘buff’ leaks here; was allocated at [(4)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def52]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3627:12: warning[-Wanalyzer-malloc-leak]: leak of ‘buff’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3627:12: throw: if ‘param_read_string’ throws an exception...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3627:12: danger: ‘buff’ leaks here; was allocated at [(4)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/3)
Error: CPPCHECK_WARNING (CWE-401): [#def53]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3630: error[memleakOnRealloc]: Common realloc mistake: 'buff' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-415): [#def54]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3630:16: warning[-Wanalyzer-double-free]: double-‘free’ of ‘buff’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3522:9: call_function: passing freed pointer ‘buff’ in call to ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3522:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3630:16: danger: second ‘free’ here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def55]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3631:9: warning[-Wanalyzer-null-argument]: use of NULL ‘buff’ where non-null expected
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3522:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3522:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3631:9: danger: argument 1 (‘buff’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def56]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3649:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buff’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3649:9: throw: if the called function throws an exception...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3649:9: danger: ‘buff’ leaks here; was allocated at [(4)](sarif:/runs/0/results/44/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def57]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3655:1: warning[-Wanalyzer-malloc-leak]: leak of ‘buff’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3436:1: enter_function: entry to ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: call_function: calling ‘opvp_alloc_string’ from ‘_put_params’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3468:9: return_function: returning to ‘_put_params’ from ‘opvp_alloc_string’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3652:8: branch_false: following ‘false’ branch (when ‘buff’ is NULL)...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3463:13: branch_false: ...to here
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:3655:1: danger: ‘buff’ leaks here; was allocated at [(4)](sarif:/runs/0/results/45/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def58]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5082:14: warning[-Wanalyzer-malloc-leak]: leak of ‘points’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5069:8: branch_false: following ‘false’ branch...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5076:14: branch_false: ...to here
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5081:12: branch_true: following ‘true’ branch (when ‘ecode == 0’)...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5082:14: branch_true: ...to here
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5083:12: branch_true: following ‘true’ branch (when ‘begin != 0’)...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5085:23: branch_true: ...to here
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5156:12: branch_false: following ‘false’ branch...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5158:9: branch_false: ...to here
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5081:12: branch_true: following ‘true’ branch (when ‘ecode == 0’)...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5082:14: branch_true: ...to here
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5082:14: throw: if ‘gx_path_enum_next’ throws an exception...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5082:14: danger: ‘points’ leaks here; was allocated at [(7)](sarif:/runs/0/results/51/codeFlows/0/threadFlows/0/locations/6)
Error: CPPCHECK_WARNING (CWE-401): [#def59]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5091: error[memleakOnRealloc]: Common realloc mistake: 'points' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-476): [#def60]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5095:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘points’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5069:8: branch_false: following ‘false’ branch...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5076:14: branch_false: ...to here
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5081:12: branch_true: following ‘true’ branch (when ‘ecode == 0’)...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5082:14: branch_true: ...to here
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5083:12: branch_true: following ‘true’ branch (when ‘begin != 0’)...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5085:23: branch_true: ...to here
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5095:13: danger: dereference of NULL ‘points’
Error: CPPCHECK_WARNING (CWE-401): [#def61]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5100: error[memleakOnRealloc]: Common realloc mistake: 'opvp_p' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-415): [#def62]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5100:22: warning[-Wanalyzer-double-free]: double-‘free’ of ‘opvp_p’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5069:8: branch_false: following ‘false’ branch...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5076:14: branch_false: ...to here
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5081:12: branch_true: following ‘true’ branch (when ‘ecode == 0’)...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5082:14: branch_true: ...to here
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5083:12: branch_true: following ‘true’ branch (when ‘begin != 0’)...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5085:23: branch_true: ...to here
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5156:12: branch_false: following ‘false’ branch...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5158:9: branch_false: ...to here
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5081:12: branch_true: following ‘true’ branch (when ‘ecode == 0’)...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5082:14: branch_true: ...to here
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5083:12: branch_false: following ‘false’ branch (when ‘begin == 0’)...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5098:19: branch_false: ...to here
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5098:19: branch_true: following ‘true’ branch...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5100:22: branch_true: ...to here
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5100:22: danger: second ‘free’ here
Error: CPPCHECK_WARNING (CWE-401): [#def63]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5151: error[memleakOnRealloc]: Common realloc mistake: 'points' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-415): [#def64]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5164:22: warning[-Wanalyzer-double-free]: double-‘free’ of ‘points’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5069:8: branch_false: following ‘false’ branch...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5076:14: branch_false: ...to here
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5081:12: branch_true: following ‘true’ branch (when ‘ecode == 0’)...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5082:14: branch_true: ...to here
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5083:12: branch_true: following ‘true’ branch (when ‘begin != 0’)...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5085:23: branch_true: ...to here
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5156:12: branch_false: following ‘false’ branch...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5158:9: branch_false: ...to here
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5081:12: branch_true: following ‘true’ branch (when ‘ecode == 0’)...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5082:14: branch_true: ...to here
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5083:12: branch_false: following ‘false’ branch (when ‘begin == 0’)...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5098:19: branch_false: ...to here
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5098:19: branch_false: following ‘false’ branch...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5156:12: branch_false: ...to here
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5156:12: branch_false: following ‘false’ branch...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5158:9: branch_false: ...to here
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5164:22: danger: second ‘free’ here
Error: CPPCHECK_WARNING (CWE-401): [#def65]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5191: error[memleakOnRealloc]: Common realloc mistake: 'points' nulled but not freed upon failure
Error: CPPCHECK_WARNING (CWE-401): [#def66]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5215: error[memleakOnRealloc]: Common realloc mistake: 'points' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-401): [#def67]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5247:20: warning[-Wanalyzer-malloc-leak]: leak of ‘points’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5069:8: branch_false: following ‘false’ branch...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5076:14: branch_false: ...to here
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5081:12: branch_true: following ‘true’ branch (when ‘ecode == 0’)...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5082:14: branch_true: ...to here
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5083:12: branch_true: following ‘true’ branch (when ‘begin != 0’)...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5085:23: branch_true: ...to here
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5156:12: branch_false: following ‘false’ branch...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5158:9: branch_false: ...to here
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5247:20: throw: if the called function throws an exception...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5247:20: danger: ‘points’ leaks here; was allocated at [(7)](sarif:/runs/0/results/56/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def68]
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5272:12: warning[-Wanalyzer-malloc-leak]: leak of ‘points’
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5069:8: branch_false: following ‘false’ branch...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5076:14: branch_false: ...to here
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5081:12: branch_true: following ‘true’ branch (when ‘ecode == 0’)...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5082:14: branch_true: ...to here
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5083:12: branch_true: following ‘true’ branch (when ‘begin != 0’)...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5085:23: branch_true: ...to here
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5156:12: branch_true: following ‘true’ branch...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5272:14: branch_true: ...to here
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5272:12: throw: if the called function throws an exception...
ghostscript-10.05.1/contrib/opvp/gdevopvp.c:5272:12: danger: ‘points’ leaks here; was allocated at [(7)](sarif:/runs/0/results/57/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def69]
ghostscript-10.05.1/devices/gxfcopy.c:515:13: warning[-Wanalyzer-null-argument]: use of NULL ‘prefix’ where non-null expected
ghostscript-10.05.1/devices/gxfcopy.c:1059:1: enter_function: entry to ‘copy_glyph_type1’
ghostscript-10.05.1/devices/gxfcopy.c:1068:8: branch_false: following ‘false’ branch...
ghostscript-10.05.1/devices/gxfcopy.c:1070:12: branch_false: ...to here
ghostscript-10.05.1/devices/gxfcopy.c:1070:12: call_function: calling ‘copy_glyph_data’ from ‘copy_glyph_type1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def70]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1406:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1454:1: enter_function: entry to ‘even_better_line’
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1470:19: branch_true: following ‘true’ branch...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1472:34: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1472:34: acquire_memory: this call could return NULL
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1473:11: call_function: calling ‘even_better_compress_rll’ from ‘even_better_line’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def71]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1424:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1454:1: enter_function: entry to ‘even_better_line’
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1470:19: branch_true: following ‘true’ branch...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1472:34: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1472:34: acquire_memory: this call could return NULL
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1473:11: call_function: calling ‘even_better_compress_rll’ from ‘even_better_line’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def72]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1439:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1454:1: enter_function: entry to ‘even_better_line’
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1470:19: branch_true: following ‘true’ branch...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1472:34: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1472:34: acquire_memory: this call could return NULL
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1473:11: call_function: calling ‘even_better_compress_rll’ from ‘even_better_line’
Error: CPPCHECK_WARNING (CWE-476): [#def73]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1543: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ebc
Error: CPPCHECK_WARNING (CWE-476): [#def74]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1551: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: GCC_ANALYZER_WARNING (CWE-476): [#def75]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1551:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘result’
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1549:26: acquire_memory: this call could return NULL
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1551:3: danger: ‘result’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def76]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1552: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def77]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1569: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_lut
Error: GCC_ANALYZER_WARNING (CWE-476): [#def78]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1569:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘new_lut’
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1554:20: acquire_memory: this call could return NULL
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1555:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1559:10: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1559:10: branch_true: following ‘true’ branch (when ‘lut’ is NULL)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1562:18: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1569:7: danger: ‘new_lut + (long unsigned int)i * 4’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def79]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1581: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_lut
Error: CPPCHECK_WARNING (CWE-476): [#def80]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1594: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: rs_lut
Error: GCC_ANALYZER_WARNING (CWE-476): [#def81]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1594:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rs_lut’
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1555:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1559:10: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1555:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1559:10: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1559:10: branch_true: following ‘true’ branch (when ‘lut’ is NULL)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1562:18: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1573:20: acquire_memory: this call could return NULL
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1578:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1581:23: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1584:10: branch_true: following ‘true’ branch (when ‘nl == 0’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1593:12: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1594:7: danger: ‘rs_lut + (long unsigned int)i’ could be NULL: unchecked value from [(7)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/6)
Error: CPPCHECK_WARNING (CWE-476): [#def82]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1611: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: rb_lut
Error: GCC_ANALYZER_WARNING (CWE-476): [#def83]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1611:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rb_lut’
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1555:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1559:10: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1555:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1559:10: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1559:10: branch_true: following ‘true’ branch (when ‘lut’ is NULL)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1562:18: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1572:19: acquire_memory: this call could return NULL
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1578:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1581:23: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1584:10: branch_true: following ‘true’ branch (when ‘nl == 0’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1593:12: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1596:10: branch_true: following ‘true’ branch...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1598:16: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1600:14: branch_true: following ‘true’ branch (when ‘nl == 0’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1611:13: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1611:7: danger: ‘rb_lut + (long unsigned int)i * 4’ could be NULL: unchecked value from [(7)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def84]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1639:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘calloc((long unsigned int)dest_width, 4)’
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1555:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1559:10: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1555:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1559:10: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1559:10: branch_true: following ‘true’ branch (when ‘lut’ is NULL)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1562:18: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1578:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1581:23: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1584:10: branch_true: following ‘true’ branch (when ‘nl == 0’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1593:12: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1596:10: branch_true: following ‘true’ branch...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1598:16: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1600:14: branch_true: following ‘true’ branch (when ‘nl == 0’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1611:13: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1578:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1581:23: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1584:10: branch_true: following ‘true’ branch (when ‘nl == 0’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1593:12: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1596:10: branch_true: following ‘true’ branch...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1598:16: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1600:14: branch_true: following ‘true’ branch (when ‘nl == 0’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1611:13: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1578:15: branch_false: following ‘false’ branch (when ‘i == 256’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1615:3: branch_false: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1622:27: acquire_memory: this call could return NULL
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1625:6: branch_true: following ‘true’ branch (when ‘do_shadows != 0’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1627:34: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1637:15: branch_true: following ‘true’ branch (when ‘i < dest_width’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1639:21: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1639:7: danger: ‘calloc((long unsigned int)dest_width, 4) + (long unsigned int)i * 4’ could be NULL: unchecked value from [(25)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/24)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def85]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1640:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘calloc((long unsigned int)dest_width, 4)’
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1555:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1559:10: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1555:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1559:10: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1559:10: branch_true: following ‘true’ branch (when ‘lut’ is NULL)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1562:18: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1578:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1581:23: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1584:10: branch_true: following ‘true’ branch (when ‘nl == 0’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1593:12: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1596:10: branch_true: following ‘true’ branch...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1598:16: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1600:14: branch_true: following ‘true’ branch (when ‘nl == 0’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1611:13: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1578:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1581:23: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1584:10: branch_true: following ‘true’ branch (when ‘nl == 0’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1593:12: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1596:10: branch_true: following ‘true’ branch...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1598:16: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1600:14: branch_true: following ‘true’ branch (when ‘nl == 0’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1611:13: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1578:15: branch_false: following ‘false’ branch (when ‘i == 256’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1615:3: branch_false: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1623:27: acquire_memory: this call could return NULL
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1625:6: branch_true: following ‘true’ branch (when ‘do_shadows != 0’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1627:34: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1637:15: branch_true: following ‘true’ branch (when ‘i < dest_width’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1639:21: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1640:7: danger: ‘calloc((long unsigned int)dest_width, 4) + (long unsigned int)i * 4’ could be NULL: unchecked value from [(25)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/24)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def86]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1641:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘calloc((long unsigned int)dest_width, 4)’
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1555:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1559:10: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1555:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1559:10: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1559:10: branch_true: following ‘true’ branch (when ‘lut’ is NULL)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1562:18: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1578:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1581:23: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1584:10: branch_true: following ‘true’ branch (when ‘nl == 0’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1593:12: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1596:10: branch_true: following ‘true’ branch...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1598:16: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1600:14: branch_true: following ‘true’ branch (when ‘nl == 0’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1611:13: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1578:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1581:23: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1584:10: branch_true: following ‘true’ branch (when ‘nl == 0’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1593:12: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1596:10: branch_true: following ‘true’ branch...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1598:16: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1600:14: branch_true: following ‘true’ branch (when ‘nl == 0’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1611:13: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1578:15: branch_false: following ‘false’ branch (when ‘i == 256’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1615:3: branch_false: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1620:29: acquire_memory: this call could return NULL
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1625:6: branch_true: following ‘true’ branch (when ‘do_shadows != 0’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1627:34: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1637:15: branch_true: following ‘true’ branch (when ‘i < dest_width’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1639:21: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1641:7: danger: ‘calloc((long unsigned int)dest_width, 4) + (long unsigned int)i * 4’ could be NULL: unchecked value from [(25)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/24)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def87]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1644:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*result.a_line_sh + (long unsigned int)i * 4’
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1555:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1559:10: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1555:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1559:10: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1559:10: branch_true: following ‘true’ branch (when ‘lut’ is NULL)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1562:18: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1578:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1581:23: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1584:10: branch_true: following ‘true’ branch (when ‘nl == 0’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1593:12: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1596:10: branch_true: following ‘true’ branch...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1598:16: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1600:14: branch_true: following ‘true’ branch (when ‘nl == 0’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1611:13: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1578:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1581:23: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1584:10: branch_true: following ‘true’ branch (when ‘nl == 0’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1593:12: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1596:10: branch_true: following ‘true’ branch...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1598:16: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1600:14: branch_true: following ‘true’ branch (when ‘nl == 0’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1611:13: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1578:15: branch_false: following ‘false’ branch (when ‘i == 256’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1615:3: branch_false: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1625:6: branch_true: following ‘true’ branch (when ‘do_shadows != 0’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1627:34: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1628:34: acquire_memory: this call could return NULL
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1637:15: branch_true: following ‘true’ branch (when ‘i < dest_width’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1639:21: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1642:10: branch_true: following ‘true’ branch (when ‘do_shadows != 0’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1644:11: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1644:11: danger: ‘*result.a_line_sh + (long unsigned int)i * 4’ could be NULL: unchecked value from [(27)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/26)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def88]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1645:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*result.b_line_sh + (long unsigned int)i * 4’
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1555:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1559:10: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1555:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1559:10: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1559:10: branch_true: following ‘true’ branch (when ‘lut’ is NULL)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1562:18: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1578:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1581:23: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1584:10: branch_true: following ‘true’ branch (when ‘nl == 0’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1593:12: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1596:10: branch_true: following ‘true’ branch...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1598:16: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1600:14: branch_true: following ‘true’ branch (when ‘nl == 0’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1611:13: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1578:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1581:23: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1584:10: branch_true: following ‘true’ branch (when ‘nl == 0’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1593:12: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1596:10: branch_true: following ‘true’ branch...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1598:16: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1600:14: branch_true: following ‘true’ branch (when ‘nl == 0’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1611:13: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1578:15: branch_false: following ‘false’ branch (when ‘i == 256’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1615:3: branch_false: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1625:6: branch_true: following ‘true’ branch (when ‘do_shadows != 0’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1627:34: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1629:34: acquire_memory: this call could return NULL
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1637:15: branch_true: following ‘true’ branch (when ‘i < dest_width’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1639:21: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1642:10: branch_true: following ‘true’ branch (when ‘do_shadows != 0’)...
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1644:11: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1645:11: danger: ‘*result.b_line_sh + (long unsigned int)i * 4’ could be NULL: unchecked value from [(27)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/26)
Error: CPPCHECK_WARNING (CWE-476): [#def89]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1686: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: GCC_ANALYZER_WARNING (CWE-476): [#def90]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1686:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘result’
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1655:44: acquire_memory: this call could return NULL
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1686:3: danger: ‘result’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def91]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1687: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def92]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1688: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def93]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1689: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def94]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1691: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def95]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1693: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def96]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1694: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def97]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1696: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def98]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1697: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: GCC_ANALYZER_WARNING (CWE-688): [#def99]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1697:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc((long unsigned int)n_planes * 4)’ where non-null expected
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1696:30: acquire_memory: this call could return NULL
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1697:3: danger: argument 1 (‘malloc((long unsigned int)n_planes * 4)’) from [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: CPPCHECK_WARNING (CWE-476): [#def100]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1702: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def101]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1703: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def102]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1705: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def103]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1707: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def104]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1708: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def105]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1710: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def106]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1711: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def107]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1752: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def108]
ghostscript-10.05.1/devices/rinkj/evenbetter-rll.c:1754: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def109]
ghostscript-10.05.1/devices/rinkj/rinkj-byte-stream.c:104: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def110]
ghostscript-10.05.1/devices/rinkj/rinkj-byte-stream.c:105: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: GCC_ANALYZER_WARNING (CWE-476): [#def111]
ghostscript-10.05.1/devices/rinkj/rinkj-byte-stream.c:105:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘result’
ghostscript-10.05.1/devices/rinkj/rinkj-byte-stream.c:102:35: acquire_memory: this call could return NULL
ghostscript-10.05.1/devices/rinkj/rinkj-byte-stream.c:105:3: danger: ‘result’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def112]
ghostscript-10.05.1/devices/rinkj/rinkj-config.c:41: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: GCC_ANALYZER_WARNING (CWE-688): [#def113]
ghostscript-10.05.1/devices/rinkj/rinkj-config.c:41:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘result’ where non-null expected
ghostscript-10.05.1/devices/rinkj/rinkj-config.c:109:1: enter_function: entry to ‘rinkj_config_keyval’
ghostscript-10.05.1/devices/rinkj/rinkj-config.c:115:6: branch_false: following ‘false’ branch (when ‘config’ is non-NULL)...
ghostscript-10.05.1/devices/rinkj/rinkj-config.c:115:6: branch_false: ...to here
ghostscript-10.05.1/devices/rinkj/rinkj-config.c:118:16: branch_true: following ‘true’ branch...
ghostscript-10.05.1/devices/rinkj/rinkj-config.c:123:14: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/rinkj-config.c:124:10: branch_true: following ‘true’ branch (when ‘p_nl’ is NULL)...
ghostscript-10.05.1/devices/rinkj/rinkj-config.c:127:20: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/rinkj-config.c:136:24: branch_true: following ‘true’ branch...
ghostscript-10.05.1/devices/rinkj/rinkj-config.c:138:22: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/rinkj-config.c:138:14: branch_true: following ‘true’ branch...
ghostscript-10.05.1/devices/rinkj/rinkj-config.c:140:21: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/rinkj-config.c:140:21: call_function: calling ‘rinkj_strdup_size’ from ‘rinkj_config_keyval’
Error: CPPCHECK_WARNING (CWE-476): [#def114]
ghostscript-10.05.1/devices/rinkj/rinkj-config.c:42: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def115]
ghostscript-10.05.1/devices/rinkj/rinkj-device.c:45: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf
Error: GCC_ANALYZER_WARNING (CWE-688): [#def116]
ghostscript-10.05.1/devices/rinkj/rinkj-device.c:45:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘buf’ where non-null expected
ghostscript-10.05.1/devices/rinkj/rinkj-device.c:40:15: acquire_memory: this call could return NULL
ghostscript-10.05.1/devices/rinkj/rinkj-device.c:45:3: danger: argument 1 (‘buf’) from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: CPPCHECK_WARNING (CWE-682): [#def117]
ghostscript-10.05.1/devices/rinkj/rinkj-device.c:46: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def118]
ghostscript-10.05.1/devices/rinkj/rinkj-device.c:47: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-476): [#def119]
ghostscript-10.05.1/devices/rinkj/rinkj-device.c:48: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf
Error: GCC_ANALYZER_WARNING (CWE-476): [#def120]
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:586:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1020:1: enter_function: entry to ‘rinkj_escp_write’
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1030:6: branch_true: following ‘true’ branch (when ‘data’ is NULL)...
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1032:16: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1032:16: call_function: calling ‘rinkj_escp_flush_bottom’ from ‘rinkj_escp_write’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def121]
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:622:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1020:1: enter_function: entry to ‘rinkj_escp_write’
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1030:6: branch_true: following ‘true’ branch (when ‘data’ is NULL)...
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1032:16: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1032:16: call_function: calling ‘rinkj_escp_flush_bottom’ from ‘rinkj_escp_write’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def122]
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:664:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1020:1: enter_function: entry to ‘rinkj_escp_write’
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1030:6: branch_true: following ‘true’ branch (when ‘data’ is NULL)...
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1032:16: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1032:16: call_function: calling ‘rinkj_escp_flush_bottom’ from ‘rinkj_escp_write’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def123]
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:670:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1020:1: enter_function: entry to ‘rinkj_escp_write’
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1030:6: branch_true: following ‘true’ branch (when ‘data’ is NULL)...
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1032:16: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1032:16: call_function: calling ‘rinkj_escp_flush_bottom’ from ‘rinkj_escp_write’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def124]
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:700:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1020:1: enter_function: entry to ‘rinkj_escp_write’
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1030:6: branch_true: following ‘true’ branch (when ‘data’ is NULL)...
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1032:16: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1032:16: call_function: calling ‘rinkj_escp_flush_bottom’ from ‘rinkj_escp_write’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def125]
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:724:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1020:1: enter_function: entry to ‘rinkj_escp_write’
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1030:6: branch_true: following ‘true’ branch (when ‘data’ is NULL)...
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1032:16: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1032:16: call_function: calling ‘rinkj_escp_flush_bottom’ from ‘rinkj_escp_write’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def126]
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:737:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1020:1: enter_function: entry to ‘rinkj_escp_write’
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1030:6: branch_true: following ‘true’ branch (when ‘data’ is NULL)...
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1032:16: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1032:16: call_function: calling ‘rinkj_escp_flush_bottom’ from ‘rinkj_escp_write’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def127]
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:752:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1020:1: enter_function: entry to ‘rinkj_escp_write’
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1030:6: branch_true: following ‘true’ branch (when ‘data’ is NULL)...
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1032:16: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1032:16: call_function: calling ‘rinkj_escp_flush_bottom’ from ‘rinkj_escp_write’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def128]
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:769:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘dst’ where non-null expected
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1020:1: enter_function: entry to ‘rinkj_escp_write’
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1030:6: branch_true: following ‘true’ branch (when ‘data’ is NULL)...
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1032:16: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1032:16: call_function: calling ‘rinkj_escp_flush_bottom’ from ‘rinkj_escp_write’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def129]
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:787:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘dst’ where non-null expected
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1020:1: enter_function: entry to ‘rinkj_escp_write’
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1030:6: branch_true: following ‘true’ branch (when ‘data’ is NULL)...
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1032:16: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1032:16: call_function: calling ‘rinkj_escp_flush_bottom’ from ‘rinkj_escp_write’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def130]
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:816:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘src’
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1020:1: enter_function: entry to ‘rinkj_escp_write’
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1030:6: branch_true: following ‘true’ branch (when ‘data’ is NULL)...
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1032:16: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1032:16: call_function: calling ‘rinkj_escp_flush_bottom’ from ‘rinkj_escp_write’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def131]
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:834:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1020:1: enter_function: entry to ‘rinkj_escp_write’
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1030:6: branch_true: following ‘true’ branch (when ‘data’ is NULL)...
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1032:16: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1032:16: call_function: calling ‘rinkj_escp_flush_bottom’ from ‘rinkj_escp_write’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def132]
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:951:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘thisbuf’ where non-null expected
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1020:1: enter_function: entry to ‘rinkj_escp_write’
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1030:6: branch_true: following ‘true’ branch (when ‘data’ is NULL)...
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1032:16: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1032:16: call_function: calling ‘rinkj_escp_flush_bottom’ from ‘rinkj_escp_write’
Error: CPPCHECK_WARNING (CWE-476): [#def133]
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1066: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def134]
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1067: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def135]
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1068: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def136]
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1069: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def137]
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1070: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: GCC_ANALYZER_WARNING (CWE-476): [#def138]
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1070:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘result’
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1064:25: acquire_memory: this call could return NULL
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1070:3: danger: ‘result’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def139]
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1071: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def140]
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1073: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def141]
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1074: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def142]
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1076: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def143]
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1077: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def144]
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1079: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def145]
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1080: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def146]
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1081: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def147]
ghostscript-10.05.1/devices/rinkj/rinkj-epson870.c:1082: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def148]
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:178: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: out_data
Error: GCC_ANALYZER_WARNING (CWE-476): [#def149]
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:178:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘out_data’
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:148:6: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:148:6: branch_false: ...to here
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:172:24: acquire_memory: this call could return NULL
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:176:15: branch_true: following ‘true’ branch (when ‘i < n_planes’)...
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:178:21: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:178:7: danger: ‘out_data + (long unsigned int)i * 8’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-476): [#def150]
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:179: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: out_buf
Error: GCC_ANALYZER_WARNING (CWE-476): [#def151]
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:179:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘out_buf’
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:148:6: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:148:6: branch_false: ...to here
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:173:23: acquire_memory: this call could return NULL
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:176:15: branch_true: following ‘true’ branch (when ‘i < n_planes’)...
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:178:21: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:179:7: danger: ‘out_buf + (long unsigned int)i * 8’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-476): [#def152]
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:180: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data_permuted
Error: GCC_ANALYZER_WARNING (CWE-476): [#def153]
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:180:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘data_permuted’
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:148:6: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:148:6: branch_false: ...to here
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:174:35: acquire_memory: this call could return NULL
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:176:15: branch_true: following ‘true’ branch (when ‘i < n_planes’)...
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:178:21: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:180:7: danger: ‘data_permuted + (long unsigned int)i * 8’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-476): [#def154]
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:192: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: out_data
Error: CPPCHECK_WARNING (CWE-476): [#def155]
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:193: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: out_buf
Error: CPPCHECK_WARNING (CWE-476): [#def156]
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:267: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def157]
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:268: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def158]
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:269: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def159]
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:270: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def160]
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:271: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: GCC_ANALYZER_WARNING (CWE-476): [#def161]
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:271:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘result’
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:265:29: acquire_memory: this call could return NULL
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:271:3: danger: ‘result’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def162]
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:272: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def163]
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:273: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def164]
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:274: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def165]
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:275: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def166]
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:276: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: GCC_ANALYZER_WARNING (CWE-476): [#def167]
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:329:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*<unknown> + (long unsigned int)i * 4’
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:318:6: branch_false: following ‘false’ branch (when ‘plane <= 15’)...
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:321:7: branch_false: ...to here
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:321:6: branch_true: following ‘true’ branch...
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:322:22: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:324:26: acquire_memory: this call could return NULL
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:325:15: branch_true: following ‘true’ branch (when ‘i != 256’)...
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:328:20: branch_true: ...to here
ghostscript-10.05.1/devices/rinkj/rinkj-screen-eb.c:329:7: danger: ‘*<unknown> + (long unsigned int)i * 4’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/4)
Error: COMPILER_WARNING (CWE-563): [#def168]
ghostscript-10.05.1/devices/vector/gdevpdfg.c: scope_hint: In function ‘check_colorants_for_pdfx4’
ghostscript-10.05.1/devices/vector/gdevpdfg.c:1425:17: warning[-Wunused-variable]: unused variable ‘Colorant’
Error: COMPILER_WARNING (CWE-563): [#def169]
ghostscript-10.05.1/devices/vector/gdevpdfi.c: scope_hint: In function ‘check_colorants_for_pdfx4’
ghostscript-10.05.1/devices/vector/gdevpdfi.c:516:17: warning[-Wunused-variable]: unused variable ‘Colorant’
Error: COMPILER_WARNING (CWE-704): [#def170]
ghostscript-10.05.1/devices/vector/gdevpdfi.c: scope_hint: In function ‘setup_image_colorspace’
ghostscript-10.05.1/devices/vector/gdevpdfi.c:755:43: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def171]
ghostscript-10.05.1/devices/vector/gdevpdfi.c:755:43: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def172]
ghostscript-10.05.1/devices/vector/gdevpdfi.c:759:43: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def173]
ghostscript-10.05.1/devices/vector/gdevpdfi.c:759:43: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: CPPCHECK_WARNING (CWE-476): [#def174]
ghostscript-10.05.1/pdf/pdf_dict.c:303: error[ctunullpointer]: Null pointer dereference: Key
Error: COMPILER_WARNING: [#def175]
ghostscript-10.05.1/pdf/pdf_sec.c:402:9: warning[-Wstringop-overflow=]: ‘pdf_compute_hardened_hash_r6’ accessing 16 bytes in a region of size 8
ghostscript-10.05.1/pdf/pdf_sec.c:402:9: note: referencing argument 3 of type ‘unsigned char[16]’
ghostscript-10.05.1/pdf/pdf_sec.c:402:9: note: referencing argument 5 of type ‘unsigned char[32]’
ghostscript-10.05.1/pdf/pdf_sec.c: scope_hint: In function ‘check_owner_password_R6.constprop.0’
ghostscript-10.05.1/pdf/pdf_sec.c:324:1: note: in a call to function ‘pdf_compute_hardened_hash_r6’
Error: COMPILER_WARNING: [#def176]
ghostscript-10.05.1/pdf/pdf_sec.c:402:9: warning[-Wstringop-overflow=]: ‘pdf_compute_hardened_hash_r6’ accessing 16 bytes in a region of size 8
Error: GCC_ANALYZER_WARNING (CWE-476): [#def177]
ghostscript-10.05.1/psi/dxmain.c:1208:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘nargv’
ghostscript-10.05.1/psi/dxmain.c:1207:22: acquire_memory: this call could return NULL
ghostscript-10.05.1/psi/dxmain.c:1208:5: danger: ‘nargv’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-563): [#def178]
ghostscript-10.05.1/psi/zcolor.c:170:17: warning[-Wunused-variable]: unused variable ‘stref’
Error: COMPILER_WARNING (CWE-563): [#def179]
ghostscript-10.05.1/psi/zcolor.c: scope_hint: In function ‘zcurrentcolorspace’
ghostscript-10.05.1/psi/zcolor.c:171:11: warning[-Wunused-variable]: unused variable ‘body’
Error: COMPILER_WARNING (CWE-563): [#def180]
ghostscript-10.05.1/psi/zcolor.c: scope_hint: In function ‘copy_cspace_dict’
ghostscript-10.05.1/psi/zcolor.c:493:26: warning[-Wunused-variable]: unused variable ‘i’
Error: COMPILER_WARNING (CWE-563): [#def181]
ghostscript-10.05.1/psi/zcolor.c: scope_hint: In function ‘septransform’
ghostscript-10.05.1/psi/zcolor.c:3944:30: warning[-Wunused-variable]: unused variable ‘pimap’
Error: COMPILER_WARNING (CWE-563): [#def182]
ghostscript-10.05.1/psi/zcolor.c: scope_hint: In function ‘devicentransform’
ghostscript-10.05.1/psi/zcolor.c:4802:30: warning[-Wunused-variable]: unused variable ‘pimap’
Error: COMPILER_WARNING (CWE-563): [#def183]
ghostscript-10.05.1/psi/zcolor.c: scope_hint: In function ‘currentbasecolor’
ghostscript-10.05.1/psi/zcolor.c:7289:12: warning[-Wunused-variable]: unused variable ‘ep’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def184]
ghostscript-10.05.1/psi/zicc.c:229:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘picc_profile’
ghostscript-10.05.1/psi/zicc.c:77:8: branch_false: following ‘false’ branch...
ghostscript-10.05.1/psi/zicc.c:79:5: branch_false: ...to here
ghostscript-10.05.1/psi/zicc.c:79:5: branch_false: following ‘false’ branch...
ghostscript-10.05.1/psi/zicc.c:79:5: branch_false: ...to here
ghostscript-10.05.1/psi/zicc.c:83:8: branch_false: following ‘false’ branch...
ghostscript-10.05.1/psi/zicc.c:94:9: branch_false: ...to here
ghostscript-10.05.1/psi/zicc.c:109:12: branch_false: following ‘false’ branch...
ghostscript-10.05.1/psi/zicc.c:116:62: branch_false: ...to here
ghostscript-10.05.1/psi/zicc.c:118:9: branch_false: following ‘false’ branch...
ghostscript-10.05.1/psi/zicc.c:125:71: branch_false: ...to here
ghostscript-10.05.1/psi/zicc.c:126:8: branch_false: following ‘false’ branch...
ghostscript-10.05.1/psi/zicc.c:131:5: branch_false: ...to here
ghostscript-10.05.1/psi/zicc.c:153:8: branch_false: following ‘false’ branch...
ghostscript-10.05.1/psi/zicc.c:161:5: branch_false: ...to here
ghostscript-10.05.1/psi/zicc.c:222:8: branch_true: following ‘true’ branch (when ‘picc_profile’ is non-NULL)...
ghostscript-10.05.1/psi/zicc.c:226:9: branch_true: ...to here
ghostscript-10.05.1/psi/zicc.c:226:9: branch_true: following ‘true’ branch...
ghostscript-10.05.1/psi/zicc.c:226:9: branch_true: ...to here
ghostscript-10.05.1/psi/zicc.c:227:12: branch_true: following ‘true’ branch...
ghostscript-10.05.1/psi/zicc.c:229:36: branch_true: ...to here
ghostscript-10.05.1/psi/zicc.c:229:36: danger: dereference of NULL ‘picc_profile’
Scan Properties
| analyzer-version-clippy | 1.92.0 |
| analyzer-version-cppcheck | 2.19.1 |
| analyzer-version-gcc | 16.0.0 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| diffbase-analyzer-version-clippy | 1.92.0 |
| diffbase-analyzer-version-cppcheck | 2.19.1 |
| diffbase-analyzer-version-gcc | 16.0.0 |
| diffbase-analyzer-version-gcc-analyzer | 16.0.0 |
| diffbase-analyzer-version-shellcheck | 0.11.0 |
| diffbase-analyzer-version-unicontrol | 0.0.2 |
| diffbase-enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| diffbase-exit-code | 0 |
| diffbase-host | ip-172-16-1-177.us-west-2.compute.internal |
| diffbase-known-false-positives | /usr/share/csmock/known-false-positives.js |
| diffbase-known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| diffbase-mock-config | fedora-rawhide-x86_64 |
| diffbase-project-name | ghostscript-10.06.0-1.fc44 |
| diffbase-store-results-to | /tmp/tmp11q9unix/ghostscript-10.06.0-1.fc44.tar.xz |
| diffbase-time-created | 2026-01-08 16:23:56 |
| diffbase-time-finished | 2026-01-08 16:30:44 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmp11q9unix/ghostscript-10.06.0-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp11q9unix/ghostscript-10.06.0-1.fc44.src.rpm' |
| diffbase-tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-177.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | ghostscript-10.05.1-5.fc43 |
| store-results-to | /tmp/tmped31b30n/ghostscript-10.05.1-5.fc43.tar.xz |
| time-created | 2026-01-08 16:16:24 |
| time-finished | 2026-01-08 16:23:15 |
| title | Fixed findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmped31b30n/ghostscript-10.05.1-5.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmped31b30n/ghostscript-10.05.1-5.fc43.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |