libcaca-0.99-0.80.beta20.fc44
List of Findings
Error: UNICONTROL_WARNING (CWE-94): [#def1]
/usr/src/debug/libcaca-0.99-0.80.beta20.fc44.x86_64/caca/mono9.data:5773: warning: bidirectional control characters: ['\u202a']
Error: UNICONTROL_WARNING (CWE-94): [#def2]
/usr/src/debug/libcaca-0.99-0.80.beta20.fc44.x86_64/caca/mono9.data:5774: warning: bidirectional control characters: ['\u202b']
Error: UNICONTROL_WARNING (CWE-94): [#def3]
/usr/src/debug/libcaca-0.99-0.80.beta20.fc44.x86_64/caca/mono9.data:5775: warning: bidirectional control characters: ['\u202c']
Error: UNICONTROL_WARNING (CWE-94): [#def4]
/usr/src/debug/libcaca-0.99-0.80.beta20.fc44.x86_64/caca/mono9.data:5776: warning: bidirectional control characters: ['\u202d']
Error: UNICONTROL_WARNING (CWE-94): [#def5]
/usr/src/debug/libcaca-0.99-0.80.beta20.fc44.x86_64/caca/mono9.data:5777: warning: bidirectional control characters: ['\u202e']
Error: UNICONTROL_WARNING (CWE-94): [#def6]
/usr/src/debug/libcaca-0.99-0.80.beta20.fc44.x86_64/caca/mono9.data:5833: warning: bidirectional control characters: ['\u2066']
Error: UNICONTROL_WARNING (CWE-94): [#def7]
/usr/src/debug/libcaca-0.99-0.80.beta20.fc44.x86_64/caca/mono9.data:5834: warning: bidirectional control characters: ['\u2067']
Error: UNICONTROL_WARNING (CWE-94): [#def8]
/usr/src/debug/libcaca-0.99-0.80.beta20.fc44.x86_64/caca/mono9.data:5835: warning: bidirectional control characters: ['\u2068']
Error: UNICONTROL_WARNING (CWE-94): [#def9]
/usr/src/debug/libcaca-0.99-0.80.beta20.fc44.x86_64/caca/mono9.data:5836: warning: bidirectional control characters: ['\u2069']
Error: UNICONTROL_WARNING (CWE-94): [#def10]
/usr/src/debug/libcaca-0.99-0.80.beta20.fc44.x86_64/caca/monobold12.data:5773: warning: bidirectional control characters: ['\u202a']
Error: UNICONTROL_WARNING (CWE-94): [#def11]
/usr/src/debug/libcaca-0.99-0.80.beta20.fc44.x86_64/caca/monobold12.data:5774: warning: bidirectional control characters: ['\u202b']
Error: UNICONTROL_WARNING (CWE-94): [#def12]
/usr/src/debug/libcaca-0.99-0.80.beta20.fc44.x86_64/caca/monobold12.data:5775: warning: bidirectional control characters: ['\u202c']
Error: UNICONTROL_WARNING (CWE-94): [#def13]
/usr/src/debug/libcaca-0.99-0.80.beta20.fc44.x86_64/caca/monobold12.data:5776: warning: bidirectional control characters: ['\u202d']
Error: UNICONTROL_WARNING (CWE-94): [#def14]
/usr/src/debug/libcaca-0.99-0.80.beta20.fc44.x86_64/caca/monobold12.data:5777: warning: bidirectional control characters: ['\u202e']
Error: UNICONTROL_WARNING (CWE-94): [#def15]
/usr/src/debug/libcaca-0.99-0.80.beta20.fc44.x86_64/caca/monobold12.data:5833: warning: bidirectional control characters: ['\u2066']
Error: UNICONTROL_WARNING (CWE-94): [#def16]
/usr/src/debug/libcaca-0.99-0.80.beta20.fc44.x86_64/caca/monobold12.data:5834: warning: bidirectional control characters: ['\u2067']
Error: UNICONTROL_WARNING (CWE-94): [#def17]
/usr/src/debug/libcaca-0.99-0.80.beta20.fc44.x86_64/caca/monobold12.data:5835: warning: bidirectional control characters: ['\u2068']
Error: UNICONTROL_WARNING (CWE-94): [#def18]
/usr/src/debug/libcaca-0.99-0.80.beta20.fc44.x86_64/caca/monobold12.data:5836: warning: bidirectional control characters: ['\u2069']
Error: GCC_ANALYZER_WARNING (CWE-401): [#def19]
libcaca-0.99.beta20/caca/caca.c:117:14: warning[-Wanalyzer-malloc-leak]: leak of ‘dp’
libcaca-0.99.beta20/caca/caca.c:107:26: acquire_memory: allocated here
libcaca-0.99.beta20/caca/caca.c:109:7: branch_false: following ‘false’ branch (when ‘dp’ is non-NULL)...
libcaca-0.99.beta20/caca/caca.c:115:27: branch_false: ...to here
libcaca-0.99.beta20/caca/caca.c:115:7: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/caca.c:117:14: branch_true: ...to here
libcaca-0.99.beta20/caca/caca.c:117:14: danger: ‘dp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def20]
libcaca-0.99.beta20/caca/caca.c:122:8: warning[-Wanalyzer-malloc-leak]: leak of ‘dp’
libcaca-0.99.beta20/caca/caca.c:107:26: acquire_memory: allocated here
libcaca-0.99.beta20/caca/caca.c:109:7: branch_false: following ‘false’ branch (when ‘dp’ is non-NULL)...
libcaca-0.99.beta20/caca/caca.c:115:27: branch_false: ...to here
libcaca-0.99.beta20/caca/caca.c:122:8: danger: ‘dp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-401): [#def21]
libcaca-0.99.beta20/caca/caca0.c:242: error[memleakOnRealloc]: Common realloc mistake: 'bitmaps' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-404): [#def22]
libcaca-0.99.beta20/caca/caca_conio.c:379:11: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
libcaca-0.99.beta20/caca/caca_conio.c:378:5: acquire_resource: ‘va_start’ called here
libcaca-0.99.beta20/caca/caca_conio.c:379: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-401): [#def23]
libcaca-0.99.beta20/caca/canvas.c:92:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
libcaca-0.99.beta20/caca/canvas.c:59:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/canvas.c:65:10: branch_false: ...to here
libcaca-0.99.beta20/caca/canvas.c:67:7: branch_false: following ‘false’ branch (when ‘cv’ is non-NULL)...
libcaca-0.99.beta20/caca/canvas.c:70:5: branch_false: ...to here
libcaca-0.99.beta20/caca/canvas.c:77:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/canvas.c:78:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/canvas.c:84:27: branch_false: ...to here
libcaca-0.99.beta20/caca/canvas.c:92:5: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def24]
libcaca-0.99.beta20/caca/canvas.c:92:5: warning[-Wanalyzer-malloc-leak]: leak of ‘cv’
libcaca-0.99.beta20/caca/canvas.c:59:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/canvas.c:65:10: branch_false: ...to here
libcaca-0.99.beta20/caca/canvas.c:65:10: acquire_memory: allocated here
libcaca-0.99.beta20/caca/canvas.c:67:7: branch_false: following ‘false’ branch (when ‘cv’ is non-NULL)...
libcaca-0.99.beta20/caca/canvas.c:70:5: branch_false: ...to here
libcaca-0.99.beta20/caca/canvas.c:78:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/canvas.c:84:27: branch_false: ...to here
libcaca-0.99.beta20/caca/canvas.c:92:5: danger: ‘cv’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def25]
libcaca-0.99.beta20/caca/canvas.c:401:43: warning[-Wanalyzer-malloc-leak]: leak of ‘realloc(*<unknown>.chars, (long unsigned int)new_size * 4)’
libcaca-0.99.beta20/caca/canvas.c:372:8: branch_false: following ‘false’ branch (when ‘new_size >= 0’)...
libcaca-0.99.beta20/caca/canvas.c:378:5: branch_false: ...to here
libcaca-0.99.beta20/caca/canvas.c:391:7: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/canvas.c:392:9: branch_true: ...to here
libcaca-0.99.beta20/caca/canvas.c:395:7: branch_true: following ‘true’ branch (when ‘new_size > old_size’)...
branch_true: ...to here
libcaca-0.99.beta20/caca/canvas.c:397:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/canvas.c:399:35: branch_true: ...to here
libcaca-0.99.beta20/caca/canvas.c:401:43: danger: ‘realloc(*<unknown>.chars, (long unsigned int)new_size * 4)’ leaks here; was allocated at [(9)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/8)
Error: CPPCHECK_WARNING (CWE-476): [#def26]
libcaca-0.99.beta20/caca/codec/export.c:50: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s
Error: GCC_ANALYZER_WARNING (CWE-476): [#def27]
libcaca-0.99.beta20/caca/codec/export.c:50:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘data’
libcaca-0.99.beta20/caca/codec/export.c:957:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/export.c:963:9: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:969:18: acquire_memory: this call could return NULL
libcaca-0.99.beta20/caca/codec/export.c:972:12: call_function: inlined call to ‘write_u8’ from ‘export_tga’
Error: CPPCHECK_WARNING (CWE-476): [#def28]
libcaca-0.99.beta20/caca/codec/export.c:58: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s
Error: GCC_ANALYZER_WARNING (CWE-476): [#def29]
libcaca-0.99.beta20/caca/codec/export.c:58:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘data’
libcaca-0.99.beta20/caca/codec/export.c:1008:14: enter_function: entry to ‘export_troff’
libcaca-0.99.beta20/caca/codec/export.c:1025:18: acquire_memory: this call could return NULL
libcaca-0.99.beta20/caca/codec/export.c:1027:12: call_function: inlined call to ‘write_string’ from ‘export_troff’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def30]
libcaca-0.99.beta20/caca/codec/export.c:237:12: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘data’ where non-null expected
libcaca-0.99.beta20/caca/codec/export.c:234:18: acquire_memory: this call could return NULL
libcaca-0.99.beta20/caca/codec/export.c:237:12: danger: argument 1 (‘data’) from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def31]
libcaca-0.99.beta20/caca/codec/export.c:292:12: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘data’ where non-null expected
libcaca-0.99.beta20/caca/codec/export.c:288:18: acquire_memory: this call could return NULL
libcaca-0.99.beta20/caca/codec/export.c:292:12: danger: argument 1 (‘data’) from [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def32]
libcaca-0.99.beta20/caca/codec/export.c:296:12: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/export.c:288:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:296:12: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def33]
libcaca-0.99.beta20/caca/codec/export.c:311:16: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/export.c:288:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:303:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:305:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:308:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:310:20: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:311:16: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def34]
libcaca-0.99.beta20/caca/codec/export.c:313:32: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/export.c:288:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:303:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:305:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:308:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:310:20: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:311:15: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:313:32: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:313:32: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def35]
libcaca-0.99.beta20/caca/codec/export.c:314:16: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/export.c:288:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:303:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:305:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:308:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:310:20: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:314:16: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def36]
libcaca-0.99.beta20/caca/codec/export.c:316:32: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/export.c:288:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:303:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:305:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:308:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:310:20: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:314:15: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:316:32: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:316:32: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-401): [#def37]
libcaca-0.99.beta20/caca/codec/export.c:383: error[memleakOnRealloc]: Common realloc mistake: 'data' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-401): [#def38]
libcaca-0.99.beta20/caca/codec/export.c:385:12: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/export.c:288:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:385:12: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def39]
libcaca-0.99.beta20/caca/codec/export.c:417:21: warning[-Wanalyzer-malloc-leak]: leak of ‘cell_boundary_bitmap’
libcaca-0.99.beta20/caca/codec/export.c:400:46: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:401:7: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:402:9: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:403:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:405:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:408:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:414:16: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:414:16: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:411:42: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:409:15: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:415:27: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:409:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:417:53: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:417:21: danger: ‘cell_boundary_bitmap’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def40]
libcaca-0.99.beta20/caca/codec/export.c:419:18: warning[-Wanalyzer-malloc-leak]: leak of ‘cell_boundary_bitmap’
libcaca-0.99.beta20/caca/codec/export.c:400:46: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:401:7: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:402:9: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:403:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:405:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:408:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:414:16: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:414:16: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:411:42: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:409:15: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:415:27: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:419:18: danger: ‘cell_boundary_bitmap’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def41]
libcaca-0.99.beta20/caca/codec/export.c:421:18: warning[-Wanalyzer-malloc-leak]: leak of ‘cell_boundary_bitmap’
libcaca-0.99.beta20/caca/codec/export.c:400:46: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:401:7: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:402:9: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:403:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:405:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:408:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:414:16: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:414:16: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:411:42: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:409:15: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:415:27: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:421:18: danger: ‘cell_boundary_bitmap’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def42]
libcaca-0.99.beta20/caca/codec/export.c:423:19: warning[-Wanalyzer-malloc-leak]: leak of ‘cell_boundary_bitmap’
libcaca-0.99.beta20/caca/codec/export.c:400:46: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:401:7: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:402:9: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:403:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:405:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:408:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:414:16: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:414:16: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:411:42: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:409:15: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:415:27: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:415:17: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/export.c:423:19: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:423:19: danger: ‘cell_boundary_bitmap’ leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def43]
libcaca-0.99.beta20/caca/codec/export.c:425:19: warning[-Wanalyzer-malloc-leak]: leak of ‘cell_boundary_bitmap’
libcaca-0.99.beta20/caca/codec/export.c:400:46: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:401:7: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:402:9: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:403:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:405:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:408:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:414:16: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:414:16: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:411:42: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:409:15: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:415:27: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:415:17: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/export.c:423:19: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:415:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:425:19: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:425:19: danger: ‘cell_boundary_bitmap’ leaks here; was allocated at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def44]
libcaca-0.99.beta20/caca/codec/export.c:427:19: warning[-Wanalyzer-malloc-leak]: leak of ‘cell_boundary_bitmap’
libcaca-0.99.beta20/caca/codec/export.c:400:46: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:401:7: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:402:9: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:403:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:405:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:408:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:414:16: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:414:16: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:411:42: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:409:15: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:415:27: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:415:17: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/export.c:423:19: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:415:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:425:19: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:427:19: danger: ‘cell_boundary_bitmap’ leaks here; was allocated at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def45]
libcaca-0.99.beta20/caca/codec/export.c:446:12: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘data’ where non-null expected
libcaca-0.99.beta20/caca/codec/export.c:401:7: branch_false: following ‘false’ branch (when ‘cell_boundary_bitmap’ is NULL)...
branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:444:18: acquire_memory: this call could return NULL
libcaca-0.99.beta20/caca/codec/export.c:446:12: danger: argument 1 (‘data’) from [(3)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def46]
libcaca-0.99.beta20/caca/codec/export.c:485:20: warning[-Wanalyzer-malloc-leak]: leak of ‘cell_boundary_bitmap’
libcaca-0.99.beta20/caca/codec/export.c:400:46: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:401:7: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:402:9: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:448:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:450:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:455:20: branch_true: following ‘true’ branch...
branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_false: following ‘false’ branch (when ‘y == 0’)...
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:475:46: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:485:20: danger: ‘cell_boundary_bitmap’ leaks here; was allocated at [(1)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def47]
libcaca-0.99.beta20/caca/codec/export.c:485:20: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/export.c:401:7: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:402:9: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:444:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:448:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:450:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:455:20: branch_true: following ‘true’ branch...
branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_false: following ‘false’ branch (when ‘y == 0’)...
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:475:46: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:485:20: danger: ‘data’ leaks here; was allocated at [(3)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def48]
libcaca-0.99.beta20/caca/codec/export.c:487:20: warning[-Wanalyzer-malloc-leak]: leak of ‘cell_boundary_bitmap’
libcaca-0.99.beta20/caca/codec/export.c:400:46: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:401:7: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:402:9: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:448:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:450:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:455:20: branch_true: following ‘true’ branch...
branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_false: following ‘false’ branch (when ‘y == 0’)...
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:475:46: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:465:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:483:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:487:49: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:487:20: danger: ‘cell_boundary_bitmap’ leaks here; was allocated at [(1)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def49]
libcaca-0.99.beta20/caca/codec/export.c:487:20: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/export.c:401:7: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:402:9: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:444:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:448:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:450:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:455:20: branch_true: following ‘true’ branch...
branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_false: following ‘false’ branch (when ‘y == 0’)...
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:475:46: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:465:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:483:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:487:49: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:487:20: danger: ‘data’ leaks here; was allocated at [(3)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def50]
libcaca-0.99.beta20/caca/codec/export.c:489:20: warning[-Wanalyzer-malloc-leak]: leak of ‘cell_boundary_bitmap’
libcaca-0.99.beta20/caca/codec/export.c:400:46: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:401:7: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:402:9: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:448:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:450:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:455:20: branch_true: following ‘true’ branch...
branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_false: following ‘false’ branch (when ‘y == 0’)...
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:475:46: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:465:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:483:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:487:49: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:489:20: danger: ‘cell_boundary_bitmap’ leaks here; was allocated at [(1)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def51]
libcaca-0.99.beta20/caca/codec/export.c:489:20: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/export.c:401:7: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:402:9: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:444:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:448:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:450:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:455:20: branch_true: following ‘true’ branch...
branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_false: following ‘false’ branch (when ‘y == 0’)...
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:475:46: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:465:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:483:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:487:49: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:489:20: danger: ‘data’ leaks here; was allocated at [(3)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def52]
libcaca-0.99.beta20/caca/codec/export.c:491:21: warning[-Wanalyzer-malloc-leak]: leak of ‘cell_boundary_bitmap’
libcaca-0.99.beta20/caca/codec/export.c:400:46: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:401:7: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:402:9: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:448:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:450:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:455:20: branch_true: following ‘true’ branch...
branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_false: following ‘false’ branch (when ‘y == 0’)...
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:475:46: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:465:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:483:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:487:49: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:491:21: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:491:21: danger: ‘cell_boundary_bitmap’ leaks here; was allocated at [(1)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def53]
libcaca-0.99.beta20/caca/codec/export.c:491:21: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/export.c:401:7: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:402:9: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:444:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:448:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:450:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:455:20: branch_true: following ‘true’ branch...
branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_false: following ‘false’ branch (when ‘y == 0’)...
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:475:46: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:465:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:483:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:487:49: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:491:21: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:491:21: danger: ‘data’ leaks here; was allocated at [(3)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def54]
libcaca-0.99.beta20/caca/codec/export.c:493:21: warning[-Wanalyzer-malloc-leak]: leak of ‘cell_boundary_bitmap’
libcaca-0.99.beta20/caca/codec/export.c:400:46: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:401:7: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:402:9: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:448:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:450:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:455:20: branch_true: following ‘true’ branch...
branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_false: following ‘false’ branch (when ‘y == 0’)...
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:475:46: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:465:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:483:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:487:49: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:491:21: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:493:21: danger: ‘cell_boundary_bitmap’ leaks here; was allocated at [(1)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def55]
libcaca-0.99.beta20/caca/codec/export.c:493:21: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/export.c:401:7: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:402:9: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:444:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:448:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:450:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:455:20: branch_true: following ‘true’ branch...
branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_false: following ‘false’ branch (when ‘y == 0’)...
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:475:46: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:465:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:483:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:487:49: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:491:21: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:493:21: danger: ‘data’ leaks here; was allocated at [(3)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def56]
libcaca-0.99.beta20/caca/codec/export.c:495:21: warning[-Wanalyzer-malloc-leak]: leak of ‘cell_boundary_bitmap’
libcaca-0.99.beta20/caca/codec/export.c:400:46: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:401:7: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:402:9: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:448:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:450:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:455:20: branch_true: following ‘true’ branch...
branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_false: following ‘false’ branch (when ‘y == 0’)...
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:475:46: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:465:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:483:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:487:49: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:491:21: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:495:21: danger: ‘cell_boundary_bitmap’ leaks here; was allocated at [(1)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def57]
libcaca-0.99.beta20/caca/codec/export.c:495:21: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/export.c:401:7: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:402:9: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:444:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:448:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:450:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:455:20: branch_true: following ‘true’ branch...
branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_false: following ‘false’ branch (when ‘y == 0’)...
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:475:46: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:465:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:483:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:487:49: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:463:19: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:491:21: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:495:21: danger: ‘data’ leaks here; was allocated at [(3)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def58]
libcaca-0.99.beta20/caca/codec/export.c:510:16: warning[-Wanalyzer-malloc-leak]: leak of ‘cell_boundary_bitmap’
libcaca-0.99.beta20/caca/codec/export.c:400:46: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:401:7: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:402:9: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:448:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:450:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:455:20: branch_true: following ‘true’ branch...
branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:510:16: danger: ‘cell_boundary_bitmap’ leaks here; was allocated at [(1)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def59]
libcaca-0.99.beta20/caca/codec/export.c:510:16: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/export.c:401:7: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:402:9: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:444:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:448:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:450:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:455:20: branch_true: following ‘true’ branch...
branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:510:16: danger: ‘data’ leaks here; was allocated at [(3)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def60]
libcaca-0.99.beta20/caca/codec/export.c:512:32: warning[-Wanalyzer-malloc-leak]: leak of ‘cell_boundary_bitmap’
libcaca-0.99.beta20/caca/codec/export.c:400:46: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:401:7: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:402:9: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:448:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:450:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:455:20: branch_true: following ‘true’ branch...
branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:510:15: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:512:32: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:512:32: danger: ‘cell_boundary_bitmap’ leaks here; was allocated at [(1)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def61]
libcaca-0.99.beta20/caca/codec/export.c:512:32: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/export.c:401:7: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:402:9: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:444:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:448:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:450:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:455:20: branch_true: following ‘true’ branch...
branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:510:15: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:512:32: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:512:32: danger: ‘data’ leaks here; was allocated at [(3)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def62]
libcaca-0.99.beta20/caca/codec/export.c:543:33: warning[-Wanalyzer-malloc-leak]: leak of ‘cell_boundary_bitmap’
libcaca-0.99.beta20/caca/codec/export.c:400:46: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:401:7: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:402:9: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:448:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:450:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:455:20: branch_true: following ‘true’ branch...
branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:514:15: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/export.c:531:20: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:535:24: branch_true: following ‘true’ branch (when ‘len > i’)...
libcaca-0.99.beta20/caca/codec/export.c:537:19: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:537:19: branch_true: following ‘true’ branch (when ‘nonblank != 0’)...
libcaca-0.99.beta20/caca/codec/export.c:537:20: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:537:20: branch_true: following ‘true’ branch (when ‘i == 0’)...
libcaca-0.99.beta20/caca/codec/export.c:543:63: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:543:33: danger: ‘cell_boundary_bitmap’ leaks here; was allocated at [(1)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def63]
libcaca-0.99.beta20/caca/codec/export.c:543:33: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/export.c:401:7: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:402:9: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:444:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:448:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:450:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:455:20: branch_true: following ‘true’ branch...
branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:514:15: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/export.c:531:20: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:535:24: branch_true: following ‘true’ branch (when ‘len > i’)...
libcaca-0.99.beta20/caca/codec/export.c:537:19: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:537:19: branch_true: following ‘true’ branch (when ‘nonblank != 0’)...
libcaca-0.99.beta20/caca/codec/export.c:537:20: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:537:20: branch_true: following ‘true’ branch (when ‘i == 0’)...
libcaca-0.99.beta20/caca/codec/export.c:543:63: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:543:33: danger: ‘data’ leaks here; was allocated at [(3)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def64]
libcaca-0.99.beta20/caca/codec/export.c:550:40: warning[-Wanalyzer-malloc-leak]: leak of ‘cell_boundary_bitmap’
libcaca-0.99.beta20/caca/codec/export.c:400:46: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:401:7: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:402:9: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:448:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:450:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:455:20: branch_true: following ‘true’ branch...
branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:514:15: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/export.c:531:20: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:535:24: branch_true: following ‘true’ branch (when ‘len > i’)...
libcaca-0.99.beta20/caca/codec/export.c:537:19: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:537:19: branch_true: following ‘true’ branch (when ‘nonblank != 0’)...
libcaca-0.99.beta20/caca/codec/export.c:537:20: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:537:20: branch_true: following ‘true’ branch (when ‘i == 0’)...
libcaca-0.99.beta20/caca/codec/export.c:543:63: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:547:23: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:550:40: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:550:40: danger: ‘cell_boundary_bitmap’ leaks here; was allocated at [(1)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def65]
libcaca-0.99.beta20/caca/codec/export.c:550:40: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/export.c:401:7: branch_true: following ‘true’ branch (when ‘cell_boundary_bitmap’ is non-NULL)...
libcaca-0.99.beta20/caca/codec/export.c:402:9: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:444:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:448:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:450:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:455:20: branch_true: following ‘true’ branch...
branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:514:15: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/export.c:531:20: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:535:24: branch_true: following ‘true’ branch (when ‘len > i’)...
libcaca-0.99.beta20/caca/codec/export.c:537:19: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:537:19: branch_true: following ‘true’ branch (when ‘nonblank != 0’)...
libcaca-0.99.beta20/caca/codec/export.c:537:20: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:537:20: branch_true: following ‘true’ branch (when ‘i == 0’)...
libcaca-0.99.beta20/caca/codec/export.c:543:63: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:547:23: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:550:40: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:550:40: danger: ‘data’ leaks here; was allocated at [(3)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-401): [#def66]
libcaca-0.99.beta20/caca/codec/export.c:639: error[memleakOnRealloc]: Common realloc mistake: 'data' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-401): [#def67]
libcaca-0.99.beta20/caca/codec/export.c:641:12: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/export.c:444:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:448:16: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/export.c:629:12: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:632:8: branch_false: following ‘false’ branch (when ‘cell_boundary_bitmap’ is NULL)...
libcaca-0.99.beta20/caca/codec/export.c:638:25: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:641:12: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/37/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def68]
libcaca-0.99.beta20/caca/codec/export.c:659:12: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘data’ where non-null expected
libcaca-0.99.beta20/caca/codec/export.c:656:18: acquire_memory: this call could return NULL
libcaca-0.99.beta20/caca/codec/export.c:659:12: danger: argument 1 (‘data’) from [(1)](sarif:/runs/0/results/38/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def69]
libcaca-0.99.beta20/caca/codec/export.c:682:24: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/export.c:656:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:661:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:663:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:666:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:673:24: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:682:24: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/39/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def70]
libcaca-0.99.beta20/caca/codec/export.c:683:25: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/export.c:656:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:661:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:663:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:666:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:673:24: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:683:25: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def71]
libcaca-0.99.beta20/caca/codec/export.c:687:32: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/export.c:656:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:661:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:663:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:666:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:673:24: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:685:15: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:687:32: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:687:32: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def72]
libcaca-0.99.beta20/caca/codec/export.c:691:32: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/export.c:656:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:661:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:663:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:666:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:673:24: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:685:15: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/export.c:689:16: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:689:15: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:691:32: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:691:32: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/42/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def73]
libcaca-0.99.beta20/caca/codec/export.c:694:32: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/export.c:656:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:661:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:663:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:666:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:673:24: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:685:15: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/export.c:689:16: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:689:15: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/export.c:692:20: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:692:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:694:32: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:694:32: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/43/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def74]
libcaca-0.99.beta20/caca/codec/export.c:712:28: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/export.c:656:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:661:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:663:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:666:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:673:24: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:685:15: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/export.c:689:16: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:689:15: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/export.c:692:20: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:692:20: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/export.c:696:16: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:696:15: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/export.c:698:16: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:698:15: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/export.c:700:16: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:700:15: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/export.c:705:13: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:705:24: branch_true: following ‘true’ branch (when ‘len > i’)...
libcaca-0.99.beta20/caca/codec/export.c:707:29: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:707:19: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/export.c:709:24: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:709:24: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/export.c:712:28: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:712:28: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/44/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-401): [#def75]
libcaca-0.99.beta20/caca/codec/export.c:739: error[memleakOnRealloc]: Common realloc mistake: 'data' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-401): [#def76]
libcaca-0.99.beta20/caca/codec/export.c:741:12: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/export.c:656:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:661:16: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/export.c:733:12: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:741:12: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/45/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def77]
libcaca-0.99.beta20/caca/codec/export.c:780:12: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘data’ where non-null expected
libcaca-0.99.beta20/caca/codec/export.c:777:18: acquire_memory: this call could return NULL
libcaca-0.99.beta20/caca/codec/export.c:780:12: danger: argument 1 (‘data’) from [(1)](sarif:/runs/0/results/46/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def78]
libcaca-0.99.beta20/caca/codec/export.c:791:13: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/export.c:777:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:784:25: branch_true: following ‘true’ branch (when ‘y != 0’)...
libcaca-0.99.beta20/caca/codec/export.c:786:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:788:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:791:34: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:791:13: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/47/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def79]
libcaca-0.99.beta20/caca/codec/export.c:815:13: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/export.c:777:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:784:25: branch_true: following ‘true’ branch (when ‘y != 0’)...
libcaca-0.99.beta20/caca/codec/export.c:786:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:805:25: branch_true: following ‘true’ branch (when ‘y != 0’)...
libcaca-0.99.beta20/caca/codec/export.c:807:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:810:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:813:28: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:815:13: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/48/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-401): [#def80]
libcaca-0.99.beta20/caca/codec/export.c:848: error[memleakOnRealloc]: Common realloc mistake: 'data' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-401): [#def81]
libcaca-0.99.beta20/caca/codec/export.c:850:12: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/export.c:777:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:850:12: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/49/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def82]
libcaca-0.99.beta20/caca/codec/export.c:877:12: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘data’ where non-null expected
libcaca-0.99.beta20/caca/codec/export.c:874:18: acquire_memory: this call could return NULL
libcaca-0.99.beta20/caca/codec/export.c:877:12: danger: argument 1 (‘data’) from [(1)](sarif:/runs/0/results/50/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def83]
libcaca-0.99.beta20/caca/codec/export.c:892:33: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/export.c:874:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:884:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:886:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:888:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:890:20: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:892:33: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/51/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def84]
libcaca-0.99.beta20/caca/codec/export.c:915:33: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/export.c:874:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:888:20: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/export.c:884:32: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:898:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:900:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:903:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:905:28: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:907:15: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/export.c:918:40: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:915:33: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/52/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def85]
libcaca-0.99.beta20/caca/codec/export.c:924:24: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/export.c:874:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:898:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:900:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:903:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:905:28: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:907:15: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/export.c:918:40: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:921:15: branch_false: following ‘false’ branch (when ‘ch > 31’)...
libcaca-0.99.beta20/caca/codec/export.c:923:20: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:923:20: branch_true: following ‘true’ branch (when ‘ch > 127’)...
libcaca-0.99.beta20/caca/codec/export.c:924:24: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:924:24: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/53/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-401): [#def86]
libcaca-0.99.beta20/caca/codec/export.c:943: error[memleakOnRealloc]: Common realloc mistake: 'data' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-401): [#def87]
libcaca-0.99.beta20/caca/codec/export.c:945:12: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/export.c:874:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:945:12: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/54/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-682): [#def88]
libcaca-0.99.beta20/caca/codec/export.c:972: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: pointer addition with NULL pointer.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def89]
libcaca-0.99.beta20/caca/codec/export.c:992:5: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/export.c:949:14: enter_function: entry to ‘export_tga’
libcaca-0.99.beta20/caca/codec/export.c:957:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/export.c:963:9: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:969:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:972:12: call_function: inlined call to ‘write_u8’ from ‘export_tga’
libcaca-0.99.beta20/caca/codec/export.c:992:5: danger: ‘data’ leaks here; was allocated at [(4)](sarif:/runs/0/results/55/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def90]
libcaca-0.99.beta20/caca/codec/export.c:1049:26: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/export.c:1008:14: enter_function: entry to ‘export_troff’
libcaca-0.99.beta20/caca/codec/export.c:1025:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:1027:12: call_function: inlined call to ‘write_string’ from ‘export_troff’
libcaca-0.99.beta20/caca/codec/export.c:1033:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:1035:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:1038:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:1049:55: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:1049:26: danger: ‘data’ leaks here; was allocated at [(2)](sarif:/runs/0/results/56/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def91]
libcaca-0.99.beta20/caca/codec/export.c:1050:26: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/export.c:1008:14: enter_function: entry to ‘export_troff’
libcaca-0.99.beta20/caca/codec/export.c:1025:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:1027:12: call_function: inlined call to ‘write_string’ from ‘export_troff’
libcaca-0.99.beta20/caca/codec/export.c:1033:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:1035:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:1038:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:1049:55: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:1050:26: danger: ‘data’ leaks here; was allocated at [(2)](sarif:/runs/0/results/57/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def92]
libcaca-0.99.beta20/caca/codec/export.c:1070:28: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/export.c:1008:14: enter_function: entry to ‘export_troff’
libcaca-0.99.beta20/caca/codec/export.c:1025:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:1027:12: call_function: inlined call to ‘write_string’ from ‘export_troff’
libcaca-0.99.beta20/caca/codec/export.c:1033:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:1035:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:1038:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:1049:55: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:1038:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:1049:55: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:1055:16: branch_false: following ‘false’ branch (when ‘started != 0’)...
libcaca-0.99.beta20/caca/codec/export.c:1057:16: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:1062:15: branch_false: following ‘false’ branch (when ‘ch != 92’)...
libcaca-0.99.beta20/caca/codec/export.c:1064:20: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:1064:20: branch_true: following ‘true’ branch (when ‘ch == 32’)...
libcaca-0.99.beta20/caca/codec/export.c:1067:19: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:1067:19: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/export.c:1070:28: danger: ‘data’ leaks here; was allocated at [(2)](sarif:/runs/0/results/58/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def93]
libcaca-0.99.beta20/caca/codec/export.c:1073:24: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/export.c:1008:14: enter_function: entry to ‘export_troff’
libcaca-0.99.beta20/caca/codec/export.c:1025:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:1027:12: call_function: inlined call to ‘write_string’ from ‘export_troff’
libcaca-0.99.beta20/caca/codec/export.c:1033:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:1035:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:1038:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/export.c:1049:55: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/export.c:1059:15: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/export.c:1062:15: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:1062:15: branch_false: following ‘false’ branch (when ‘ch != 92’)...
libcaca-0.99.beta20/caca/codec/export.c:1064:20: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:1064:20: branch_false: following ‘false’ branch (when ‘ch != 32’)...
libcaca-0.99.beta20/caca/codec/export.c:1073:24: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/export.c:1073:24: danger: ‘data’ leaks here; was allocated at [(2)](sarif:/runs/0/results/59/codeFlows/0/threadFlows/0/locations/1)
Error: CPPCHECK_WARNING (CWE-401): [#def94]
libcaca-0.99.beta20/caca/codec/export.c:1088: error[memleakOnRealloc]: Common realloc mistake: 'data' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-401): [#def95]
libcaca-0.99.beta20/caca/codec/export.c:1090:12: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/export.c:1008:14: enter_function: entry to ‘export_troff’
libcaca-0.99.beta20/caca/codec/export.c:1025:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/export.c:1027:12: call_function: inlined call to ‘write_string’ from ‘export_troff’
libcaca-0.99.beta20/caca/codec/export.c:1090:12: danger: ‘data’ leaks here; was allocated at [(2)](sarif:/runs/0/results/60/codeFlows/0/threadFlows/0/locations/1)
Error: CPPCHECK_WARNING (CWE-401): [#def96]
libcaca-0.99.beta20/caca/codec/import.c:170: error[memleakOnRealloc]: Common realloc mistake: 'data' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-401): [#def97]
libcaca-0.99.beta20/caca/codec/import.c:178:24: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/codec/import.c:249:9: enter_function: entry to ‘caca_import_area_from_file’
libcaca-0.99.beta20/caca/codec/import.c:256:11: call_function: calling ‘caca_import_canvas_from_file’ from ‘caca_import_area_from_file’
Error: COMPILER_WARNING (CWE-563): [#def98]
libcaca-0.99.beta20/caca/codec/import.c:302:14: warning[-Wunused-but-set-variable]: variable ‘version’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def99]
libcaca-0.99.beta20/caca/codec/import.c:302:23: warning[-Wunused-but-set-variable]: variable ‘flags’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def100]
libcaca-0.99.beta20/caca/codec/import.c:332:37: warning[-Wunused-but-set-variable]: variable ‘duration’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def101]
libcaca-0.99.beta20/caca/codec/import.c:333:18: warning[-Wunused-but-set-variable]: variable ‘attr’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def102]
libcaca-0.99.beta20/caca/codec/import.c:334:13: warning[-Wunused-but-set-variable]: variable ‘x’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def103]
libcaca-0.99.beta20/caca/codec/import.c: scope_hint: In function ‘import_caca’
libcaca-0.99.beta20/caca/codec/import.c:334:16: warning[-Wunused-but-set-variable]: variable ‘y’ set but not used
Error: CPPCHECK_WARNING (CWE-476): [#def104]
libcaca-0.99.beta20/caca/codec/text.c:383: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: string
Error: CPPCHECK_WARNING (CWE-476): [#def105]
libcaca-0.99.beta20/caca/codec/text.c:384: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: string
Error: GCC_ANALYZER_WARNING (CWE-401): [#def106]
libcaca-0.99.beta20/caca/codec/text.c:538:22: warning[-Wanalyzer-malloc-leak]: leak of ‘cur’
libcaca-0.99.beta20/caca/codec/text.c:519:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/text.c:521:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:523:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:529:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:531:37: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:535:15: branch_false: following ‘false’ branch (when ‘ch != 1048574’)...
libcaca-0.99.beta20/caca/codec/text.c:538:22: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/text.c:538:22: danger: ‘cur’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def107]
libcaca-0.99.beta20/caca/codec/text.c:539:22: warning[-Wanalyzer-malloc-leak]: leak of ‘cur’
libcaca-0.99.beta20/caca/codec/text.c:519:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/text.c:521:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:523:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:529:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:531:37: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:535:15: branch_false: following ‘false’ branch (when ‘ch != 1048574’)...
libcaca-0.99.beta20/caca/codec/text.c:538:22: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/text.c:539:22: danger: ‘cur’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def108]
libcaca-0.99.beta20/caca/codec/text.c:547:24: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘cur’ where non-null expected
libcaca-0.99.beta20/caca/codec/text.c:519:18: acquire_memory: this call could return NULL
libcaca-0.99.beta20/caca/codec/text.c:521:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:523:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:529:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:531:37: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:535:15: branch_false: following ‘false’ branch (when ‘ch != 1048574’)...
libcaca-0.99.beta20/caca/codec/text.c:538:22: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/text.c:545:15: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:547:24: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:547:24: danger: argument 1 (‘cur’) from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def109]
libcaca-0.99.beta20/caca/codec/text.c:562:20: warning[-Wanalyzer-malloc-leak]: leak of ‘cur’
libcaca-0.99.beta20/caca/codec/text.c:519:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/text.c:521:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:523:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:529:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:531:37: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:535:15: branch_false: following ‘false’ branch (when ‘ch != 1048574’)...
libcaca-0.99.beta20/caca/codec/text.c:538:22: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/text.c:545:15: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/text.c:562:20: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/text.c:562:20: danger: ‘cur’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def110]
libcaca-0.99.beta20/caca/codec/text.c:571:16: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘cur’ where non-null expected
libcaca-0.99.beta20/caca/codec/text.c:519:18: acquire_memory: this call could return NULL
libcaca-0.99.beta20/caca/codec/text.c:521:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:523:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:568:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/text.c:571:16: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/text.c:571:16: danger: argument 1 (‘cur’) from [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: CPPCHECK_WARNING (CWE-682): [#def111]
libcaca-0.99.beta20/caca/codec/text.c:577: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: overflow in pointer arithmetic, NULL pointer is subtracted.
Error: CPPCHECK_WARNING (CWE-401): [#def112]
libcaca-0.99.beta20/caca/codec/text.c:578: error[memleakOnRealloc]: Common realloc mistake: 'data' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-401): [#def113]
libcaca-0.99.beta20/caca/codec/text.c:580:12: warning[-Wanalyzer-malloc-leak]: leak of ‘cur’
libcaca-0.99.beta20/caca/codec/text.c:519:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/text.c:521:16: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/text.c:577:25: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/text.c:580:12: danger: ‘cur’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def114]
libcaca-0.99.beta20/caca/codec/text.c:611:30: warning[-Wanalyzer-malloc-leak]: leak of ‘cur’
libcaca-0.99.beta20/caca/codec/text.c:602:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/text.c:604:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:606:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:609:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:611:59: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:611:30: danger: ‘cur’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def115]
libcaca-0.99.beta20/caca/codec/text.c:612:30: warning[-Wanalyzer-malloc-leak]: leak of ‘cur’
libcaca-0.99.beta20/caca/codec/text.c:602:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/text.c:604:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:606:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:609:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:611:59: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:612:30: danger: ‘cur’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def116]
libcaca-0.99.beta20/caca/codec/text.c:622:24: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘cur’ where non-null expected
libcaca-0.99.beta20/caca/codec/text.c:602:18: acquire_memory: this call could return NULL
libcaca-0.99.beta20/caca/codec/text.c:604:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:606:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:609:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:611:59: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:620:15: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:622:24: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:622:24: danger: argument 1 (‘cur’) from [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def117]
libcaca-0.99.beta20/caca/codec/text.c:636:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cur’
libcaca-0.99.beta20/caca/codec/text.c:602:18: acquire_memory: this call could return NULL
libcaca-0.99.beta20/caca/codec/text.c:604:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:606:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:609:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:611:59: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:620:15: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/text.c:636:22: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/text.c:636:13: danger: ‘cur’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def118]
libcaca-0.99.beta20/caca/codec/text.c:636:22: warning[-Wanalyzer-malloc-leak]: leak of ‘cur’
libcaca-0.99.beta20/caca/codec/text.c:602:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/text.c:604:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:606:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:609:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:611:59: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:620:15: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/text.c:636:22: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/text.c:636:22: danger: ‘cur’ leaks here; was allocated at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def119]
libcaca-0.99.beta20/caca/codec/text.c:648:20: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘cur’ where non-null expected
libcaca-0.99.beta20/caca/codec/text.c:602:18: acquire_memory: this call could return NULL
libcaca-0.99.beta20/caca/codec/text.c:604:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:606:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:609:20: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/text.c:642:11: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/text.c:642:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/text.c:648:20: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/text.c:648:20: danger: argument 1 (‘cur’) from [(1)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: CPPCHECK_WARNING (CWE-682): [#def120]
libcaca-0.99.beta20/caca/codec/text.c:657: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: overflow in pointer arithmetic, NULL pointer is subtracted.
Error: CPPCHECK_WARNING (CWE-401): [#def121]
libcaca-0.99.beta20/caca/codec/text.c:658: error[memleakOnRealloc]: Common realloc mistake: 'data' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-401): [#def122]
libcaca-0.99.beta20/caca/codec/text.c:660:12: warning[-Wanalyzer-malloc-leak]: leak of ‘cur’
libcaca-0.99.beta20/caca/codec/text.c:602:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/text.c:604:16: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/text.c:657:25: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/text.c:660:12: danger: ‘cur’ leaks here; was allocated at [(1)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def123]
libcaca-0.99.beta20/caca/codec/text.c:705:22: warning[-Wanalyzer-malloc-leak]: leak of ‘cur’
libcaca-0.99.beta20/caca/codec/text.c:686:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/text.c:688:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:690:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:696:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:698:37: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:702:15: branch_false: following ‘false’ branch (when ‘ch != 1048574’)...
libcaca-0.99.beta20/caca/codec/text.c:705:22: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/text.c:705:22: danger: ‘cur’ leaks here; was allocated at [(1)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def124]
libcaca-0.99.beta20/caca/codec/text.c:706:22: warning[-Wanalyzer-malloc-leak]: leak of ‘cur’
libcaca-0.99.beta20/caca/codec/text.c:686:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/text.c:688:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:690:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:696:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:698:37: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:702:15: branch_false: following ‘false’ branch (when ‘ch != 1048574’)...
libcaca-0.99.beta20/caca/codec/text.c:705:22: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/text.c:706:22: danger: ‘cur’ leaks here; was allocated at [(1)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def125]
libcaca-0.99.beta20/caca/codec/text.c:721:32: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘cur’ where non-null expected
libcaca-0.99.beta20/caca/codec/text.c:686:18: acquire_memory: this call could return NULL
libcaca-0.99.beta20/caca/codec/text.c:688:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:690:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:696:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:698:37: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:702:15: branch_false: following ‘false’ branch (when ‘ch != 1048574’)...
libcaca-0.99.beta20/caca/codec/text.c:705:22: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/text.c:714:15: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:718:19: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:718:19: branch_true: following ‘true’ branch (when ‘bg == 16’)...
libcaca-0.99.beta20/caca/codec/text.c:720:23: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:720:23: branch_true: following ‘true’ branch (when ‘fg == 16’)...
libcaca-0.99.beta20/caca/codec/text.c:721:32: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:721:32: danger: argument 1 (‘cur’) from [(1)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def126]
libcaca-0.99.beta20/caca/codec/text.c:725:36: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘cur’ where non-null expected
libcaca-0.99.beta20/caca/codec/text.c:686:18: acquire_memory: this call could return NULL
libcaca-0.99.beta20/caca/codec/text.c:688:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:690:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:696:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:698:37: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:702:15: branch_false: following ‘false’ branch (when ‘ch != 1048574’)...
libcaca-0.99.beta20/caca/codec/text.c:705:22: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/text.c:714:15: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:718:19: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:718:19: branch_true: following ‘true’ branch (when ‘bg == 16’)...
libcaca-0.99.beta20/caca/codec/text.c:720:23: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:720:23: branch_false: following ‘false’ branch (when ‘fg != 16’)...
libcaca-0.99.beta20/caca/codec/text.c:724:27: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/text.c:724:27: branch_true: following ‘true’ branch (when ‘prevbg == 16’)...
libcaca-0.99.beta20/caca/codec/text.c:725:36: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:725:36: danger: argument 1 (‘cur’) from [(1)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def127]
libcaca-0.99.beta20/caca/codec/text.c:736:32: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘cur’ where non-null expected
libcaca-0.99.beta20/caca/codec/text.c:686:18: acquire_memory: this call could return NULL
libcaca-0.99.beta20/caca/codec/text.c:688:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:690:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:696:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:698:37: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:702:15: branch_false: following ‘false’ branch (when ‘ch != 1048574’)...
libcaca-0.99.beta20/caca/codec/text.c:705:22: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/text.c:714:15: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:718:19: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:718:19: branch_false: following ‘false’ branch (when ‘bg != 16’)...
libcaca-0.99.beta20/caca/codec/text.c:735:23: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/text.c:735:23: branch_true: following ‘true’ branch (when ‘fg == 16’)...
libcaca-0.99.beta20/caca/codec/text.c:736:32: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:736:32: danger: argument 1 (‘cur’) from [(1)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def128]
libcaca-0.99.beta20/caca/codec/text.c:738:32: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘cur’ where non-null expected
libcaca-0.99.beta20/caca/codec/text.c:686:18: acquire_memory: this call could return NULL
libcaca-0.99.beta20/caca/codec/text.c:688:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:690:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:696:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:698:37: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:702:15: branch_false: following ‘false’ branch (when ‘ch != 1048574’)...
libcaca-0.99.beta20/caca/codec/text.c:705:22: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/text.c:714:15: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:718:19: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:718:19: branch_false: following ‘false’ branch (when ‘bg != 16’)...
libcaca-0.99.beta20/caca/codec/text.c:735:23: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/text.c:735:23: branch_false: following ‘false’ branch (when ‘fg != 16’)...
libcaca-0.99.beta20/caca/codec/text.c:738:32: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/text.c:738:32: danger: argument 1 (‘cur’) from [(1)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def129]
libcaca-0.99.beta20/caca/codec/text.c:748:20: warning[-Wanalyzer-malloc-leak]: leak of ‘cur’
libcaca-0.99.beta20/caca/codec/text.c:686:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/text.c:688:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:690:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:696:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:698:37: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:702:15: branch_false: following ‘false’ branch (when ‘ch != 1048574’)...
libcaca-0.99.beta20/caca/codec/text.c:705:22: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/text.c:714:15: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/text.c:748:20: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/text.c:748:20: danger: ‘cur’ leaks here; was allocated at [(1)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def130]
libcaca-0.99.beta20/caca/codec/text.c:755:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cur’
libcaca-0.99.beta20/caca/codec/text.c:686:18: acquire_memory: this call could return NULL
libcaca-0.99.beta20/caca/codec/text.c:688:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:690:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:754:11: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:755:14: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:755:13: danger: ‘cur’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def131]
libcaca-0.99.beta20/caca/codec/text.c:757:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cur’
libcaca-0.99.beta20/caca/codec/text.c:686:18: acquire_memory: this call could return NULL
libcaca-0.99.beta20/caca/codec/text.c:688:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:690:30: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:754:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/text.c:757:9: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/text.c:757:9: danger: ‘cur’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-682): [#def132]
libcaca-0.99.beta20/caca/codec/text.c:764: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: overflow in pointer arithmetic, NULL pointer is subtracted.
Error: CPPCHECK_WARNING (CWE-401): [#def133]
libcaca-0.99.beta20/caca/codec/text.c:765: error[memleakOnRealloc]: Common realloc mistake: 'data' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-401): [#def134]
libcaca-0.99.beta20/caca/codec/text.c:767:12: warning[-Wanalyzer-malloc-leak]: leak of ‘cur’
libcaca-0.99.beta20/caca/codec/text.c:686:18: acquire_memory: allocated here
libcaca-0.99.beta20/caca/codec/text.c:688:16: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/text.c:764:25: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/text.c:767:12: danger: ‘cur’ leaks here; was allocated at [(1)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-787): [#def135]
libcaca-0.99.beta20/caca/codec/text.c:790:22: warning[-Wanalyzer-out-of-bounds]: buffer over-read
libcaca-0.99.beta20/caca/codec/text.c:784:16: branch_true: following ‘true’ branch (when ‘j < argc’)...
libcaca-0.99.beta20/caca/codec/text.c:787:16: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:787:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/text.c:789:17: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/text.c:789:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:790:22: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:790:22: danger: read of 1 byte at offset ‘*argv + 4294967256’ exceeds ‘ansi2caca’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def136]
libcaca-0.99.beta20/caca/codec/text.c:792:22: warning[-Wanalyzer-out-of-bounds]: buffer over-read
libcaca-0.99.beta20/caca/codec/text.c:784:16: branch_true: following ‘true’ branch (when ‘j < argc’)...
libcaca-0.99.beta20/caca/codec/text.c:787:16: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:787:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/text.c:789:17: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/text.c:789:16: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/text.c:791:17: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/text.c:791:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:792:22: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:792:22: danger: read of 1 byte at offset ‘*argv + 4294967206’ exceeds ‘ansi2caca’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def137]
libcaca-0.99.beta20/caca/codec/text.c:794:22: warning[-Wanalyzer-out-of-bounds]: buffer over-read
libcaca-0.99.beta20/caca/codec/text.c:784:16: branch_true: following ‘true’ branch (when ‘j < argc’)...
libcaca-0.99.beta20/caca/codec/text.c:787:16: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:787:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/text.c:789:17: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/text.c:789:16: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/text.c:791:17: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/text.c:791:16: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/codec/text.c:793:17: branch_false: ...to here
libcaca-0.99.beta20/caca/codec/text.c:793:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/codec/text.c:794:22: branch_true: ...to here
libcaca-0.99.beta20/caca/codec/text.c:794:22: danger: read of 1 byte at offset ‘*argv + 4294967196’ exceeds ‘ansi2caca’
Error: COMPILER_WARNING (CWE-483): [#def138]
libcaca-0.99.beta20/caca/dither.c: scope_hint: In function ‘rgb2hsv_default’
libcaca-0.99.beta20/caca/dither.c:213:5: warning[-Wmisleading-indentation]: this ‘if’ clause does not guard...
libcaca-0.99.beta20/caca/dither.c:213:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
Error: COMPILER_WARNING (CWE-483): [#def139]
libcaca-0.99.beta20/caca/dither.c:214:5: warning[-Wmisleading-indentation]: this ‘if’ clause does not guard...
libcaca-0.99.beta20/caca/dither.c:214:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
Error: COMPILER_WARNING (CWE-563): [#def140]
libcaca-0.99.beta20/caca/dither.c: scope_hint: In function ‘caca_dither_bitmap’
libcaca-0.99.beta20/caca/dither.c:946:25: warning[-Wunused-but-set-variable]: variable ‘pitch’ set but not used
Error: CPPCHECK_WARNING (CWE-476): [#def141]
libcaca-0.99.beta20/caca/dither.c:967: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: floyd_steinberg
Error: CPPCHECK_WARNING (CWE-682): [#def142]
libcaca-0.99.beta20/caca/dither.c:968: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: pointer addition with NULL pointer.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def143]
libcaca-0.99.beta20/caca/dither.c:976:34: warning[-Wanalyzer-malloc-leak]: leak of ‘floyd_steinberg’
libcaca-0.99.beta20/caca/dither.c:948:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/dither.c:951:17: branch_false: ...to here
libcaca-0.99.beta20/caca/dither.c:966:23: acquire_memory: allocated here
libcaca-0.99.beta20/caca/dither.c:972:30: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/dither.c:976:34: danger: ‘floyd_steinberg’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def144]
libcaca-0.99.beta20/caca/dither.c:1059:25: warning[-Wanalyzer-malloc-leak]: leak of ‘floyd_steinberg’
libcaca-0.99.beta20/caca/dither.c:948:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/dither.c:951:17: branch_false: ...to here
libcaca-0.99.beta20/caca/dither.c:966:23: acquire_memory: allocated here
libcaca-0.99.beta20/caca/dither.c:972:30: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/dither.c:977:13: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/dither.c:1051:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/dither.c:1059:25: branch_false: ...to here
libcaca-0.99.beta20/caca/dither.c:1059:25: danger: ‘floyd_steinberg’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def145]
libcaca-0.99.beta20/caca/dither.c:1060:25: warning[-Wanalyzer-malloc-leak]: leak of ‘floyd_steinberg’
libcaca-0.99.beta20/caca/dither.c:948:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/dither.c:951:17: branch_false: ...to here
libcaca-0.99.beta20/caca/dither.c:966:23: acquire_memory: allocated here
libcaca-0.99.beta20/caca/dither.c:972:30: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/dither.c:977:13: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/dither.c:1051:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/dither.c:1059:25: branch_false: ...to here
libcaca-0.99.beta20/caca/dither.c:1060:25: danger: ‘floyd_steinberg’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def146]
libcaca-0.99.beta20/caca/dither.c:1061:25: warning[-Wanalyzer-malloc-leak]: leak of ‘floyd_steinberg’
libcaca-0.99.beta20/caca/dither.c:948:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/dither.c:951:17: branch_false: ...to here
libcaca-0.99.beta20/caca/dither.c:966:23: acquire_memory: allocated here
libcaca-0.99.beta20/caca/dither.c:972:30: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/dither.c:977:13: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/dither.c:1051:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/dither.c:1059:25: branch_false: ...to here
libcaca-0.99.beta20/caca/dither.c:1061:25: danger: ‘floyd_steinberg’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def147]
libcaca-0.99.beta20/caca/dither.c:1185:9: warning[-Wanalyzer-malloc-leak]: leak of ‘floyd_steinberg’
libcaca-0.99.beta20/caca/dither.c:940:5: enter_function: entry to ‘caca_dither_bitmap’
libcaca-0.99.beta20/caca/dither.c:948:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/dither.c:951:17: branch_false: ...to here
libcaca-0.99.beta20/caca/dither.c:966:23: acquire_memory: allocated here
libcaca-0.99.beta20/caca/dither.c:972:30: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/dither.c:977:13: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/dither.c:992:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/dither.c:1020:31: branch_false: ...to here
libcaca-0.99.beta20/caca/dither.c:1031:13: call_function: calling ‘get_rgba_default’ from ‘caca_dither_bitmap’
libcaca-0.99.beta20/caca/dither.c:1031:13: return_function: returning to ‘caca_dither_bitmap’ from ‘get_rgba_default’
libcaca-0.99.beta20/caca/dither.c:1051:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/dither.c:1059:25: branch_false: ...to here
libcaca-0.99.beta20/caca/dither.c:1065:20: branch_true: following ‘true’ branch (when ‘i != 16’)...
libcaca-0.99.beta20/caca/dither.c:1067:16: branch_true: ...to here
libcaca-0.99.beta20/caca/dither.c:1065:20: branch_false: following ‘false’ branch (when ‘i == 16’)...
libcaca-0.99.beta20/caca/dither.c:1081:28: branch_false: ...to here
libcaca-0.99.beta20/caca/dither.c:1153:15: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/dither.c:1162:12: branch_false: ...to here
libcaca-0.99.beta20/caca/dither.c:1162:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/dither.c:1178:12: branch_false: ...to here
libcaca-0.99.beta20/caca/dither.c:1185:9: danger: ‘floyd_steinberg’ leaks here; was allocated at [(4)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def148]
libcaca-0.99.beta20/caca/dither.c:1186:9: warning[-Wanalyzer-malloc-leak]: leak of ‘floyd_steinberg’
libcaca-0.99.beta20/caca/dither.c:940:5: enter_function: entry to ‘caca_dither_bitmap’
libcaca-0.99.beta20/caca/dither.c:948:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/dither.c:951:17: branch_false: ...to here
libcaca-0.99.beta20/caca/dither.c:966:23: acquire_memory: allocated here
libcaca-0.99.beta20/caca/dither.c:972:30: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/dither.c:977:13: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/dither.c:992:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/dither.c:1020:31: branch_false: ...to here
libcaca-0.99.beta20/caca/dither.c:1031:13: call_function: calling ‘get_rgba_default’ from ‘caca_dither_bitmap’
libcaca-0.99.beta20/caca/dither.c:1031:13: return_function: returning to ‘caca_dither_bitmap’ from ‘get_rgba_default’
libcaca-0.99.beta20/caca/dither.c:1051:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/dither.c:1059:25: branch_false: ...to here
libcaca-0.99.beta20/caca/dither.c:1065:20: branch_true: following ‘true’ branch (when ‘i != 16’)...
libcaca-0.99.beta20/caca/dither.c:1067:16: branch_true: ...to here
libcaca-0.99.beta20/caca/dither.c:1065:20: branch_false: following ‘false’ branch (when ‘i == 16’)...
libcaca-0.99.beta20/caca/dither.c:1081:28: branch_false: ...to here
libcaca-0.99.beta20/caca/dither.c:1153:15: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/dither.c:1162:12: branch_false: ...to here
libcaca-0.99.beta20/caca/dither.c:1162:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/dither.c:1178:12: branch_false: ...to here
libcaca-0.99.beta20/caca/dither.c:1186:9: danger: ‘floyd_steinberg’ leaks here; was allocated at [(4)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def149]
libcaca-0.99.beta20/caca/dither.c:1188:9: warning[-Wanalyzer-malloc-leak]: leak of ‘floyd_steinberg’
libcaca-0.99.beta20/caca/dither.c:940:5: enter_function: entry to ‘caca_dither_bitmap’
libcaca-0.99.beta20/caca/dither.c:948:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/dither.c:951:17: branch_false: ...to here
libcaca-0.99.beta20/caca/dither.c:966:23: acquire_memory: allocated here
libcaca-0.99.beta20/caca/dither.c:972:30: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/dither.c:977:13: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/dither.c:992:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/dither.c:1020:31: branch_false: ...to here
libcaca-0.99.beta20/caca/dither.c:1031:13: call_function: calling ‘get_rgba_default’ from ‘caca_dither_bitmap’
libcaca-0.99.beta20/caca/dither.c:1031:13: return_function: returning to ‘caca_dither_bitmap’ from ‘get_rgba_default’
libcaca-0.99.beta20/caca/dither.c:1051:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/dither.c:1059:25: branch_false: ...to here
libcaca-0.99.beta20/caca/dither.c:1065:20: branch_true: following ‘true’ branch (when ‘i != 16’)...
libcaca-0.99.beta20/caca/dither.c:1067:16: branch_true: ...to here
libcaca-0.99.beta20/caca/dither.c:1065:20: branch_false: following ‘false’ branch (when ‘i == 16’)...
libcaca-0.99.beta20/caca/dither.c:1081:28: branch_false: ...to here
libcaca-0.99.beta20/caca/dither.c:1153:15: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/dither.c:1162:12: branch_false: ...to here
libcaca-0.99.beta20/caca/dither.c:1162:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/dither.c:1178:12: branch_false: ...to here
libcaca-0.99.beta20/caca/dither.c:1188:9: danger: ‘floyd_steinberg’ leaks here; was allocated at [(4)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def150]
libcaca-0.99.beta20/caca/driver/gl.c:551:5: warning[-Wanalyzer-malloc-leak]: leak of ‘image’
libcaca-0.99.beta20/caca/driver/gl.c:549:13: acquire_memory: allocated here
libcaca-0.99.beta20/caca/driver/gl.c:551:5: danger: ‘image’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def151]
libcaca-0.99.beta20/caca/driver/gl.c:558:9: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)b * 4)’
libcaca-0.99.beta20/caca/driver/gl.c:556:23: acquire_memory: allocated here
libcaca-0.99.beta20/caca/driver/gl.c:558:9: danger: ‘malloc((long unsigned int)b * 4)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-682): [#def152]
libcaca-0.99.beta20/caca/driver/gl.c:568: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: pointer addition with NULL pointer.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def153]
libcaca-0.99.beta20/caca/driver/ncurses.c:610:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*dp.drv.p’
libcaca-0.99.beta20/caca/driver/ncurses.c:207:12: enter_function: entry to ‘ncurses_init_graphics’
libcaca-0.99.beta20/caca/driver/ncurses.c:237:17: acquire_memory: this call could return NULL
libcaca-0.99.beta20/caca/driver/ncurses.c:240:5: call_function: calling ‘ncurses_install_terminal’ from ‘ncurses_init_graphics’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def154]
libcaca-0.99.beta20/caca/driver/ncurses.c:630:9: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(term)’
libcaca-0.99.beta20/caca/driver/ncurses.c:615:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/driver/ncurses.c:626:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/driver/ncurses.c:628:9: branch_false: ...to here
libcaca-0.99.beta20/caca/driver/ncurses.c:630:27: acquire_memory: allocated here
libcaca-0.99.beta20/caca/driver/ncurses.c:630:9: danger: ‘strdup(term)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-476): [#def155]
libcaca-0.99.beta20/caca/driver/slang.c:128: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dp->drv.p
Error: GCC_ANALYZER_WARNING (CWE-476): [#def156]
libcaca-0.99.beta20/caca/driver/slang.c:128:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*dp.drv.p’
libcaca-0.99.beta20/caca/driver/slang.c:127:17: acquire_memory: this call could return NULL
libcaca-0.99.beta20/caca/driver/slang.c:128:5: danger: ‘malloc(16)’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def157]
libcaca-0.99.beta20/caca/driver/slang.c:567:9: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(term)’
libcaca-0.99.beta20/caca/driver/slang.c:125:12: enter_function: entry to ‘slang_init_graphics’
libcaca-0.99.beta20/caca/driver/slang.c:131:5: call_function: calling ‘slang_install_terminal’ from ‘slang_init_graphics’
Error: COMPILER_WARNING (CWE-563): [#def158]
libcaca-0.99.beta20/caca/figfont.c: scope_hint: In function ‘caca_put_figchar’
libcaca-0.99.beta20/caca/figfont.c:150:33: warning[-Wunused-but-set-variable]: variable ‘extra’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-401): [#def159]
libcaca-0.99.beta20/caca/figfont.c:328:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ff’
libcaca-0.99.beta20/caca/figfont.c:320:10: acquire_memory: allocated here
libcaca-0.99.beta20/caca/figfont.c:321:7: branch_false: following ‘false’ branch (when ‘ff’ is non-NULL)...
libcaca-0.99.beta20/caca/figfont.c:328:9: branch_false: ...to here
libcaca-0.99.beta20/caca/figfont.c:328:9: danger: ‘ff’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def160]
libcaca-0.99.beta20/caca/figfont.c:340:13: warning[-Wanalyzer-malloc-leak]: leak of ‘ff’
libcaca-0.99.beta20/caca/figfont.c:320:10: acquire_memory: allocated here
libcaca-0.99.beta20/caca/figfont.c:321:7: branch_false: following ‘false’ branch (when ‘ff’ is non-NULL)...
libcaca-0.99.beta20/caca/figfont.c:328:9: branch_false: ...to here
libcaca-0.99.beta20/caca/figfont.c:330:7: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/figfont.c:331:19: branch_true: ...to here
libcaca-0.99.beta20/caca/figfont.c:340:13: danger: ‘ff’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def161]
libcaca-0.99.beta20/caca/figfont.c:350:13: warning[-Wanalyzer-malloc-leak]: leak of ‘ff’
libcaca-0.99.beta20/caca/figfont.c:320:10: acquire_memory: allocated here
libcaca-0.99.beta20/caca/figfont.c:321:7: branch_false: following ‘false’ branch (when ‘ff’ is non-NULL)...
libcaca-0.99.beta20/caca/figfont.c:328:9: branch_false: ...to here
libcaca-0.99.beta20/caca/figfont.c:330:7: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/figfont.c:331:19: branch_true: ...to here
libcaca-0.99.beta20/caca/figfont.c:342:7: branch_true: following ‘true’ branch (when ‘f’ is NULL)...
libcaca-0.99.beta20/caca/figfont.c:347:9: branch_true: ...to here
libcaca-0.99.beta20/caca/figfont.c:350:13: danger: ‘ff’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def162]
libcaca-0.99.beta20/caca/figfont.c:366:5: warning[-Wanalyzer-malloc-leak]: leak of ‘ff’
libcaca-0.99.beta20/caca/figfont.c:320:10: acquire_memory: allocated here
libcaca-0.99.beta20/caca/figfont.c:321:7: branch_false: following ‘false’ branch (when ‘ff’ is non-NULL)...
libcaca-0.99.beta20/caca/figfont.c:328:9: branch_false: ...to here
libcaca-0.99.beta20/caca/figfont.c:342:7: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
libcaca-0.99.beta20/caca/figfont.c:352:8: branch_false: ...to here
libcaca-0.99.beta20/caca/figfont.c:352:8: branch_false: following ‘false’ branch (when ‘altpath’ is NULL)...
libcaca-0.99.beta20/caca/figfont.c:355:7: branch_false: ...to here
libcaca-0.99.beta20/caca/figfont.c:355:7: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
libcaca-0.99.beta20/caca/figfont.c:363:5: branch_false: ...to here
libcaca-0.99.beta20/caca/figfont.c:366:5: danger: ‘ff’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-401): [#def163]
libcaca-0.99.beta20/caca/figfont.c:455: error[memleakOnRealloc]: Common realloc mistake: 'data' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-415): [#def164]
libcaca-0.99.beta20/caca/figfont.c:455:24: warning[-Wanalyzer-double-free]: double-‘free’ of ‘data’
libcaca-0.99.beta20/caca/figfont.c:321:7: branch_false: following ‘false’ branch (when ‘ff’ is non-NULL)...
libcaca-0.99.beta20/caca/figfont.c:328:9: branch_false: ...to here
libcaca-0.99.beta20/caca/figfont.c:342:7: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
libcaca-0.99.beta20/caca/figfont.c:352:8: branch_false: ...to here
libcaca-0.99.beta20/caca/figfont.c:352:8: branch_false: following ‘false’ branch (when ‘altpath’ is NULL)...
libcaca-0.99.beta20/caca/figfont.c:355:7: branch_false: ...to here
libcaca-0.99.beta20/caca/figfont.c:355:7: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
libcaca-0.99.beta20/caca/figfont.c:363:5: branch_false: ...to here
libcaca-0.99.beta20/caca/figfont.c:367:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/figfont.c:379:8: branch_false: ...to here
libcaca-0.99.beta20/caca/figfont.c:379:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/figfont.c:402:26: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/figfont.c:404:13: branch_true: ...to here
libcaca-0.99.beta20/caca/figfont.c:452:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/figfont.c:454:16: branch_true: ...to here
libcaca-0.99.beta20/caca/figfont.c:454:15: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/figfont.c:455:38: branch_true: ...to here
libcaca-0.99.beta20/caca/figfont.c:452:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/figfont.c:454:16: branch_true: ...to here
libcaca-0.99.beta20/caca/figfont.c:454:15: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/figfont.c:455:38: branch_true: ...to here
libcaca-0.99.beta20/caca/figfont.c:452:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/figfont.c:454:16: branch_true: ...to here
libcaca-0.99.beta20/caca/figfont.c:454:15: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/figfont.c:455:38: branch_true: ...to here
libcaca-0.99.beta20/caca/figfont.c:455:24: danger: second ‘free’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def165]
libcaca-0.99.beta20/caca/figfont.c:457:13: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
libcaca-0.99.beta20/caca/figfont.c:321:7: branch_false: following ‘false’ branch (when ‘ff’ is non-NULL)...
libcaca-0.99.beta20/caca/figfont.c:328:9: branch_false: ...to here
libcaca-0.99.beta20/caca/figfont.c:342:7: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
libcaca-0.99.beta20/caca/figfont.c:352:8: branch_false: ...to here
libcaca-0.99.beta20/caca/figfont.c:352:8: branch_false: following ‘false’ branch (when ‘altpath’ is NULL)...
libcaca-0.99.beta20/caca/figfont.c:355:7: branch_false: ...to here
libcaca-0.99.beta20/caca/figfont.c:355:7: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
libcaca-0.99.beta20/caca/figfont.c:363:5: branch_false: ...to here
libcaca-0.99.beta20/caca/figfont.c:367:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/figfont.c:379:8: branch_false: ...to here
libcaca-0.99.beta20/caca/figfont.c:379:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/figfont.c:402:26: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/figfont.c:404:13: branch_true: ...to here
libcaca-0.99.beta20/caca/figfont.c:452:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/figfont.c:454:16: branch_true: ...to here
libcaca-0.99.beta20/caca/figfont.c:454:15: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/figfont.c:455:38: branch_true: ...to here
libcaca-0.99.beta20/caca/figfont.c:457:13: danger: ‘data’ leaks here; was allocated at [(19)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def166]
libcaca-0.99.beta20/caca/figfont.c:458:28: warning[-Wanalyzer-null-argument]: use of NULL ‘data’ where non-null expected
libcaca-0.99.beta20/caca/figfont.c:321:7: branch_false: following ‘false’ branch (when ‘ff’ is non-NULL)...
libcaca-0.99.beta20/caca/figfont.c:328:9: branch_false: ...to here
libcaca-0.99.beta20/caca/figfont.c:342:7: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
libcaca-0.99.beta20/caca/figfont.c:352:8: branch_false: ...to here
libcaca-0.99.beta20/caca/figfont.c:352:8: branch_false: following ‘false’ branch (when ‘altpath’ is NULL)...
libcaca-0.99.beta20/caca/figfont.c:355:7: branch_false: ...to here
libcaca-0.99.beta20/caca/figfont.c:355:7: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
libcaca-0.99.beta20/caca/figfont.c:363:5: branch_false: ...to here
libcaca-0.99.beta20/caca/figfont.c:367:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/figfont.c:379:8: branch_false: ...to here
libcaca-0.99.beta20/caca/figfont.c:379:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/figfont.c:402:26: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/figfont.c:404:13: branch_true: ...to here
libcaca-0.99.beta20/caca/figfont.c:452:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/figfont.c:454:16: branch_true: ...to here
libcaca-0.99.beta20/caca/figfont.c:454:15: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/figfont.c:455:38: branch_true: ...to here
libcaca-0.99.beta20/caca/figfont.c:457:13: release_memory: ‘data’ is NULL
libcaca-0.99.beta20/caca/figfont.c:458:28: danger: argument 1 (‘data + (sizetype)i’) NULL where non-null expected
Error: CPPCHECK_WARNING (CWE-476): [#def167]
libcaca-0.99.beta20/caca/file.c:72: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: fp
Error: GCC_ANALYZER_WARNING (CWE-476): [#def168]
libcaca-0.99.beta20/caca/file.c:72:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘fp’
libcaca-0.99.beta20/caca/file.c:70:23: acquire_memory: this call could return NULL
libcaca-0.99.beta20/caca/file.c:72:5: danger: ‘fp’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def169]
libcaca-0.99.beta20/caca/file.c:78: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: fp
Error: GCC_ANALYZER_WARNING (CWE-401): [#def170]
libcaca-0.99.beta20/caca/file.c:78:14: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libcaca-0.99.beta20/caca/file.c:70:23: acquire_memory: allocated here
libcaca-0.99.beta20/caca/file.c:78:14: danger: ‘fp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def171]
libcaca-0.99.beta20/caca/file.c:79: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: fp
Error: GCC_ANALYZER_WARNING (CWE-401): [#def172]
libcaca-0.99.beta20/caca/file.c:93:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libcaca-0.99.beta20/caca/file.c:70:23: acquire_memory: allocated here
libcaca-0.99.beta20/caca/file.c:79:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/file.c:86:5: branch_false: ...to here
libcaca-0.99.beta20/caca/file.c:90:7: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/file.c:93:9: branch_true: ...to here
libcaca-0.99.beta20/caca/file.c:93:9: danger: ‘fp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def173]
libcaca-0.99.beta20/caca/file.c:96:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libcaca-0.99.beta20/caca/file.c:70:23: acquire_memory: allocated here
libcaca-0.99.beta20/caca/file.c:79:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/file.c:86:5: branch_false: ...to here
libcaca-0.99.beta20/caca/file.c:90:7: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/file.c:93:9: branch_true: ...to here
libcaca-0.99.beta20/caca/file.c:94:11: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/file.c:96:13: branch_true: ...to here
libcaca-0.99.beta20/caca/file.c:96:13: danger: ‘fp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def174]
libcaca-0.99.beta20/caca/file.c:102:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libcaca-0.99.beta20/caca/file.c:70:23: acquire_memory: allocated here
libcaca-0.99.beta20/caca/file.c:79:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/file.c:86:5: branch_false: ...to here
libcaca-0.99.beta20/caca/file.c:90:7: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/file.c:93:9: branch_true: ...to here
libcaca-0.99.beta20/caca/file.c:94:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/file.c:100:9: branch_false: ...to here
libcaca-0.99.beta20/caca/file.c:102:9: danger: ‘fp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def175]
libcaca-0.99.beta20/caca/file.c:104:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libcaca-0.99.beta20/caca/file.c:70:23: acquire_memory: allocated here
libcaca-0.99.beta20/caca/file.c:79:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/file.c:86:5: branch_false: ...to here
libcaca-0.99.beta20/caca/file.c:90:7: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/file.c:93:9: branch_true: ...to here
libcaca-0.99.beta20/caca/file.c:94:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/file.c:100:9: branch_false: ...to here
libcaca-0.99.beta20/caca/file.c:104:9: danger: ‘fp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def176]
libcaca-0.99.beta20/caca/file.c:106:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libcaca-0.99.beta20/caca/file.c:70:23: acquire_memory: allocated here
libcaca-0.99.beta20/caca/file.c:79:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/file.c:86:5: branch_false: ...to here
libcaca-0.99.beta20/caca/file.c:90:7: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/file.c:93:9: branch_true: ...to here
libcaca-0.99.beta20/caca/file.c:94:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/file.c:100:9: branch_false: ...to here
libcaca-0.99.beta20/caca/file.c:106:9: danger: ‘fp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def177]
libcaca-0.99.beta20/caca/file.c:109:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libcaca-0.99.beta20/caca/file.c:70:23: acquire_memory: allocated here
libcaca-0.99.beta20/caca/file.c:79:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/file.c:86:5: branch_false: ...to here
libcaca-0.99.beta20/caca/file.c:90:7: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/file.c:93:9: branch_true: ...to here
libcaca-0.99.beta20/caca/file.c:94:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/file.c:100:9: branch_false: ...to here
libcaca-0.99.beta20/caca/file.c:109:9: danger: ‘fp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def178]
libcaca-0.99.beta20/caca/font.c:85:1: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘glyph’
libcaca-0.99.beta20/caca/font.c:415:5: enter_function: entry to ‘caca_render_canvas’
libcaca-0.99.beta20/caca/font.c:421:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/font.c:427:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/font.c:430:16: branch_false: ...to here
libcaca-0.99.beta20/caca/font.c:440:16: branch_true: following ‘true’ branch (when ‘y < ymax’)...
branch_true: ...to here
libcaca-0.99.beta20/caca/font.c:442:20: branch_true: following ‘true’ branch (when ‘x < xmax’)...
libcaca-0.99.beta20/caca/font.c:445:30: branch_true: ...to here
libcaca-0.99.beta20/caca/font.c:466:15: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/font.c:469:18: branch_false: ...to here
libcaca-0.99.beta20/caca/font.c:481:17: call_function: calling ‘unpack_glyph4’ from ‘caca_render_canvas’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def179]
libcaca-0.99.beta20/caca/font.c:86:1: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘glyph’
libcaca-0.99.beta20/caca/font.c:415:5: enter_function: entry to ‘caca_render_canvas’
libcaca-0.99.beta20/caca/font.c:421:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/font.c:427:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/font.c:430:16: branch_false: ...to here
libcaca-0.99.beta20/caca/font.c:440:16: branch_true: following ‘true’ branch (when ‘y < ymax’)...
branch_true: ...to here
libcaca-0.99.beta20/caca/font.c:442:20: branch_true: following ‘true’ branch (when ‘x < xmax’)...
libcaca-0.99.beta20/caca/font.c:445:30: branch_true: ...to here
libcaca-0.99.beta20/caca/font.c:466:15: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/font.c:469:18: branch_false: ...to here
libcaca-0.99.beta20/caca/font.c:485:17: call_function: calling ‘unpack_glyph2’ from ‘caca_render_canvas’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def180]
libcaca-0.99.beta20/caca/font.c:87:1: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘glyph’
libcaca-0.99.beta20/caca/font.c:415:5: enter_function: entry to ‘caca_render_canvas’
libcaca-0.99.beta20/caca/font.c:421:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/font.c:427:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/font.c:430:16: branch_false: ...to here
libcaca-0.99.beta20/caca/font.c:440:16: branch_true: following ‘true’ branch (when ‘y < ymax’)...
branch_true: ...to here
libcaca-0.99.beta20/caca/font.c:442:20: branch_true: following ‘true’ branch (when ‘x < xmax’)...
libcaca-0.99.beta20/caca/font.c:445:30: branch_true: ...to here
libcaca-0.99.beta20/caca/font.c:466:15: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/font.c:469:18: branch_false: ...to here
libcaca-0.99.beta20/caca/font.c:489:17: call_function: calling ‘unpack_glyph1’ from ‘caca_render_canvas’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def181]
libcaca-0.99.beta20/caca/font.c:505:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘glyph’
libcaca-0.99.beta20/caca/font.c:421:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/font.c:427:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/font.c:430:16: branch_false: ...to here
libcaca-0.99.beta20/caca/font.c:440:16: branch_true: following ‘true’ branch (when ‘y < ymax’)...
branch_true: ...to here
libcaca-0.99.beta20/caca/font.c:442:20: branch_true: following ‘true’ branch (when ‘x < xmax’)...
libcaca-0.99.beta20/caca/font.c:445:30: branch_true: ...to here
libcaca-0.99.beta20/caca/font.c:466:15: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/font.c:469:18: branch_false: ...to here
libcaca-0.99.beta20/caca/font.c:495:24: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/font.c:498:25: branch_true: ...to here
libcaca-0.99.beta20/caca/font.c:500:28: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/font.c:502:45: branch_true: ...to here
libcaca-0.99.beta20/caca/font.c:505:30: release_memory: ‘glyph’ is NULL
libcaca-0.99.beta20/caca/font.c:505:30: release_memory: ‘glyph’ is NULL
libcaca-0.99.beta20/caca/font.c:505:25: danger: dereference of NULL ‘glyph + (sizetype)((int)*g.width * j + i)’
Error: GCC_ANALYZER_WARNING (CWE-122): [#def182]
libcaca-0.99.beta20/caca/frame.c:160:9: warning[-Wanalyzer-out-of-bounds]: heap-based buffer over-read
libcaca-0.99.beta20/caca/frame.c:159:33: branch_true: following ‘true’ branch (when ‘id < f’)...
libcaca-0.99.beta20/caca/frame.c:160:35: branch_true: ...to here
libcaca-0.99.beta20/caca/frame.c:159:33: branch_true: following ‘true’ branch (when ‘id < f’)...
libcaca-0.99.beta20/caca/frame.c:160:35: branch_true: ...to here
libcaca-0.99.beta20/caca/frame.c:160:9: danger: read of 56 bytes at offset ‘(long unsigned int)(*cv.framecount + -1) * 56 + 18446744073709551560’ exceeds the buffer
Error: GCC_ANALYZER_WARNING (CWE-476): [#def183]
libcaca-0.99.beta20/caca/frame.c:259:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libcaca-0.99.beta20/caca/frame.c:205:5: enter_function: entry to ‘caca_free_frame’
libcaca-0.99.beta20/caca/frame.c:209:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/frame.c:215:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/frame.c:221:10: branch_false: ...to here
libcaca-0.99.beta20/caca/frame.c:225:21: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/frame.c:228:5: branch_false: ...to here
libcaca-0.99.beta20/caca/frame.c:232:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/caca/frame.c:234:12: branch_false: ...to here
libcaca-0.99.beta20/caca/frame.c:234:12: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/caca/frame.c:236:9: branch_true: ...to here
libcaca-0.99.beta20/caca/frame.c:237:9: call_function: calling ‘_caca_load_frame_info’ from ‘caca_free_frame’
Error: UNICONTROL_WARNING (CWE-94): [#def184]
libcaca-0.99.beta20/caca/mono9.data:5773: warning: bidirectional control characters: ['\u202a']
Error: COMPILER_WARNING: [#def185]
libcaca-0.99.beta20/caca/font.c:32: included_from: Included from here.
libcaca-0.99.beta20/caca/mono9.data:5773:16: warning[-Wbidi-chars=]: unpaired UTF-8 bidirectional control character detected
Error: COMPILER_WARNING: [#def186]
libcaca-0.99.beta20/caca/mono9.data:5773:16: warning[-Wbidi-chars=]: unpaired UTF-8 bidirectional control character detected
Error: UNICONTROL_WARNING (CWE-94): [#def187]
libcaca-0.99.beta20/caca/mono9.data:5774: warning: bidirectional control characters: ['\u202b']
Error: COMPILER_WARNING: [#def188]
libcaca-0.99.beta20/caca/mono9.data:5774:16: warning[-Wbidi-chars=]: unpaired UTF-8 bidirectional control character detected
Error: COMPILER_WARNING: [#def189]
libcaca-0.99.beta20/caca/mono9.data:5774:16: warning[-Wbidi-chars=]: unpaired UTF-8 bidirectional control character detected
Error: UNICONTROL_WARNING (CWE-94): [#def190]
libcaca-0.99.beta20/caca/mono9.data:5775: warning: bidirectional control characters: ['\u202c']
Error: UNICONTROL_WARNING (CWE-94): [#def191]
libcaca-0.99.beta20/caca/mono9.data:5776: warning: bidirectional control characters: ['\u202d']
Error: COMPILER_WARNING: [#def192]
libcaca-0.99.beta20/caca/mono9.data:5776:16: warning[-Wbidi-chars=]: unpaired UTF-8 bidirectional control character detected
Error: COMPILER_WARNING: [#def193]
libcaca-0.99.beta20/caca/mono9.data:5776:16: warning[-Wbidi-chars=]: unpaired UTF-8 bidirectional control character detected
Error: UNICONTROL_WARNING (CWE-94): [#def194]
libcaca-0.99.beta20/caca/mono9.data:5777: warning: bidirectional control characters: ['\u202e']
Error: COMPILER_WARNING: [#def195]
libcaca-0.99.beta20/caca/mono9.data:5777:16: warning[-Wbidi-chars=]: unpaired UTF-8 bidirectional control character detected
Error: COMPILER_WARNING: [#def196]
libcaca-0.99.beta20/caca/mono9.data:5777:16: warning[-Wbidi-chars=]: unpaired UTF-8 bidirectional control character detected
Error: UNICONTROL_WARNING (CWE-94): [#def197]
libcaca-0.99.beta20/caca/mono9.data:5833: warning: bidirectional control characters: ['\u2066']
Error: COMPILER_WARNING: [#def198]
libcaca-0.99.beta20/caca/mono9.data:5833:16: warning[-Wbidi-chars=]: unpaired UTF-8 bidirectional control character detected
Error: COMPILER_WARNING: [#def199]
libcaca-0.99.beta20/caca/mono9.data:5833:16: warning[-Wbidi-chars=]: unpaired UTF-8 bidirectional control character detected
Error: UNICONTROL_WARNING (CWE-94): [#def200]
libcaca-0.99.beta20/caca/mono9.data:5834: warning: bidirectional control characters: ['\u2067']
Error: COMPILER_WARNING: [#def201]
libcaca-0.99.beta20/caca/mono9.data:5834:16: warning[-Wbidi-chars=]: unpaired UTF-8 bidirectional control character detected
Error: COMPILER_WARNING: [#def202]
libcaca-0.99.beta20/caca/mono9.data:5834:16: warning[-Wbidi-chars=]: unpaired UTF-8 bidirectional control character detected
Error: UNICONTROL_WARNING (CWE-94): [#def203]
libcaca-0.99.beta20/caca/mono9.data:5835: warning: bidirectional control characters: ['\u2068']
Error: COMPILER_WARNING: [#def204]
libcaca-0.99.beta20/caca/mono9.data:5835:16: warning[-Wbidi-chars=]: unpaired UTF-8 bidirectional control character detected
Error: COMPILER_WARNING: [#def205]
libcaca-0.99.beta20/caca/mono9.data:5835:16: warning[-Wbidi-chars=]: unpaired UTF-8 bidirectional control character detected
Error: UNICONTROL_WARNING (CWE-94): [#def206]
libcaca-0.99.beta20/caca/mono9.data:5836: warning: bidirectional control characters: ['\u2069']
Error: UNICONTROL_WARNING (CWE-94): [#def207]
libcaca-0.99.beta20/caca/monobold12.data:5773: warning: bidirectional control characters: ['\u202a']
Error: COMPILER_WARNING: [#def208]
libcaca-0.99.beta20/caca/font.c:33: included_from: Included from here.
libcaca-0.99.beta20/caca/monobold12.data:5773:16: warning[-Wbidi-chars=]: unpaired UTF-8 bidirectional control character detected
Error: COMPILER_WARNING: [#def209]
libcaca-0.99.beta20/caca/monobold12.data:5773:16: warning[-Wbidi-chars=]: unpaired UTF-8 bidirectional control character detected
Error: UNICONTROL_WARNING (CWE-94): [#def210]
libcaca-0.99.beta20/caca/monobold12.data:5774: warning: bidirectional control characters: ['\u202b']
Error: COMPILER_WARNING: [#def211]
libcaca-0.99.beta20/caca/monobold12.data:5774:16: warning[-Wbidi-chars=]: unpaired UTF-8 bidirectional control character detected
Error: COMPILER_WARNING: [#def212]
libcaca-0.99.beta20/caca/monobold12.data:5774:16: warning[-Wbidi-chars=]: unpaired UTF-8 bidirectional control character detected
Error: UNICONTROL_WARNING (CWE-94): [#def213]
libcaca-0.99.beta20/caca/monobold12.data:5775: warning: bidirectional control characters: ['\u202c']
Error: UNICONTROL_WARNING (CWE-94): [#def214]
libcaca-0.99.beta20/caca/monobold12.data:5776: warning: bidirectional control characters: ['\u202d']
Error: COMPILER_WARNING: [#def215]
libcaca-0.99.beta20/caca/monobold12.data:5776:16: warning[-Wbidi-chars=]: unpaired UTF-8 bidirectional control character detected
Error: COMPILER_WARNING: [#def216]
libcaca-0.99.beta20/caca/monobold12.data:5776:16: warning[-Wbidi-chars=]: unpaired UTF-8 bidirectional control character detected
Error: UNICONTROL_WARNING (CWE-94): [#def217]
libcaca-0.99.beta20/caca/monobold12.data:5777: warning: bidirectional control characters: ['\u202e']
Error: COMPILER_WARNING: [#def218]
libcaca-0.99.beta20/caca/monobold12.data:5777:16: warning[-Wbidi-chars=]: unpaired UTF-8 bidirectional control character detected
Error: COMPILER_WARNING: [#def219]
libcaca-0.99.beta20/caca/monobold12.data:5777:16: warning[-Wbidi-chars=]: unpaired UTF-8 bidirectional control character detected
Error: UNICONTROL_WARNING (CWE-94): [#def220]
libcaca-0.99.beta20/caca/monobold12.data:5833: warning: bidirectional control characters: ['\u2066']
Error: COMPILER_WARNING: [#def221]
libcaca-0.99.beta20/caca/monobold12.data:5833:16: warning[-Wbidi-chars=]: unpaired UTF-8 bidirectional control character detected
Error: COMPILER_WARNING: [#def222]
libcaca-0.99.beta20/caca/monobold12.data:5833:16: warning[-Wbidi-chars=]: unpaired UTF-8 bidirectional control character detected
Error: UNICONTROL_WARNING (CWE-94): [#def223]
libcaca-0.99.beta20/caca/monobold12.data:5834: warning: bidirectional control characters: ['\u2067']
Error: COMPILER_WARNING: [#def224]
libcaca-0.99.beta20/caca/monobold12.data:5834:16: warning[-Wbidi-chars=]: unpaired UTF-8 bidirectional control character detected
Error: COMPILER_WARNING: [#def225]
libcaca-0.99.beta20/caca/monobold12.data:5834:16: warning[-Wbidi-chars=]: unpaired UTF-8 bidirectional control character detected
Error: UNICONTROL_WARNING (CWE-94): [#def226]
libcaca-0.99.beta20/caca/monobold12.data:5835: warning: bidirectional control characters: ['\u2068']
Error: COMPILER_WARNING: [#def227]
libcaca-0.99.beta20/caca/monobold12.data:5835:16: warning[-Wbidi-chars=]: unpaired UTF-8 bidirectional control character detected
Error: COMPILER_WARNING: [#def228]
libcaca-0.99.beta20/caca/monobold12.data:5835:16: warning[-Wbidi-chars=]: unpaired UTF-8 bidirectional control character detected
Error: UNICONTROL_WARNING (CWE-94): [#def229]
libcaca-0.99.beta20/caca/monobold12.data:5836: warning: bidirectional control characters: ['\u2069']
Error: COMPILER_WARNING (CWE-563): [#def230]
libcaca-0.99.beta20/caca/string.c: scope_hint: In function ‘caca_blit’
libcaca-0.99.beta20/caca/string.c:462:51: warning[-Wunused-but-set-variable]: variable ‘bleed_left’ set but not used
Error: COMPILER_WARNING: [#def231]
libcaca-0.99.beta20/examples/conio.c:594:18: warning[-Warray-parameter=]: argument 1 of type ‘int[]’ with mismatched bound
libcaca-0.99.beta20/examples/conio.c:74:18: note: previously declared as ‘int[8]’
Error: CPPCHECK_WARNING (CWE-476): [#def232]
libcaca-0.99.beta20/examples/event.c:58: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: events
Error: GCC_ANALYZER_WARNING (CWE-401): [#def233]
libcaca-0.99.beta20/examples/event.c:64:19: warning[-Wanalyzer-malloc-leak]: leak of ‘events’
libcaca-0.99.beta20/examples/event.c:34:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:40:10: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:41:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:47:9: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:57:14: acquire_memory: allocated here
libcaca-0.99.beta20/examples/event.c:60:19: branch_true: following ‘true’ branch (when ‘quit <= 3’)...
libcaca-0.99.beta20/examples/event.c:64:19: branch_true: ...to here
libcaca-0.99.beta20/examples/event.c:64:19: danger: ‘events’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def234]
libcaca-0.99.beta20/examples/event.c:72:16: warning[-Wanalyzer-malloc-leak]: leak of ‘events’
libcaca-0.99.beta20/examples/event.c:34:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:40:10: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:41:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:47:9: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:57:14: acquire_memory: allocated here
libcaca-0.99.beta20/examples/event.c:60:19: branch_true: following ‘true’ branch (when ‘quit <= 3’)...
libcaca-0.99.beta20/examples/event.c:64:19: branch_true: ...to here
libcaca-0.99.beta20/examples/event.c:72:16: danger: ‘events’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def235]
libcaca-0.99.beta20/examples/event.c:74:27: warning[-Wanalyzer-malloc-leak]: leak of ‘events’
libcaca-0.99.beta20/examples/event.c:34:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:40:10: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:41:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:47:9: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:57:14: acquire_memory: allocated here
libcaca-0.99.beta20/examples/event.c:60:19: branch_true: following ‘true’ branch (when ‘quit <= 3’)...
libcaca-0.99.beta20/examples/event.c:64:19: branch_true: ...to here
libcaca-0.99.beta20/examples/event.c:72:15: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/examples/event.c:74:27: branch_true: ...to here
libcaca-0.99.beta20/examples/event.c:74:27: danger: ‘events’ leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def236]
libcaca-0.99.beta20/examples/event.c:85:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘events’
libcaca-0.99.beta20/examples/event.c:34:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:40:10: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:41:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:47:9: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:57:14: acquire_memory: this call could return NULL
libcaca-0.99.beta20/examples/event.c:60:19: branch_true: following ‘true’ branch (when ‘quit <= 3’)...
libcaca-0.99.beta20/examples/event.c:64:19: branch_true: ...to here
libcaca-0.99.beta20/examples/event.c:85:13: danger: ‘events’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def237]
libcaca-0.99.beta20/examples/event.c:87:19: warning[-Wanalyzer-malloc-leak]: leak of ‘events’
libcaca-0.99.beta20/examples/event.c:34:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:40:10: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:41:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:47:9: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:57:14: acquire_memory: allocated here
libcaca-0.99.beta20/examples/event.c:60:19: branch_true: following ‘true’ branch (when ‘quit <= 3’)...
libcaca-0.99.beta20/examples/event.c:64:19: branch_true: ...to here
libcaca-0.99.beta20/examples/event.c:87:19: danger: ‘events’ leaks here; was allocated at [(5)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def238]
libcaca-0.99.beta20/examples/event.c:91:9: warning[-Wanalyzer-malloc-leak]: leak of ‘events’
libcaca-0.99.beta20/examples/event.c:34:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:40:10: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:41:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:47:9: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:57:14: acquire_memory: allocated here
libcaca-0.99.beta20/examples/event.c:60:19: branch_true: following ‘true’ branch (when ‘quit <= 3’)...
libcaca-0.99.beta20/examples/event.c:64:19: branch_true: ...to here
libcaca-0.99.beta20/examples/event.c:91:9: danger: ‘events’ leaks here; was allocated at [(5)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def239]
libcaca-0.99.beta20/examples/event.c:92:9: warning[-Wanalyzer-malloc-leak]: leak of ‘events’
libcaca-0.99.beta20/examples/event.c:34:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:40:10: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:41:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:47:9: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:57:14: acquire_memory: allocated here
libcaca-0.99.beta20/examples/event.c:60:19: branch_true: following ‘true’ branch (when ‘quit <= 3’)...
libcaca-0.99.beta20/examples/event.c:64:19: branch_true: ...to here
libcaca-0.99.beta20/examples/event.c:92:9: danger: ‘events’ leaks here; was allocated at [(5)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def240]
libcaca-0.99.beta20/examples/event.c:95:9: warning[-Wanalyzer-malloc-leak]: leak of ‘events’
libcaca-0.99.beta20/examples/event.c:34:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:40:10: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:41:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:47:9: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:57:14: acquire_memory: allocated here
libcaca-0.99.beta20/examples/event.c:60:19: branch_true: following ‘true’ branch (when ‘quit <= 3’)...
libcaca-0.99.beta20/examples/event.c:64:19: branch_true: ...to here
libcaca-0.99.beta20/examples/event.c:95:9: danger: ‘events’ leaks here; was allocated at [(5)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def241]
libcaca-0.99.beta20/examples/event.c:96:9: warning[-Wanalyzer-malloc-leak]: leak of ‘events’
libcaca-0.99.beta20/examples/event.c:34:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:40:10: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:41:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:47:9: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:57:14: acquire_memory: allocated here
libcaca-0.99.beta20/examples/event.c:60:19: branch_true: following ‘true’ branch (when ‘quit <= 3’)...
libcaca-0.99.beta20/examples/event.c:64:19: branch_true: ...to here
libcaca-0.99.beta20/examples/event.c:96:9: danger: ‘events’ leaks here; was allocated at [(5)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def242]
libcaca-0.99.beta20/examples/event.c:96:34: warning[-Wanalyzer-malloc-leak]: leak of ‘events’
libcaca-0.99.beta20/examples/event.c:34:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:40:10: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:41:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:47:9: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:57:14: acquire_memory: allocated here
libcaca-0.99.beta20/examples/event.c:60:19: branch_true: following ‘true’ branch (when ‘quit <= 3’)...
libcaca-0.99.beta20/examples/event.c:64:19: branch_true: ...to here
libcaca-0.99.beta20/examples/event.c:96:34: danger: ‘events’ leaks here; was allocated at [(5)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def243]
libcaca-0.99.beta20/examples/event.c:99:9: warning[-Wanalyzer-malloc-leak]: leak of ‘events’
libcaca-0.99.beta20/examples/event.c:34:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:40:10: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:41:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:47:9: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:57:14: acquire_memory: allocated here
libcaca-0.99.beta20/examples/event.c:60:19: branch_true: following ‘true’ branch (when ‘quit <= 3’)...
libcaca-0.99.beta20/examples/event.c:64:19: branch_true: ...to here
libcaca-0.99.beta20/examples/event.c:99:9: danger: ‘events’ leaks here; was allocated at [(5)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def244]
libcaca-0.99.beta20/examples/event.c:99:34: warning[-Wanalyzer-malloc-leak]: leak of ‘events’
libcaca-0.99.beta20/examples/event.c:34:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:40:10: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:41:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:47:9: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:57:14: acquire_memory: allocated here
libcaca-0.99.beta20/examples/event.c:60:19: branch_true: following ‘true’ branch (when ‘quit <= 3’)...
libcaca-0.99.beta20/examples/event.c:64:19: branch_true: ...to here
libcaca-0.99.beta20/examples/event.c:99:34: danger: ‘events’ leaks here; was allocated at [(5)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def245]
libcaca-0.99.beta20/examples/event.c:100:9: warning[-Wanalyzer-malloc-leak]: leak of ‘events’
libcaca-0.99.beta20/examples/event.c:34:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:40:10: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:41:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:47:9: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:57:14: acquire_memory: allocated here
libcaca-0.99.beta20/examples/event.c:60:19: branch_true: following ‘true’ branch (when ‘quit <= 3’)...
libcaca-0.99.beta20/examples/event.c:64:19: branch_true: ...to here
libcaca-0.99.beta20/examples/event.c:100:9: danger: ‘events’ leaks here; was allocated at [(5)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def246]
libcaca-0.99.beta20/examples/event.c:122:12: warning[-Wanalyzer-malloc-leak]: leak of ‘events’
libcaca-0.99.beta20/examples/event.c:28:5: enter_function: entry to ‘main’
libcaca-0.99.beta20/examples/event.c:34:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:40:10: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:41:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:47:9: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:57:14: acquire_memory: allocated here
libcaca-0.99.beta20/examples/event.c:60:19: branch_true: following ‘true’ branch (when ‘quit <= 3’)...
libcaca-0.99.beta20/examples/event.c:64:19: branch_true: ...to here
libcaca-0.99.beta20/examples/event.c:97:9: call_function: calling ‘print_event’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def247]
libcaca-0.99.beta20/examples/event.c:125:9: warning[-Wanalyzer-malloc-leak]: leak of ‘events’
libcaca-0.99.beta20/examples/event.c:28:5: enter_function: entry to ‘main’
libcaca-0.99.beta20/examples/event.c:34:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:40:10: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:41:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:47:9: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:57:14: acquire_memory: allocated here
libcaca-0.99.beta20/examples/event.c:60:19: branch_true: following ‘true’ branch (when ‘quit <= 3’)...
libcaca-0.99.beta20/examples/event.c:64:19: branch_true: ...to here
libcaca-0.99.beta20/examples/event.c:97:9: call_function: calling ‘print_event’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def248]
libcaca-0.99.beta20/examples/event.c:128:21: warning[-Wanalyzer-malloc-leak]: leak of ‘events’
libcaca-0.99.beta20/examples/event.c:28:5: enter_function: entry to ‘main’
libcaca-0.99.beta20/examples/event.c:34:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:40:10: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:41:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:47:9: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:57:14: acquire_memory: allocated here
libcaca-0.99.beta20/examples/event.c:60:19: branch_true: following ‘true’ branch (when ‘quit <= 3’)...
libcaca-0.99.beta20/examples/event.c:64:19: branch_true: ...to here
libcaca-0.99.beta20/examples/event.c:97:9: call_function: calling ‘print_event’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def249]
libcaca-0.99.beta20/examples/event.c:129:9: warning[-Wanalyzer-malloc-leak]: leak of ‘events’
libcaca-0.99.beta20/examples/event.c:28:5: enter_function: entry to ‘main’
libcaca-0.99.beta20/examples/event.c:34:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:40:10: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:41:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:47:9: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:57:14: acquire_memory: allocated here
libcaca-0.99.beta20/examples/event.c:60:19: branch_true: following ‘true’ branch (when ‘quit <= 3’)...
libcaca-0.99.beta20/examples/event.c:64:19: branch_true: ...to here
libcaca-0.99.beta20/examples/event.c:97:9: call_function: calling ‘print_event’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def250]
libcaca-0.99.beta20/examples/event.c:133:21: warning[-Wanalyzer-malloc-leak]: leak of ‘events’
libcaca-0.99.beta20/examples/event.c:28:5: enter_function: entry to ‘main’
libcaca-0.99.beta20/examples/event.c:34:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:40:10: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:41:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:47:9: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:57:14: acquire_memory: allocated here
libcaca-0.99.beta20/examples/event.c:60:19: branch_true: following ‘true’ branch (when ‘quit <= 3’)...
libcaca-0.99.beta20/examples/event.c:64:19: branch_true: ...to here
libcaca-0.99.beta20/examples/event.c:97:9: call_function: calling ‘print_event’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def251]
libcaca-0.99.beta20/examples/event.c:134:9: warning[-Wanalyzer-malloc-leak]: leak of ‘events’
libcaca-0.99.beta20/examples/event.c:28:5: enter_function: entry to ‘main’
libcaca-0.99.beta20/examples/event.c:34:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:40:10: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:41:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:47:9: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:57:14: acquire_memory: allocated here
libcaca-0.99.beta20/examples/event.c:60:19: branch_true: following ‘true’ branch (when ‘quit <= 3’)...
libcaca-0.99.beta20/examples/event.c:64:19: branch_true: ...to here
libcaca-0.99.beta20/examples/event.c:97:9: call_function: calling ‘print_event’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def252]
libcaca-0.99.beta20/examples/event.c:138:9: warning[-Wanalyzer-malloc-leak]: leak of ‘events’
libcaca-0.99.beta20/examples/event.c:28:5: enter_function: entry to ‘main’
libcaca-0.99.beta20/examples/event.c:34:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:40:10: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:41:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/event.c:47:9: branch_false: ...to here
libcaca-0.99.beta20/examples/event.c:57:14: acquire_memory: allocated here
libcaca-0.99.beta20/examples/event.c:60:19: branch_true: following ‘true’ branch (when ‘quit <= 3’)...
libcaca-0.99.beta20/examples/event.c:64:19: branch_true: ...to here
libcaca-0.99.beta20/examples/event.c:97:9: call_function: calling ‘print_event’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def253]
libcaca-0.99.beta20/examples/swallow.c:71:16: warning[-Wanalyzer-malloc-leak]: leak of ‘popen(&cmd, "r")’
libcaca-0.99.beta20/examples/swallow.c:33:7: branch_false: following ‘false’ branch (when ‘argc > 4’)...
libcaca-0.99.beta20/examples/swallow.c:39:10: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:43:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:48:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:54:10: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:57:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:60:5: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:65:16: branch_true: following ‘true’ branch (when ‘i != 4’)...
libcaca-0.99.beta20/examples/swallow.c:67:9: branch_true: ...to here
libcaca-0.99.beta20/examples/swallow.c:71:16: acquire_memory: allocated here
libcaca-0.99.beta20/examples/swallow.c:72:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:74:9: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:65:16: branch_true: following ‘true’ branch (when ‘i != 4’)...
libcaca-0.99.beta20/examples/swallow.c:67:9: branch_true: ...to here
libcaca-0.99.beta20/examples/swallow.c:71:16: danger: ‘popen(&cmd, "r")’ leaks here; was allocated at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def254]
libcaca-0.99.beta20/examples/swallow.c:74:9: warning[-Wanalyzer-malloc-leak]: leak of ‘f[i]’
libcaca-0.99.beta20/examples/swallow.c:33:7: branch_false: following ‘false’ branch (when ‘argc > 4’)...
libcaca-0.99.beta20/examples/swallow.c:39:10: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:43:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:48:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:54:10: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:57:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:60:5: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:65:16: branch_true: following ‘true’ branch (when ‘i != 4’)...
libcaca-0.99.beta20/examples/swallow.c:67:9: branch_true: ...to here
libcaca-0.99.beta20/examples/swallow.c:71:16: acquire_memory: allocated here
libcaca-0.99.beta20/examples/swallow.c:72:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:74:9: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:74:9: danger: ‘f[i]’ leaks here; was allocated at [(11)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def255]
libcaca-0.99.beta20/examples/swallow.c:81:19: warning[-Wanalyzer-malloc-leak]: leak of ‘f[3]’
libcaca-0.99.beta20/examples/swallow.c:33:7: branch_false: following ‘false’ branch (when ‘argc > 4’)...
libcaca-0.99.beta20/examples/swallow.c:39:10: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:43:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:48:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:54:10: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:57:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:60:5: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:65:16: branch_true: following ‘true’ branch (when ‘i != 4’)...
libcaca-0.99.beta20/examples/swallow.c:67:9: branch_true: ...to here
libcaca-0.99.beta20/examples/swallow.c:71:16: acquire_memory: allocated here
libcaca-0.99.beta20/examples/swallow.c:72:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:74:9: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:65:16: branch_true: following ‘true’ branch (when ‘i != 4’)...
libcaca-0.99.beta20/examples/swallow.c:67:9: branch_true: ...to here
libcaca-0.99.beta20/examples/swallow.c:72:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:74:9: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:65:16: branch_true: following ‘true’ branch (when ‘i != 4’)...
libcaca-0.99.beta20/examples/swallow.c:67:9: branch_true: ...to here
libcaca-0.99.beta20/examples/swallow.c:72:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:74:9: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:65:16: branch_true: following ‘true’ branch (when ‘i != 4’)...
libcaca-0.99.beta20/examples/swallow.c:67:9: branch_true: ...to here
libcaca-0.99.beta20/examples/swallow.c:72:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:74:9: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:65:16: branch_false: following ‘false’ branch (when ‘i == 4’)...
branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:81:19: danger: ‘f[3]’ leaks here; was allocated at [(29)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/28)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def256]
libcaca-0.99.beta20/examples/swallow.c:83:19: warning[-Wanalyzer-malloc-leak]: leak of ‘f[3]’
libcaca-0.99.beta20/examples/swallow.c:33:7: branch_false: following ‘false’ branch (when ‘argc > 4’)...
libcaca-0.99.beta20/examples/swallow.c:39:10: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:43:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:48:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:54:10: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:57:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:60:5: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:65:16: branch_true: following ‘true’ branch (when ‘i != 4’)...
libcaca-0.99.beta20/examples/swallow.c:67:9: branch_true: ...to here
libcaca-0.99.beta20/examples/swallow.c:71:16: acquire_memory: allocated here
libcaca-0.99.beta20/examples/swallow.c:72:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:74:9: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:65:16: branch_true: following ‘true’ branch (when ‘i != 4’)...
libcaca-0.99.beta20/examples/swallow.c:67:9: branch_true: ...to here
libcaca-0.99.beta20/examples/swallow.c:72:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:74:9: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:65:16: branch_true: following ‘true’ branch (when ‘i != 4’)...
libcaca-0.99.beta20/examples/swallow.c:67:9: branch_true: ...to here
libcaca-0.99.beta20/examples/swallow.c:72:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:74:9: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:65:16: branch_true: following ‘true’ branch (when ‘i != 4’)...
libcaca-0.99.beta20/examples/swallow.c:67:9: branch_true: ...to here
libcaca-0.99.beta20/examples/swallow.c:72:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:74:9: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:65:16: branch_false: following ‘false’ branch (when ‘i == 4’)...
branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:83:11: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/examples/swallow.c:83:19: branch_true: ...to here
libcaca-0.99.beta20/examples/swallow.c:83:19: danger: ‘f[3]’ leaks here; was allocated at [(29)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/28)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def257]
libcaca-0.99.beta20/examples/swallow.c:88:24: warning[-Wanalyzer-malloc-leak]: leak of ‘f[3]’
libcaca-0.99.beta20/examples/swallow.c:33:7: branch_false: following ‘false’ branch (when ‘argc > 4’)...
libcaca-0.99.beta20/examples/swallow.c:39:10: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:43:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:48:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:54:10: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:57:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:60:5: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:65:16: branch_true: following ‘true’ branch (when ‘i != 4’)...
libcaca-0.99.beta20/examples/swallow.c:67:9: branch_true: ...to here
libcaca-0.99.beta20/examples/swallow.c:71:16: acquire_memory: allocated here
libcaca-0.99.beta20/examples/swallow.c:72:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:74:9: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:65:16: branch_true: following ‘true’ branch (when ‘i != 4’)...
libcaca-0.99.beta20/examples/swallow.c:67:9: branch_true: ...to here
libcaca-0.99.beta20/examples/swallow.c:72:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:74:9: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:65:16: branch_true: following ‘true’ branch (when ‘i != 4’)...
libcaca-0.99.beta20/examples/swallow.c:67:9: branch_true: ...to here
libcaca-0.99.beta20/examples/swallow.c:72:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:74:9: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:65:16: branch_true: following ‘true’ branch (when ‘i != 4’)...
libcaca-0.99.beta20/examples/swallow.c:67:9: branch_true: ...to here
libcaca-0.99.beta20/examples/swallow.c:72:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:74:9: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:65:16: branch_false: following ‘false’ branch (when ‘i == 4’)...
branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:86:20: branch_true: following ‘true’ branch (when ‘i != 4’)...
libcaca-0.99.beta20/examples/swallow.c:89:55: branch_true: ...to here
libcaca-0.99.beta20/examples/swallow.c:88:24: danger: ‘f[3]’ leaks here; was allocated at [(29)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/28)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def258]
libcaca-0.99.beta20/examples/swallow.c:96:17: warning[-Wanalyzer-malloc-leak]: leak of ‘f[3]’
libcaca-0.99.beta20/examples/swallow.c:33:7: branch_false: following ‘false’ branch (when ‘argc > 4’)...
libcaca-0.99.beta20/examples/swallow.c:39:10: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:43:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:48:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:54:10: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:57:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:60:5: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:65:16: branch_true: following ‘true’ branch (when ‘i != 4’)...
libcaca-0.99.beta20/examples/swallow.c:67:9: branch_true: ...to here
libcaca-0.99.beta20/examples/swallow.c:71:16: acquire_memory: allocated here
libcaca-0.99.beta20/examples/swallow.c:72:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:74:9: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:65:16: branch_true: following ‘true’ branch (when ‘i != 4’)...
libcaca-0.99.beta20/examples/swallow.c:67:9: branch_true: ...to here
libcaca-0.99.beta20/examples/swallow.c:72:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:74:9: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:65:16: branch_true: following ‘true’ branch (when ‘i != 4’)...
libcaca-0.99.beta20/examples/swallow.c:67:9: branch_true: ...to here
libcaca-0.99.beta20/examples/swallow.c:72:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:74:9: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:65:16: branch_true: following ‘true’ branch (when ‘i != 4’)...
libcaca-0.99.beta20/examples/swallow.c:67:9: branch_true: ...to here
libcaca-0.99.beta20/examples/swallow.c:72:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:74:9: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:65:16: branch_false: following ‘false’ branch (when ‘i == 4’)...
branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:86:20: branch_true: following ‘true’ branch (when ‘i != 4’)...
libcaca-0.99.beta20/examples/swallow.c:89:55: branch_true: ...to here
libcaca-0.99.beta20/examples/swallow.c:91:15: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/examples/swallow.c:93:26: branch_true: ...to here
libcaca-0.99.beta20/examples/swallow.c:96:17: danger: ‘f[3]’ leaks here; was allocated at [(29)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/28)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def259]
libcaca-0.99.beta20/examples/swallow.c:98:17: warning[-Wanalyzer-malloc-leak]: leak of ‘f[3]’
libcaca-0.99.beta20/examples/swallow.c:33:7: branch_false: following ‘false’ branch (when ‘argc > 4’)...
libcaca-0.99.beta20/examples/swallow.c:39:10: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:43:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:48:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:54:10: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:57:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:60:5: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:65:16: branch_true: following ‘true’ branch (when ‘i != 4’)...
libcaca-0.99.beta20/examples/swallow.c:67:9: branch_true: ...to here
libcaca-0.99.beta20/examples/swallow.c:71:16: acquire_memory: allocated here
libcaca-0.99.beta20/examples/swallow.c:72:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:74:9: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:65:16: branch_true: following ‘true’ branch (when ‘i != 4’)...
libcaca-0.99.beta20/examples/swallow.c:67:9: branch_true: ...to here
libcaca-0.99.beta20/examples/swallow.c:72:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:74:9: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:65:16: branch_true: following ‘true’ branch (when ‘i != 4’)...
libcaca-0.99.beta20/examples/swallow.c:67:9: branch_true: ...to here
libcaca-0.99.beta20/examples/swallow.c:72:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:74:9: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:65:16: branch_true: following ‘true’ branch (when ‘i != 4’)...
libcaca-0.99.beta20/examples/swallow.c:67:9: branch_true: ...to here
libcaca-0.99.beta20/examples/swallow.c:72:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/examples/swallow.c:74:9: branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:65:16: branch_false: following ‘false’ branch (when ‘i == 4’)...
branch_false: ...to here
libcaca-0.99.beta20/examples/swallow.c:86:20: branch_true: following ‘true’ branch (when ‘i != 4’)...
libcaca-0.99.beta20/examples/swallow.c:89:55: branch_true: ...to here
libcaca-0.99.beta20/examples/swallow.c:91:15: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/examples/swallow.c:93:26: branch_true: ...to here
libcaca-0.99.beta20/examples/swallow.c:98:17: danger: ‘f[3]’ leaks here; was allocated at [(29)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/28)
Error: COMPILER_WARNING (CWE-252): [#def260]
libcaca-0.99.beta20/examples/swallow.c: scope_hint: In function ‘main’
libcaca-0.99.beta20/examples/swallow.c:103:17: warning[-Wunused-result]: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’
Error: CPPCHECK_WARNING (CWE-476): [#def261]
libcaca-0.99.beta20/src/aafire.c:145: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: bitmap
Error: COMPILER_WARNING (CWE-563): [#def262]
libcaca-0.99.beta20/src/aafire.c: scope_hint: In function ‘firemain’
libcaca-0.99.beta20/src/aafire.c:185:25: warning[-Wunused-but-set-variable]: variable ‘i’ set but not used
Error: CPPCHECK_WARNING (CWE-476): [#def263]
libcaca-0.99.beta20/src/cacaclock.c:59: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: charTime
Error: GCC_ANALYZER_WARNING (CWE-688): [#def264]
libcaca-0.99.beta20/src/cacaclock.c:59:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘charTime’ where non-null expected
libcaca-0.99.beta20/src/cacaclock.c:56:22: acquire_memory: this call could return NULL
libcaca-0.99.beta20/src/cacaclock.c:59:5: danger: argument 1 (‘charTime’) from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: COMPILER_WARNING (CWE-563): [#def265]
libcaca-0.99.beta20/src/cacademo.c: scope_hint: In function ‘do_plasma’
libcaca-0.99.beta20/src/cacademo.c:408:22: warning[-Wunused-but-set-variable]: variable ‘x’ set but not used
Error: CPPCHECK_WARNING (CWE-476): [#def266]
libcaca-0.99.beta20/src/cacademo.c:716: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: screen
Error: GCC_ANALYZER_WARNING (CWE-775): [#def267]
libcaca-0.99.beta20/src/cacaplay.c:49:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
libcaca-0.99.beta20/src/cacaplay.c:35:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaplay.c:41:14: acquire_resource: opened here
libcaca-0.99.beta20/src/cacaplay.c:42:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaplay.c:49:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaplay.c:49:10: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def268]
libcaca-0.99.beta20/src/cacaplay.c:50:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
libcaca-0.99.beta20/src/cacaplay.c:35:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaplay.c:41:14: acquire_resource: opened here
libcaca-0.99.beta20/src/cacaplay.c:42:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaplay.c:49:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaplay.c:50:11: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def269]
libcaca-0.99.beta20/src/cacaplay.c:56:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
libcaca-0.99.beta20/src/cacaplay.c:35:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaplay.c:41:14: acquire_resource: opened here
libcaca-0.99.beta20/src/cacaplay.c:42:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaplay.c:49:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaplay.c:51:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaplay.c:56:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaplay.c:56:10: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def270]
libcaca-0.99.beta20/src/cacaplay.c:67:19: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
libcaca-0.99.beta20/src/cacaplay.c:35:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaplay.c:41:14: acquire_resource: opened here
libcaca-0.99.beta20/src/cacaplay.c:42:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaplay.c:49:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaplay.c:51:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaplay.c:56:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaplay.c:57:7: branch_false: following ‘false’ branch...
branch_false: ...to here
libcaca-0.99.beta20/src/cacaplay.c:67:19: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def271]
libcaca-0.99.beta20/src/cacaplay.c:70:19: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
libcaca-0.99.beta20/src/cacaplay.c:35:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaplay.c:41:14: acquire_resource: opened here
libcaca-0.99.beta20/src/cacaplay.c:42:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaplay.c:49:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaplay.c:51:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaplay.c:56:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaplay.c:57:7: branch_false: following ‘false’ branch...
branch_false: ...to here
libcaca-0.99.beta20/src/cacaplay.c:70:11: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaplay.c:70:19: branch_true: ...to here
libcaca-0.99.beta20/src/cacaplay.c:70:19: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-401): [#def272]
libcaca-0.99.beta20/src/cacaplay.c:76: error[memleakOnRealloc]: Common realloc mistake: 'buf' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-775): [#def273]
libcaca-0.99.beta20/src/cacaplay.c:91:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
libcaca-0.99.beta20/src/cacaplay.c:35:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaplay.c:41:14: acquire_resource: opened here
libcaca-0.99.beta20/src/cacaplay.c:42:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaplay.c:49:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaplay.c:51:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaplay.c:56:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaplay.c:57:7: branch_false: following ‘false’ branch...
branch_false: ...to here
libcaca-0.99.beta20/src/cacaplay.c:73:11: branch_true: following ‘true’ branch (when ‘bytes == 0’)...
libcaca-0.99.beta20/src/cacaplay.c:76:32: branch_true: ...to here
libcaca-0.99.beta20/src/cacaplay.c:78:15: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaplay.c:84:20: branch_false: ...to here
libcaca-0.99.beta20/src/cacaplay.c:91:17: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def274]
libcaca-0.99.beta20/src/cacaplay.c:91:17: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
libcaca-0.99.beta20/src/cacaplay.c:51:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaplay.c:56:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaplay.c:57:7: branch_false: following ‘false’ branch...
branch_false: ...to here
libcaca-0.99.beta20/src/cacaplay.c:73:11: branch_true: following ‘true’ branch (when ‘bytes == 0’)...
libcaca-0.99.beta20/src/cacaplay.c:76:32: branch_true: ...to here
libcaca-0.99.beta20/src/cacaplay.c:78:15: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaplay.c:84:20: branch_false: ...to here
libcaca-0.99.beta20/src/cacaplay.c:91:17: danger: ‘buf’ leaks here; was allocated at [(7)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def275]
libcaca-0.99.beta20/src/cacaplay.c:98:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
libcaca-0.99.beta20/src/cacaplay.c:35:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaplay.c:41:14: acquire_resource: opened here
libcaca-0.99.beta20/src/cacaplay.c:42:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaplay.c:49:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaplay.c:51:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaplay.c:56:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaplay.c:57:7: branch_false: following ‘false’ branch...
branch_false: ...to here
libcaca-0.99.beta20/src/cacaplay.c:73:11: branch_true: following ‘true’ branch (when ‘bytes == 0’)...
libcaca-0.99.beta20/src/cacaplay.c:76:32: branch_true: ...to here
libcaca-0.99.beta20/src/cacaplay.c:78:15: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaplay.c:84:20: branch_false: ...to here
libcaca-0.99.beta20/src/cacaplay.c:93:11: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaplay.c:95:13: branch_true: ...to here
libcaca-0.99.beta20/src/cacaplay.c:98:13: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def276]
libcaca-0.99.beta20/src/cacaplay.c:98:13: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
libcaca-0.99.beta20/src/cacaplay.c:51:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaplay.c:56:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaplay.c:57:7: branch_false: following ‘false’ branch...
branch_false: ...to here
libcaca-0.99.beta20/src/cacaplay.c:73:11: branch_true: following ‘true’ branch (when ‘bytes == 0’)...
libcaca-0.99.beta20/src/cacaplay.c:76:32: branch_true: ...to here
libcaca-0.99.beta20/src/cacaplay.c:78:15: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaplay.c:84:20: branch_false: ...to here
libcaca-0.99.beta20/src/cacaplay.c:93:11: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaplay.c:95:13: branch_true: ...to here
libcaca-0.99.beta20/src/cacaplay.c:98:13: danger: ‘buf’ leaks here; was allocated at [(7)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def277]
libcaca-0.99.beta20/src/cacaplay.c:99:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
libcaca-0.99.beta20/src/cacaplay.c:35:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaplay.c:41:14: acquire_resource: opened here
libcaca-0.99.beta20/src/cacaplay.c:42:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaplay.c:49:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaplay.c:51:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaplay.c:56:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaplay.c:57:7: branch_false: following ‘false’ branch...
branch_false: ...to here
libcaca-0.99.beta20/src/cacaplay.c:73:11: branch_true: following ‘true’ branch (when ‘bytes == 0’)...
libcaca-0.99.beta20/src/cacaplay.c:76:32: branch_true: ...to here
libcaca-0.99.beta20/src/cacaplay.c:78:15: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaplay.c:84:20: branch_false: ...to here
libcaca-0.99.beta20/src/cacaplay.c:93:11: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaplay.c:95:13: branch_true: ...to here
libcaca-0.99.beta20/src/cacaplay.c:99:13: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def278]
libcaca-0.99.beta20/src/cacaplay.c:99:13: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
libcaca-0.99.beta20/src/cacaplay.c:51:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaplay.c:56:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaplay.c:57:7: branch_false: following ‘false’ branch...
branch_false: ...to here
libcaca-0.99.beta20/src/cacaplay.c:73:11: branch_true: following ‘true’ branch (when ‘bytes == 0’)...
libcaca-0.99.beta20/src/cacaplay.c:76:32: branch_true: ...to here
libcaca-0.99.beta20/src/cacaplay.c:78:15: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaplay.c:84:20: branch_false: ...to here
libcaca-0.99.beta20/src/cacaplay.c:93:11: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaplay.c:95:13: branch_true: ...to here
libcaca-0.99.beta20/src/cacaplay.c:99:13: danger: ‘buf’ leaks here; was allocated at [(7)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/6)
Error: CPPCHECK_WARNING (CWE-476): [#def279]
libcaca-0.99.beta20/src/cacaserver.c:151: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: server
Error: GCC_ANALYZER_WARNING (CWE-476): [#def280]
libcaca-0.99.beta20/src/cacaserver.c:151:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘server’
libcaca-0.99.beta20/src/cacaserver.c:149:14: acquire_memory: this call could return NULL
libcaca-0.99.beta20/src/cacaserver.c:151:5: danger: ‘server’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def281]
libcaca-0.99.beta20/src/cacaserver.c:152: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: server
Error: CPPCHECK_WARNING (CWE-476): [#def282]
libcaca-0.99.beta20/src/cacaserver.c:154: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: server
Error: CPPCHECK_WARNING (CWE-476): [#def283]
libcaca-0.99.beta20/src/cacaserver.c:155: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: server
Error: CPPCHECK_WARNING (CWE-476): [#def284]
libcaca-0.99.beta20/src/cacaserver.c:156: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: server
Error: CPPCHECK_WARNING (CWE-476): [#def285]
libcaca-0.99.beta20/src/cacaserver.c:159: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: server
Error: CPPCHECK_WARNING (CWE-476): [#def286]
libcaca-0.99.beta20/src/cacaserver.c:160: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: server
Error: CPPCHECK_WARNING (CWE-909): [#def287]
libcaca-0.99.beta20/src/cacaserver.c:161: error[uninitStructMember]: Uninitialized struct member: server.width
Error: GCC_ANALYZER_WARNING (CWE-476): [#def288]
libcaca-0.99.beta20/src/cacaserver.c:161:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tmp’
Error: CPPCHECK_WARNING (CWE-476): [#def289]
libcaca-0.99.beta20/src/cacaserver.c:162: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: server
Error: CPPCHECK_WARNING (CWE-909): [#def290]
libcaca-0.99.beta20/src/cacaserver.c:163: error[uninitStructMember]: Uninitialized struct member: server.height
Error: CPPCHECK_WARNING (CWE-476): [#def291]
libcaca-0.99.beta20/src/cacaserver.c:164: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: server
Error: CPPCHECK_WARNING (CWE-476): [#def292]
libcaca-0.99.beta20/src/cacaserver.c:171: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: server
Error: GCC_ANALYZER_WARNING (CWE-401): [#def293]
libcaca-0.99.beta20/src/cacaserver.c:172:13: warning[-Wanalyzer-malloc-leak]: leak of ‘server’
libcaca-0.99.beta20/src/cacaserver.c:149:14: acquire_memory: allocated here
libcaca-0.99.beta20/src/cacaserver.c:172:13: danger: ‘server’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-401): [#def294]
libcaca-0.99.beta20/src/cacaserver.c:176: error[memleak]: Memory leak: server
Error: CPPCHECK_WARNING (CWE-401): [#def295]
libcaca-0.99.beta20/src/cacaserver.c:176: error[memleak]: Memory leak: server.input
Error: GCC_ANALYZER_WARNING (CWE-775): [#def296]
libcaca-0.99.beta20/src/cacaserver.c:181:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor
libcaca-0.99.beta20/src/cacaserver.c:173:8: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:179:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:179:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaserver.c:181:19: acquire_resource: stream socket created here
libcaca-0.99.beta20/src/cacaserver.c:181:12: branch_false: following ‘false’ branch (when ‘fd != -1’)...
libcaca-0.99.beta20/src/cacaserver.c:186:12: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:197:13: acquire_resource: socket created here
libcaca-0.99.beta20/src/cacaserver.c:197:12: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaserver.c:199:13: branch_true: ...to here
libcaca-0.99.beta20/src/cacaserver.c:179:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaserver.c:181:12: danger: leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def297]
libcaca-0.99.beta20/src/cacaserver.c:183:13: warning[-Wanalyzer-malloc-leak]: leak of ‘server’
libcaca-0.99.beta20/src/cacaserver.c:149:14: acquire_memory: allocated here
libcaca-0.99.beta20/src/cacaserver.c:173:8: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:179:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:179:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaserver.c:181:12: branch_true: following ‘true’ branch (when ‘fd == -1’)...
libcaca-0.99.beta20/src/cacaserver.c:183:13: branch_true: ...to here
libcaca-0.99.beta20/src/cacaserver.c:183:13: danger: ‘server’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def298]
libcaca-0.99.beta20/src/cacaserver.c:188:13: warning[-Wanalyzer-malloc-leak]: leak of ‘server’
libcaca-0.99.beta20/src/cacaserver.c:149:14: acquire_memory: allocated here
libcaca-0.99.beta20/src/cacaserver.c:173:8: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:179:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:179:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaserver.c:181:12: branch_false: following ‘false’ branch (when ‘fd != -1’)...
libcaca-0.99.beta20/src/cacaserver.c:186:12: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:186:11: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaserver.c:188:13: branch_true: ...to here
libcaca-0.99.beta20/src/cacaserver.c:188:13: danger: ‘server’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def299]
libcaca-0.99.beta20/src/cacaserver.c:194:17: warning[-Wanalyzer-malloc-leak]: leak of ‘server’
libcaca-0.99.beta20/src/cacaserver.c:149:14: acquire_memory: allocated here
libcaca-0.99.beta20/src/cacaserver.c:173:8: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:179:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:179:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaserver.c:181:12: branch_false: following ‘false’ branch (when ‘fd != -1’)...
libcaca-0.99.beta20/src/cacaserver.c:186:12: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:186:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:191:13: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:191:12: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaserver.c:192:17: branch_true: ...to here
libcaca-0.99.beta20/src/cacaserver.c:192:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaserver.c:194:17: branch_true: ...to here
libcaca-0.99.beta20/src/cacaserver.c:194:17: danger: ‘server’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def300]
libcaca-0.99.beta20/src/cacaserver.c:199:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
libcaca-0.99.beta20/src/cacaserver.c:173:8: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:179:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:179:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaserver.c:181:19: acquire_resource: stream socket created here
libcaca-0.99.beta20/src/cacaserver.c:181:12: branch_false: following ‘false’ branch (when ‘fd != -1’)...
libcaca-0.99.beta20/src/cacaserver.c:186:12: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:186:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:191:13: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:197:13: acquire_resource: socket created here
libcaca-0.99.beta20/src/cacaserver.c:197:12: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaserver.c:199:13: branch_true: ...to here
libcaca-0.99.beta20/src/cacaserver.c:199:13: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def301]
libcaca-0.99.beta20/src/cacaserver.c:199:13: warning[-Wanalyzer-malloc-leak]: leak of ‘server’
libcaca-0.99.beta20/src/cacaserver.c:149:14: acquire_memory: allocated here
libcaca-0.99.beta20/src/cacaserver.c:173:8: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:179:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:179:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaserver.c:181:12: branch_false: following ‘false’ branch (when ‘fd != -1’)...
libcaca-0.99.beta20/src/cacaserver.c:186:12: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:186:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:191:13: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:197:12: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaserver.c:199:13: branch_true: ...to here
libcaca-0.99.beta20/src/cacaserver.c:199:13: danger: ‘server’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def302]
libcaca-0.99.beta20/src/cacaserver.c:202:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
libcaca-0.99.beta20/src/cacaserver.c:173:8: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:179:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:179:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaserver.c:181:19: acquire_resource: stream socket created here
libcaca-0.99.beta20/src/cacaserver.c:181:12: branch_false: following ‘false’ branch (when ‘fd != -1’)...
libcaca-0.99.beta20/src/cacaserver.c:186:12: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:186:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:191:13: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:197:12: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:202:17: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:202:17: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def303]
libcaca-0.99.beta20/src/cacaserver.c:202:17: warning[-Wanalyzer-malloc-leak]: leak of ‘server’
libcaca-0.99.beta20/src/cacaserver.c:149:14: acquire_memory: allocated here
libcaca-0.99.beta20/src/cacaserver.c:173:8: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:179:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:179:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaserver.c:181:12: branch_false: following ‘false’ branch (when ‘fd != -1’)...
libcaca-0.99.beta20/src/cacaserver.c:186:12: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:186:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:191:13: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:197:12: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:202:17: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:202:17: danger: ‘server’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def304]
libcaca-0.99.beta20/src/cacaserver.c:203:9: warning[-Wanalyzer-malloc-leak]: leak of ‘server’
libcaca-0.99.beta20/src/cacaserver.c:149:14: acquire_memory: allocated here
libcaca-0.99.beta20/src/cacaserver.c:173:8: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:179:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:179:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaserver.c:181:12: branch_false: following ‘false’ branch (when ‘fd != -1’)...
libcaca-0.99.beta20/src/cacaserver.c:186:12: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:186:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:191:13: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:197:12: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:202:17: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:203:9: danger: ‘server’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def305]
libcaca-0.99.beta20/src/cacaserver.c:206:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
libcaca-0.99.beta20/src/cacaserver.c:173:8: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:179:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:179:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaserver.c:181:19: acquire_resource: stream socket created here
libcaca-0.99.beta20/src/cacaserver.c:181:12: branch_false: following ‘false’ branch (when ‘fd != -1’)...
libcaca-0.99.beta20/src/cacaserver.c:186:12: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:186:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:191:13: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:197:12: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:202:17: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:204:11: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaserver.c:206:13: branch_true: ...to here
libcaca-0.99.beta20/src/cacaserver.c:206:13: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def306]
libcaca-0.99.beta20/src/cacaserver.c:206:13: warning[-Wanalyzer-malloc-leak]: leak of ‘server’
libcaca-0.99.beta20/src/cacaserver.c:149:14: acquire_memory: allocated here
libcaca-0.99.beta20/src/cacaserver.c:173:8: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:179:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:179:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaserver.c:181:12: branch_false: following ‘false’ branch (when ‘fd != -1’)...
libcaca-0.99.beta20/src/cacaserver.c:186:12: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:186:11: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:191:13: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:197:12: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:202:17: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:204:11: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaserver.c:206:13: branch_true: ...to here
libcaca-0.99.beta20/src/cacaserver.c:206:13: danger: ‘server’ leaks here; was allocated at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-909): [#def307]
libcaca-0.99.beta20/src/cacaserver.c:210: error[uninitStructMember]: Uninitialized struct member: server.sock_count
Error: GCC_ANALYZER_WARNING (CWE-775): [#def308]
libcaca-0.99.beta20/src/cacaserver.c:224:22: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
libcaca-0.99.beta20/src/cacaserver.c:173:8: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:179:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:179:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaserver.c:181:19: acquire_resource: stream socket created here
libcaca-0.99.beta20/src/cacaserver.c:181:12: branch_false: following ‘false’ branch (when ‘fd != -1’)...
libcaca-0.99.beta20/src/cacaserver.c:186:12: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:197:13: acquire_resource: socket created here
libcaca-0.99.beta20/src/cacaserver.c:197:12: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaserver.c:199:13: branch_true: ...to here
libcaca-0.99.beta20/src/cacaserver.c:218:8: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:224:22: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:224:22: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def309]
libcaca-0.99.beta20/src/cacaserver.c:224:22: warning[-Wanalyzer-malloc-leak]: leak of ‘server’
libcaca-0.99.beta20/src/cacaserver.c:149:14: acquire_memory: allocated here
libcaca-0.99.beta20/src/cacaserver.c:173:8: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:179:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:218:8: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:224:22: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:224:22: danger: ‘server’ leaks here; was allocated at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-252): [#def310]
libcaca-0.99.beta20/src/cacaserver.c: scope_hint: In function ‘main’
libcaca-0.99.beta20/src/cacaserver.c:245:13: warning[-Wunused-result]: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def311]
libcaca-0.99.beta20/src/cacaserver.c:249:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
libcaca-0.99.beta20/src/cacaserver.c:173:8: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:179:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:179:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaserver.c:181:19: acquire_resource: stream socket created here
libcaca-0.99.beta20/src/cacaserver.c:181:12: branch_false: following ‘false’ branch (when ‘fd != -1’)...
libcaca-0.99.beta20/src/cacaserver.c:186:12: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:197:13: acquire_resource: socket created here
libcaca-0.99.beta20/src/cacaserver.c:197:12: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaserver.c:199:13: branch_true: ...to here
libcaca-0.99.beta20/src/cacaserver.c:218:8: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:224:22: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:239:21: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:243:12: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:249:15: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def312]
libcaca-0.99.beta20/src/cacaserver.c:249:15: warning[-Wanalyzer-malloc-leak]: leak of ‘server’
libcaca-0.99.beta20/src/cacaserver.c:149:14: acquire_memory: allocated here
libcaca-0.99.beta20/src/cacaserver.c:173:8: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:179:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:218:8: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:224:22: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:239:21: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:243:12: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:249:15: danger: ‘server’ leaks here; was allocated at [(1)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-252): [#def313]
libcaca-0.99.beta20/src/cacaserver.c:253:13: warning[-Wunused-result]: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def314]
libcaca-0.99.beta20/src/cacaserver.c:260:22: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
libcaca-0.99.beta20/src/cacaserver.c:173:8: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:179:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:179:20: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaserver.c:181:19: acquire_resource: stream socket created here
libcaca-0.99.beta20/src/cacaserver.c:181:12: branch_false: following ‘false’ branch (when ‘fd != -1’)...
libcaca-0.99.beta20/src/cacaserver.c:186:12: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:197:13: acquire_resource: socket created here
libcaca-0.99.beta20/src/cacaserver.c:197:12: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaserver.c:199:13: branch_true: ...to here
libcaca-0.99.beta20/src/cacaserver.c:218:8: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:224:22: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:239:21: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:243:12: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:249:15: branch_false: following ‘false’ branch...
branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:260:22: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def315]
libcaca-0.99.beta20/src/cacaserver.c:260:22: warning[-Wanalyzer-malloc-leak]: leak of ‘server’
libcaca-0.99.beta20/src/cacaserver.c:149:14: acquire_memory: allocated here
libcaca-0.99.beta20/src/cacaserver.c:173:8: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:179:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:218:8: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:224:22: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:239:21: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:243:12: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:249:15: branch_false: following ‘false’ branch...
branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:260:22: danger: ‘server’ leaks here; was allocated at [(1)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def316]
libcaca-0.99.beta20/src/cacaserver.c:349:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘accept(sockfd, & remote_addr, & len)’
libcaca-0.99.beta20/src/cacaserver.c:356:13: enter_function: entry to ‘manage_connections’
libcaca-0.99.beta20/src/cacaserver.c:363:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:366:5: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:367:5: call_function: calling ‘fprint_ip’ from ‘manage_connections’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def317]
libcaca-0.99.beta20/src/cacaserver.c:349:15: warning[-Wanalyzer-malloc-leak]: leak of ‘server’
libcaca-0.99.beta20/src/cacaserver.c:134:5: enter_function: entry to ‘main’
libcaca-0.99.beta20/src/cacaserver.c:149:14: acquire_memory: allocated here
libcaca-0.99.beta20/src/cacaserver.c:173:8: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:179:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:218:8: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:224:22: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:240:13: call_function: calling ‘manage_connections’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def318]
libcaca-0.99.beta20/src/cacaserver.c:371:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘accept(sockfd, & remote_addr, & len)’
libcaca-0.99.beta20/src/cacaserver.c:363:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:366:5: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:371:13: danger: ‘accept(sockfd, & remote_addr, & len)’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def319]
libcaca-0.99.beta20/src/cacaserver.c:371:13: warning[-Wanalyzer-malloc-leak]: leak of ‘server’
libcaca-0.99.beta20/src/cacaserver.c:134:5: enter_function: entry to ‘main’
libcaca-0.99.beta20/src/cacaserver.c:149:14: acquire_memory: allocated here
libcaca-0.99.beta20/src/cacaserver.c:173:8: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:179:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:218:8: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:224:22: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:240:13: call_function: calling ‘manage_connections’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def320]
libcaca-0.99.beta20/src/cacaserver.c:372:5: warning[-Wanalyzer-malloc-leak]: leak of ‘server’
libcaca-0.99.beta20/src/cacaserver.c:134:5: enter_function: entry to ‘main’
libcaca-0.99.beta20/src/cacaserver.c:149:14: acquire_memory: allocated here
libcaca-0.99.beta20/src/cacaserver.c:173:8: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:179:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:218:8: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:224:22: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:240:13: call_function: calling ‘manage_connections’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def321]
libcaca-0.99.beta20/src/cacaserver.c:379:13: warning[-Wanalyzer-malloc-leak]: leak of ‘server’
libcaca-0.99.beta20/src/cacaserver.c:134:5: enter_function: entry to ‘main’
libcaca-0.99.beta20/src/cacaserver.c:149:14: acquire_memory: allocated here
libcaca-0.99.beta20/src/cacaserver.c:173:8: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:179:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:218:8: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:224:22: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:240:13: call_function: calling ‘manage_connections’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def322]
libcaca-0.99.beta20/src/cacaserver.c:603:19: warning[-Wanalyzer-malloc-leak]: leak of ‘server’
libcaca-0.99.beta20/src/cacaserver.c:134:5: enter_function: entry to ‘main’
libcaca-0.99.beta20/src/cacaserver.c:149:14: acquire_memory: allocated here
libcaca-0.99.beta20/src/cacaserver.c:173:8: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:179:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:218:8: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaserver.c:224:22: branch_false: ...to here
libcaca-0.99.beta20/src/cacaserver.c:240:13: call_function: calling ‘manage_connections’ from ‘main’
Error: CPPCHECK_WARNING (CWE-401): [#def323]
libcaca-0.99.beta20/src/cacaview.c:118: error[memleakOnRealloc]: Common realloc mistake: 'list' nulled but not freed upon failure
Error: CPPCHECK_WARNING (CWE-476): [#def324]
libcaca-0.99.beta20/src/cacaview.c:121: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: list
Error: GCC_ANALYZER_WARNING (CWE-476): [#def325]
libcaca-0.99.beta20/src/cacaview.c:121:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘list’
libcaca-0.99.beta20/src/cacaview.c:76:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaview.c:82:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaview.c:83:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaview.c:90:5: branch_false: ...to here
libcaca-0.99.beta20/src/cacaview.c:97:16: branch_true: following ‘true’ branch (when ‘i != 50’)...
libcaca-0.99.beta20/src/cacaview.c:98:26: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:102:16: branch_true: following ‘true’ branch (when ‘i != 100’)...
libcaca-0.99.beta20/src/cacaview.c:103:27: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:106:16: branch_true: following ‘true’ branch (when ‘i < argc’)...
libcaca-0.99.beta20/src/cacaview.c:109:11: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:109:11: branch_true: following ‘true’ branch (when ‘opts != 0’)...
libcaca-0.99.beta20/src/cacaview.c:109:24: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:109:12: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaview.c:117:11: branch_false: ...to here
libcaca-0.99.beta20/src/cacaview.c:117:11: branch_false: following ‘false’ branch (when ‘items == 0’)...
libcaca-0.99.beta20/src/cacaview.c:120:20: branch_false: ...to here
libcaca-0.99.beta20/src/cacaview.c:120:20: acquire_memory: this call could return NULL
libcaca-0.99.beta20/src/cacaview.c:121:9: danger: ‘list + (long unsigned int)items * 8’ could be NULL: unchecked value from [(17)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def326]
libcaca-0.99.beta20/src/cacaview.c:317:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘buffer’ where non-null expected
libcaca-0.99.beta20/src/cacaview.c:76:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaview.c:82:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaview.c:83:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaview.c:90:5: branch_false: ...to here
libcaca-0.99.beta20/src/cacaview.c:97:16: branch_true: following ‘true’ branch (when ‘i != 50’)...
libcaca-0.99.beta20/src/cacaview.c:98:26: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:102:16: branch_true: following ‘true’ branch (when ‘i != 100’)...
libcaca-0.99.beta20/src/cacaview.c:103:27: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:106:16: branch_true: following ‘true’ branch (when ‘i < argc’)...
libcaca-0.99.beta20/src/cacaview.c:109:11: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:109:11: branch_true: following ‘true’ branch (when ‘opts != 0’)...
libcaca-0.99.beta20/src/cacaview.c:109:24: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:117:11: branch_false: following ‘false’ branch (when ‘items == 0’)...
libcaca-0.99.beta20/src/cacaview.c:120:20: branch_false: ...to here
libcaca-0.99.beta20/src/cacaview.c:128:11: branch_true: following ‘true’ branch (when ‘quit == 0’)...
libcaca-0.99.beta20/src/cacaview.c:138:11: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:138:11: branch_true: following ‘true’ branch (when ‘update != 0’)...
libcaca-0.99.beta20/src/cacaview.c:139:21: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:143:15: branch_false: following ‘false’ branch (when ‘event == 0’)...
libcaca-0.99.beta20/src/cacaview.c:307:12: branch_false: ...to here
libcaca-0.99.beta20/src/cacaview.c:307:11: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaview.c:310:64: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:315:22: acquire_memory: this call could return NULL
libcaca-0.99.beta20/src/cacaview.c:317:13: danger: argument 1 (‘buffer’) from [(23)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/22) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def327]
libcaca-0.99.beta20/src/cacaview.c:319:13: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
libcaca-0.99.beta20/src/cacaview.c:76:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaview.c:82:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaview.c:83:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaview.c:90:5: branch_false: ...to here
libcaca-0.99.beta20/src/cacaview.c:97:16: branch_true: following ‘true’ branch (when ‘i != 50’)...
libcaca-0.99.beta20/src/cacaview.c:98:26: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:102:16: branch_true: following ‘true’ branch (when ‘i != 100’)...
libcaca-0.99.beta20/src/cacaview.c:103:27: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:106:16: branch_true: following ‘true’ branch (when ‘i < argc’)...
libcaca-0.99.beta20/src/cacaview.c:109:11: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:109:11: branch_true: following ‘true’ branch (when ‘opts != 0’)...
libcaca-0.99.beta20/src/cacaview.c:109:24: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:117:11: branch_false: following ‘false’ branch (when ‘items == 0’)...
libcaca-0.99.beta20/src/cacaview.c:120:20: branch_false: ...to here
libcaca-0.99.beta20/src/cacaview.c:128:11: branch_true: following ‘true’ branch (when ‘quit == 0’)...
libcaca-0.99.beta20/src/cacaview.c:138:11: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:138:11: branch_true: following ‘true’ branch (when ‘update != 0’)...
libcaca-0.99.beta20/src/cacaview.c:139:21: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:143:15: branch_false: following ‘false’ branch (when ‘event == 0’)...
libcaca-0.99.beta20/src/cacaview.c:307:12: branch_false: ...to here
libcaca-0.99.beta20/src/cacaview.c:307:11: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaview.c:310:64: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:315:22: acquire_memory: allocated here
libcaca-0.99.beta20/src/cacaview.c:319:13: danger: ‘buffer’ leaks here; was allocated at [(23)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/22)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def328]
libcaca-0.99.beta20/src/cacaview.c:320:13: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
libcaca-0.99.beta20/src/cacaview.c:76:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaview.c:82:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaview.c:83:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaview.c:90:5: branch_false: ...to here
libcaca-0.99.beta20/src/cacaview.c:97:16: branch_true: following ‘true’ branch (when ‘i != 50’)...
libcaca-0.99.beta20/src/cacaview.c:98:26: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:102:16: branch_true: following ‘true’ branch (when ‘i != 100’)...
libcaca-0.99.beta20/src/cacaview.c:103:27: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:106:16: branch_true: following ‘true’ branch (when ‘i < argc’)...
libcaca-0.99.beta20/src/cacaview.c:109:11: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:109:11: branch_true: following ‘true’ branch (when ‘opts != 0’)...
libcaca-0.99.beta20/src/cacaview.c:109:24: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:117:11: branch_false: following ‘false’ branch (when ‘items == 0’)...
libcaca-0.99.beta20/src/cacaview.c:120:20: branch_false: ...to here
libcaca-0.99.beta20/src/cacaview.c:128:11: branch_true: following ‘true’ branch (when ‘quit == 0’)...
libcaca-0.99.beta20/src/cacaview.c:138:11: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:138:11: branch_true: following ‘true’ branch (when ‘update != 0’)...
libcaca-0.99.beta20/src/cacaview.c:139:21: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:307:11: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaview.c:310:64: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:315:22: acquire_memory: allocated here
libcaca-0.99.beta20/src/cacaview.c:320:13: danger: ‘buffer’ leaks here; was allocated at [(21)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/20)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def329]
libcaca-0.99.beta20/src/cacaview.c:321:13: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
libcaca-0.99.beta20/src/cacaview.c:76:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaview.c:82:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaview.c:83:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaview.c:90:5: branch_false: ...to here
libcaca-0.99.beta20/src/cacaview.c:97:16: branch_true: following ‘true’ branch (when ‘i != 50’)...
libcaca-0.99.beta20/src/cacaview.c:98:26: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:102:16: branch_true: following ‘true’ branch (when ‘i != 100’)...
libcaca-0.99.beta20/src/cacaview.c:103:27: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:106:16: branch_true: following ‘true’ branch (when ‘i < argc’)...
libcaca-0.99.beta20/src/cacaview.c:109:11: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:109:11: branch_true: following ‘true’ branch (when ‘opts != 0’)...
libcaca-0.99.beta20/src/cacaview.c:109:24: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:117:11: branch_false: following ‘false’ branch (when ‘items == 0’)...
libcaca-0.99.beta20/src/cacaview.c:120:20: branch_false: ...to here
libcaca-0.99.beta20/src/cacaview.c:128:11: branch_true: following ‘true’ branch (when ‘quit == 0’)...
libcaca-0.99.beta20/src/cacaview.c:138:11: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:138:11: branch_true: following ‘true’ branch (when ‘update != 0’)...
libcaca-0.99.beta20/src/cacaview.c:139:21: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:307:11: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaview.c:310:64: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:315:22: acquire_memory: allocated here
libcaca-0.99.beta20/src/cacaview.c:321:13: danger: ‘buffer’ leaks here; was allocated at [(21)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/20)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def330]
libcaca-0.99.beta20/src/cacaview.c:322:18: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
libcaca-0.99.beta20/src/cacaview.c:76:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaview.c:82:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaview.c:83:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaview.c:90:5: branch_false: ...to here
libcaca-0.99.beta20/src/cacaview.c:97:16: branch_true: following ‘true’ branch (when ‘i != 50’)...
libcaca-0.99.beta20/src/cacaview.c:98:26: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:102:16: branch_true: following ‘true’ branch (when ‘i != 100’)...
libcaca-0.99.beta20/src/cacaview.c:103:27: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:106:16: branch_true: following ‘true’ branch (when ‘i < argc’)...
libcaca-0.99.beta20/src/cacaview.c:109:11: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:109:11: branch_true: following ‘true’ branch (when ‘opts != 0’)...
libcaca-0.99.beta20/src/cacaview.c:109:24: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:117:11: branch_false: following ‘false’ branch (when ‘items == 0’)...
libcaca-0.99.beta20/src/cacaview.c:120:20: branch_false: ...to here
libcaca-0.99.beta20/src/cacaview.c:128:11: branch_true: following ‘true’ branch (when ‘quit == 0’)...
libcaca-0.99.beta20/src/cacaview.c:138:11: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:138:11: branch_true: following ‘true’ branch (when ‘update != 0’)...
libcaca-0.99.beta20/src/cacaview.c:139:21: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:307:11: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaview.c:310:64: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:315:22: acquire_memory: allocated here
libcaca-0.99.beta20/src/cacaview.c:322:18: danger: ‘buffer’ leaks here; was allocated at [(21)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/20)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def331]
libcaca-0.99.beta20/src/cacaview.c:323:18: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
libcaca-0.99.beta20/src/cacaview.c:76:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaview.c:82:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaview.c:83:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaview.c:90:5: branch_false: ...to here
libcaca-0.99.beta20/src/cacaview.c:97:16: branch_true: following ‘true’ branch (when ‘i != 50’)...
libcaca-0.99.beta20/src/cacaview.c:98:26: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:102:16: branch_true: following ‘true’ branch (when ‘i != 100’)...
libcaca-0.99.beta20/src/cacaview.c:103:27: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:106:16: branch_true: following ‘true’ branch (when ‘i < argc’)...
libcaca-0.99.beta20/src/cacaview.c:109:11: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:109:11: branch_true: following ‘true’ branch (when ‘opts != 0’)...
libcaca-0.99.beta20/src/cacaview.c:109:24: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:117:11: branch_false: following ‘false’ branch (when ‘items == 0’)...
libcaca-0.99.beta20/src/cacaview.c:120:20: branch_false: ...to here
libcaca-0.99.beta20/src/cacaview.c:128:11: branch_true: following ‘true’ branch (when ‘quit == 0’)...
libcaca-0.99.beta20/src/cacaview.c:138:11: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:138:11: branch_true: following ‘true’ branch (when ‘update != 0’)...
libcaca-0.99.beta20/src/cacaview.c:139:21: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:307:11: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaview.c:310:64: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:315:22: acquire_memory: allocated here
libcaca-0.99.beta20/src/cacaview.c:323:18: danger: ‘buffer’ leaks here; was allocated at [(21)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/20)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def332]
libcaca-0.99.beta20/src/cacaview.c:326:17: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
libcaca-0.99.beta20/src/cacaview.c:76:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaview.c:82:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaview.c:83:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaview.c:90:5: branch_false: ...to here
libcaca-0.99.beta20/src/cacaview.c:97:16: branch_true: following ‘true’ branch (when ‘i != 50’)...
libcaca-0.99.beta20/src/cacaview.c:98:26: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:102:16: branch_true: following ‘true’ branch (when ‘i != 100’)...
libcaca-0.99.beta20/src/cacaview.c:103:27: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:106:16: branch_true: following ‘true’ branch (when ‘i < argc’)...
libcaca-0.99.beta20/src/cacaview.c:109:11: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:109:11: branch_true: following ‘true’ branch (when ‘opts != 0’)...
libcaca-0.99.beta20/src/cacaview.c:109:24: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:117:11: branch_false: following ‘false’ branch (when ‘items == 0’)...
libcaca-0.99.beta20/src/cacaview.c:120:20: branch_false: ...to here
libcaca-0.99.beta20/src/cacaview.c:128:11: branch_true: following ‘true’ branch (when ‘quit == 0’)...
libcaca-0.99.beta20/src/cacaview.c:138:11: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:138:11: branch_true: following ‘true’ branch (when ‘update != 0’)...
libcaca-0.99.beta20/src/cacaview.c:139:21: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:307:11: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaview.c:310:64: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:315:22: acquire_memory: allocated here
libcaca-0.99.beta20/src/cacaview.c:325:15: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaview.c:326:17: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:326:17: danger: ‘buffer’ leaks here; was allocated at [(21)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/20)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def333]
libcaca-0.99.beta20/src/cacaview.c:327:18: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
libcaca-0.99.beta20/src/cacaview.c:76:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaview.c:82:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaview.c:83:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaview.c:90:5: branch_false: ...to here
libcaca-0.99.beta20/src/cacaview.c:97:16: branch_true: following ‘true’ branch (when ‘i != 50’)...
libcaca-0.99.beta20/src/cacaview.c:98:26: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:102:16: branch_true: following ‘true’ branch (when ‘i != 100’)...
libcaca-0.99.beta20/src/cacaview.c:103:27: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:106:16: branch_true: following ‘true’ branch (when ‘i < argc’)...
libcaca-0.99.beta20/src/cacaview.c:109:11: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:109:11: branch_true: following ‘true’ branch (when ‘opts != 0’)...
libcaca-0.99.beta20/src/cacaview.c:109:24: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:117:11: branch_false: following ‘false’ branch (when ‘items == 0’)...
libcaca-0.99.beta20/src/cacaview.c:120:20: branch_false: ...to here
libcaca-0.99.beta20/src/cacaview.c:128:11: branch_true: following ‘true’ branch (when ‘quit == 0’)...
libcaca-0.99.beta20/src/cacaview.c:138:11: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:138:11: branch_true: following ‘true’ branch (when ‘update != 0’)...
libcaca-0.99.beta20/src/cacaview.c:139:21: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:307:11: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaview.c:310:64: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:315:22: acquire_memory: allocated here
libcaca-0.99.beta20/src/cacaview.c:325:15: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaview.c:327:18: branch_false: ...to here
libcaca-0.99.beta20/src/cacaview.c:327:18: danger: ‘buffer’ leaks here; was allocated at [(21)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/20)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def334]
libcaca-0.99.beta20/src/cacaview.c:489:10: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
libcaca-0.99.beta20/src/cacaview.c:62:5: enter_function: entry to ‘main’
libcaca-0.99.beta20/src/cacaview.c:76:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaview.c:82:10: branch_false: ...to here
libcaca-0.99.beta20/src/cacaview.c:83:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/cacaview.c:90:5: branch_false: ...to here
libcaca-0.99.beta20/src/cacaview.c:97:16: branch_true: following ‘true’ branch (when ‘i != 50’)...
libcaca-0.99.beta20/src/cacaview.c:98:26: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:102:16: branch_true: following ‘true’ branch (when ‘i != 100’)...
libcaca-0.99.beta20/src/cacaview.c:103:27: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:106:16: branch_true: following ‘true’ branch (when ‘i < argc’)...
libcaca-0.99.beta20/src/cacaview.c:109:11: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:109:11: branch_true: following ‘true’ branch (when ‘opts != 0’)...
libcaca-0.99.beta20/src/cacaview.c:109:24: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:117:11: branch_false: following ‘false’ branch (when ‘items == 0’)...
libcaca-0.99.beta20/src/cacaview.c:120:20: branch_false: ...to here
libcaca-0.99.beta20/src/cacaview.c:128:11: branch_true: following ‘true’ branch (when ‘quit == 0’)...
libcaca-0.99.beta20/src/cacaview.c:138:11: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:138:11: branch_true: following ‘true’ branch (when ‘update != 0’)...
libcaca-0.99.beta20/src/cacaview.c:139:21: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:307:11: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/cacaview.c:310:64: branch_true: ...to here
libcaca-0.99.beta20/src/cacaview.c:315:22: acquire_memory: allocated here
libcaca-0.99.beta20/src/cacaview.c:333:13: call_function: calling ‘set_zoom’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def335]
libcaca-0.99.beta20/src/common-image.c:43:13: warning[-Wanalyzer-malloc-leak]: leak of ‘im’
libcaca-0.99.beta20/src/common-image.c:36:25: acquire_memory: allocated here
libcaca-0.99.beta20/src/common-image.c:43:13: danger: ‘im’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def336]
libcaca-0.99.beta20/src/common-image.c:51:5: warning[-Wanalyzer-malloc-leak]: leak of ‘im’
libcaca-0.99.beta20/src/common-image.c:36:25: acquire_memory: allocated here
libcaca-0.99.beta20/src/common-image.c:45:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/common-image.c:51:5: branch_false: ...to here
libcaca-0.99.beta20/src/common-image.c:51:5: danger: ‘im’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def337]
libcaca-0.99.beta20/src/common-image.c:52:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘im’
libcaca-0.99.beta20/src/common-image.c:36:25: acquire_memory: this call could return NULL
libcaca-0.99.beta20/src/common-image.c:45:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/common-image.c:51:5: branch_false: ...to here
libcaca-0.99.beta20/src/common-image.c:52:5: danger: ‘im’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def338]
libcaca-0.99.beta20/src/common-image.c:52:26: warning[-Wanalyzer-malloc-leak]: leak of ‘im’
libcaca-0.99.beta20/src/common-image.c:36:25: acquire_memory: allocated here
libcaca-0.99.beta20/src/common-image.c:45:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/common-image.c:51:5: branch_false: ...to here
libcaca-0.99.beta20/src/common-image.c:52:26: danger: ‘im’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def339]
libcaca-0.99.beta20/src/common-image.c:53:13: warning[-Wanalyzer-malloc-leak]: leak of ‘im’
libcaca-0.99.beta20/src/common-image.c:36:25: acquire_memory: allocated here
libcaca-0.99.beta20/src/common-image.c:45:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/common-image.c:51:5: branch_false: ...to here
libcaca-0.99.beta20/src/common-image.c:53:13: danger: ‘im’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def340]
libcaca-0.99.beta20/src/common-image.c:54:13: warning[-Wanalyzer-malloc-leak]: leak of ‘im’
libcaca-0.99.beta20/src/common-image.c:36:25: acquire_memory: allocated here
libcaca-0.99.beta20/src/common-image.c:45:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/common-image.c:51:5: branch_false: ...to here
libcaca-0.99.beta20/src/common-image.c:54:13: danger: ‘im’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def341]
libcaca-0.99.beta20/src/common-image.c:63:18: warning[-Wanalyzer-malloc-leak]: leak of ‘im’
libcaca-0.99.beta20/src/common-image.c:36:25: acquire_memory: allocated here
libcaca-0.99.beta20/src/common-image.c:45:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/common-image.c:51:5: branch_false: ...to here
libcaca-0.99.beta20/src/common-image.c:63:18: danger: ‘im’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def342]
libcaca-0.99.beta20/src/common-image.c:67:9: warning[-Wanalyzer-malloc-leak]: leak of ‘im’
libcaca-0.99.beta20/src/common-image.c:36:25: acquire_memory: allocated here
libcaca-0.99.beta20/src/common-image.c:45:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/src/common-image.c:51:5: branch_false: ...to here
libcaca-0.99.beta20/src/common-image.c:65:7: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/src/common-image.c:67:9: branch_true: ...to here
libcaca-0.99.beta20/src/common-image.c:67:9: danger: ‘im’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-477): [#def343]
libcaca-0.99.beta20/tools/makefont.c: scope_hint: In function ‘main’
libcaca-0.99.beta20/tools/makefont.c:132:5: warning[-Wdeprecated-declarations]: ‘pango_ft2_font_map_create_context’ is deprecated: Use 'pango_font_map_create_context' instead
libcaca-0.99.beta20/tools/makefont.c:29: included_from: Included from here.
/usr/include/pango-1.0/pango/pangoft2.h:128:15: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def344]
libcaca-0.99.beta20/tools/makefont.c:132:5: warning[-Wdeprecated-declarations]: ‘pango_ft2_font_map_create_context’ is deprecated: Use 'pango_font_map_create_context' instead
Error: GCC_ANALYZER_WARNING (CWE-401): [#def345]
libcaca-0.99.beta20/tools/makefont.c:155:5: warning[-Wanalyzer-malloc-leak]: leak of ‘img.buffer’
libcaca-0.99.beta20/tools/makefont.c:108:7: branch_false: following ‘false’ branch (when ‘argc == 5’)...
libcaca-0.99.beta20/tools/makefont.c:116:5: branch_false: ...to here
libcaca-0.99.beta20/tools/makefont.c:121:7: branch_false: following ‘false’ branch (when ‘dpi != 0’)...
libcaca-0.99.beta20/tools/makefont.c:121:21: branch_false: ...to here
libcaca-0.99.beta20/tools/makefont.c:135:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/tools/makefont.c:142:10: branch_false: ...to here
libcaca-0.99.beta20/tools/makefont.c:150:18: acquire_memory: allocated here
libcaca-0.99.beta20/tools/makefont.c:155:5: danger: ‘img.buffer’ leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def346]
libcaca-0.99.beta20/tools/makefont.c:156:5: warning[-Wanalyzer-malloc-leak]: leak of ‘img.buffer’
libcaca-0.99.beta20/tools/makefont.c:108:7: branch_false: following ‘false’ branch (when ‘argc == 5’)...
libcaca-0.99.beta20/tools/makefont.c:116:5: branch_false: ...to here
libcaca-0.99.beta20/tools/makefont.c:121:7: branch_false: following ‘false’ branch (when ‘dpi != 0’)...
libcaca-0.99.beta20/tools/makefont.c:121:21: branch_false: ...to here
libcaca-0.99.beta20/tools/makefont.c:135:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/tools/makefont.c:142:10: branch_false: ...to here
libcaca-0.99.beta20/tools/makefont.c:150:18: acquire_memory: allocated here
libcaca-0.99.beta20/tools/makefont.c:156:5: danger: ‘img.buffer’ leaks here; was allocated at [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def347]
libcaca-0.99.beta20/tools/makefont.c:172:16: warning[-Wanalyzer-malloc-leak]: leak of ‘img.buffer’
libcaca-0.99.beta20/tools/makefont.c:108:7: branch_false: following ‘false’ branch (when ‘argc == 5’)...
libcaca-0.99.beta20/tools/makefont.c:116:5: branch_false: ...to here
libcaca-0.99.beta20/tools/makefont.c:121:7: branch_false: following ‘false’ branch (when ‘dpi != 0’)...
libcaca-0.99.beta20/tools/makefont.c:121:21: branch_false: ...to here
libcaca-0.99.beta20/tools/makefont.c:135:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/tools/makefont.c:142:10: branch_false: ...to here
libcaca-0.99.beta20/tools/makefont.c:150:18: acquire_memory: allocated here
libcaca-0.99.beta20/tools/makefont.c:167:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:169:9: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:171:31: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:172:16: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:172:16: danger: ‘img.buffer’ leaks here; was allocated at [(7)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def348]
libcaca-0.99.beta20/tools/makefont.c:238:16: warning[-Wanalyzer-malloc-leak]: leak of ‘glyph_data’
libcaca-0.99.beta20/tools/makefont.c:90:5: enter_function: entry to ‘main’
libcaca-0.99.beta20/tools/makefont.c:108:7: branch_false: following ‘false’ branch (when ‘argc == 5’)...
libcaca-0.99.beta20/tools/makefont.c:116:5: branch_false: ...to here
libcaca-0.99.beta20/tools/makefont.c:121:7: branch_false: following ‘false’ branch (when ‘dpi != 0’)...
libcaca-0.99.beta20/tools/makefont.c:121:21: branch_false: ...to here
libcaca-0.99.beta20/tools/makefont.c:135:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/tools/makefont.c:142:10: branch_false: ...to here
libcaca-0.99.beta20/tools/makefont.c:167:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:169:9: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:171:31: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:172:16: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:180:18: acquire_memory: allocated here
libcaca-0.99.beta20/tools/makefont.c:205:5: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:205:5: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:206:5: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:206:5: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:207:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:207:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:208:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:208:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:209:5: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:209:5: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:210:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:210:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:211:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:211:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:212:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:212:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:213:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:213:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:214:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:214:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:215:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:215:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:220:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:222:26: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:222:9: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:222:9: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:223:9: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:223:9: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:224:9: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:224:9: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:231:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:233:13: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:233:31: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:238:16: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:238:16: danger: ‘glyph_data’ leaks here; was allocated at [(12)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def349]
libcaca-0.99.beta20/tools/makefont.c:238:16: warning[-Wanalyzer-malloc-leak]: leak of ‘gtab’
libcaca-0.99.beta20/tools/makefont.c:90:5: enter_function: entry to ‘main’
libcaca-0.99.beta20/tools/makefont.c:108:7: branch_false: following ‘false’ branch (when ‘argc == 5’)...
libcaca-0.99.beta20/tools/makefont.c:116:5: branch_false: ...to here
libcaca-0.99.beta20/tools/makefont.c:121:7: branch_false: following ‘false’ branch (when ‘dpi != 0’)...
libcaca-0.99.beta20/tools/makefont.c:121:21: branch_false: ...to here
libcaca-0.99.beta20/tools/makefont.c:135:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/tools/makefont.c:142:10: branch_false: ...to here
libcaca-0.99.beta20/tools/makefont.c:167:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:169:9: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:171:31: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:172:16: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:179:12: acquire_memory: allocated here
libcaca-0.99.beta20/tools/makefont.c:205:5: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:205:5: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:206:5: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:206:5: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:207:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:207:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:208:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:208:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:209:5: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:209:5: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:210:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:210:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:211:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:211:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:212:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:212:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:213:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:213:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:214:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:214:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:215:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:215:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:220:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:222:26: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:222:9: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:222:9: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:223:9: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:223:9: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:224:9: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:224:9: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:231:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:233:13: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:233:31: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:238:16: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:238:16: danger: ‘gtab’ leaks here; was allocated at [(12)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/11)
Error: CPPCHECK_WARNING (CWE-476): [#def350]
libcaca-0.99.beta20/tools/makefont.c:243: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: gtab
Error: GCC_ANALYZER_WARNING (CWE-476): [#def351]
libcaca-0.99.beta20/tools/makefont.c:243:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘gtab’
libcaca-0.99.beta20/tools/makefont.c:90:5: enter_function: entry to ‘main’
libcaca-0.99.beta20/tools/makefont.c:108:7: branch_false: following ‘false’ branch (when ‘argc == 5’)...
libcaca-0.99.beta20/tools/makefont.c:116:5: branch_false: ...to here
libcaca-0.99.beta20/tools/makefont.c:121:7: branch_false: following ‘false’ branch (when ‘dpi != 0’)...
libcaca-0.99.beta20/tools/makefont.c:121:21: branch_false: ...to here
libcaca-0.99.beta20/tools/makefont.c:135:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/tools/makefont.c:142:10: branch_false: ...to here
libcaca-0.99.beta20/tools/makefont.c:167:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:169:9: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:171:31: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:172:16: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:179:12: acquire_memory: this call could return NULL
libcaca-0.99.beta20/tools/makefont.c:205:5: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:205:5: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:206:5: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:206:5: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:207:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:207:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:208:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:208:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:209:5: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:209:5: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:210:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:210:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:211:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:211:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:212:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:212:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:213:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:213:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:214:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:214:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:215:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:215:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:220:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:222:26: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:222:9: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:222:9: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:223:9: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:223:9: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:224:9: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:224:9: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:231:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:233:13: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:233:31: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:238:16: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:243:13: danger: ‘gtab + (long unsigned int)n * 32’ could be NULL: unchecked value from [(12)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/11)
Error: CPPCHECK_WARNING (CWE-476): [#def352]
libcaca-0.99.beta20/tools/makefont.c:244: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: gtab
Error: GCC_ANALYZER_WARNING (CWE-401): [#def353]
libcaca-0.99.beta20/tools/makefont.c:244:21: warning[-Wanalyzer-malloc-leak]: leak of ‘glyph_data’
libcaca-0.99.beta20/tools/makefont.c:90:5: enter_function: entry to ‘main’
libcaca-0.99.beta20/tools/makefont.c:108:7: branch_false: following ‘false’ branch (when ‘argc == 5’)...
libcaca-0.99.beta20/tools/makefont.c:116:5: branch_false: ...to here
libcaca-0.99.beta20/tools/makefont.c:121:7: branch_false: following ‘false’ branch (when ‘dpi != 0’)...
libcaca-0.99.beta20/tools/makefont.c:121:21: branch_false: ...to here
libcaca-0.99.beta20/tools/makefont.c:135:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/tools/makefont.c:142:10: branch_false: ...to here
libcaca-0.99.beta20/tools/makefont.c:167:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:169:9: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:171:31: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:172:16: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:180:18: acquire_memory: allocated here
libcaca-0.99.beta20/tools/makefont.c:205:5: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:205:5: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:206:5: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:206:5: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:207:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:207:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:208:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:208:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:209:5: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:209:5: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:210:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:210:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:211:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:211:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:212:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:212:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:213:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:213:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:214:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:214:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:215:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:215:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:220:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:222:26: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:222:9: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:222:9: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:223:9: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:223:9: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:224:9: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:224:9: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:231:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:233:13: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:233:31: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:238:16: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:244:21: danger: ‘glyph_data’ leaks here; was allocated at [(12)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def354]
libcaca-0.99.beta20/tools/makefont.c:244:21: warning[-Wanalyzer-malloc-leak]: leak of ‘gtab’
libcaca-0.99.beta20/tools/makefont.c:90:5: enter_function: entry to ‘main’
libcaca-0.99.beta20/tools/makefont.c:108:7: branch_false: following ‘false’ branch (when ‘argc == 5’)...
libcaca-0.99.beta20/tools/makefont.c:116:5: branch_false: ...to here
libcaca-0.99.beta20/tools/makefont.c:121:7: branch_false: following ‘false’ branch (when ‘dpi != 0’)...
libcaca-0.99.beta20/tools/makefont.c:121:21: branch_false: ...to here
libcaca-0.99.beta20/tools/makefont.c:135:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/tools/makefont.c:142:10: branch_false: ...to here
libcaca-0.99.beta20/tools/makefont.c:167:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:169:9: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:171:31: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:172:16: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:179:12: acquire_memory: allocated here
libcaca-0.99.beta20/tools/makefont.c:205:5: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:205:5: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:206:5: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:206:5: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:207:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:207:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:208:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:208:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:209:5: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:209:5: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:210:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:210:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:211:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:211:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:212:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:212:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:213:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:213:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:214:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:214:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:215:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:215:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:220:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:222:26: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:222:9: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:222:9: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:223:9: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:223:9: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:224:9: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:224:9: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:231:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:233:13: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:233:31: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:238:16: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:244:21: danger: ‘gtab’ leaks here; was allocated at [(12)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/11)
Error: CPPCHECK_WARNING (CWE-476): [#def355]
libcaca-0.99.beta20/tools/makefont.c:245: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: gtab
Error: CPPCHECK_WARNING (CWE-476): [#def356]
libcaca-0.99.beta20/tools/makefont.c:248: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: gtab
Error: GCC_ANALYZER_WARNING (CWE-401): [#def357]
libcaca-0.99.beta20/tools/makefont.c:248:13: warning[-Wanalyzer-malloc-leak]: leak of ‘glyph_data’
libcaca-0.99.beta20/tools/makefont.c:90:5: enter_function: entry to ‘main’
libcaca-0.99.beta20/tools/makefont.c:108:7: branch_false: following ‘false’ branch (when ‘argc == 5’)...
libcaca-0.99.beta20/tools/makefont.c:116:5: branch_false: ...to here
libcaca-0.99.beta20/tools/makefont.c:121:7: branch_false: following ‘false’ branch (when ‘dpi != 0’)...
libcaca-0.99.beta20/tools/makefont.c:121:21: branch_false: ...to here
libcaca-0.99.beta20/tools/makefont.c:135:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/tools/makefont.c:142:10: branch_false: ...to here
libcaca-0.99.beta20/tools/makefont.c:167:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:169:9: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:171:31: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:172:16: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:180:18: acquire_memory: allocated here
libcaca-0.99.beta20/tools/makefont.c:205:5: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:205:5: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:206:5: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:206:5: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:207:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:207:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:208:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:208:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:209:5: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:209:5: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:210:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:210:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:211:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:211:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:212:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:212:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:213:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:213:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:214:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:214:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:215:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:215:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:220:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:222:26: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:222:9: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:222:9: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:223:9: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:223:9: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:224:9: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:224:9: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:231:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:233:13: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:233:31: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:238:16: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:248:13: danger: ‘glyph_data’ leaks here; was allocated at [(12)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def358]
libcaca-0.99.beta20/tools/makefont.c:250:13: warning[-Wanalyzer-malloc-leak]: leak of ‘glyph_data’
libcaca-0.99.beta20/tools/makefont.c:90:5: enter_function: entry to ‘main’
libcaca-0.99.beta20/tools/makefont.c:108:7: branch_false: following ‘false’ branch (when ‘argc == 5’)...
libcaca-0.99.beta20/tools/makefont.c:116:5: branch_false: ...to here
libcaca-0.99.beta20/tools/makefont.c:121:7: branch_false: following ‘false’ branch (when ‘dpi != 0’)...
libcaca-0.99.beta20/tools/makefont.c:121:21: branch_false: ...to here
libcaca-0.99.beta20/tools/makefont.c:135:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/tools/makefont.c:142:10: branch_false: ...to here
libcaca-0.99.beta20/tools/makefont.c:167:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:169:9: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:171:31: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:172:16: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:180:18: acquire_memory: allocated here
libcaca-0.99.beta20/tools/makefont.c:205:5: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:205:5: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:206:5: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:206:5: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:207:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:207:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:208:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:208:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:209:5: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:209:5: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:210:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:210:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:211:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:211:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:212:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:212:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:213:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:213:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:214:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:214:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:215:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:215:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:220:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:222:26: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:222:9: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:222:9: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:223:9: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:223:9: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:224:9: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:224:9: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:231:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:233:13: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:233:31: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:238:16: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:250:13: danger: ‘glyph_data’ leaks here; was allocated at [(12)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/11)
Error: CPPCHECK_WARNING (CWE-476): [#def359]
libcaca-0.99.beta20/tools/makefont.c:253: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: gtab
Error: CPPCHECK_WARNING (CWE-682): [#def360]
libcaca-0.99.beta20/tools/makefont.c:256: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: pointer addition with NULL pointer.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def361]
libcaca-0.99.beta20/tools/makefont.c:265:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘glyph_data’
libcaca-0.99.beta20/tools/makefont.c:90:5: enter_function: entry to ‘main’
libcaca-0.99.beta20/tools/makefont.c:108:7: branch_false: following ‘false’ branch (when ‘argc == 5’)...
libcaca-0.99.beta20/tools/makefont.c:116:5: branch_false: ...to here
libcaca-0.99.beta20/tools/makefont.c:121:7: branch_false: following ‘false’ branch (when ‘dpi != 0’)...
libcaca-0.99.beta20/tools/makefont.c:121:21: branch_false: ...to here
libcaca-0.99.beta20/tools/makefont.c:135:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/tools/makefont.c:142:10: branch_false: ...to here
libcaca-0.99.beta20/tools/makefont.c:167:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:169:9: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:171:31: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:172:16: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:180:18: acquire_memory: this call could return NULL
libcaca-0.99.beta20/tools/makefont.c:205:5: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:205:5: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:206:5: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:206:5: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:207:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:207:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:208:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:208:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:209:5: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:209:5: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:210:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:210:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:211:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:211:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:212:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:212:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:213:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:213:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:214:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:214:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:215:5: call_function: calling ‘printf_u16’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:215:5: return_function: returning to ‘main’ from ‘printf_u16’
libcaca-0.99.beta20/tools/makefont.c:220:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:222:26: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:222:9: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:222:9: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:223:9: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:223:9: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:224:9: call_function: calling ‘printf_u32’ from ‘main’
libcaca-0.99.beta20/tools/makefont.c:224:9: return_function: returning to ‘main’ from ‘printf_u32’
libcaca-0.99.beta20/tools/makefont.c:231:16: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:233:13: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:233:31: branch_true: following ‘true’ branch...
libcaca-0.99.beta20/tools/makefont.c:238:16: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:258:24: branch_true: following ‘true’ branch (when ‘y < height’)...
branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:260:28: branch_true: following ‘true’ branch (when ‘x < current_width’)...
libcaca-0.99.beta20/tools/makefont.c:262:37: branch_true: ...to here
libcaca-0.99.beta20/tools/makefont.c:265:21: danger: ‘glyph_data + (sizetype)(current_offset + (k >> 3))’ could be NULL: unchecked value from [(12)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/11)
Error: COMPILER_WARNING (CWE-195): [#def362]
libcaca-0.99.beta20/tools/makefont.c:327:39: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def363]
libcaca-0.99.beta20/tools/sortchars.c:96:9: warning[-Wanalyzer-malloc-leak]: leak of ‘img’
libcaca-0.99.beta20/tools/sortchars.c:59:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/tools/sortchars.c:64:9: branch_false: ...to here
libcaca-0.99.beta20/tools/sortchars.c:65:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/tools/sortchars.c:71:10: branch_false: ...to here
libcaca-0.99.beta20/tools/sortchars.c:77:11: acquire_memory: allocated here
libcaca-0.99.beta20/tools/sortchars.c:80:16: branch_true: following ‘true’ branch (when ‘y != 3’)...
branch_true: ...to here
libcaca-0.99.beta20/tools/sortchars.c:81:20: branch_true: following ‘true’ branch (when ‘x != 2’)...
libcaca-0.99.beta20/tools/sortchars.c:82:13: branch_true: ...to here
libcaca-0.99.beta20/tools/sortchars.c:88:19: branch_true: following ‘true’ branch (when ‘i != 127’)...
branch_true: ...to here
libcaca-0.99.beta20/tools/sortchars.c:89:20: branch_true: following ‘true’ branch (when ‘y != 3’)...
branch_true: ...to here
libcaca-0.99.beta20/tools/sortchars.c:90:24: branch_true: following ‘true’ branch (when ‘x != 2’)...
libcaca-0.99.beta20/tools/sortchars.c:91:17: branch_true: ...to here
libcaca-0.99.beta20/tools/sortchars.c:94:19: branch_true: following ‘true’ branch (when ‘i != 127’)...
libcaca-0.99.beta20/tools/sortchars.c:96:9: branch_true: ...to here
libcaca-0.99.beta20/tools/sortchars.c:96:9: danger: ‘img’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def364]
libcaca-0.99.beta20/tools/sortchars.c:99:9: warning[-Wanalyzer-malloc-leak]: leak of ‘img’
libcaca-0.99.beta20/tools/sortchars.c:59:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/tools/sortchars.c:64:9: branch_false: ...to here
libcaca-0.99.beta20/tools/sortchars.c:65:7: branch_false: following ‘false’ branch...
libcaca-0.99.beta20/tools/sortchars.c:71:10: branch_false: ...to here
libcaca-0.99.beta20/tools/sortchars.c:77:11: acquire_memory: allocated here
libcaca-0.99.beta20/tools/sortchars.c:80:16: branch_true: following ‘true’ branch (when ‘y != 3’)...
branch_true: ...to here
libcaca-0.99.beta20/tools/sortchars.c:81:20: branch_true: following ‘true’ branch (when ‘x != 2’)...
libcaca-0.99.beta20/tools/sortchars.c:82:13: branch_true: ...to here
libcaca-0.99.beta20/tools/sortchars.c:88:19: branch_true: following ‘true’ branch (when ‘i != 127’)...
branch_true: ...to here
libcaca-0.99.beta20/tools/sortchars.c:89:20: branch_true: following ‘true’ branch (when ‘y != 3’)...
branch_true: ...to here
libcaca-0.99.beta20/tools/sortchars.c:90:24: branch_true: following ‘true’ branch (when ‘x != 2’)...
libcaca-0.99.beta20/tools/sortchars.c:91:17: branch_true: ...to here
libcaca-0.99.beta20/tools/sortchars.c:94:19: branch_true: following ‘true’ branch (when ‘i != 127’)...
libcaca-0.99.beta20/tools/sortchars.c:96:9: branch_true: ...to here
libcaca-0.99.beta20/tools/sortchars.c:99:9: danger: ‘img’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-476): [#def365]
libcaca-0.99.beta20/tools/sortchars.c:217: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf
Error: GCC_ANALYZER_WARNING (CWE-688): [#def366]
libcaca-0.99.beta20/tools/sortchars.c:217:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘buf’ where non-null expected
libcaca-0.99.beta20/tools/sortchars.c:213:20: acquire_memory: this call could return NULL
libcaca-0.99.beta20/tools/sortchars.c:217:5: danger: argument 1 (‘buf’) from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: CPPCHECK_WARNING (CWE-476): [#def367]
libcaca-0.99.beta20/tools/sortchars.c:218: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dst
Error: GCC_ANALYZER_WARNING (CWE-688): [#def368]
libcaca-0.99.beta20/tools/sortchars.c:218:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘dst’ where non-null expected
libcaca-0.99.beta20/tools/sortchars.c:214:21: acquire_memory: this call could return NULL
libcaca-0.99.beta20/tools/sortchars.c:218:5: danger: argument 1 (‘dst’) from [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
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-240.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 | libcaca-0.99-0.80.beta20.fc44 |
| store-results-to | /tmp/tmp5115aixr/libcaca-0.99-0.80.beta20.fc44.tar.xz |
| time-created | 2025-10-28 18:53:56 |
| time-finished | 2025-10-28 18:56:23 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmp5115aixr/libcaca-0.99-0.80.beta20.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp5115aixr/libcaca-0.99-0.80.beta20.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251027.143044.ge6b947b-1.el9 |