lilv-0.26.2-1.fc44
List of Findings
Error: CPPCHECK_WARNING (CWE-476): [#def1]
lilv-0.26.2/src/instance.c:46: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: local_features
Error: CPPCHECK_WARNING (CWE-476): [#def2]
lilv-0.26.2/src/instance.c:63: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def3]
lilv-0.26.2/src/instance.c:64: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def4]
lilv-0.26.2/src/instance.c:66: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def5]
lilv-0.26.2/src/lib.c:72: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: llib
Error: CPPCHECK_WARNING (CWE-476): [#def6]
lilv-0.26.2/src/lib.c:73: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: llib
Error: CPPCHECK_WARNING (CWE-476): [#def7]
lilv-0.26.2/src/lib.c:74: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: llib
Error: CPPCHECK_WARNING (CWE-476): [#def8]
lilv-0.26.2/src/lib.c:75: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: llib
Error: CPPCHECK_WARNING (CWE-476): [#def9]
lilv-0.26.2/src/lib.c:76: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: llib
Error: CPPCHECK_WARNING (CWE-476): [#def10]
lilv-0.26.2/src/lib.c:77: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: llib
Error: CPPCHECK_WARNING (CWE-476): [#def11]
lilv-0.26.2/src/lib.c:78: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: llib
Error: COMPILER_WARNING: [#def12] [important]
lilv-0.26.2/src/load_skimmer.h:7:10: error[fatal error]: serd/serd.h: No such file or directory
Error: CPPCHECK_WARNING (CWE-476): [#def13]
lilv-0.26.2/src/node.c:62: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: val
Error: CPPCHECK_WARNING (CWE-476): [#def14]
lilv-0.26.2/src/node.c:63: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: val
Error: CPPCHECK_WARNING (CWE-476): [#def15]
lilv-0.26.2/src/node.c:117: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def16]
lilv-0.26.2/src/node.c:118: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def17]
lilv-0.26.2/src/node.c:119: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def18]
lilv-0.26.2/src/node.c:123: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def19]
lilv-0.26.2/src/node.c:124: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def20]
lilv-0.26.2/src/node.c:125: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def21]
lilv-0.26.2/src/node.c:231: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def22]
lilv-0.26.2/src/node.c:232: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def23]
lilv-0.26.2/src/node.c:233: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def24]
lilv-0.26.2/src/node.c:234: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def25]
lilv-0.26.2/src/node.c:287: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def26]
lilv-0.26.2/src/node.c:292: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: COMPILER_WARNING: [#def27] [important]
lilv-0.26.2/src/node_hash.h:7:10: error[fatal error]: zix/allocator.h: No such file or directory
Error: CPPCHECK_WARNING (CWE-476): [#def28]
lilv-0.26.2/src/plugin.c:32: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: CPPCHECK_WARNING (CWE-476): [#def29]
lilv-0.26.2/src/plugin.c:33: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: CPPCHECK_WARNING (CWE-476): [#def30]
lilv-0.26.2/src/plugin.c:37: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: CPPCHECK_WARNING (CWE-476): [#def31]
lilv-0.26.2/src/plugin.c:38: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: CPPCHECK_WARNING (CWE-476): [#def32]
lilv-0.26.2/src/plugin.c:39: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: CPPCHECK_WARNING (CWE-476): [#def33]
lilv-0.26.2/src/plugin.c:40: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: CPPCHECK_WARNING (CWE-476): [#def34]
lilv-0.26.2/src/plugin.c:41: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: CPPCHECK_WARNING (CWE-476): [#def35]
lilv-0.26.2/src/plugin.c:42: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: CPPCHECK_WARNING (CWE-476): [#def36]
lilv-0.26.2/src/plugin.c:51: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: CPPCHECK_WARNING (CWE-476): [#def37]
lilv-0.26.2/src/plugin.c:52: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: plugin
Error: CPPCHECK_WARNING (CWE-401): [#def38]
lilv-0.26.2/src/plugin.c:581: error[memleakOnRealloc]: Common realloc mistake: 'classes' nulled but not freed upon failure
Error: CPPCHECK_WARNING (CWE-476): [#def39]
lilv-0.26.2/src/pluginclass.c:20: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pc
Error: CPPCHECK_WARNING (CWE-476): [#def40]
lilv-0.26.2/src/pluginclass.c:21: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pc
Error: CPPCHECK_WARNING (CWE-476): [#def41]
lilv-0.26.2/src/pluginclass.c:22: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pc
Error: CPPCHECK_WARNING (CWE-476): [#def42]
lilv-0.26.2/src/pluginclass.c:23: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pc
Error: CPPCHECK_WARNING (CWE-476): [#def43]
lilv-0.26.2/src/port.c:25: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: port
Error: CPPCHECK_WARNING (CWE-476): [#def44]
lilv-0.26.2/src/port.c:26: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: port
Error: CPPCHECK_WARNING (CWE-476): [#def45]
lilv-0.26.2/src/port.c:27: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: port
Error: CPPCHECK_WARNING (CWE-476): [#def46]
lilv-0.26.2/src/port.c:28: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: port
Error: CPPCHECK_WARNING (CWE-476): [#def47]
lilv-0.26.2/src/scalepoint.c:17: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: point
Error: CPPCHECK_WARNING (CWE-476): [#def48]
lilv-0.26.2/src/scalepoint.c:18: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: point
Error: CPPCHECK_WARNING (CWE-476): [#def49]
lilv-0.26.2/src/state.c:143: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pv->atom
Error: CPPCHECK_WARNING (CWE-476): [#def50]
lilv-0.26.2/src/state.c:351: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pm
Error: CPPCHECK_WARNING (CWE-476): [#def51]
lilv-0.26.2/src/state.c:352: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pm
Error: CPPCHECK_WARNING (CWE-476): [#def52]
lilv-0.26.2/src/state.c:402: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: CPPCHECK_WARNING (CWE-476): [#def53]
lilv-0.26.2/src/state.c:407: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: CPPCHECK_WARNING (CWE-476): [#def54]
lilv-0.26.2/src/state.c:410: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: CPPCHECK_WARNING (CWE-476): [#def55]
lilv-0.26.2/src/state.c:413: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: CPPCHECK_WARNING (CWE-476): [#def56]
lilv-0.26.2/src/state.c:473: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: state
Error: CPPCHECK_WARNING (CWE-476): [#def57]
lilv-0.26.2/src/state.c:474: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: state
Error: CPPCHECK_WARNING (CWE-476): [#def58]
lilv-0.26.2/src/state.c:475: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: state
Error: CPPCHECK_WARNING (CWE-476): [#def59]
lilv-0.26.2/src/state.c:476: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: state
Error: CPPCHECK_WARNING (CWE-476): [#def60]
lilv-0.26.2/src/state.c:477: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: state
Error: CPPCHECK_WARNING (CWE-476): [#def61]
lilv-0.26.2/src/state.c:478: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: state
Error: CPPCHECK_WARNING (CWE-476): [#def62]
lilv-0.26.2/src/state.c:479: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: state
Error: CPPCHECK_WARNING (CWE-476): [#def63]
lilv-0.26.2/src/state.c:480: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: state
Error: CPPCHECK_WARNING (CWE-476): [#def64]
lilv-0.26.2/src/state.c:623: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: state
Error: CPPCHECK_WARNING (CWE-476): [#def65]
lilv-0.26.2/src/state.c:624: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: state
Error: CPPCHECK_WARNING (CWE-476): [#def66]
lilv-0.26.2/src/state.c:625: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: state
Error: CPPCHECK_WARNING (CWE-476): [#def67]
lilv-0.26.2/src/string_util.c:28: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def68]
lilv-0.26.2/src/string_util.c:66: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: copy
Error: COMPILER_WARNING: [#def69] [important]
lilv-0.26.2/src/string_util.h:7:10: error[fatal error]: sord/sord.h: No such file or directory
Error: COMPILER_WARNING: [#def70] [important]
lilv-0.26.2/src/syntax_skimmer.h:7:10: error[fatal error]: serd/serd.h: No such file or directory
Error: CPPCHECK_WARNING (CWE-476): [#def71]
lilv-0.26.2/src/sys_util.c:67: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: path
Error: COMPILER_WARNING: [#def72] [important]
lilv-0.26.2/src/sys_util.h:7:10: error[fatal error]: zix/attributes.h: No such file or directory
Error: CPPCHECK_WARNING (CWE-476): [#def73]
lilv-0.26.2/src/ui.c:27: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ui
Error: CPPCHECK_WARNING (CWE-476): [#def74]
lilv-0.26.2/src/ui.c:28: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ui
Error: CPPCHECK_WARNING (CWE-476): [#def75]
lilv-0.26.2/src/ui.c:29: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ui
Error: CPPCHECK_WARNING (CWE-476): [#def76]
lilv-0.26.2/src/ui.c:32: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ui
Error: CPPCHECK_WARNING (CWE-476): [#def77]
lilv-0.26.2/src/ui.c:35: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ui
Error: CPPCHECK_WARNING (CWE-476): [#def78]
lilv-0.26.2/src/ui.c:38: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ui
Error: CPPCHECK_WARNING (CWE-476): [#def79]
lilv-0.26.2/src/ui.c:40: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ui
Error: COMPILER_WARNING: [#def80] [important]
lilv-0.26.2/src/uris.h:7:10: error[fatal error]: sord/sord.h: No such file or directory
Error: CPPCHECK_WARNING (CWE-476): [#def81]
lilv-0.26.2/src/world.c:50: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: world
Error: CPPCHECK_WARNING (CWE-476): [#def82]
lilv-0.26.2/src/world.c:51: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: world
Error: CPPCHECK_WARNING (CWE-476): [#def83]
lilv-0.26.2/src/world.c:387: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: spec
Error: CPPCHECK_WARNING (CWE-476): [#def84]
lilv-0.26.2/src/world.c:388: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: spec
Error: CPPCHECK_WARNING (CWE-476): [#def85]
lilv-0.26.2/src/world.c:389: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: spec
Error: CPPCHECK_WARNING (CWE-476): [#def86]
lilv-0.26.2/src/world.c:393: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: spec
Error: CPPCHECK_WARNING (CWE-476): [#def87]
lilv-0.26.2/src/world.c:396: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: spec
Error: CPPCHECK_WARNING (CWE-476): [#def88]
lilv-0.26.2/src/world.c:1037: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dir
Error: CPPCHECK_WARNING (CWE-476): [#def89]
lilv-0.26.2/src/world.c:1038: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dir
Error: COMPILER_WARNING: [#def90] [important]
lilv-0.26.2/test/lilv_test_uri_map.h:8:10: error[fatal error]: serd/serd.h: No such file or directory
Error: COMPILER_WARNING: [#def91] [important]
lilv-0.26.2/test/lilv_test_utils.h:8:10: error[fatal error]: zix/attributes.h: No such file or directory
Error: COMPILER_WARNING: [#def92] [important]
lilv-0.26.2/test/test_plugin.lv2/test_plugin.c:8:10: error[fatal error]: zix/filesystem.h: No such file or directory
Error: GCC_ANALYZER_WARNING (CWE-401): [#def93]
lilv-0.26.2/tools/lv2apply.c:139:3: warning[-Wanalyzer-malloc-leak]: leak of ‘values’
lilv-0.26.2/tools/lv2apply.c:138:27: acquire_memory: allocated here
lilv-0.26.2/tools/lv2apply.c:139:3: throw: if ‘lilv_plugin_get_port_ranges_float’ throws an exception...
lilv-0.26.2/tools/lv2apply.c:139:3: danger: ‘values’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def94]
lilv-0.26.2/tools/lv2apply.c:154: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: values
Error: GCC_ANALYZER_WARNING (CWE-401): [#def95]
lilv-0.26.2/tools/lv2info.c:305:3: warning[-Wanalyzer-malloc-leak]: leak of ‘defaults’
lilv-0.26.2/tools/lv2info.c:304:38: acquire_memory: allocated here
lilv-0.26.2/tools/lv2info.c:305:3: throw: if ‘lilv_plugin_get_port_ranges_float’ throws an exception...
lilv-0.26.2/tools/lv2info.c:305:3: danger: ‘defaults’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def96]
lilv-0.26.2/tools/lv2info.c:305:3: warning[-Wanalyzer-malloc-leak]: leak of ‘maxes’
lilv-0.26.2/tools/lv2info.c:303:38: acquire_memory: allocated here
lilv-0.26.2/tools/lv2info.c:305:3: throw: if ‘lilv_plugin_get_port_ranges_float’ throws an exception...
lilv-0.26.2/tools/lv2info.c:305:3: danger: ‘maxes’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def97]
lilv-0.26.2/tools/lv2info.c:305:3: warning[-Wanalyzer-malloc-leak]: leak of ‘mins’
lilv-0.26.2/tools/lv2info.c:302:38: acquire_memory: allocated here
lilv-0.26.2/tools/lv2info.c:305:3: throw: if ‘lilv_plugin_get_port_ranges_float’ throws an exception...
lilv-0.26.2/tools/lv2info.c:305:3: danger: ‘mins’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def98]
lilv-0.26.2/tools/lv2info.c:400:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(plugin_file, "a")’
lilv-0.26.2/tools/lv2info.c:342:6: branch_false: following ‘false’ branch (when ‘argc != 1’)...
lilv-0.26.2/tools/lv2info.c:342:6: branch_false: ...to here
lilv-0.26.2/tools/lv2info.c:349:19: branch_true: following ‘true’ branch (when ‘i < argc’)...
lilv-0.26.2/tools/lv2info.c:350:21: branch_true: ...to here
lilv-0.26.2/tools/lv2info.c:350:8: branch_false: following ‘false’ branch...
lilv-0.26.2/tools/lv2info.c:355:8: branch_false: following ‘false’ branch...
lilv-0.26.2/tools/lv2info.c:361:15: branch_true: following ‘true’ branch (when the strings are equal)...
lilv-0.26.2/tools/lv2info.c:362:7: branch_true: ...to here
lilv-0.26.2/tools/lv2info.c:349:19: branch_true: following ‘true’ branch (when ‘i < argc’)...
lilv-0.26.2/tools/lv2info.c:350:21: branch_true: ...to here
lilv-0.26.2/tools/lv2info.c:350:8: branch_false: following ‘false’ branch...
lilv-0.26.2/tools/lv2info.c:355:8: branch_false: following ‘false’ branch...
lilv-0.26.2/tools/lv2info.c:359:8: branch_true: following ‘true’ branch (when the strings are equal)...
lilv-0.26.2/tools/lv2info.c:360:7: branch_true: ...to here
lilv-0.26.2/tools/lv2info.c:377:6: branch_false: following ‘false’ branch...
lilv-0.26.2/tools/lv2info.c:383:25: branch_false: ...to here
lilv-0.26.2/tools/lv2info.c:395:6: branch_true: following ‘true’ branch...
lilv-0.26.2/tools/lv2info.c:396:22: branch_true: ...to here
lilv-0.26.2/tools/lv2info.c:398:23: acquire_resource: opened here
lilv-0.26.2/tools/lv2info.c:399:8: branch_true: following ‘true’ branch...
lilv-0.26.2/tools/lv2info.c:400:7: branch_true: ...to here
lilv-0.26.2/tools/lv2info.c:400:7: throw: if ‘lilv_plugin_write_description’ throws an exception...
lilv-0.26.2/tools/lv2info.c:400:7: danger: ‘fopen(plugin_file, "a")’ leaks here; was opened at [(23)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/22)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def99]
lilv-0.26.2/tools/lv2info.c:400:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(plugin_file, "a")’
lilv-0.26.2/tools/lv2info.c:342:6: branch_false: following ‘false’ branch (when ‘argc != 1’)...
lilv-0.26.2/tools/lv2info.c:342:6: branch_false: ...to here
lilv-0.26.2/tools/lv2info.c:349:19: branch_true: following ‘true’ branch (when ‘i < argc’)...
lilv-0.26.2/tools/lv2info.c:350:21: branch_true: ...to here
lilv-0.26.2/tools/lv2info.c:350:8: branch_false: following ‘false’ branch...
lilv-0.26.2/tools/lv2info.c:355:8: branch_false: following ‘false’ branch...
lilv-0.26.2/tools/lv2info.c:361:15: branch_true: following ‘true’ branch (when the strings are equal)...
lilv-0.26.2/tools/lv2info.c:362:7: branch_true: ...to here
lilv-0.26.2/tools/lv2info.c:349:19: branch_true: following ‘true’ branch (when ‘i < argc’)...
lilv-0.26.2/tools/lv2info.c:350:21: branch_true: ...to here
lilv-0.26.2/tools/lv2info.c:350:8: branch_false: following ‘false’ branch...
lilv-0.26.2/tools/lv2info.c:355:8: branch_false: following ‘false’ branch...
lilv-0.26.2/tools/lv2info.c:359:8: branch_true: following ‘true’ branch (when the strings are equal)...
lilv-0.26.2/tools/lv2info.c:360:7: branch_true: ...to here
lilv-0.26.2/tools/lv2info.c:377:6: branch_false: following ‘false’ branch...
lilv-0.26.2/tools/lv2info.c:383:25: branch_false: ...to here
lilv-0.26.2/tools/lv2info.c:395:6: branch_true: following ‘true’ branch...
lilv-0.26.2/tools/lv2info.c:396:22: branch_true: ...to here
lilv-0.26.2/tools/lv2info.c:398:23: acquire_memory: allocated here
lilv-0.26.2/tools/lv2info.c:399:8: branch_true: following ‘true’ branch...
lilv-0.26.2/tools/lv2info.c:400:7: branch_true: ...to here
lilv-0.26.2/tools/lv2info.c:400:7: throw: if ‘lilv_plugin_write_description’ throws an exception...
lilv-0.26.2/tools/lv2info.c:400:7: danger: ‘fopen(plugin_file, "a")’ leaks here; was allocated at [(23)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/22)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def100]
lilv-0.26.2/tools/lv2info.c:409:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(manifest_file, "a")’
lilv-0.26.2/tools/lv2info.c:342:6: branch_false: following ‘false’ branch (when ‘argc != 1’)...
lilv-0.26.2/tools/lv2info.c:342:6: branch_false: ...to here
lilv-0.26.2/tools/lv2info.c:349:19: branch_true: following ‘true’ branch (when ‘i < argc’)...
lilv-0.26.2/tools/lv2info.c:350:21: branch_true: ...to here
lilv-0.26.2/tools/lv2info.c:350:8: branch_false: following ‘false’ branch...
lilv-0.26.2/tools/lv2info.c:355:8: branch_false: following ‘false’ branch...
lilv-0.26.2/tools/lv2info.c:361:15: branch_true: following ‘true’ branch (when the strings are equal)...
lilv-0.26.2/tools/lv2info.c:362:7: branch_true: ...to here
lilv-0.26.2/tools/lv2info.c:349:19: branch_true: following ‘true’ branch (when ‘i < argc’)...
lilv-0.26.2/tools/lv2info.c:350:21: branch_true: ...to here
lilv-0.26.2/tools/lv2info.c:350:8: branch_false: following ‘false’ branch...
lilv-0.26.2/tools/lv2info.c:355:8: branch_false: following ‘false’ branch...
lilv-0.26.2/tools/lv2info.c:359:8: branch_true: following ‘true’ branch (when the strings are equal)...
lilv-0.26.2/tools/lv2info.c:360:7: branch_true: ...to here
lilv-0.26.2/tools/lv2info.c:377:6: branch_false: following ‘false’ branch...
lilv-0.26.2/tools/lv2info.c:383:25: branch_false: ...to here
lilv-0.26.2/tools/lv2info.c:395:6: branch_true: following ‘true’ branch...
lilv-0.26.2/tools/lv2info.c:396:22: branch_true: ...to here
lilv-0.26.2/tools/lv2info.c:406:8: branch_true: following ‘true’ branch (when ‘manifest_file’ is non-NULL)...
lilv-0.26.2/tools/lv2info.c:407:27: branch_true: ...to here
lilv-0.26.2/tools/lv2info.c:407:27: acquire_resource: opened here
lilv-0.26.2/tools/lv2info.c:408:10: branch_true: following ‘true’ branch...
lilv-0.26.2/tools/lv2info.c:409:9: branch_true: ...to here
lilv-0.26.2/tools/lv2info.c:409:9: throw: if ‘lilv_plugin_write_manifest_entry’ throws an exception...
lilv-0.26.2/tools/lv2info.c:409:9: danger: ‘fopen(manifest_file, "a")’ leaks here; was opened at [(25)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/24)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def101]
lilv-0.26.2/tools/lv2info.c:409:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(manifest_file, "a")’
lilv-0.26.2/tools/lv2info.c:342:6: branch_false: following ‘false’ branch (when ‘argc != 1’)...
lilv-0.26.2/tools/lv2info.c:342:6: branch_false: ...to here
lilv-0.26.2/tools/lv2info.c:349:19: branch_true: following ‘true’ branch (when ‘i < argc’)...
lilv-0.26.2/tools/lv2info.c:350:21: branch_true: ...to here
lilv-0.26.2/tools/lv2info.c:350:8: branch_false: following ‘false’ branch...
lilv-0.26.2/tools/lv2info.c:355:8: branch_false: following ‘false’ branch...
lilv-0.26.2/tools/lv2info.c:361:15: branch_true: following ‘true’ branch (when the strings are equal)...
lilv-0.26.2/tools/lv2info.c:362:7: branch_true: ...to here
lilv-0.26.2/tools/lv2info.c:349:19: branch_true: following ‘true’ branch (when ‘i < argc’)...
lilv-0.26.2/tools/lv2info.c:350:21: branch_true: ...to here
lilv-0.26.2/tools/lv2info.c:350:8: branch_false: following ‘false’ branch...
lilv-0.26.2/tools/lv2info.c:355:8: branch_false: following ‘false’ branch...
lilv-0.26.2/tools/lv2info.c:359:8: branch_true: following ‘true’ branch (when the strings are equal)...
lilv-0.26.2/tools/lv2info.c:360:7: branch_true: ...to here
lilv-0.26.2/tools/lv2info.c:377:6: branch_false: following ‘false’ branch...
lilv-0.26.2/tools/lv2info.c:383:25: branch_false: ...to here
lilv-0.26.2/tools/lv2info.c:395:6: branch_true: following ‘true’ branch...
lilv-0.26.2/tools/lv2info.c:396:22: branch_true: ...to here
lilv-0.26.2/tools/lv2info.c:406:8: branch_true: following ‘true’ branch (when ‘manifest_file’ is non-NULL)...
lilv-0.26.2/tools/lv2info.c:407:27: branch_true: ...to here
lilv-0.26.2/tools/lv2info.c:407:27: acquire_memory: allocated here
lilv-0.26.2/tools/lv2info.c:408:10: branch_true: following ‘true’ branch...
lilv-0.26.2/tools/lv2info.c:409:9: branch_true: ...to here
lilv-0.26.2/tools/lv2info.c:409:9: throw: if ‘lilv_plugin_write_manifest_entry’ throws an exception...
lilv-0.26.2/tools/lv2info.c:409:9: danger: ‘fopen(manifest_file, "a")’ leaks here; was allocated at [(25)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/24)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def102]
lilv-0.26.2/tools/uri_table.h:45:3: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
lilv-0.26.2/tools/lv2bench.c:327:1: enter_function: entry to ‘main’
lilv-0.26.2/tools/lv2bench.c:372:6: branch_false: following ‘false’ branch (when ‘<unknown>’ is NULL)...
lilv-0.26.2/tools/lv2bench.c:376:6: branch_false: ...to here
lilv-0.26.2/tools/lv2bench.c:376:6: branch_false: following ‘false’ branch (when ‘out’ is non-NULL)...
lilv-0.26.2/tools/lv2bench.c:382:28: branch_false: ...to here
lilv-0.26.2/tools/lv2bench.c:406:5: branch_false: following ‘false’ branch...
lilv-0.26.2/tools/lv2bench.c:407:28: branch_false: ...to here
lilv-0.26.2/tools/lv2bench.c:407:22: call_function: calling ‘bench’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def103]
lilv-0.26.2/tools/uri_table.h:45:3: warning[-Wanalyzer-malloc-leak]: leak of ‘uri_table.uris’
lilv-0.26.2/tools/lv2bench.c:327:1: enter_function: entry to ‘main’
lilv-0.26.2/tools/lv2bench.c:372:6: branch_false: following ‘false’ branch (when ‘<unknown>’ is NULL)...
lilv-0.26.2/tools/lv2bench.c:376:6: branch_false: ...to here
lilv-0.26.2/tools/lv2bench.c:376:6: branch_false: following ‘false’ branch (when ‘out’ is non-NULL)...
lilv-0.26.2/tools/lv2bench.c:382:28: branch_false: ...to here
lilv-0.26.2/tools/lv2bench.c:406:5: branch_false: following ‘false’ branch...
lilv-0.26.2/tools/lv2bench.c:407:28: branch_false: ...to here
lilv-0.26.2/tools/lv2bench.c:407:22: call_function: calling ‘bench’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def104]
lilv-0.26.2/tools/uri_table.h:45:25: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
lilv-0.26.2/tools/lv2bench.c:327:1: enter_function: entry to ‘main’
lilv-0.26.2/tools/lv2bench.c:372:6: branch_false: following ‘false’ branch (when ‘<unknown>’ is NULL)...
lilv-0.26.2/tools/lv2bench.c:376:6: branch_false: ...to here
lilv-0.26.2/tools/lv2bench.c:376:6: branch_false: following ‘false’ branch (when ‘out’ is non-NULL)...
lilv-0.26.2/tools/lv2bench.c:382:28: branch_false: ...to here
lilv-0.26.2/tools/lv2bench.c:406:5: branch_false: following ‘false’ branch...
lilv-0.26.2/tools/lv2bench.c:407:28: branch_false: ...to here
lilv-0.26.2/tools/lv2bench.c:407:22: call_function: calling ‘bench’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def105]
lilv-0.26.2/tools/uri_table.h:46:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
lilv-0.26.2/tools/lv2bench.c:327:1: enter_function: entry to ‘main’
lilv-0.26.2/tools/lv2bench.c:372:6: branch_false: following ‘false’ branch (when ‘<unknown>’ is NULL)...
lilv-0.26.2/tools/lv2bench.c:376:6: branch_false: ...to here
lilv-0.26.2/tools/lv2bench.c:376:6: branch_false: following ‘false’ branch (when ‘out’ is non-NULL)...
lilv-0.26.2/tools/lv2bench.c:382:28: branch_false: ...to here
lilv-0.26.2/tools/lv2bench.c:406:5: branch_false: following ‘false’ branch...
lilv-0.26.2/tools/lv2bench.c:407:28: branch_false: ...to here
lilv-0.26.2/tools/lv2bench.c:407:22: call_function: calling ‘bench’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def106]
lilv-0.26.2/tools/uri_table.h:47:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(len + 1)’ where non-null expected
lilv-0.26.2/tools/lv2bench.c:327:1: enter_function: entry to ‘main’
lilv-0.26.2/tools/lv2bench.c:372:6: branch_false: following ‘false’ branch (when ‘<unknown>’ is NULL)...
lilv-0.26.2/tools/lv2bench.c:376:6: branch_false: ...to here
lilv-0.26.2/tools/lv2bench.c:376:6: branch_false: following ‘false’ branch (when ‘out’ is non-NULL)...
lilv-0.26.2/tools/lv2bench.c:382:28: branch_false: ...to here
lilv-0.26.2/tools/lv2bench.c:406:5: branch_false: following ‘false’ branch...
lilv-0.26.2/tools/lv2bench.c:407:28: branch_false: ...to here
lilv-0.26.2/tools/lv2bench.c:407:22: call_function: calling ‘bench’ from ‘main’
Scan Properties
| analyzer-version-clippy | 1.92.0 |
| analyzer-version-cppcheck | 2.19.1 |
| analyzer-version-gcc | 16.0.0 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-175.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | lilv-0.26.2-1.fc44 |
| store-results-to | /tmp/tmpiyk_n58l/lilv-0.26.2-1.fc44.tar.xz |
| time-created | 2026-01-08 19:23:08 |
| time-finished | 2026-01-08 19:24:37 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpiyk_n58l/lilv-0.26.2-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpiyk_n58l/lilv-0.26.2-1.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |