libtiff-4.7.0-9.fc44
List of Findings
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1]
tiff-4.7.0/contrib/addtiffo/tif_overview.c:195:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘padfSamples’
tiff-4.7.0/contrib/addtiffo/tif_overview.c:590:6: enter_function: entry to ‘TIFF_ProcessFullResBlock’
tiff-4.7.0/contrib/addtiffo/tif_overview.c:602:23: branch_true: following ‘true’ branch (when ‘iSample < nSamples’)...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:609:13: branch_true: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:609:12: branch_true: following ‘true’ branch...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:611:17: branch_true: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:629:29: branch_true: following ‘true’ branch (when ‘iOverview < nOverviews’)...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:631:45: branch_true: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:645:16: branch_false: following ‘false’ branch (when ‘bSubsampled == 0’)...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:670:29: branch_false: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:683:17: branch_true: following ‘true’ branch...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:684:20: branch_true: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:684:20: branch_false: following ‘false’ branch (when ‘nPlanarConfig != 2’)...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:691:49: branch_false: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:701:17: call_function: calling ‘TIFF_DownSample’ from ‘TIFF_ProcessFullResBlock’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def2]
tiff-4.7.0/contrib/addtiffo/tif_overview.c:199:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘padfSamples’
tiff-4.7.0/contrib/addtiffo/tif_overview.c:590:6: enter_function: entry to ‘TIFF_ProcessFullResBlock’
tiff-4.7.0/contrib/addtiffo/tif_overview.c:602:23: branch_true: following ‘true’ branch (when ‘iSample < nSamples’)...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:609:13: branch_true: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:609:12: branch_true: following ‘true’ branch...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:611:17: branch_true: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:629:29: branch_true: following ‘true’ branch (when ‘iOverview < nOverviews’)...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:631:45: branch_true: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:645:16: branch_false: following ‘false’ branch (when ‘bSubsampled == 0’)...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:670:29: branch_false: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:683:17: branch_true: following ‘true’ branch...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:684:20: branch_true: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:684:20: branch_false: following ‘false’ branch (when ‘nPlanarConfig != 2’)...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:691:49: branch_false: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:701:17: call_function: calling ‘TIFF_DownSample’ from ‘TIFF_ProcessFullResBlock’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def3]
tiff-4.7.0/contrib/addtiffo/tif_overview.c:203:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘padfSamples’
tiff-4.7.0/contrib/addtiffo/tif_overview.c:590:6: enter_function: entry to ‘TIFF_ProcessFullResBlock’
tiff-4.7.0/contrib/addtiffo/tif_overview.c:602:23: branch_true: following ‘true’ branch (when ‘iSample < nSamples’)...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:609:13: branch_true: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:609:12: branch_true: following ‘true’ branch...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:611:17: branch_true: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:629:29: branch_true: following ‘true’ branch (when ‘iOverview < nOverviews’)...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:631:45: branch_true: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:645:16: branch_false: following ‘false’ branch (when ‘bSubsampled == 0’)...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:670:29: branch_false: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:683:17: branch_true: following ‘true’ branch...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:684:20: branch_true: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:684:20: branch_false: following ‘false’ branch (when ‘nPlanarConfig != 2’)...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:691:49: branch_false: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:701:17: call_function: calling ‘TIFF_DownSample’ from ‘TIFF_ProcessFullResBlock’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def4]
tiff-4.7.0/contrib/addtiffo/tif_overview.c:207:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘padfSamples’
tiff-4.7.0/contrib/addtiffo/tif_overview.c:590:6: enter_function: entry to ‘TIFF_ProcessFullResBlock’
tiff-4.7.0/contrib/addtiffo/tif_overview.c:602:23: branch_true: following ‘true’ branch (when ‘iSample < nSamples’)...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:609:13: branch_true: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:609:12: branch_true: following ‘true’ branch...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:611:17: branch_true: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:629:29: branch_true: following ‘true’ branch (when ‘iOverview < nOverviews’)...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:631:45: branch_true: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:645:16: branch_false: following ‘false’ branch (when ‘bSubsampled == 0’)...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:670:29: branch_false: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:683:17: branch_true: following ‘true’ branch...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:684:20: branch_true: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:684:20: branch_false: following ‘false’ branch (when ‘nPlanarConfig != 2’)...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:691:49: branch_false: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:701:17: call_function: calling ‘TIFF_DownSample’ from ‘TIFF_ProcessFullResBlock’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def5]
tiff-4.7.0/contrib/addtiffo/tif_overview.c:211:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘padfSamples’
tiff-4.7.0/contrib/addtiffo/tif_overview.c:590:6: enter_function: entry to ‘TIFF_ProcessFullResBlock’
tiff-4.7.0/contrib/addtiffo/tif_overview.c:602:23: branch_true: following ‘true’ branch (when ‘iSample < nSamples’)...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:609:13: branch_true: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:609:12: branch_true: following ‘true’ branch...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:611:17: branch_true: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:629:29: branch_true: following ‘true’ branch (when ‘iOverview < nOverviews’)...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:631:45: branch_true: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:645:16: branch_false: following ‘false’ branch (when ‘bSubsampled == 0’)...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:670:29: branch_false: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:683:17: branch_true: following ‘true’ branch...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:684:20: branch_true: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:684:20: branch_false: following ‘false’ branch (when ‘nPlanarConfig != 2’)...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:691:49: branch_false: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:701:17: call_function: calling ‘TIFF_DownSample’ from ‘TIFF_ProcessFullResBlock’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def6]
tiff-4.7.0/contrib/addtiffo/tif_overview.c:215:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘padfSamples’
tiff-4.7.0/contrib/addtiffo/tif_overview.c:590:6: enter_function: entry to ‘TIFF_ProcessFullResBlock’
tiff-4.7.0/contrib/addtiffo/tif_overview.c:602:23: branch_true: following ‘true’ branch (when ‘iSample < nSamples’)...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:609:13: branch_true: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:609:12: branch_true: following ‘true’ branch...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:611:17: branch_true: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:629:29: branch_true: following ‘true’ branch (when ‘iOverview < nOverviews’)...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:631:45: branch_true: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:645:16: branch_false: following ‘false’ branch (when ‘bSubsampled == 0’)...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:670:29: branch_false: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:683:17: branch_true: following ‘true’ branch...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:684:20: branch_true: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:684:20: branch_false: following ‘false’ branch (when ‘nPlanarConfig != 2’)...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:691:49: branch_false: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:701:17: call_function: calling ‘TIFF_DownSample’ from ‘TIFF_ProcessFullResBlock’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def7]
tiff-4.7.0/contrib/addtiffo/tif_overview.c:219:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘padfSamples’
tiff-4.7.0/contrib/addtiffo/tif_overview.c:590:6: enter_function: entry to ‘TIFF_ProcessFullResBlock’
tiff-4.7.0/contrib/addtiffo/tif_overview.c:602:23: branch_true: following ‘true’ branch (when ‘iSample < nSamples’)...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:609:13: branch_true: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:609:12: branch_true: following ‘true’ branch...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:611:17: branch_true: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:629:29: branch_true: following ‘true’ branch (when ‘iOverview < nOverviews’)...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:631:45: branch_true: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:645:16: branch_false: following ‘false’ branch (when ‘bSubsampled == 0’)...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:670:29: branch_false: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:683:17: branch_true: following ‘true’ branch...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:684:20: branch_true: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:684:20: branch_false: following ‘false’ branch (when ‘nPlanarConfig != 2’)...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:691:49: branch_false: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:701:17: call_function: calling ‘TIFF_DownSample’ from ‘TIFF_ProcessFullResBlock’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def8]
tiff-4.7.0/contrib/addtiffo/tif_overview.c:379:32: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘padfSamples’
tiff-4.7.0/contrib/addtiffo/tif_overview.c:590:6: enter_function: entry to ‘TIFF_ProcessFullResBlock’
tiff-4.7.0/contrib/addtiffo/tif_overview.c:602:23: branch_true: following ‘true’ branch (when ‘iSample < nSamples’)...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:609:13: branch_true: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:609:12: branch_true: following ‘true’ branch...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:611:17: branch_true: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:629:29: branch_true: following ‘true’ branch (when ‘iOverview < nOverviews’)...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:631:45: branch_true: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:645:16: branch_false: following ‘false’ branch (when ‘bSubsampled == 0’)...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:670:29: branch_false: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:683:17: branch_true: following ‘true’ branch...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:684:20: branch_true: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:684:20: branch_false: following ‘false’ branch (when ‘nPlanarConfig != 2’)...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:691:49: branch_false: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:701:17: call_function: calling ‘TIFF_DownSample’ from ‘TIFF_ProcessFullResBlock’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def9]
tiff-4.7.0/contrib/addtiffo/tif_overview.c:379:32: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
tiff-4.7.0/contrib/addtiffo/tif_overview.c:590:6: enter_function: entry to ‘TIFF_ProcessFullResBlock’
tiff-4.7.0/contrib/addtiffo/tif_overview.c:602:23: branch_true: following ‘true’ branch (when ‘iSample < nSamples’)...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:609:13: branch_true: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:609:12: branch_true: following ‘true’ branch...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:611:17: branch_true: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:629:29: branch_true: following ‘true’ branch (when ‘iOverview < nOverviews’)...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:631:45: branch_true: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:645:16: branch_false: following ‘false’ branch (when ‘bSubsampled == 0’)...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:670:29: branch_false: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:683:17: branch_true: following ‘true’ branch...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:684:20: branch_true: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:684:20: branch_false: following ‘false’ branch (when ‘nPlanarConfig != 2’)...
tiff-4.7.0/contrib/addtiffo/tif_overview.c:691:49: branch_false: ...to here
tiff-4.7.0/contrib/addtiffo/tif_overview.c:701:17: call_function: calling ‘TIFF_DownSample’ from ‘TIFF_ProcessFullResBlock’
Error: CPPCHECK_WARNING (CWE-476): [#def10]
tiff-4.7.0/contrib/dbs/tiff-bi.c:64: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: scan_line
Error: GCC_ANALYZER_WARNING (CWE-476): [#def11]
tiff-4.7.0/contrib/dbs/tiff-bi.c:64:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘scan_line’
tiff-4.7.0/contrib/dbs/tiff-bi.c:39:8: branch_false: following ‘false’ branch (when ‘argc == 2’)...
tiff-4.7.0/contrib/dbs/tiff-bi.c:45:16: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-bi.c:45:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-bi.c:51:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-bi.c:61:34: acquire_memory: this call could return NULL
tiff-4.7.0/contrib/dbs/tiff-bi.c:63:17: branch_true: following ‘true’ branch (when ‘i != 32’)...
tiff-4.7.0/contrib/dbs/tiff-bi.c:64:18: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-bi.c:64:9: danger: ‘scan_line + (sizetype)i’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-476): [#def12]
tiff-4.7.0/contrib/dbs/tiff-bi.c:67: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: scan_line
Error: GCC_ANALYZER_WARNING (CWE-401): [#def13]
tiff-4.7.0/contrib/dbs/tiff-bi.c:70:9: warning[-Wanalyzer-malloc-leak]: leak of ‘scan_line’
tiff-4.7.0/contrib/dbs/tiff-bi.c:39:8: branch_false: following ‘false’ branch (when ‘argc == 2’)...
tiff-4.7.0/contrib/dbs/tiff-bi.c:45:16: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-bi.c:45:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-bi.c:51:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-bi.c:61:34: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-bi.c:63:17: branch_true: following ‘true’ branch (when ‘i != 32’)...
tiff-4.7.0/contrib/dbs/tiff-bi.c:64:18: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-bi.c:63:17: branch_true: following ‘true’ branch (when ‘i != 32’)...
tiff-4.7.0/contrib/dbs/tiff-bi.c:64:18: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-bi.c:66:31: branch_true: following ‘true’ branch (when ‘i != 64’)...
tiff-4.7.0/contrib/dbs/tiff-bi.c:67:18: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-bi.c:69:17: branch_true: following ‘true’ branch (when ‘i != 256’)...
tiff-4.7.0/contrib/dbs/tiff-bi.c:70:9: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-bi.c:70:9: danger: ‘scan_line’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-476): [#def14]
tiff-4.7.0/contrib/dbs/tiff-bi.c:73: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: scan_line
Error: CPPCHECK_WARNING (CWE-476): [#def15]
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:79: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: gray
Error: GCC_ANALYZER_WARNING (CWE-476): [#def16]
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:79:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘gray’
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:50:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:53:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:53:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:54:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:77:24: acquire_memory: this call could return NULL
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:79:5: danger: ‘gray’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-476): [#def17]
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:81: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: gray
Error: GCC_ANALYZER_WARNING (CWE-401): [#def18]
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:86:16: warning[-Wanalyzer-malloc-leak]: leak of ‘gray’
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:50:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:53:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:53:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:54:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:77:24: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:86:16: danger: ‘gray’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def19]
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:93:5: warning[-Wanalyzer-malloc-leak]: leak of ‘gray’
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:50:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:53:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:53:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:54:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:77:24: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:86:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:93:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:93:5: danger: ‘gray’ leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def20]
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:94:5: warning[-Wanalyzer-malloc-leak]: leak of ‘gray’
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:50:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:53:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:53:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:54:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:77:24: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:86:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:93:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:94:5: danger: ‘gray’ leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def21]
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:95:5: warning[-Wanalyzer-malloc-leak]: leak of ‘gray’
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:50:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:53:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:53:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:54:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:77:24: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:86:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:93:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:95:5: danger: ‘gray’ leaks here; was allocated at [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def22]
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:96:5: warning[-Wanalyzer-malloc-leak]: leak of ‘gray’
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:50:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:53:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:53:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:54:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:77:24: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:86:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:93:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:96:5: danger: ‘gray’ leaks here; was allocated at [(5)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def23]
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:97:5: warning[-Wanalyzer-malloc-leak]: leak of ‘gray’
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:50:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:53:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:53:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:54:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:77:24: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:86:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:93:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:97:5: danger: ‘gray’ leaks here; was allocated at [(5)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def24]
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:98:5: warning[-Wanalyzer-malloc-leak]: leak of ‘gray’
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:50:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:53:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:53:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:54:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:77:24: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:86:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:93:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:98:5: danger: ‘gray’ leaks here; was allocated at [(5)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def25]
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:99:5: warning[-Wanalyzer-malloc-leak]: leak of ‘gray’
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:50:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:53:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:53:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:54:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:77:24: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:86:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:93:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:99:5: danger: ‘gray’ leaks here; was allocated at [(5)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def26]
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:100:5: warning[-Wanalyzer-malloc-leak]: leak of ‘gray’
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:50:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:53:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:53:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:54:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:77:24: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:86:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:93:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:100:5: danger: ‘gray’ leaks here; was allocated at [(5)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def27]
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:101:5: warning[-Wanalyzer-malloc-leak]: leak of ‘gray’
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:50:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:53:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:53:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:54:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:77:24: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:86:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:93:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:101:5: danger: ‘gray’ leaks here; was allocated at [(5)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def28]
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:102:5: warning[-Wanalyzer-malloc-leak]: leak of ‘gray’
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:50:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:53:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:53:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:54:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:77:24: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:86:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:93:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:102:5: danger: ‘gray’ leaks here; was allocated at [(5)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def29]
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:116:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘scan_line’
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:50:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:53:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:53:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:54:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:86:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:93:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:105:34: acquire_memory: this call could return NULL
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:107:17: branch_true: following ‘true’ branch (when ‘i != 512’)...
branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:109:28: branch_true: following ‘true’ branch (when ‘j <= 511’)...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:111:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:116:21: danger: ‘scan_line + (sizetype)k’ could be NULL: unchecked value from [(7)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def30]
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:120:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘scan_line’
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:50:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:53:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:53:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:54:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:86:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:93:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:105:34: acquire_memory: this call could return NULL
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:107:17: branch_true: following ‘true’ branch (when ‘i != 512’)...
branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:109:28: branch_true: following ‘true’ branch (when ‘j <= 511’)...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:111:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:120:21: danger: ‘scan_line + (sizetype)k’ could be NULL: unchecked value from [(7)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def31]
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:124:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘scan_line’
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:50:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:53:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:53:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:54:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:86:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:93:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:105:34: acquire_memory: this call could return NULL
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:107:17: branch_true: following ‘true’ branch (when ‘i != 512’)...
branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:109:28: branch_true: following ‘true’ branch (when ‘j <= 511’)...
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:111:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-grayscale.c:124:21: danger: ‘scan_line + (sizetype)k’ could be NULL: unchecked value from [(7)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def32]
tiff-4.7.0/contrib/dbs/tiff-palette.c:96:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘red’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:86:23: acquire_memory: this call could return NULL
tiff-4.7.0/contrib/dbs/tiff-palette.c:93:25: branch_true: following ‘true’ branch (when ‘cmsize > i’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:95:20: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:95:20: branch_true: following ‘true’ branch (when ‘i <= 31’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:96:24: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:96:21: danger: ‘red + (long unsigned int)i * 2’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def33]
tiff-4.7.0/contrib/dbs/tiff-palette.c:113:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘green’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:87:25: acquire_memory: this call could return NULL
tiff-4.7.0/contrib/dbs/tiff-palette.c:93:25: branch_true: following ‘true’ branch (when ‘cmsize > i’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:95:20: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:95:20: branch_true: following ‘true’ branch (when ‘i <= 31’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:96:24: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:112:20: branch_true: following ‘true’ branch...
tiff-4.7.0/contrib/dbs/tiff-palette.c:113:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:113:21: danger: ‘green + (long unsigned int)i * 2’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def34]
tiff-4.7.0/contrib/dbs/tiff-palette.c:130:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘blue’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:88:24: acquire_memory: this call could return NULL
tiff-4.7.0/contrib/dbs/tiff-palette.c:93:25: branch_true: following ‘true’ branch (when ‘cmsize > i’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:95:20: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:95:20: branch_true: following ‘true’ branch (when ‘i <= 31’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:96:24: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:112:20: branch_true: following ‘true’ branch...
tiff-4.7.0/contrib/dbs/tiff-palette.c:113:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:129:20: branch_true: following ‘true’ branch...
tiff-4.7.0/contrib/dbs/tiff-palette.c:130:25: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:130:21: danger: ‘blue + (long unsigned int)i * 2’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def35]
tiff-4.7.0/contrib/dbs/tiff-palette.c:140:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘red’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:86:23: acquire_memory: this call could return NULL
tiff-4.7.0/contrib/dbs/tiff-palette.c:140:13: danger: ‘red’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def36]
tiff-4.7.0/contrib/dbs/tiff-palette.c:141:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘green’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:87:25: acquire_memory: this call could return NULL
tiff-4.7.0/contrib/dbs/tiff-palette.c:141:13: danger: ‘green’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def37]
tiff-4.7.0/contrib/dbs/tiff-palette.c:142:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘blue’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:88:24: acquire_memory: this call could return NULL
tiff-4.7.0/contrib/dbs/tiff-palette.c:142:13: danger: ‘blue’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def38]
tiff-4.7.0/contrib/dbs/tiff-palette.c:198:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘red’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:86:23: acquire_memory: this call could return NULL
tiff-4.7.0/contrib/dbs/tiff-palette.c:198:13: danger: ‘red’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def39]
tiff-4.7.0/contrib/dbs/tiff-palette.c:199:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘green’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:87:25: acquire_memory: this call could return NULL
tiff-4.7.0/contrib/dbs/tiff-palette.c:199:13: danger: ‘green’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def40]
tiff-4.7.0/contrib/dbs/tiff-palette.c:200:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘blue’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:88:24: acquire_memory: this call could return NULL
tiff-4.7.0/contrib/dbs/tiff-palette.c:200:13: danger: ‘blue’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def41]
tiff-4.7.0/contrib/dbs/tiff-palette.c:214:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘red’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:86:23: acquire_memory: this call could return NULL
tiff-4.7.0/contrib/dbs/tiff-palette.c:214:13: danger: ‘red’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def42]
tiff-4.7.0/contrib/dbs/tiff-palette.c:215:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘green’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:87:25: acquire_memory: this call could return NULL
tiff-4.7.0/contrib/dbs/tiff-palette.c:215:13: danger: ‘green’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def43]
tiff-4.7.0/contrib/dbs/tiff-palette.c:216:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘blue’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:88:24: acquire_memory: this call could return NULL
tiff-4.7.0/contrib/dbs/tiff-palette.c:216:13: danger: ‘blue’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def44]
tiff-4.7.0/contrib/dbs/tiff-palette.c:224:16: warning[-Wanalyzer-malloc-leak]: leak of ‘blue’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:88:24: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-palette.c:224:16: danger: ‘blue’ leaks here; was allocated at [(5)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def45]
tiff-4.7.0/contrib/dbs/tiff-palette.c:224:16: warning[-Wanalyzer-malloc-leak]: leak of ‘green’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:87:25: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-palette.c:224:16: danger: ‘green’ leaks here; was allocated at [(5)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def46]
tiff-4.7.0/contrib/dbs/tiff-palette.c:224:16: warning[-Wanalyzer-malloc-leak]: leak of ‘red’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:86:23: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-palette.c:224:16: danger: ‘red’ leaks here; was allocated at [(5)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def47]
tiff-4.7.0/contrib/dbs/tiff-palette.c:233:5: warning[-Wanalyzer-malloc-leak]: leak of ‘blue’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:88:24: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-palette.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-palette.c:233:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:233:5: danger: ‘blue’ leaks here; was allocated at [(5)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def48]
tiff-4.7.0/contrib/dbs/tiff-palette.c:233:5: warning[-Wanalyzer-malloc-leak]: leak of ‘green’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:87:25: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-palette.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-palette.c:233:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:233:5: danger: ‘green’ leaks here; was allocated at [(5)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def49]
tiff-4.7.0/contrib/dbs/tiff-palette.c:233:5: warning[-Wanalyzer-malloc-leak]: leak of ‘red’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:86:23: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-palette.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-palette.c:233:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:233:5: danger: ‘red’ leaks here; was allocated at [(5)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def50]
tiff-4.7.0/contrib/dbs/tiff-palette.c:234:5: warning[-Wanalyzer-malloc-leak]: leak of ‘blue’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:88:24: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-palette.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-palette.c:233:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:234:5: danger: ‘blue’ leaks here; was allocated at [(5)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def51]
tiff-4.7.0/contrib/dbs/tiff-palette.c:234:5: warning[-Wanalyzer-malloc-leak]: leak of ‘green’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:87:25: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-palette.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-palette.c:233:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:234:5: danger: ‘green’ leaks here; was allocated at [(5)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def52]
tiff-4.7.0/contrib/dbs/tiff-palette.c:234:5: warning[-Wanalyzer-malloc-leak]: leak of ‘red’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:86:23: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-palette.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-palette.c:233:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:234:5: danger: ‘red’ leaks here; was allocated at [(5)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def53]
tiff-4.7.0/contrib/dbs/tiff-palette.c:235:5: warning[-Wanalyzer-malloc-leak]: leak of ‘blue’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:88:24: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-palette.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-palette.c:233:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:235:5: danger: ‘blue’ leaks here; was allocated at [(5)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def54]
tiff-4.7.0/contrib/dbs/tiff-palette.c:235:5: warning[-Wanalyzer-malloc-leak]: leak of ‘green’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:87:25: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-palette.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-palette.c:233:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:235:5: danger: ‘green’ leaks here; was allocated at [(5)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def55]
tiff-4.7.0/contrib/dbs/tiff-palette.c:235:5: warning[-Wanalyzer-malloc-leak]: leak of ‘red’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:86:23: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-palette.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-palette.c:233:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:235:5: danger: ‘red’ leaks here; was allocated at [(5)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def56]
tiff-4.7.0/contrib/dbs/tiff-palette.c:236:5: warning[-Wanalyzer-malloc-leak]: leak of ‘blue’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:88:24: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-palette.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-palette.c:233:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:236:5: danger: ‘blue’ leaks here; was allocated at [(5)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def57]
tiff-4.7.0/contrib/dbs/tiff-palette.c:236:5: warning[-Wanalyzer-malloc-leak]: leak of ‘green’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:87:25: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-palette.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-palette.c:233:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:236:5: danger: ‘green’ leaks here; was allocated at [(5)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def58]
tiff-4.7.0/contrib/dbs/tiff-palette.c:236:5: warning[-Wanalyzer-malloc-leak]: leak of ‘red’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:86:23: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-palette.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-palette.c:233:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:236:5: danger: ‘red’ leaks here; was allocated at [(5)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def59]
tiff-4.7.0/contrib/dbs/tiff-palette.c:237:5: warning[-Wanalyzer-malloc-leak]: leak of ‘blue’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:88:24: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-palette.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-palette.c:233:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:237:5: danger: ‘blue’ leaks here; was allocated at [(5)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def60]
tiff-4.7.0/contrib/dbs/tiff-palette.c:237:5: warning[-Wanalyzer-malloc-leak]: leak of ‘green’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:87:25: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-palette.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-palette.c:233:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:237:5: danger: ‘green’ leaks here; was allocated at [(5)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def61]
tiff-4.7.0/contrib/dbs/tiff-palette.c:237:5: warning[-Wanalyzer-malloc-leak]: leak of ‘red’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:86:23: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-palette.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-palette.c:233:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:237:5: danger: ‘red’ leaks here; was allocated at [(5)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def62]
tiff-4.7.0/contrib/dbs/tiff-palette.c:238:5: warning[-Wanalyzer-malloc-leak]: leak of ‘blue’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:88:24: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-palette.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-palette.c:233:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:238:5: danger: ‘blue’ leaks here; was allocated at [(5)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def63]
tiff-4.7.0/contrib/dbs/tiff-palette.c:238:5: warning[-Wanalyzer-malloc-leak]: leak of ‘green’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:87:25: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-palette.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-palette.c:233:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:238:5: danger: ‘green’ leaks here; was allocated at [(5)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def64]
tiff-4.7.0/contrib/dbs/tiff-palette.c:238:5: warning[-Wanalyzer-malloc-leak]: leak of ‘red’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:86:23: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-palette.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-palette.c:233:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:238:5: danger: ‘red’ leaks here; was allocated at [(5)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def65]
tiff-4.7.0/contrib/dbs/tiff-palette.c:239:5: warning[-Wanalyzer-malloc-leak]: leak of ‘blue’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:88:24: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-palette.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-palette.c:233:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:239:5: danger: ‘blue’ leaks here; was allocated at [(5)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def66]
tiff-4.7.0/contrib/dbs/tiff-palette.c:239:5: warning[-Wanalyzer-malloc-leak]: leak of ‘green’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:87:25: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-palette.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-palette.c:233:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:239:5: danger: ‘green’ leaks here; was allocated at [(5)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def67]
tiff-4.7.0/contrib/dbs/tiff-palette.c:239:5: warning[-Wanalyzer-malloc-leak]: leak of ‘red’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:86:23: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-palette.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-palette.c:233:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:239:5: danger: ‘red’ leaks here; was allocated at [(5)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def68]
tiff-4.7.0/contrib/dbs/tiff-palette.c:240:5: warning[-Wanalyzer-malloc-leak]: leak of ‘blue’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:88:24: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-palette.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-palette.c:233:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:240:5: danger: ‘blue’ leaks here; was allocated at [(5)](sarif:/runs/0/results/37/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def69]
tiff-4.7.0/contrib/dbs/tiff-palette.c:240:5: warning[-Wanalyzer-malloc-leak]: leak of ‘green’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:87:25: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-palette.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-palette.c:233:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:240:5: danger: ‘green’ leaks here; was allocated at [(5)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def70]
tiff-4.7.0/contrib/dbs/tiff-palette.c:240:5: warning[-Wanalyzer-malloc-leak]: leak of ‘red’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:86:23: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-palette.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-palette.c:233:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:240:5: danger: ‘red’ leaks here; was allocated at [(5)](sarif:/runs/0/results/38/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def71]
tiff-4.7.0/contrib/dbs/tiff-palette.c:241:5: warning[-Wanalyzer-malloc-leak]: leak of ‘blue’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:88:24: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-palette.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-palette.c:233:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:241:5: danger: ‘blue’ leaks here; was allocated at [(5)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def72]
tiff-4.7.0/contrib/dbs/tiff-palette.c:241:5: warning[-Wanalyzer-malloc-leak]: leak of ‘green’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:87:25: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-palette.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-palette.c:233:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:241:5: danger: ‘green’ leaks here; was allocated at [(5)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def73]
tiff-4.7.0/contrib/dbs/tiff-palette.c:241:5: warning[-Wanalyzer-malloc-leak]: leak of ‘red’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:86:23: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-palette.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-palette.c:233:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:241:5: danger: ‘red’ leaks here; was allocated at [(5)](sarif:/runs/0/results/39/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def74]
tiff-4.7.0/contrib/dbs/tiff-palette.c:242:5: warning[-Wanalyzer-malloc-leak]: leak of ‘blue’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:88:24: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-palette.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-palette.c:233:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:242:5: danger: ‘blue’ leaks here; was allocated at [(5)](sarif:/runs/0/results/44/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def75]
tiff-4.7.0/contrib/dbs/tiff-palette.c:242:5: warning[-Wanalyzer-malloc-leak]: leak of ‘green’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:87:25: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-palette.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-palette.c:233:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:242:5: danger: ‘green’ leaks here; was allocated at [(5)](sarif:/runs/0/results/42/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def76]
tiff-4.7.0/contrib/dbs/tiff-palette.c:242:5: warning[-Wanalyzer-malloc-leak]: leak of ‘red’
tiff-4.7.0/contrib/dbs/tiff-palette.c:48:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:10: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:51:8: branch_true: following ‘true’ branch (when the strings are equal)...
tiff-4.7.0/contrib/dbs/tiff-palette.c:52:26: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:86:23: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-palette.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-palette.c:233:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-palette.c:242:5: danger: ‘red’ leaks here; was allocated at [(5)](sarif:/runs/0/results/43/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-476): [#def77]
tiff-4.7.0/contrib/dbs/tiff-rgb.c:118: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: scan_line
Error: GCC_ANALYZER_WARNING (CWE-476): [#def78]
tiff-4.7.0/contrib/dbs/tiff-rgb.c:118:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘scan_line’
tiff-4.7.0/contrib/dbs/tiff-rgb.c:72:17: branch_true: following ‘true’ branch (when ‘i != 256’)...
tiff-4.7.0/contrib/dbs/tiff-rgb.c:74:12: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-rgb.c:74:12: branch_true: following ‘true’ branch (when ‘i == 0’)...
tiff-4.7.0/contrib/dbs/tiff-rgb.c:75:33: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-rgb.c:90:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-rgb.c:96:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-rgb.c:112:34: acquire_memory: this call could return NULL
tiff-4.7.0/contrib/dbs/tiff-rgb.c:114:17: branch_true: following ‘true’ branch (when ‘i != 255’)...
branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-rgb.c:116:21: branch_true: following ‘true’ branch (when ‘j != 75’)...
tiff-4.7.0/contrib/dbs/tiff-rgb.c:118:23: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-rgb.c:118:13: danger: ‘scan_line + (sizetype)(j * 3)’ could be NULL: unchecked value from [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: CPPCHECK_WARNING (CWE-476): [#def79]
tiff-4.7.0/contrib/dbs/tiff-rgb.c:119: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: scan_line
Error: CPPCHECK_WARNING (CWE-476): [#def80]
tiff-4.7.0/contrib/dbs/tiff-rgb.c:120: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: scan_line
Error: CPPCHECK_WARNING (CWE-476): [#def81]
tiff-4.7.0/contrib/dbs/tiff-rgb.c:124: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: scan_line
Error: CPPCHECK_WARNING (CWE-476): [#def82]
tiff-4.7.0/contrib/dbs/tiff-rgb.c:125: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: scan_line
Error: CPPCHECK_WARNING (CWE-476): [#def83]
tiff-4.7.0/contrib/dbs/tiff-rgb.c:126: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: scan_line
Error: CPPCHECK_WARNING (CWE-476): [#def84]
tiff-4.7.0/contrib/dbs/tiff-rgb.c:130: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: scan_line
Error: CPPCHECK_WARNING (CWE-476): [#def85]
tiff-4.7.0/contrib/dbs/tiff-rgb.c:131: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: scan_line
Error: CPPCHECK_WARNING (CWE-476): [#def86]
tiff-4.7.0/contrib/dbs/tiff-rgb.c:132: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: scan_line
Error: GCC_ANALYZER_WARNING (CWE-401): [#def87]
tiff-4.7.0/contrib/dbs/tiff-rgb.c:158:9: warning[-Wanalyzer-malloc-leak]: leak of ‘scan_line’
tiff-4.7.0/contrib/dbs/tiff-rgb.c:72:17: branch_true: following ‘true’ branch (when ‘i != 256’)...
tiff-4.7.0/contrib/dbs/tiff-rgb.c:74:12: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-rgb.c:74:12: branch_true: following ‘true’ branch (when ‘i == 0’)...
tiff-4.7.0/contrib/dbs/tiff-rgb.c:75:33: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-rgb.c:90:8: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/dbs/tiff-rgb.c:96:5: branch_false: ...to here
tiff-4.7.0/contrib/dbs/tiff-rgb.c:112:34: acquire_memory: allocated here
tiff-4.7.0/contrib/dbs/tiff-rgb.c:114:17: branch_true: following ‘true’ branch (when ‘i != 255’)...
branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-rgb.c:116:21: branch_true: following ‘true’ branch (when ‘j != 75’)...
tiff-4.7.0/contrib/dbs/tiff-rgb.c:118:23: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-rgb.c:116:21: branch_true: following ‘true’ branch (when ‘j != 75’)...
tiff-4.7.0/contrib/dbs/tiff-rgb.c:118:23: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-rgb.c:122:22: branch_true: following ‘true’ branch (when ‘j != 150’)...
tiff-4.7.0/contrib/dbs/tiff-rgb.c:124:32: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-rgb.c:128:23: branch_true: following ‘true’ branch (when ‘j != 225’)...
tiff-4.7.0/contrib/dbs/tiff-rgb.c:130:32: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-rgb.c:134:23: branch_true: following ‘true’ branch (when ‘j != 300’)...
tiff-4.7.0/contrib/dbs/tiff-rgb.c:136:32: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-rgb.c:140:23: branch_true: following ‘true’ branch (when ‘j != 375’)...
tiff-4.7.0/contrib/dbs/tiff-rgb.c:142:32: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-rgb.c:146:23: branch_true: following ‘true’ branch (when ‘j != 450’)...
tiff-4.7.0/contrib/dbs/tiff-rgb.c:148:23: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-rgb.c:152:23: branch_true: following ‘true’ branch (when ‘j != 525’)...
tiff-4.7.0/contrib/dbs/tiff-rgb.c:154:23: branch_true: ...to here
tiff-4.7.0/contrib/dbs/tiff-rgb.c:158:9: danger: ‘scan_line’ leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def88]
tiff-4.7.0/contrib/iptcutil/iptcutil.c:322:13: warning[-Wanalyzer-malloc-leak]: leak of ‘b’
tiff-4.7.0/contrib/iptcutil/iptcutil.c:323:12: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/iptcutil/iptcutil.c:325:19: branch_false: ...to here
tiff-4.7.0/contrib/iptcutil/iptcutil.c:325:12: branch_true: following ‘true’ branch...
tiff-4.7.0/contrib/iptcutil/iptcutil.c:329:20: branch_true: ...to here
tiff-4.7.0/contrib/iptcutil/iptcutil.c:332:16: branch_false: following ‘false’ branch (when ‘b’ is non-NULL)...
tiff-4.7.0/contrib/iptcutil/iptcutil.c:334:17: branch_false: ...to here
tiff-4.7.0/contrib/iptcutil/iptcutil.c:322:13: danger: ‘b’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def89]
tiff-4.7.0/contrib/iptcutil/iptcutil.c:322:13: warning[-Wanalyzer-malloc-leak]: leak of ‘line’
tiff-4.7.0/contrib/iptcutil/iptcutil.c:354:5: enter_function: entry to ‘main’
tiff-4.7.0/contrib/iptcutil/iptcutil.c:369:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
branch_false: ...to here
tiff-4.7.0/contrib/iptcutil/iptcutil.c:379:17: branch_true: following ‘true’ branch (when ‘i < argc’)...
tiff-4.7.0/contrib/iptcutil/iptcutil.c:381:17: branch_true: ...to here
tiff-4.7.0/contrib/iptcutil/iptcutil.c:382:12: branch_true: following ‘true’ branch...
tiff-4.7.0/contrib/iptcutil/iptcutil.c:384:13: branch_true: ...to here
tiff-4.7.0/contrib/iptcutil/iptcutil.c:435:8: branch_false: following ‘false’ branch (when ‘mode != 0’)...
tiff-4.7.0/contrib/iptcutil/iptcutil.c:446:13: branch_false: ...to here
tiff-4.7.0/contrib/iptcutil/iptcutil.c:448:24: acquire_memory: allocated here
tiff-4.7.0/contrib/iptcutil/iptcutil.c:449:24: call_function: calling ‘super_fgets’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def90]
tiff-4.7.0/contrib/iptcutil/iptcutil.c:336:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘q’
tiff-4.7.0/contrib/iptcutil/iptcutil.c:354:5: enter_function: entry to ‘main’
tiff-4.7.0/contrib/iptcutil/iptcutil.c:369:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
branch_false: ...to here
tiff-4.7.0/contrib/iptcutil/iptcutil.c:379:17: branch_true: following ‘true’ branch (when ‘i < argc’)...
tiff-4.7.0/contrib/iptcutil/iptcutil.c:381:17: branch_true: ...to here
tiff-4.7.0/contrib/iptcutil/iptcutil.c:382:12: branch_true: following ‘true’ branch...
tiff-4.7.0/contrib/iptcutil/iptcutil.c:384:13: branch_true: ...to here
tiff-4.7.0/contrib/iptcutil/iptcutil.c:435:8: branch_false: following ‘false’ branch (when ‘mode != 0’)...
tiff-4.7.0/contrib/iptcutil/iptcutil.c:446:13: branch_false: ...to here
tiff-4.7.0/contrib/iptcutil/iptcutil.c:448:24: acquire_memory: this call could return NULL
tiff-4.7.0/contrib/iptcutil/iptcutil.c:449:24: call_function: calling ‘super_fgets’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def91]
tiff-4.7.0/contrib/iptcutil/iptcutil.c:344:12: warning[-Wanalyzer-malloc-leak]: leak of ‘b’
tiff-4.7.0/contrib/iptcutil/iptcutil.c:323:12: branch_false: following ‘false’ branch...
tiff-4.7.0/contrib/iptcutil/iptcutil.c:325:19: branch_false: ...to here
tiff-4.7.0/contrib/iptcutil/iptcutil.c:325:12: branch_true: following ‘true’ branch...
tiff-4.7.0/contrib/iptcutil/iptcutil.c:329:20: branch_true: ...to here
tiff-4.7.0/contrib/iptcutil/iptcutil.c:332:16: branch_false: following ‘false’ branch (when ‘b’ is non-NULL)...
tiff-4.7.0/contrib/iptcutil/iptcutil.c:334:17: branch_false: ...to here
tiff-4.7.0/contrib/iptcutil/iptcutil.c:323:12: branch_true: following ‘true’ branch...
tiff-4.7.0/contrib/iptcutil/iptcutil.c:338:5: branch_true: ...to here
tiff-4.7.0/contrib/iptcutil/iptcutil.c:339:8: branch_true: following ‘true’ branch (when ‘b’ is non-NULL)...
tiff-4.7.0/contrib/iptcutil/iptcutil.c:343:21: branch_true: ...to here
tiff-4.7.0/contrib/iptcutil/iptcutil.c:344:12: branch_true: following ‘true’ branch (when ‘tlen == 0’)...
branch_true: ...to here
tiff-4.7.0/contrib/iptcutil/iptcutil.c:344:12: danger: ‘b’ leaks here; was allocated at [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def92]
tiff-4.7.0/libtiff/tif_aux.c:218:9: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
tiff-4.7.0/libtiff/tif_aux.c:377:5: enter_function: entry to 'TIFFGetFieldDefaulted'
tiff-4.7.0/libtiff/tif_aux.c:382:5: acquire_resource: 'va_start' called here
tiff-4.7.0/libtiff/tif_aux.c:383:10: call_function: calling 'TIFFVGetFieldDefaulted' from 'TIFFGetFieldDefaulted'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def93]
tiff-4.7.0/libtiff/tif_dir.c:1115:28: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
tiff-4.7.0/libtiff/tif_dir.c:1146:5: enter_function: entry to 'TIFFSetField'
tiff-4.7.0/libtiff/tif_dir.c:1151:5: acquire_resource: 'va_start' called here
tiff-4.7.0/libtiff/tif_dir.c:1152:14: call_function: calling 'TIFFVSetField' from 'TIFFSetField'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def94]
tiff-4.7.0/libtiff/tif_dir.c:1118:9: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
tiff-4.7.0/libtiff/tif_dir.c:1146:5: enter_function: entry to 'TIFFSetField'
tiff-4.7.0/libtiff/tif_dir.c:1151:5: acquire_resource: 'va_start' called here
tiff-4.7.0/libtiff/tif_dir.c:1152:14: call_function: calling 'TIFFVSetField' from 'TIFFSetField'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def95]
tiff-4.7.0/libtiff/tif_dir.c:1131:9: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
tiff-4.7.0/libtiff/tif_dir.c:1146:5: enter_function: entry to 'TIFFSetField'
tiff-4.7.0/libtiff/tif_dir.c:1151:5: acquire_resource: 'va_start' called here
tiff-4.7.0/libtiff/tif_dir.c:1152:14: call_function: calling 'TIFFVSetField' from 'TIFFSetField'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def96]
tiff-4.7.0/libtiff/tif_dir.c:1208:18: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
tiff-4.7.0/libtiff/tif_dir.c:1146:5: enter_function: entry to 'TIFFSetField'
tiff-4.7.0/libtiff/tif_dir.c:1151:5: acquire_resource: 'va_start' called here
tiff-4.7.0/libtiff/tif_dir.c:1152:14: call_function: calling 'TIFFVSetField' from 'TIFFSetField'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def97]
tiff-4.7.0/libtiff/tif_dir.c:1601:28: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
tiff-4.7.0/libtiff/tif_dir.c:1582:5: enter_function: entry to 'TIFFGetField'
tiff-4.7.0/libtiff/tif_dir.c:1587:5: acquire_resource: 'va_start' called here
tiff-4.7.0/libtiff/tif_dir.c:1588:14: call_function: calling 'TIFFVGetField' from 'TIFFGetField'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def98]
tiff-4.7.0/libtiff/tif_dir.c:1603:19: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
tiff-4.7.0/libtiff/tif_dir.c:1582:5: enter_function: entry to 'TIFFGetField'
tiff-4.7.0/libtiff/tif_dir.c:1587:5: acquire_resource: 'va_start' called here
tiff-4.7.0/libtiff/tif_dir.c:1588:14: call_function: calling 'TIFFVGetField' from 'TIFFGetField'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def99]
tiff-4.7.0/libtiff/tif_error.c:52:9: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
tiff-4.7.0/libtiff/tif_error.c:49:8: branch_true: following 'true' branch...
tiff-4.7.0/libtiff/tif_error.c:51:9: branch_true: ...to here
tiff-4.7.0/libtiff/tif_error.c:51:9: acquire_resource: 'va_start' called here
tiff-4.7.0/libtiff/tif_error.c:52:9: danger: missing call to 'va_end' to match 'va_start' at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def100]
tiff-4.7.0/libtiff/tif_error.c:58:9: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
tiff-4.7.0/libtiff/tif_error.c:55:8: branch_true: following 'true' branch...
tiff-4.7.0/libtiff/tif_error.c:57:9: branch_true: ...to here
tiff-4.7.0/libtiff/tif_error.c:57:9: acquire_resource: 'va_start' called here
tiff-4.7.0/libtiff/tif_error.c:58:9: danger: missing call to 'va_end' to match 'va_start' at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def101]
tiff-4.7.0/libtiff/tif_error.c:69:9: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
tiff-4.7.0/libtiff/tif_error.c:66:8: branch_true: following 'true' branch...
tiff-4.7.0/libtiff/tif_error.c:68:9: branch_true: ...to here
tiff-4.7.0/libtiff/tif_error.c:68:9: acquire_resource: 'va_start' called here
tiff-4.7.0/libtiff/tif_error.c:69:9: danger: missing call to 'va_end' to match 'va_start' at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def102]
tiff-4.7.0/libtiff/tif_error.c:75:9: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
tiff-4.7.0/libtiff/tif_error.c:72:8: branch_true: following 'true' branch...
tiff-4.7.0/libtiff/tif_error.c:74:9: branch_true: ...to here
tiff-4.7.0/libtiff/tif_error.c:74:9: acquire_resource: 'va_start' called here
tiff-4.7.0/libtiff/tif_error.c:75:9: danger: missing call to 'va_end' to match 'va_start' at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def103]
tiff-4.7.0/libtiff/tif_error.c:87:20: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
tiff-4.7.0/libtiff/tif_error.c:84:8: branch_true: following 'true' branch...
tiff-4.7.0/libtiff/tif_error.c:86:9: acquire_resource: 'va_start' called here
tiff-4.7.0/libtiff/tif_error.c:87:20: danger: missing call to 'va_end' to match 'va_start' at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def104]
tiff-4.7.0/libtiff/tif_error.c:96:9: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
tiff-4.7.0/libtiff/tif_error.c:93:8: branch_true: following 'true' branch...
tiff-4.7.0/libtiff/tif_error.c:95:9: branch_true: ...to here
tiff-4.7.0/libtiff/tif_error.c:95:9: acquire_resource: 'va_start' called here
tiff-4.7.0/libtiff/tif_error.c:96:9: danger: missing call to 'va_end' to match 'va_start' at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def105]
tiff-4.7.0/libtiff/tif_error.c:102:9: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
tiff-4.7.0/libtiff/tif_error.c:93:8: branch_false: following 'false' branch...
tiff-4.7.0/libtiff/tif_error.c:99:9: branch_false: ...to here
tiff-4.7.0/libtiff/tif_error.c:99:8: branch_true: following 'true' branch...
tiff-4.7.0/libtiff/tif_error.c:101:9: branch_true: ...to here
tiff-4.7.0/libtiff/tif_error.c:101:9: acquire_resource: 'va_start' called here
tiff-4.7.0/libtiff/tif_error.c:102:9: danger: missing call to 'va_end' to match 'va_start' at [(5)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def106]
tiff-4.7.0/libtiff/tif_error.c:113:20: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
tiff-4.7.0/libtiff/tif_error.c:110:8: branch_true: following 'true' branch...
tiff-4.7.0/libtiff/tif_error.c:112:9: acquire_resource: 'va_start' called here
tiff-4.7.0/libtiff/tif_error.c:113:20: danger: missing call to 'va_end' to match 'va_start' at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def107]
tiff-4.7.0/libtiff/tif_error.c:122:9: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
tiff-4.7.0/libtiff/tif_error.c:119:8: branch_true: following 'true' branch...
tiff-4.7.0/libtiff/tif_error.c:121:9: branch_true: ...to here
tiff-4.7.0/libtiff/tif_error.c:121:9: acquire_resource: 'va_start' called here
tiff-4.7.0/libtiff/tif_error.c:122:9: danger: missing call to 'va_end' to match 'va_start' at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def108]
tiff-4.7.0/libtiff/tif_error.c:128:9: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
tiff-4.7.0/libtiff/tif_error.c:119:8: branch_false: following 'false' branch...
tiff-4.7.0/libtiff/tif_error.c:125:9: branch_false: ...to here
tiff-4.7.0/libtiff/tif_error.c:125:8: branch_true: following 'true' branch...
tiff-4.7.0/libtiff/tif_error.c:127:9: branch_true: ...to here
tiff-4.7.0/libtiff/tif_error.c:127:9: acquire_resource: 'va_start' called here
tiff-4.7.0/libtiff/tif_error.c:128:9: branch_false: following 'false' branch (when 'tif' is NULL)...
tiff-4.7.0/libtiff/tif_error.c:128:9: branch_false: ...to here
tiff-4.7.0/libtiff/tif_error.c:128:9: danger: missing call to 'va_end' to match 'va_start' at [(5)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def109]
tiff-4.7.0/libtiff/tif_hash_set.c:387:17: warning[-Wanalyzer-malloc-leak]: leak of 'newTabList'
tiff-4.7.0/libtiff/tif_hash_set.c:370:22: acquire_memory: allocated here
tiff-4.7.0/libtiff/tif_hash_set.c:371:8: branch_false: following 'false' branch (when 'newTabList' is non-NULL)...
branch_false: ...to here
tiff-4.7.0/libtiff/tif_hash_set.c:381:21: branch_true: following 'true' branch...
tiff-4.7.0/libtiff/tif_hash_set.c:383:25: branch_true: ...to here
tiff-4.7.0/libtiff/tif_hash_set.c:384:16: branch_true: following 'true' branch (when 'cur' is non-NULL)...
tiff-4.7.0/libtiff/tif_hash_set.c:387:17: branch_true: ...to here
tiff-4.7.0/libtiff/tif_hash_set.c:387:17: danger: 'newTabList' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def110]
tiff-4.7.0/libtiff/tif_hash_set.c:483:5: warning[-Wanalyzer-malloc-leak]: leak of 'TIFFHashSetGetNewListElt(set)'
tiff-4.7.0/libtiff/tif_hash_set.c:440:6: enter_function: entry to 'TIFFHashSetInsert'
tiff-4.7.0/libtiff/tif_hash_set.c:442:5: branch_true: following 'true' branch (when 'set' is non-NULL)...
tiff-4.7.0/libtiff/tif_hash_set.c:443:19: branch_true: ...to here
tiff-4.7.0/libtiff/tif_hash_set.c:443:19: call_function: calling 'TIFFHashSetFindPtr' from 'TIFFHashSetInsert'
tiff-4.7.0/libtiff/tif_hash_set.c:443:19: return_function: returning to 'TIFFHashSetInsert' from 'TIFFHashSetFindPtr'
tiff-4.7.0/libtiff/tif_hash_set.c:444:8: branch_false: following 'false' branch...
tiff-4.7.0/libtiff/tif_hash_set.c:453:9: branch_false: ...to here
tiff-4.7.0/libtiff/tif_hash_set.c:473:25: call_function: calling 'TIFFHashSetGetNewListElt' from 'TIFFHashSetInsert'
tiff-4.7.0/libtiff/tif_hash_set.c:473:25: return_function: returning to 'TIFFHashSetInsert' from 'TIFFHashSetGetNewListElt'
tiff-4.7.0/libtiff/tif_hash_set.c:474:8: branch_false: following 'false' branch...
tiff-4.7.0/libtiff/tif_hash_set.c:480:5: branch_false: ...to here
tiff-4.7.0/libtiff/tif_hash_set.c:483:5: danger: 'TIFFHashSetGetNewListElt(set)' leaks here; was allocated at [(15)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def111]
tiff-4.7.0/libtiff/tif_lerc.c:1337:11: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
tiff-4.7.0/libtiff/tif_lerc.c:1336:5: acquire_resource: 'va_start' called here
tiff-4.7.0/libtiff/tif_lerc.c:1337:11: danger: missing call to 'va_end' to match 'va_start' at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def112]
tiff-4.7.0/libtiff/tif_packbits.c:109:29: warning[-Wanalyzer-null-dereference]: dereference of NULL 'lastliteral'
tiff-4.7.0/libtiff/tif_packbits.c:82:12: branch_true: following 'true' branch (when 'cc > 0')...
tiff-4.7.0/libtiff/tif_packbits.c:87:14: branch_true: ...to here
tiff-4.7.0/libtiff/tif_packbits.c:90:16: branch_true: following 'true' branch (when 'cc != 0')...
tiff-4.7.0/libtiff/tif_packbits.c:90:31: branch_true: ...to here
tiff-4.7.0/libtiff/tif_packbits.c:123:20: branch_true: following 'true' branch (when 'n > 1')...
tiff-4.7.0/libtiff/tif_packbits.c:126:24: branch_true: ...to here
tiff-4.7.0/libtiff/tif_packbits.c:126:24: branch_true: following 'true' branch (when 'n > 128')...
tiff-4.7.0/libtiff/tif_packbits.c:128:25: branch_true: ...to here
tiff-4.7.0/libtiff/tif_packbits.c:105:20: branch_false: following 'false' branch...
tiff-4.7.0/libtiff/tif_packbits.c:107:17: branch_false: ...to here
tiff-4.7.0/libtiff/tif_packbits.c:108:24: branch_true: following 'true' branch (when 'slop > 0')...
tiff-4.7.0/libtiff/tif_packbits.c:109:30: branch_true: ...to here
tiff-4.7.0/libtiff/tif_packbits.c:109:29: danger: dereference of NULL 'lastliteral'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def113]
tiff-4.7.0/libtiff/tif_packbits.c:160:27: warning[-Wanalyzer-null-dereference]: dereference of NULL 'lastliteral'
tiff-4.7.0/libtiff/tif_packbits.c:82:12: branch_true: following 'true' branch (when 'cc > 0')...
tiff-4.7.0/libtiff/tif_packbits.c:87:14: branch_true: ...to here
tiff-4.7.0/libtiff/tif_packbits.c:90:16: branch_true: following 'true' branch (when 'cc != 0')...
tiff-4.7.0/libtiff/tif_packbits.c:90:31: branch_true: ...to here
tiff-4.7.0/libtiff/tif_packbits.c:123:20: branch_true: following 'true' branch (when 'n > 1')...
tiff-4.7.0/libtiff/tif_packbits.c:126:24: branch_true: ...to here
tiff-4.7.0/libtiff/tif_packbits.c:126:24: branch_true: following 'true' branch (when 'n > 128')...
tiff-4.7.0/libtiff/tif_packbits.c:128:25: branch_true: ...to here
tiff-4.7.0/libtiff/tif_packbits.c:145:20: branch_false: following 'false' branch (when 'n <= 1')...
tiff-4.7.0/libtiff/tif_packbits.c:160:27: branch_false: ...to here
tiff-4.7.0/libtiff/tif_packbits.c:160:27: danger: dereference of NULL 'lastliteral'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def114]
tiff-4.7.0/libtiff/tif_packbits.c:193:56: warning[-Wanalyzer-null-dereference]: dereference of NULL 'lastliteral'
tiff-4.7.0/libtiff/tif_packbits.c:82:12: branch_true: following 'true' branch (when 'cc > 0')...
tiff-4.7.0/libtiff/tif_packbits.c:87:14: branch_true: ...to here
tiff-4.7.0/libtiff/tif_packbits.c:90:16: branch_true: following 'true' branch (when 'cc != 0')...
tiff-4.7.0/libtiff/tif_packbits.c:90:31: branch_true: ...to here
tiff-4.7.0/libtiff/tif_packbits.c:123:20: branch_true: following 'true' branch (when 'n > 1')...
tiff-4.7.0/libtiff/tif_packbits.c:126:24: branch_true: ...to here
tiff-4.7.0/libtiff/tif_packbits.c:126:24: branch_true: following 'true' branch (when 'n > 128')...
tiff-4.7.0/libtiff/tif_packbits.c:128:25: branch_true: ...to here
tiff-4.7.0/libtiff/tif_packbits.c:101:16: branch_false: following 'false' branch...
tiff-4.7.0/libtiff/tif_packbits.c:114:17: branch_false: ...to here
tiff-4.7.0/libtiff/tif_packbits.c:115:20: branch_false: following 'false' branch...
tiff-4.7.0/libtiff/tif_packbits.c:117:17: branch_false: ...to here
tiff-4.7.0/libtiff/tif_packbits.c:193:56: danger: dereference of NULL 'lastliteral'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def115]
tiff-4.7.0/libtiff/tif_warning.c:52:9: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
tiff-4.7.0/libtiff/tif_warning.c:49:8: branch_true: following 'true' branch...
tiff-4.7.0/libtiff/tif_warning.c:51:9: branch_true: ...to here
tiff-4.7.0/libtiff/tif_warning.c:51:9: acquire_resource: 'va_start' called here
tiff-4.7.0/libtiff/tif_warning.c:52:9: danger: missing call to 'va_end' to match 'va_start' at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def116]
tiff-4.7.0/libtiff/tif_warning.c:58:9: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
tiff-4.7.0/libtiff/tif_warning.c:55:8: branch_true: following 'true' branch...
tiff-4.7.0/libtiff/tif_warning.c:57:9: branch_true: ...to here
tiff-4.7.0/libtiff/tif_warning.c:57:9: acquire_resource: 'va_start' called here
tiff-4.7.0/libtiff/tif_warning.c:58:9: danger: missing call to 'va_end' to match 'va_start' at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def117]
tiff-4.7.0/libtiff/tif_warning.c:69:9: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
tiff-4.7.0/libtiff/tif_warning.c:66:8: branch_true: following 'true' branch...
tiff-4.7.0/libtiff/tif_warning.c:68:9: branch_true: ...to here
tiff-4.7.0/libtiff/tif_warning.c:68:9: acquire_resource: 'va_start' called here
tiff-4.7.0/libtiff/tif_warning.c:69:9: danger: missing call to 'va_end' to match 'va_start' at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def118]
tiff-4.7.0/libtiff/tif_warning.c:75:9: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
tiff-4.7.0/libtiff/tif_warning.c:72:8: branch_true: following 'true' branch...
tiff-4.7.0/libtiff/tif_warning.c:74:9: branch_true: ...to here
tiff-4.7.0/libtiff/tif_warning.c:74:9: acquire_resource: 'va_start' called here
tiff-4.7.0/libtiff/tif_warning.c:75:9: danger: missing call to 'va_end' to match 'va_start' at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def119]
tiff-4.7.0/libtiff/tif_warning.c:86:20: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
tiff-4.7.0/libtiff/tif_warning.c:83:8: branch_true: following 'true' branch...
tiff-4.7.0/libtiff/tif_warning.c:85:9: acquire_resource: 'va_start' called here
tiff-4.7.0/libtiff/tif_warning.c:86:20: danger: missing call to 'va_end' to match 'va_start' at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def120]
tiff-4.7.0/libtiff/tif_warning.c:95:9: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
tiff-4.7.0/libtiff/tif_warning.c:92:8: branch_true: following 'true' branch...
tiff-4.7.0/libtiff/tif_warning.c:94:9: branch_true: ...to here
tiff-4.7.0/libtiff/tif_warning.c:94:9: acquire_resource: 'va_start' called here
tiff-4.7.0/libtiff/tif_warning.c:95:9: danger: missing call to 'va_end' to match 'va_start' at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def121]
tiff-4.7.0/libtiff/tif_warning.c:101:9: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
tiff-4.7.0/libtiff/tif_warning.c:92:8: branch_false: following 'false' branch...
tiff-4.7.0/libtiff/tif_warning.c:98:9: branch_false: ...to here
tiff-4.7.0/libtiff/tif_warning.c:98:8: branch_true: following 'true' branch...
tiff-4.7.0/libtiff/tif_warning.c:100:9: branch_true: ...to here
tiff-4.7.0/libtiff/tif_warning.c:100:9: acquire_resource: 'va_start' called here
tiff-4.7.0/libtiff/tif_warning.c:101:9: branch_false: following 'false' branch (when 'tif' is NULL)...
tiff-4.7.0/libtiff/tif_warning.c:101:9: branch_false: ...to here
tiff-4.7.0/libtiff/tif_warning.c:101:9: danger: missing call to 'va_end' to match 'va_start' at [(5)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def122]
tiff-4.7.0/tools/fax2ps.c:218:5: warning[-Wanalyzer-malloc-leak]: leak of ‘tmpfile()’
tiff-4.7.0/tools/fax2ps.c:342:5: enter_function: entry to ‘main’
tiff-4.7.0/tools/fax2ps.c:398:8: branch_false: following ‘false’ branch (when ‘npages == 0’)...
tiff-4.7.0/tools/fax2ps.c:400:8: branch_false: ...to here
tiff-4.7.0/tools/fax2ps.c:402:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2ps.c:423:14: branch_false: ...to here
tiff-4.7.0/tools/fax2ps.c:423:14: acquire_memory: allocated here
tiff-4.7.0/tools/fax2ps.c:424:12: branch_false: following ‘false’ branch...
branch_false: ...to here
tiff-4.7.0/tools/fax2ps.c:449:12: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2ps.c:451:13: branch_true: ...to here
tiff-4.7.0/tools/fax2ps.c:451:13: call_function: calling ‘fax2ps’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def123]
tiff-4.7.0/tools/fax2ps.c:219:5: warning[-Wanalyzer-malloc-leak]: leak of ‘tmpfile()’
tiff-4.7.0/tools/fax2ps.c:342:5: enter_function: entry to ‘main’
tiff-4.7.0/tools/fax2ps.c:398:8: branch_false: following ‘false’ branch (when ‘npages == 0’)...
tiff-4.7.0/tools/fax2ps.c:400:8: branch_false: ...to here
tiff-4.7.0/tools/fax2ps.c:402:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2ps.c:423:14: branch_false: ...to here
tiff-4.7.0/tools/fax2ps.c:423:14: acquire_memory: allocated here
tiff-4.7.0/tools/fax2ps.c:424:12: branch_false: following ‘false’ branch...
branch_false: ...to here
tiff-4.7.0/tools/fax2ps.c:449:12: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2ps.c:451:13: branch_true: ...to here
tiff-4.7.0/tools/fax2ps.c:451:13: call_function: calling ‘fax2ps’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def124]
tiff-4.7.0/tools/fax2ps.c:220:10: warning[-Wanalyzer-malloc-leak]: leak of ‘tmpfile()’
tiff-4.7.0/tools/fax2ps.c:342:5: enter_function: entry to ‘main’
tiff-4.7.0/tools/fax2ps.c:398:8: branch_false: following ‘false’ branch (when ‘npages == 0’)...
tiff-4.7.0/tools/fax2ps.c:400:8: branch_false: ...to here
tiff-4.7.0/tools/fax2ps.c:402:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2ps.c:423:14: branch_false: ...to here
tiff-4.7.0/tools/fax2ps.c:423:14: acquire_memory: allocated here
tiff-4.7.0/tools/fax2ps.c:424:12: branch_false: following ‘false’ branch...
branch_false: ...to here
tiff-4.7.0/tools/fax2ps.c:449:12: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2ps.c:451:13: branch_true: ...to here
tiff-4.7.0/tools/fax2ps.c:451:13: call_function: calling ‘fax2ps’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def125]
tiff-4.7.0/tools/fax2ps.c:224:10: warning[-Wanalyzer-malloc-leak]: leak of ‘tmpfile()’
tiff-4.7.0/tools/fax2ps.c:342:5: enter_function: entry to ‘main’
tiff-4.7.0/tools/fax2ps.c:398:8: branch_false: following ‘false’ branch (when ‘npages == 0’)...
tiff-4.7.0/tools/fax2ps.c:400:8: branch_false: ...to here
tiff-4.7.0/tools/fax2ps.c:402:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2ps.c:423:14: branch_false: ...to here
tiff-4.7.0/tools/fax2ps.c:423:14: acquire_memory: allocated here
tiff-4.7.0/tools/fax2ps.c:424:12: branch_false: following ‘false’ branch...
branch_false: ...to here
tiff-4.7.0/tools/fax2ps.c:449:12: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2ps.c:451:13: branch_true: ...to here
tiff-4.7.0/tools/fax2ps.c:451:13: call_function: calling ‘fax2ps’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def126]
tiff-4.7.0/tools/fax2ps.c:226:9: warning[-Wanalyzer-malloc-leak]: leak of ‘tmpfile()’
tiff-4.7.0/tools/fax2ps.c:342:5: enter_function: entry to ‘main’
tiff-4.7.0/tools/fax2ps.c:398:8: branch_false: following ‘false’ branch (when ‘npages == 0’)...
tiff-4.7.0/tools/fax2ps.c:400:8: branch_false: ...to here
tiff-4.7.0/tools/fax2ps.c:402:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2ps.c:423:14: branch_false: ...to here
tiff-4.7.0/tools/fax2ps.c:423:14: acquire_memory: allocated here
tiff-4.7.0/tools/fax2ps.c:424:12: branch_false: following ‘false’ branch...
branch_false: ...to here
tiff-4.7.0/tools/fax2ps.c:449:12: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2ps.c:451:13: branch_true: ...to here
tiff-4.7.0/tools/fax2ps.c:451:13: call_function: calling ‘fax2ps’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def127]
tiff-4.7.0/tools/fax2ps.c:230:10: warning[-Wanalyzer-malloc-leak]: leak of ‘tmpfile()’
tiff-4.7.0/tools/fax2ps.c:342:5: enter_function: entry to ‘main’
tiff-4.7.0/tools/fax2ps.c:398:8: branch_false: following ‘false’ branch (when ‘npages == 0’)...
tiff-4.7.0/tools/fax2ps.c:400:8: branch_false: ...to here
tiff-4.7.0/tools/fax2ps.c:402:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2ps.c:423:14: branch_false: ...to here
tiff-4.7.0/tools/fax2ps.c:423:14: acquire_memory: allocated here
tiff-4.7.0/tools/fax2ps.c:424:12: branch_false: following ‘false’ branch...
branch_false: ...to here
tiff-4.7.0/tools/fax2ps.c:449:12: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2ps.c:451:13: branch_true: ...to here
tiff-4.7.0/tools/fax2ps.c:451:13: call_function: calling ‘fax2ps’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def128]
tiff-4.7.0/tools/fax2ps.c:232:9: warning[-Wanalyzer-malloc-leak]: leak of ‘tmpfile()’
tiff-4.7.0/tools/fax2ps.c:342:5: enter_function: entry to ‘main’
tiff-4.7.0/tools/fax2ps.c:398:8: branch_false: following ‘false’ branch (when ‘npages == 0’)...
tiff-4.7.0/tools/fax2ps.c:400:8: branch_false: ...to here
tiff-4.7.0/tools/fax2ps.c:402:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2ps.c:423:14: branch_false: ...to here
tiff-4.7.0/tools/fax2ps.c:423:14: acquire_memory: allocated here
tiff-4.7.0/tools/fax2ps.c:424:12: branch_false: following ‘false’ branch...
branch_false: ...to here
tiff-4.7.0/tools/fax2ps.c:449:12: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2ps.c:451:13: branch_true: ...to here
tiff-4.7.0/tools/fax2ps.c:451:13: call_function: calling ‘fax2ps’ from ‘main’
Error: CPPCHECK_WARNING (CWE-401): [#def129]
tiff-4.7.0/tools/fax2ps.c:367: error[memleakOnRealloc]: Common realloc mistake: 'pages' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-401): [#def130]
tiff-4.7.0/tools/fax2ps.c:399:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pages’
tiff-4.7.0/tools/fax2ps.c:352:12: branch_true: following ‘true’ branch (when ‘c != -1’)...
tiff-4.7.0/tools/fax2ps.c:353:9: branch_true: ...to here
tiff-4.7.0/tools/fax2ps.c:366:20: branch_false: following ‘false’ branch (when ‘pages’ is NULL)...
tiff-4.7.0/tools/fax2ps.c:370:41: branch_false: ...to here
tiff-4.7.0/tools/fax2ps.c:370:41: acquire_memory: allocated here
tiff-4.7.0/tools/fax2ps.c:371:20: branch_false: following ‘false’ branch (when ‘pages’ is non-NULL)...
tiff-4.7.0/tools/fax2ps.c:376:23: branch_false: ...to here
tiff-4.7.0/tools/fax2ps.c:352:12: branch_false: following ‘false’ branch (when ‘c == -1’)...
tiff-4.7.0/tools/fax2ps.c:398:8: branch_false: ...to here
tiff-4.7.0/tools/fax2ps.c:398:8: branch_true: following ‘true’ branch (when ‘npages != 0’)...
tiff-4.7.0/tools/fax2ps.c:399:9: branch_true: ...to here
tiff-4.7.0/tools/fax2ps.c:399:9: danger: ‘pages’ leaks here; was allocated at [(5)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def131]
tiff-4.7.0/tools/fax2ps.c:435:17: warning[-Wanalyzer-malloc-leak]: leak of ‘tmpfile()’
tiff-4.7.0/tools/fax2ps.c:398:8: branch_false: following ‘false’ branch (when ‘npages == 0’)...
tiff-4.7.0/tools/fax2ps.c:400:8: branch_false: ...to here
tiff-4.7.0/tools/fax2ps.c:402:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2ps.c:423:14: branch_false: ...to here
tiff-4.7.0/tools/fax2ps.c:423:14: acquire_memory: allocated here
tiff-4.7.0/tools/fax2ps.c:424:12: branch_false: following ‘false’ branch...
branch_false: ...to here
tiff-4.7.0/tools/fax2ps.c:433:16: branch_true: following ‘true’ branch (when ‘n > 0’)...
tiff-4.7.0/tools/fax2ps.c:435:17: branch_true: ...to here
tiff-4.7.0/tools/fax2ps.c:435:17: danger: ‘tmpfile()’ leaks here; was allocated at [(5)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def132]
tiff-4.7.0/tools/fax2ps.c:447:15: warning[-Wanalyzer-malloc-leak]: leak of ‘tmpfile()’
tiff-4.7.0/tools/fax2ps.c:398:8: branch_false: following ‘false’ branch (when ‘npages == 0’)...
tiff-4.7.0/tools/fax2ps.c:400:8: branch_false: ...to here
tiff-4.7.0/tools/fax2ps.c:402:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2ps.c:423:14: branch_false: ...to here
tiff-4.7.0/tools/fax2ps.c:423:14: acquire_memory: allocated here
tiff-4.7.0/tools/fax2ps.c:424:12: branch_false: following ‘false’ branch...
branch_false: ...to here
tiff-4.7.0/tools/fax2ps.c:447:15: danger: ‘tmpfile()’ leaks here; was allocated at [(5)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def133]
tiff-4.7.0/tools/fax2tiff.c:310:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_resource: opened here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:310:9: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was opened at [(13)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def134]
tiff-4.7.0/tools/fax2tiff.c:310:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_memory: allocated here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:310:9: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was allocated at [(13)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def135]
tiff-4.7.0/tools/fax2tiff.c:311:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_resource: opened here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:311:9: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was opened at [(13)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def136]
tiff-4.7.0/tools/fax2tiff.c:311:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_memory: allocated here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:311:9: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was allocated at [(13)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def137]
tiff-4.7.0/tools/fax2tiff.c:312:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_resource: opened here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:312:9: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was opened at [(13)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def138]
tiff-4.7.0/tools/fax2tiff.c:312:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_memory: allocated here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:312:9: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was allocated at [(13)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def139]
tiff-4.7.0/tools/fax2tiff.c:313:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_resource: opened here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:313:9: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was opened at [(13)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def140]
tiff-4.7.0/tools/fax2tiff.c:313:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_memory: allocated here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:313:9: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was allocated at [(13)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def141]
tiff-4.7.0/tools/fax2tiff.c:314:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_resource: opened here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:314:9: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was opened at [(13)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def142]
tiff-4.7.0/tools/fax2tiff.c:314:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_memory: allocated here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:314:9: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was allocated at [(13)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def143]
tiff-4.7.0/tools/fax2tiff.c:315:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_resource: opened here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:315:9: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was opened at [(13)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def144]
tiff-4.7.0/tools/fax2tiff.c:315:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_memory: allocated here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:315:9: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was allocated at [(13)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def145]
tiff-4.7.0/tools/fax2tiff.c:316:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_resource: opened here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:316:9: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was opened at [(13)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def146]
tiff-4.7.0/tools/fax2tiff.c:316:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_memory: allocated here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:316:9: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was allocated at [(13)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def147]
tiff-4.7.0/tools/fax2tiff.c:317:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_resource: opened here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:317:9: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was opened at [(13)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def148]
tiff-4.7.0/tools/fax2tiff.c:317:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_memory: allocated here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:317:9: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was allocated at [(13)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def149]
tiff-4.7.0/tools/fax2tiff.c:322:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_resource: opened here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:322:17: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was opened at [(13)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def150]
tiff-4.7.0/tools/fax2tiff.c:322:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_memory: allocated here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:322:17: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was allocated at [(13)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def151]
tiff-4.7.0/tools/fax2tiff.c:323:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_resource: opened here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:323:17: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was opened at [(13)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def152]
tiff-4.7.0/tools/fax2tiff.c:323:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_memory: allocated here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:323:17: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was allocated at [(13)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def153]
tiff-4.7.0/tools/fax2tiff.c:340:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_true: following ‘true’ branch (when ‘c != -1’)...
tiff-4.7.0/tools/fax2tiff.c:113:9: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_false: following ‘false’ branch (when ‘c == -1’)...
tiff-4.7.0/tools/fax2tiff.c:233:14: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_resource: opened here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:325:21: branch_false: following ‘false’ branch (when ‘defrowsperstrip == 0’)...
branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:340:9: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was opened at [(19)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def154]
tiff-4.7.0/tools/fax2tiff.c:340:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_true: following ‘true’ branch (when ‘c != -1’)...
tiff-4.7.0/tools/fax2tiff.c:113:9: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_false: following ‘false’ branch (when ‘c == -1’)...
tiff-4.7.0/tools/fax2tiff.c:233:14: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_memory: allocated here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:325:21: branch_false: following ‘false’ branch (when ‘defrowsperstrip == 0’)...
branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:340:9: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was allocated at [(19)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def155]
tiff-4.7.0/tools/fax2tiff.c:341:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_true: following ‘true’ branch (when ‘c != -1’)...
tiff-4.7.0/tools/fax2tiff.c:113:9: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_false: following ‘false’ branch (when ‘c == -1’)...
tiff-4.7.0/tools/fax2tiff.c:233:14: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_resource: opened here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:341:9: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was opened at [(19)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def156]
tiff-4.7.0/tools/fax2tiff.c:341:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_true: following ‘true’ branch (when ‘c != -1’)...
tiff-4.7.0/tools/fax2tiff.c:113:9: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_false: following ‘false’ branch (when ‘c == -1’)...
tiff-4.7.0/tools/fax2tiff.c:233:14: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_memory: allocated here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:341:9: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was allocated at [(19)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def157]
tiff-4.7.0/tools/fax2tiff.c:342:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_true: following ‘true’ branch (when ‘c != -1’)...
tiff-4.7.0/tools/fax2tiff.c:113:9: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_false: following ‘false’ branch (when ‘c == -1’)...
tiff-4.7.0/tools/fax2tiff.c:233:14: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_resource: opened here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:342:9: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was opened at [(19)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def158]
tiff-4.7.0/tools/fax2tiff.c:342:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_true: following ‘true’ branch (when ‘c != -1’)...
tiff-4.7.0/tools/fax2tiff.c:113:9: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_false: following ‘false’ branch (when ‘c == -1’)...
tiff-4.7.0/tools/fax2tiff.c:233:14: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_memory: allocated here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:342:9: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was allocated at [(19)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def159]
tiff-4.7.0/tools/fax2tiff.c:343:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_true: following ‘true’ branch (when ‘c != -1’)...
tiff-4.7.0/tools/fax2tiff.c:113:9: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_false: following ‘false’ branch (when ‘c == -1’)...
tiff-4.7.0/tools/fax2tiff.c:233:14: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_resource: opened here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:343:9: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was opened at [(19)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def160]
tiff-4.7.0/tools/fax2tiff.c:343:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_true: following ‘true’ branch (when ‘c != -1’)...
tiff-4.7.0/tools/fax2tiff.c:113:9: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_false: following ‘false’ branch (when ‘c == -1’)...
tiff-4.7.0/tools/fax2tiff.c:233:14: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_memory: allocated here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:343:9: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was allocated at [(19)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def161]
tiff-4.7.0/tools/fax2tiff.c:344:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_true: following ‘true’ branch (when ‘c != -1’)...
tiff-4.7.0/tools/fax2tiff.c:113:9: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_false: following ‘false’ branch (when ‘c == -1’)...
tiff-4.7.0/tools/fax2tiff.c:233:14: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_resource: opened here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:344:9: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was opened at [(19)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def162]
tiff-4.7.0/tools/fax2tiff.c:344:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_true: following ‘true’ branch (when ‘c != -1’)...
tiff-4.7.0/tools/fax2tiff.c:113:9: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_false: following ‘false’ branch (when ‘c == -1’)...
tiff-4.7.0/tools/fax2tiff.c:233:14: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_memory: allocated here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:344:9: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was allocated at [(19)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def163]
tiff-4.7.0/tools/fax2tiff.c:347:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_true: following ‘true’ branch (when ‘c != -1’)...
tiff-4.7.0/tools/fax2tiff.c:113:9: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_false: following ‘false’ branch (when ‘c == -1’)...
tiff-4.7.0/tools/fax2tiff.c:233:14: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_resource: opened here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:345:12: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:347:13: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:347:13: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was opened at [(19)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def164]
tiff-4.7.0/tools/fax2tiff.c:347:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_true: following ‘true’ branch (when ‘c != -1’)...
tiff-4.7.0/tools/fax2tiff.c:113:9: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_false: following ‘false’ branch (when ‘c == -1’)...
tiff-4.7.0/tools/fax2tiff.c:233:14: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_memory: allocated here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:345:12: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:347:13: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:347:13: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was allocated at [(19)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def165]
tiff-4.7.0/tools/fax2tiff.c:348:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_true: following ‘true’ branch (when ‘c != -1’)...
tiff-4.7.0/tools/fax2tiff.c:113:9: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_false: following ‘false’ branch (when ‘c == -1’)...
tiff-4.7.0/tools/fax2tiff.c:233:14: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_resource: opened here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:345:12: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:347:13: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:348:13: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was opened at [(19)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def166]
tiff-4.7.0/tools/fax2tiff.c:348:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_true: following ‘true’ branch (when ‘c != -1’)...
tiff-4.7.0/tools/fax2tiff.c:113:9: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_false: following ‘false’ branch (when ‘c == -1’)...
tiff-4.7.0/tools/fax2tiff.c:233:14: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_memory: allocated here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:345:12: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:347:13: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:348:13: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was allocated at [(19)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def167]
tiff-4.7.0/tools/fax2tiff.c:351:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_true: following ‘true’ branch (when ‘c != -1’)...
tiff-4.7.0/tools/fax2tiff.c:113:9: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_false: following ‘false’ branch (when ‘c == -1’)...
tiff-4.7.0/tools/fax2tiff.c:233:14: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_resource: opened here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:345:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:351:13: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:351:13: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was opened at [(19)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def168]
tiff-4.7.0/tools/fax2tiff.c:351:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_true: following ‘true’ branch (when ‘c != -1’)...
tiff-4.7.0/tools/fax2tiff.c:113:9: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_false: following ‘false’ branch (when ‘c == -1’)...
tiff-4.7.0/tools/fax2tiff.c:233:14: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_memory: allocated here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:345:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:351:13: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:351:13: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was allocated at [(19)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def169]
tiff-4.7.0/tools/fax2tiff.c:352:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_true: following ‘true’ branch (when ‘c != -1’)...
tiff-4.7.0/tools/fax2tiff.c:113:9: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_false: following ‘false’ branch (when ‘c == -1’)...
tiff-4.7.0/tools/fax2tiff.c:233:14: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_resource: opened here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:352:9: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was opened at [(19)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def170]
tiff-4.7.0/tools/fax2tiff.c:352:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_true: following ‘true’ branch (when ‘c != -1’)...
tiff-4.7.0/tools/fax2tiff.c:113:9: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_false: following ‘false’ branch (when ‘c == -1’)...
tiff-4.7.0/tools/fax2tiff.c:233:14: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_memory: allocated here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:352:9: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was allocated at [(19)](sarif:/runs/0/results/37/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def171]
tiff-4.7.0/tools/fax2tiff.c:353:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_true: following ‘true’ branch (when ‘c != -1’)...
tiff-4.7.0/tools/fax2tiff.c:113:9: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_false: following ‘false’ branch (when ‘c == -1’)...
tiff-4.7.0/tools/fax2tiff.c:233:14: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_resource: opened here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:353:9: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was opened at [(19)](sarif:/runs/0/results/38/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def172]
tiff-4.7.0/tools/fax2tiff.c:353:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_true: following ‘true’ branch (when ‘c != -1’)...
tiff-4.7.0/tools/fax2tiff.c:113:9: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_false: following ‘false’ branch (when ‘c == -1’)...
tiff-4.7.0/tools/fax2tiff.c:233:14: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_memory: allocated here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:353:9: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was allocated at [(19)](sarif:/runs/0/results/39/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def173]
tiff-4.7.0/tools/fax2tiff.c:356:24: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_true: following ‘true’ branch (when ‘c != -1’)...
tiff-4.7.0/tools/fax2tiff.c:113:9: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_false: following ‘false’ branch (when ‘c == -1’)...
tiff-4.7.0/tools/fax2tiff.c:233:14: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_resource: opened here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:355:12: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:356:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:356:24: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was opened at [(19)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def174]
tiff-4.7.0/tools/fax2tiff.c:356:24: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_true: following ‘true’ branch (when ‘c != -1’)...
tiff-4.7.0/tools/fax2tiff.c:113:9: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_false: following ‘false’ branch (when ‘c == -1’)...
tiff-4.7.0/tools/fax2tiff.c:233:14: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_memory: allocated here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:355:12: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:356:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:356:24: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was allocated at [(19)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def175]
tiff-4.7.0/tools/fax2tiff.c:359:12: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:82:5: enter_function: entry to ‘main’
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_true: following ‘true’ branch (when ‘c != -1’)...
tiff-4.7.0/tools/fax2tiff.c:113:9: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_false: following ‘false’ branch (when ‘c == -1’)...
tiff-4.7.0/tools/fax2tiff.c:233:14: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_resource: opened here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:355:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:357:16: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:357:16: call_function: calling ‘copyFaxFile’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def176]
tiff-4.7.0/tools/fax2tiff.c:359:12: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "rb")’
tiff-4.7.0/tools/fax2tiff.c:82:5: enter_function: entry to ‘main’
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_true: following ‘true’ branch (when ‘c != -1’)...
tiff-4.7.0/tools/fax2tiff.c:113:9: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:111:12: branch_false: following ‘false’ branch (when ‘c == -1’)...
tiff-4.7.0/tools/fax2tiff.c:233:14: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:234:8: branch_false: following ‘false’ branch (when ‘npages > 0’)...
tiff-4.7.0/tools/fax2tiff.c:237:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:239:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:250:8: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
tiff-4.7.0/tools/fax2tiff.c:252:15: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:253:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:265:15: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:271:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:281:5: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:297:18: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/fax2tiff.c:299:24: branch_true: ...to here
tiff-4.7.0/tools/fax2tiff.c:299:14: acquire_memory: allocated here
tiff-4.7.0/tools/fax2tiff.c:300:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:308:26: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:355:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/fax2tiff.c:357:16: branch_false: ...to here
tiff-4.7.0/tools/fax2tiff.c:357:16: call_function: calling ‘copyFaxFile’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def177]
tiff-4.7.0/tools/ppm2tiff.c:253:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘in’
tiff-4.7.0/tools/ppm2tiff.c:198:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:234:9: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:234:8: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/ppm2tiff.c:236:23: branch_true: ...to here
tiff-4.7.0/tools/ppm2tiff.c:237:14: acquire_resource: opened here
tiff-4.7.0/tools/ppm2tiff.c:238:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:253:9: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:253:9: danger: ‘in’ leaks here; was opened at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def178]
tiff-4.7.0/tools/ppm2tiff.c:253:9: warning[-Wanalyzer-malloc-leak]: leak of ‘in’
tiff-4.7.0/tools/ppm2tiff.c:198:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:234:9: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:234:8: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/ppm2tiff.c:236:23: branch_true: ...to here
tiff-4.7.0/tools/ppm2tiff.c:237:14: acquire_memory: allocated here
tiff-4.7.0/tools/ppm2tiff.c:238:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:253:9: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:253:9: danger: ‘in’ leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def179]
tiff-4.7.0/tools/ppm2tiff.c:255:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘in’
tiff-4.7.0/tools/ppm2tiff.c:198:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:234:9: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:234:8: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/ppm2tiff.c:236:23: branch_true: ...to here
tiff-4.7.0/tools/ppm2tiff.c:237:14: acquire_resource: opened here
tiff-4.7.0/tools/ppm2tiff.c:238:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:253:9: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:253:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:255:13: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:255:13: danger: ‘in’ leaks here; was opened at [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def180]
tiff-4.7.0/tools/ppm2tiff.c:255:13: warning[-Wanalyzer-malloc-leak]: leak of ‘in’
tiff-4.7.0/tools/ppm2tiff.c:198:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:234:9: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:234:8: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/ppm2tiff.c:236:23: branch_true: ...to here
tiff-4.7.0/tools/ppm2tiff.c:237:14: acquire_memory: allocated here
tiff-4.7.0/tools/ppm2tiff.c:238:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:253:9: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:253:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:255:13: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:255:13: danger: ‘in’ leaks here; was allocated at [(7)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def181]
tiff-4.7.0/tools/ppm2tiff.c:284:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘in’
tiff-4.7.0/tools/ppm2tiff.c:198:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:234:9: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:234:8: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/ppm2tiff.c:236:23: branch_true: ...to here
tiff-4.7.0/tools/ppm2tiff.c:237:14: acquire_resource: opened here
tiff-4.7.0/tools/ppm2tiff.c:238:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:253:9: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:253:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:255:13: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:282:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:284:13: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:284:13: danger: ‘in’ leaks here; was opened at [(7)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def182]
tiff-4.7.0/tools/ppm2tiff.c:284:13: warning[-Wanalyzer-malloc-leak]: leak of ‘in’
tiff-4.7.0/tools/ppm2tiff.c:198:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:234:9: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:234:8: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/ppm2tiff.c:236:23: branch_true: ...to here
tiff-4.7.0/tools/ppm2tiff.c:237:14: acquire_memory: allocated here
tiff-4.7.0/tools/ppm2tiff.c:238:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:253:9: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:253:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:255:13: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:282:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:284:13: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:284:13: danger: ‘in’ leaks here; was allocated at [(7)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def183]
tiff-4.7.0/tools/ppm2tiff.c:294:21: warning[-Wanalyzer-file-leak]: leak of FILE ‘in’
tiff-4.7.0/tools/ppm2tiff.c:198:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:234:9: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:234:8: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/ppm2tiff.c:236:23: branch_true: ...to here
tiff-4.7.0/tools/ppm2tiff.c:237:14: acquire_resource: opened here
tiff-4.7.0/tools/ppm2tiff.c:238:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:253:9: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:253:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:255:13: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:282:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:284:13: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:286:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:290:12: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:290:12: branch_true: following ‘true’ branch...
branch_true: ...to here
tiff-4.7.0/tools/ppm2tiff.c:294:21: danger: ‘in’ leaks here; was opened at [(7)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def184]
tiff-4.7.0/tools/ppm2tiff.c:294:21: warning[-Wanalyzer-malloc-leak]: leak of ‘in’
tiff-4.7.0/tools/ppm2tiff.c:198:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:234:9: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:234:8: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/ppm2tiff.c:236:23: branch_true: ...to here
tiff-4.7.0/tools/ppm2tiff.c:237:14: acquire_memory: allocated here
tiff-4.7.0/tools/ppm2tiff.c:238:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:253:9: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:253:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:255:13: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:282:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:284:13: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:286:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:290:12: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:290:12: branch_true: following ‘true’ branch...
branch_true: ...to here
tiff-4.7.0/tools/ppm2tiff.c:294:21: danger: ‘in’ leaks here; was allocated at [(7)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def185]
tiff-4.7.0/tools/ppm2tiff.c:299:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘in’
tiff-4.7.0/tools/ppm2tiff.c:198:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:234:9: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:234:8: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/ppm2tiff.c:236:23: branch_true: ...to here
tiff-4.7.0/tools/ppm2tiff.c:237:14: acquire_resource: opened here
tiff-4.7.0/tools/ppm2tiff.c:238:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:253:9: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:253:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:255:13: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:282:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:284:13: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:286:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:290:12: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:299:9: danger: ‘in’ leaks here; was opened at [(7)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def186]
tiff-4.7.0/tools/ppm2tiff.c:299:9: warning[-Wanalyzer-malloc-leak]: leak of ‘in’
tiff-4.7.0/tools/ppm2tiff.c:198:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:224:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:234:9: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:234:8: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/ppm2tiff.c:236:23: branch_true: ...to here
tiff-4.7.0/tools/ppm2tiff.c:237:14: acquire_memory: allocated here
tiff-4.7.0/tools/ppm2tiff.c:238:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:253:9: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:253:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:255:13: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:282:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:284:13: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:286:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/ppm2tiff.c:290:12: branch_false: ...to here
tiff-4.7.0/tools/ppm2tiff.c:299:9: danger: ‘in’ leaks here; was allocated at [(7)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def187]
tiff-4.7.0/tools/tiff2ps.c:3355:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ascii85_p’
tiff-4.7.0/tools/tiff2ps.c:2953:6: enter_function: entry to ‘PSDataBW’
tiff-4.7.0/tools/tiff2ps.c:2969:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/tiff2ps.c:2976:5: branch_false: ...to here
tiff-4.7.0/tools/tiff2ps.c:2979:8: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/tiff2ps.c:3002:9: branch_false: ...to here
tiff-4.7.0/tools/tiff2ps.c:3005:17: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/tiff2ps.c:3007:23: branch_true: ...to here
tiff-4.7.0/tools/tiff2ps.c:3008:12: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/tiff2ps.c:3014:13: branch_false: ...to here
tiff-4.7.0/tools/tiff2ps.c:3028:12: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/tiff2ps.c:3031:17: branch_true: ...to here
tiff-4.7.0/tools/tiff2ps.c:3042:25: call_function: calling ‘Ascii85EncodeBlock’ from ‘PSDataBW’
Error: CPPCHECK_WARNING (CWE-401): [#def188]
tiff-4.7.0/tools/tiffdump.c:259: error[memleakOnRealloc]: Common realloc mistake: 'visited_diroff' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-775): [#def189]
tiff-4.7.0/tools/tiffset.c:131:12: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "rt")’
tiff-4.7.0/tools/tiffset.c:134:5: enter_function: entry to ‘main’
tiff-4.7.0/tools/tiffset.c:139:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
tiff-4.7.0/tools/tiffset.c:142:25: branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:143:8: branch_false: following ‘false’ branch...
branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:146:25: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/tiffset.c:148:24: branch_true: ...to here
tiff-4.7.0/tools/tiffset.c:425:17: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/tiffset.c:437:16: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/tiffset.c:440:17: branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:440:16: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/tiffset.c:449:13: branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:450:18: acquire_resource: opened here
tiff-4.7.0/tools/tiffset.c:451:16: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/tiffset.c:460:13: branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:468:16: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/tiffset.c:477:28: branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:477:28: call_function: calling ‘limitMalloc’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def190]
tiff-4.7.0/tools/tiffset.c:131:12: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "rt")’
tiff-4.7.0/tools/tiffset.c:134:5: enter_function: entry to ‘main’
tiff-4.7.0/tools/tiffset.c:139:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
tiff-4.7.0/tools/tiffset.c:142:25: branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:143:8: branch_false: following ‘false’ branch...
branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:146:25: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/tiffset.c:148:24: branch_true: ...to here
tiff-4.7.0/tools/tiffset.c:425:17: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/tiffset.c:437:16: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/tiffset.c:440:17: branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:440:16: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/tiffset.c:449:13: branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:450:18: acquire_memory: allocated here
tiff-4.7.0/tools/tiffset.c:451:16: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/tiffset.c:460:13: branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:468:16: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/tiffset.c:477:28: branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:477:28: call_function: calling ‘limitMalloc’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def191]
tiff-4.7.0/tools/tiffset.c:460:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "rt")’
tiff-4.7.0/tools/tiffset.c:139:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
tiff-4.7.0/tools/tiffset.c:142:25: branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:143:8: branch_false: following ‘false’ branch...
branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:146:25: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/tiffset.c:148:24: branch_true: ...to here
tiff-4.7.0/tools/tiffset.c:425:17: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/tiffset.c:437:16: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/tiffset.c:440:17: branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:440:16: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/tiffset.c:449:13: branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:450:18: acquire_resource: opened here
tiff-4.7.0/tools/tiffset.c:451:16: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/tiffset.c:460:13: branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:460:13: danger: ‘fopen(*<unknown>, "rt")’ leaks here; was opened at [(13)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def192]
tiff-4.7.0/tools/tiffset.c:460:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "rt")’
tiff-4.7.0/tools/tiffset.c:139:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
tiff-4.7.0/tools/tiffset.c:142:25: branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:143:8: branch_false: following ‘false’ branch...
branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:146:25: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/tiffset.c:148:24: branch_true: ...to here
tiff-4.7.0/tools/tiffset.c:425:17: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/tiffset.c:437:16: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/tiffset.c:440:17: branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:440:16: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/tiffset.c:449:13: branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:450:18: acquire_memory: allocated here
tiff-4.7.0/tools/tiffset.c:451:16: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/tiffset.c:460:13: branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:460:13: danger: ‘fopen(*<unknown>, "rt")’ leaks here; was allocated at [(13)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def193]
tiff-4.7.0/tools/tiffset.c:461:21: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "rt")’
tiff-4.7.0/tools/tiffset.c:139:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
tiff-4.7.0/tools/tiffset.c:142:25: branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:143:8: branch_false: following ‘false’ branch...
branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:146:25: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/tiffset.c:148:24: branch_true: ...to here
tiff-4.7.0/tools/tiffset.c:425:17: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/tiffset.c:437:16: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/tiffset.c:440:17: branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:440:16: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/tiffset.c:449:13: branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:450:18: acquire_resource: opened here
tiff-4.7.0/tools/tiffset.c:451:16: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/tiffset.c:460:13: branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:461:21: danger: ‘fopen(*<unknown>, "rt")’ leaks here; was opened at [(13)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def194]
tiff-4.7.0/tools/tiffset.c:461:21: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "rt")’
tiff-4.7.0/tools/tiffset.c:139:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
tiff-4.7.0/tools/tiffset.c:142:25: branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:143:8: branch_false: following ‘false’ branch...
branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:146:25: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/tiffset.c:148:24: branch_true: ...to here
tiff-4.7.0/tools/tiffset.c:425:17: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/tiffset.c:437:16: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/tiffset.c:440:17: branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:440:16: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/tiffset.c:449:13: branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:450:18: acquire_memory: allocated here
tiff-4.7.0/tools/tiffset.c:451:16: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/tiffset.c:460:13: branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:461:21: danger: ‘fopen(*<unknown>, "rt")’ leaks here; was allocated at [(13)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def195]
tiff-4.7.0/tools/tiffset.c:462:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "rt")’
tiff-4.7.0/tools/tiffset.c:139:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
tiff-4.7.0/tools/tiffset.c:142:25: branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:143:8: branch_false: following ‘false’ branch...
branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:146:25: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/tiffset.c:148:24: branch_true: ...to here
tiff-4.7.0/tools/tiffset.c:425:17: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/tiffset.c:437:16: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/tiffset.c:440:17: branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:440:16: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/tiffset.c:449:13: branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:450:18: acquire_resource: opened here
tiff-4.7.0/tools/tiffset.c:451:16: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/tiffset.c:460:13: branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:462:13: danger: ‘fopen(*<unknown>, "rt")’ leaks here; was opened at [(13)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def196]
tiff-4.7.0/tools/tiffset.c:462:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "rt")’
tiff-4.7.0/tools/tiffset.c:139:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
tiff-4.7.0/tools/tiffset.c:142:25: branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:143:8: branch_false: following ‘false’ branch...
branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:146:25: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/tiffset.c:148:24: branch_true: ...to here
tiff-4.7.0/tools/tiffset.c:425:17: branch_true: following ‘true’ branch...
tiff-4.7.0/tools/tiffset.c:437:16: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/tiffset.c:440:17: branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:440:16: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/tiffset.c:449:13: branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:450:18: acquire_memory: allocated here
tiff-4.7.0/tools/tiffset.c:451:16: branch_false: following ‘false’ branch...
tiff-4.7.0/tools/tiffset.c:460:13: branch_false: ...to here
tiff-4.7.0/tools/tiffset.c:462:13: danger: ‘fopen(*<unknown>, "rt")’ leaks here; was allocated at [(13)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/12)
Scan Properties
| analyzer-version-clippy | 1.90.0 |
| analyzer-version-cppcheck | 2.18.3 |
| analyzer-version-gcc | 15.2.1 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-225.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-gcc-latest-x86_64 |
| project-name | libtiff-4.7.0-9.fc44 |
| store-results-to | /tmp/tmpzoq5xqnm/libtiff-4.7.0-9.fc44.tar.xz |
| time-created | 2025-10-28 19:13:08 |
| time-finished | 2025-10-28 19:15:56 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpzoq5xqnm/libtiff-4.7.0-9.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpzoq5xqnm/libtiff-4.7.0-9.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251027.143044.ge6b947b-1.el9 |