librsvg2-2.61.0-3.fc44

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-775): [#def1]
librsvg-2.61.0/librsvg-c/tests-c/api.c:1723:14: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(g_build_filename(test_utils_get_test_data_path(), *(const LoadingTestData *)data.fixture, 0), "rb")’
librsvg-2.61.0/librsvg-c/tests-c/api.c:1720:12: acquire_resource: opened here
librsvg-2.61.0/librsvg-c/tests-c/api.c:1721:5: branch_true: following ‘true’ branch...
librsvg-2.61.0/librsvg-c/tests-c/api.c:1723:14: branch_true: ...to here
librsvg-2.61.0/librsvg-c/tests-c/api.c:1723:14: throw: if ‘rsvg_handle_new_with_flags’ throws an exception...
librsvg-2.61.0/librsvg-c/tests-c/api.c:1723:14: danger: ‘fopen(g_build_filename(test_utils_get_test_data_path(), *(const LoadingTestData *)data.fixture, 0), "rb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
# 1721|       g_assert_nonnull (file);
# 1722|   
# 1723|->     handle = rsvg_handle_new_with_flags (RSVG_HANDLE_FLAGS_NONE);
# 1724|   
# 1725|       done = FALSE;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2]
librsvg-2.61.0/librsvg-c/tests-c/api.c:1723:14: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(g_build_filename(test_utils_get_test_data_path(), *(const LoadingTestData *)data.fixture, 0), "rb")’
librsvg-2.61.0/librsvg-c/tests-c/api.c:1720:12: acquire_memory: allocated here
librsvg-2.61.0/librsvg-c/tests-c/api.c:1721:5: branch_true: following ‘true’ branch...
librsvg-2.61.0/librsvg-c/tests-c/api.c:1723:14: branch_true: ...to here
librsvg-2.61.0/librsvg-c/tests-c/api.c:1723:14: throw: if ‘rsvg_handle_new_with_flags’ throws an exception...
librsvg-2.61.0/librsvg-c/tests-c/api.c:1723:14: danger: ‘fopen(g_build_filename(test_utils_get_test_data_path(), *(const LoadingTestData *)data.fixture, 0), "rb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
# 1721|       g_assert_nonnull (file);
# 1722|   
# 1723|->     handle = rsvg_handle_new_with_flags (RSVG_HANDLE_FLAGS_NONE);
# 1724|   
# 1725|       done = FALSE;

Error: CPPCHECK_WARNING (CWE-476): [#def3]
librsvg-2.61.0/librsvg-c/tests-c/api.c:1730: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: file
# 1728|           size_t num_read;
# 1729|   
# 1730|->         num_read = fread (buf, 1, fixture_data->buf_size, file);
# 1731|   
# 1732|           if (num_read > 0) {

Error: GCC_ANALYZER_WARNING (CWE-688): [#def4]
librsvg-2.61.0/librsvg-c/tests-c/api.c:1730:20: warning[-Wanalyzer-null-argument]: use of NULL ‘fopen(g_build_filename(test_utils_get_test_data_path(), *(const LoadingTestData *)data.fixture, 0), "rb")’ where non-null expected
librsvg-2.61.0/librsvg-c/tests-c/api.c:1720:12: acquire_memory: allocated here
librsvg-2.61.0/librsvg-c/tests-c/api.c:1721:5: release_memory: assuming ‘fopen(g_build_filename(test_utils_get_test_data_path(), *(const LoadingTestData *)data.fixture, 0), "rb")’ is NULL
librsvg-2.61.0/librsvg-c/tests-c/api.c:1721:5: branch_false: following ‘false’ branch...
librsvg-2.61.0/librsvg-c/tests-c/api.c:1721:5: branch_false: ...to here
librsvg-2.61.0/librsvg-c/tests-c/api.c:1730:20: danger: argument 4 (‘fopen(g_build_filename(test_utils_get_test_data_path(), *(const LoadingTestData *)data.fixture, 0), "rb")’) NULL where non-null expected
# 1728|           size_t num_read;
# 1729|   
# 1730|->         num_read = fread (buf, 1, fixture_data->buf_size, file);
# 1731|   
# 1732|           if (num_read > 0) {

Error: GCC_ANALYZER_WARNING (CWE-775): [#def5]
librsvg-2.61.0/librsvg-c/tests-c/api.c:1730:35: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(g_build_filename(test_utils_get_test_data_path(), *(const LoadingTestData *)data.fixture, 0), "rb")’
librsvg-2.61.0/librsvg-c/tests-c/api.c:1720:12: acquire_resource: opened here
librsvg-2.61.0/librsvg-c/tests-c/api.c:1721:5: branch_true: following ‘true’ branch...
librsvg-2.61.0/librsvg-c/tests-c/api.c:1723:14: branch_true: ...to here
librsvg-2.61.0/librsvg-c/tests-c/api.c:1732:12: branch_true: following ‘true’ branch...
librsvg-2.61.0/librsvg-c/tests-c/api.c:1733:13: branch_true: ...to here
librsvg-2.61.0/librsvg-c/tests-c/api.c:1733:13: throw: if ‘rsvg_handle_write’ throws an exception...
librsvg-2.61.0/librsvg-c/tests-c/api.c:1730:35: danger: ‘fopen(g_build_filename(test_utils_get_test_data_path(), *(const LoadingTestData *)data.fixture, 0), "rb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
# 1728|           size_t num_read;
# 1729|   
# 1730|->         num_read = fread (buf, 1, fixture_data->buf_size, file);
# 1731|   
# 1732|           if (num_read > 0) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def6]
librsvg-2.61.0/librsvg-c/tests-c/api.c:1730:35: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(g_build_filename(test_utils_get_test_data_path(), *(const LoadingTestData *)data.fixture, 0), "rb")’
librsvg-2.61.0/librsvg-c/tests-c/api.c:1720:12: acquire_memory: allocated here
librsvg-2.61.0/librsvg-c/tests-c/api.c:1721:5: branch_true: following ‘true’ branch...
librsvg-2.61.0/librsvg-c/tests-c/api.c:1723:14: branch_true: ...to here
librsvg-2.61.0/librsvg-c/tests-c/api.c:1732:12: branch_true: following ‘true’ branch...
librsvg-2.61.0/librsvg-c/tests-c/api.c:1733:13: branch_true: ...to here
librsvg-2.61.0/librsvg-c/tests-c/api.c:1733:13: throw: if ‘rsvg_handle_write’ throws an exception...
librsvg-2.61.0/librsvg-c/tests-c/api.c:1730:35: danger: ‘fopen(g_build_filename(test_utils_get_test_data_path(), *(const LoadingTestData *)data.fixture, 0), "rb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
# 1728|           size_t num_read;
# 1729|   
# 1730|->         num_read = fread (buf, 1, fixture_data->buf_size, file);
# 1731|   
# 1732|           if (num_read > 0) {

Error: CPPCHECK_WARNING (CWE-476): [#def7]
librsvg-2.61.0/librsvg-c/tests-c/api.c:1743: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: file
# 1741|       } while (!done);
# 1742|   
# 1743|->     fclose (file);
# 1744|       g_free (filename);
# 1745|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def8]
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:68:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_filename, "rb")’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:645:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:654:15: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:658:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: acquire_resource: opened here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:670:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:683:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def9]
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:68:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(output_filename, "wb")’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:645:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:654:15: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:658:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:670:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: acquire_resource: opened here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:683:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def10]
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:68:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_filename, "rb")’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:645:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:654:15: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:658:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: acquire_memory: allocated here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:670:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:683:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def11]
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:68:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(output_filename, "wb")’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:645:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:654:15: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:658:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:670:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: acquire_memory: allocated here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:683:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def12]
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:81:24: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_filename, "rb")’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:645:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:654:15: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:658:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: acquire_resource: opened here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:670:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:683:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def13]
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:81:24: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(output_filename, "wb")’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:645:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:654:15: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:658:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:670:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: acquire_resource: opened here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:683:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def14]
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:81:24: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_filename, "rb")’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:645:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:654:15: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:658:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: acquire_memory: allocated here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:670:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:683:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def15]
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:81:24: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(output_filename, "wb")’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:645:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:654:15: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:658:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:670:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: acquire_memory: allocated here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:683:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def16]
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:93:11: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_filename, "rb")’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:645:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:654:15: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:658:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: acquire_resource: opened here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:670:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:683:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def17]
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:93:11: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(output_filename, "wb")’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:645:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:654:15: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:658:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:670:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: acquire_resource: opened here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:683:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def18]
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:93:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_filename, "rb")’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:645:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:654:15: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:658:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: acquire_memory: allocated here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:670:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:683:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def19]
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:93:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(output_filename, "wb")’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:645:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:654:15: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:658:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:670:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: acquire_memory: allocated here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:683:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def20]
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:99:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_filename, "rb")’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:645:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:654:15: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:658:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: acquire_resource: opened here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:670:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:683:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def21]
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:99:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(output_filename, "wb")’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:645:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:654:15: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:658:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:670:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: acquire_resource: opened here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:683:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def22]
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:99:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_filename, "rb")’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:645:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:654:15: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:658:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: acquire_memory: allocated here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:670:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:683:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def23]
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:99:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(output_filename, "wb")’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:645:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:654:15: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:658:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:670:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: acquire_memory: allocated here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:683:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def24]
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:102:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_filename, "rb")’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:645:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:654:15: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:658:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: acquire_resource: opened here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:670:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:683:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def25]
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:102:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(output_filename, "wb")’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:645:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:654:15: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:658:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:670:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: acquire_resource: opened here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:683:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def26]
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:102:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_filename, "rb")’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:645:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:654:15: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:658:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: acquire_memory: allocated here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:670:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:683:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def27]
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:102:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(output_filename, "wb")’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:645:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:654:15: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:658:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:670:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: acquire_memory: allocated here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:683:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-404): [#def28]
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:120:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:599:1: enter_function: entry to ‘dump_error_quark’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:601:3: call_function: calling ‘escaped_printf’ from ‘dump_error_quark’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def29]
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:138:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_filename, "rb")’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:645:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:654:15: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:658:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: acquire_resource: opened here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:670:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:683:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def30]
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:138:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(output_filename, "wb")’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:645:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:654:15: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:658:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:670:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: acquire_resource: opened here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:683:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def31]
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:138:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_filename, "rb")’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:645:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:654:15: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:658:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: acquire_memory: allocated here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:670:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:683:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def32]
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:138:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(output_filename, "wb")’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:645:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:654:15: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:658:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:670:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: acquire_memory: allocated here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:683:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def33]
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:686:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_filename, "rb")’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:645:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:654:15: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:658:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: acquire_resource: opened here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:670:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:683:6: branch_true: following ‘true’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:685:25: branch_true: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:686:7: throw: if ‘g_file_error_quark’ throws an exception...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:686:7: danger: ‘fopen(input_filename, "rb")’ leaks here; was opened at [(5)](sarif:/runs/0/results/199/codeFlows/0/threadFlows/0/locations/4)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def34]
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:686:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_filename, "rb")’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:645:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:654:15: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:658:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: acquire_memory: allocated here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:670:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:683:6: branch_true: following ‘true’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:685:25: branch_true: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:686:7: throw: if ‘g_file_error_quark’ throws an exception...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:686:7: danger: ‘fopen(input_filename, "rb")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/200/codeFlows/0/threadFlows/0/locations/4)

Error: GCC_ANALYZER_WARNING (CWE-775): [#def35]
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:686:41: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_filename, "rb")’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:645:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:654:15: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:658:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: acquire_resource: opened here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:670:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:683:6: branch_true: following ‘true’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:685:25: branch_true: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:686:41: throw: if ‘g_file_error_from_errno’ throws an exception...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:686:41: danger: ‘fopen(input_filename, "rb")’ leaks here; was opened at [(5)](sarif:/runs/0/results/203/codeFlows/0/threadFlows/0/locations/4)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def36]
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:686:41: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_filename, "rb")’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:645:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:654:15: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:658:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: acquire_memory: allocated here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:670:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:683:6: branch_true: following ‘true’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:685:25: branch_true: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:686:41: throw: if ‘g_file_error_from_errno’ throws an exception...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:686:41: danger: ‘fopen(input_filename, "rb")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/204/codeFlows/0/threadFlows/0/locations/4)

Error: GCC_ANALYZER_WARNING (CWE-775): [#def37]
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:699:18: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_filename, "rb")’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:645:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:654:15: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:658:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: acquire_resource: opened here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:670:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:683:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:699:18: throw: if ‘g_hash_table_new’ throws an exception...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:699:18: danger: ‘fopen(input_filename, "rb")’ leaks here; was opened at [(6)](sarif:/runs/0/results/205/codeFlows/0/threadFlows/0/locations/5)

Error: GCC_ANALYZER_WARNING (CWE-775): [#def38]
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:699:18: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(output_filename, "wb")’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:645:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:654:15: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:658:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:670:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: acquire_resource: opened here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:683:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:699:18: throw: if ‘g_hash_table_new’ throws an exception...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:699:18: danger: ‘fopen(output_filename, "wb")’ leaks here; was opened at [(8)](sarif:/runs/0/results/206/codeFlows/0/threadFlows/0/locations/7)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def39]
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:699:18: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_filename, "rb")’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:645:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:654:15: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:658:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: acquire_memory: allocated here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:670:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:683:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:699:18: throw: if ‘g_hash_table_new’ throws an exception...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:699:18: danger: ‘fopen(input_filename, "rb")’ leaks here; was allocated at [(6)](sarif:/runs/0/results/207/codeFlows/0/threadFlows/0/locations/5)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def40]
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:699:18: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(output_filename, "wb")’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:630:1: enter_function: entry to ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:645:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:654:15: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:658:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:669:11: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:670:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:682:12: acquire_memory: allocated here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:683:6: branch_false: following ‘false’ branch...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: branch_false: ...to here
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:699:18: throw: if ‘g_hash_table_new’ throws an exception...
librsvg-2.61.0/redhat-linux-build/tmp-introspect8btvn4qo/Rsvg-2.0.c:699:18: danger: ‘fopen(output_filename, "wb")’ leaks here; was allocated at [(8)](sarif:/runs/0/results/208/codeFlows/0/threadFlows/0/locations/7)

Error: CLIPPY_WARNING: [#def41]
librsvg-c/src/handle.rs:188:1: warning: this `impl` can be derived
#      |
#  188 | / impl Default for LoadState {
#  189 | |     fn default() -> Self {
#  190 | |         Self::Start
#  191 | |     }
#  192 | | }
#      | |_^
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#derivable_impls
#      = note: `#[warn(clippy::derivable_impls)]` on by default
#  help: replace the manual implementation with a derive attribute and mark the default variant
#      |
#  152 + #[derive(Default)]
#  153 | enum LoadState {
#  154 |     /// Just created the CHandle; nothing loaded yet.
#  155 ~     #[default]
#  156 ~     Start,
#      |

Error: CLIPPY_WARNING: [#def42]
rsvg/src/text.rs:295:24: warning: called `unwrap` on `run` after checking its variant with `is_some`
#      |
#  294 |         if run.is_some() {
#      |         ---------------- help: try: `if let Some(<item>) = run`
#  295 |             let item = run.unwrap().item();
#      |                        ^^^^^^^^^^^^
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#unnecessary_unwrap
#      = note: `#[warn(clippy::unnecessary_unwrap)]` on by default

Scan Properties

analyzer-version-clippy1.92.0
analyzer-version-cppcheck2.19.1
analyzer-version-gcc16.0.0
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-96.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namelibrsvg2-2.61.0-3.fc44
store-results-to/tmp/tmp166gbv4s/librsvg2-2.61.0-3.fc44.tar.xz
time-created2026-01-08 19:11:04
time-finished2026-01-08 19:17:01
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmp166gbv4s/librsvg2-2.61.0-3.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp166gbv4s/librsvg2-2.61.0-3.fc44.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9