libxml2-2.12.10-5.fc44
List of Findings
Error: SHELLCHECK_WARNING (CWE-477): [#def1]
/usr/bin/xml2-config:97:44: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: COMPILER_WARNING (CWE-704): [#def2]
libxml2-2.12.10/HTMLparser.c: scope_hint: In function 'htmlCheckAutoClose'
libxml2-2.12.10/HTMLparser.c:1449:9: warning[-Wdiscarded-qualifiers]: assignment discards 'const' qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def3]
libxml2-2.12.10/HTMLparser.c:1449:9: warning[-Wdiscarded-qualifiers]: assignment discards 'const' qualifier from pointer target type
Error: CPPCHECK_WARNING (CWE-457): [#def4]
libxml2-2.12.10/HTMLparser.c:2551: warning[uninitvar]: Uninitialized variable: loc
Error: CPPCHECK_WARNING (CWE-457): [#def5]
libxml2-2.12.10/HTMLparser.c:2586: warning[uninitvar]: Uninitialized variable: loc
Error: GCC_ANALYZER_WARNING (CWE-775): [#def6]
libxml2-2.12.10/catalog.c:987:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(filename, 0)'
libxml2-2.12.10/catalog.c:3189:1: enter_function: entry to 'xmlLoadCatalog'
libxml2-2.12.10/catalog.c:3200:17: call_function: calling 'xmlLoadACatalog' from 'xmlLoadCatalog'
Error: CPPCHECK_WARNING (CWE-457): [#def7]
libxml2-2.12.10/catalog.c:2261: warning[uninitvar]: Uninitialized variable: buf
Error: GCC_ANALYZER_WARNING (CWE-835): [#def8]
libxml2-2.12.10/dict.c:637:12: warning[-Wanalyzer-infinite-loop]: infinite loop
Error: GCC_ANALYZER_WARNING (CWE-476): [#def9]
libxml2-2.12.10/dict.c:777:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 'entry'
libxml2-2.12.10/dict.c:894:1: enter_function: entry to 'xmlDictQLookup'
libxml2-2.12.10/dict.c:897:13: call_function: calling 'xmlDictLookupInternal' from 'xmlDictQLookup'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def10]
libxml2-2.12.10/encoding.c:1728:15: warning[-Wanalyzer-malloc-leak]: leak of 'iconv_open("UTF-8", name)'
libxml2-2.12.10/encoding.c:1700:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1706:5: branch_false: ...to here
libxml2-2.12.10/encoding.c:1706:16: branch_true: following 'true' branch (when 'i != 99')...
libxml2-2.12.10/encoding.c:1707:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1712:17: branch_true: following 'true' branch (when 'i != 8')...
libxml2-2.12.10/encoding.c:1713:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1727:14: acquire_memory: allocated here
libxml2-2.12.10/encoding.c:1728:15: throw: if 'iconv_open' throws an exception...
libxml2-2.12.10/encoding.c:1728:15: danger: 'iconv_open("UTF-8", name)' leaks here; was allocated at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def11]
libxml2-2.12.10/encoding.c:1729:8: warning[-Wanalyzer-malloc-leak]: leak of 'iconv_open("UTF-8", name)'
libxml2-2.12.10/encoding.c:1700:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1706:5: branch_false: ...to here
libxml2-2.12.10/encoding.c:1706:16: branch_true: following 'true' branch (when 'i != 99')...
libxml2-2.12.10/encoding.c:1707:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1712:17: branch_true: following 'true' branch (when 'i != 8')...
libxml2-2.12.10/encoding.c:1713:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1727:14: acquire_memory: allocated here
libxml2-2.12.10/encoding.c:1729:8: danger: 'iconv_open("UTF-8", name)' leaks here; was allocated at [(11)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def12]
libxml2-2.12.10/encoding.c:1730:18: warning[-Wanalyzer-malloc-leak]: leak of 'iconv_open(name, "UTF-8")'
libxml2-2.12.10/encoding.c:1700:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1706:5: branch_false: ...to here
libxml2-2.12.10/encoding.c:1706:16: branch_true: following 'true' branch (when 'i != 99')...
libxml2-2.12.10/encoding.c:1707:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1712:17: branch_true: following 'true' branch (when 'i != 8')...
libxml2-2.12.10/encoding.c:1713:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1728:15: acquire_memory: allocated here
libxml2-2.12.10/encoding.c:1729:8: branch_true: following 'true' branch...
libxml2-2.12.10/encoding.c:1730:18: branch_true: ...to here
libxml2-2.12.10/encoding.c:1730:18: throw: if 'iconv_open' throws an exception...
libxml2-2.12.10/encoding.c:1730:18: danger: 'iconv_open(name, "UTF-8")' leaks here; was allocated at [(11)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def13]
libxml2-2.12.10/encoding.c:1732:8: warning[-Wanalyzer-malloc-leak]: leak of 'iconv_open(name, "UTF-8")'
libxml2-2.12.10/encoding.c:1700:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1706:5: branch_false: ...to here
libxml2-2.12.10/encoding.c:1706:16: branch_true: following 'true' branch (when 'i != 99')...
libxml2-2.12.10/encoding.c:1707:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1712:17: branch_true: following 'true' branch (when 'i != 8')...
libxml2-2.12.10/encoding.c:1713:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1728:15: acquire_memory: allocated here
libxml2-2.12.10/encoding.c:1729:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1732:8: branch_false: ...to here
libxml2-2.12.10/encoding.c:1732:8: danger: 'iconv_open(name, "UTF-8")' leaks here; was allocated at [(11)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def14]
libxml2-2.12.10/encoding.c:1733:19: warning[-Wanalyzer-malloc-leak]: leak of 'icv_in'
libxml2-2.12.10/encoding.c:1700:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1706:5: branch_false: ...to here
libxml2-2.12.10/encoding.c:1706:16: branch_true: following 'true' branch (when 'i != 99')...
libxml2-2.12.10/encoding.c:1707:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1712:17: branch_true: following 'true' branch (when 'i != 8')...
libxml2-2.12.10/encoding.c:1713:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1727:14: acquire_memory: allocated here
libxml2-2.12.10/encoding.c:1729:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1732:8: branch_false: ...to here
libxml2-2.12.10/encoding.c:1732:8: branch_true: following 'true' branch...
libxml2-2.12.10/encoding.c:1733:19: branch_true: ...to here
libxml2-2.12.10/encoding.c:1733:19: throw: if 'iconv_open' throws an exception...
libxml2-2.12.10/encoding.c:1733:19: danger: 'icv_in' leaks here; was allocated at [(11)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def15]
libxml2-2.12.10/encoding.c:1737:19: warning[-Wanalyzer-malloc-leak]: leak of 'icv_in'
libxml2-2.12.10/encoding.c:1700:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1706:5: branch_false: ...to here
libxml2-2.12.10/encoding.c:1706:16: branch_true: following 'true' branch (when 'i != 99')...
libxml2-2.12.10/encoding.c:1707:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1712:17: branch_true: following 'true' branch (when 'i != 8')...
libxml2-2.12.10/encoding.c:1713:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1727:14: acquire_memory: allocated here
libxml2-2.12.10/encoding.c:1729:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1732:8: branch_false: ...to here
libxml2-2.12.10/encoding.c:1732:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1735:9: branch_false: ...to here
libxml2-2.12.10/encoding.c:1735:8: branch_true: following 'true' branch...
libxml2-2.12.10/encoding.c:1737:19: branch_true: ...to here
libxml2-2.12.10/encoding.c:1737:19: throw: if the called function throws an exception...
libxml2-2.12.10/encoding.c:1737:19: danger: 'icv_in' leaks here; was allocated at [(11)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def16]
libxml2-2.12.10/encoding.c:1737:19: warning[-Wanalyzer-malloc-leak]: leak of 'icv_out'
libxml2-2.12.10/encoding.c:1700:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1706:5: branch_false: ...to here
libxml2-2.12.10/encoding.c:1706:16: branch_true: following 'true' branch (when 'i != 99')...
libxml2-2.12.10/encoding.c:1707:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1712:17: branch_true: following 'true' branch (when 'i != 8')...
libxml2-2.12.10/encoding.c:1713:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1728:15: acquire_memory: allocated here
libxml2-2.12.10/encoding.c:1729:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1732:8: branch_false: ...to here
libxml2-2.12.10/encoding.c:1732:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1735:9: branch_false: ...to here
libxml2-2.12.10/encoding.c:1735:8: branch_true: following 'true' branch...
libxml2-2.12.10/encoding.c:1737:19: branch_true: ...to here
libxml2-2.12.10/encoding.c:1737:19: throw: if the called function throws an exception...
libxml2-2.12.10/encoding.c:1737:19: danger: 'icv_out' leaks here; was allocated at [(11)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def17]
libxml2-2.12.10/encoding.c:1739:17: warning[-Wanalyzer-malloc-leak]: leak of 'icv_in'
libxml2-2.12.10/encoding.c:1700:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1706:5: branch_false: ...to here
libxml2-2.12.10/encoding.c:1706:16: branch_true: following 'true' branch (when 'i != 99')...
libxml2-2.12.10/encoding.c:1707:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1712:17: branch_true: following 'true' branch (when 'i != 8')...
libxml2-2.12.10/encoding.c:1713:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1727:14: acquire_memory: allocated here
libxml2-2.12.10/encoding.c:1729:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1732:8: branch_false: ...to here
libxml2-2.12.10/encoding.c:1732:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1735:9: branch_false: ...to here
libxml2-2.12.10/encoding.c:1735:8: branch_true: following 'true' branch...
libxml2-2.12.10/encoding.c:1737:19: branch_true: ...to here
libxml2-2.12.10/encoding.c:1738:16: branch_true: following 'true' branch...
libxml2-2.12.10/encoding.c:1739:17: branch_true: ...to here
libxml2-2.12.10/encoding.c:1739:17: throw: if 'iconv_close' throws an exception...
libxml2-2.12.10/encoding.c:1739:17: danger: 'icv_in' leaks here; was allocated at [(11)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def18]
libxml2-2.12.10/encoding.c:1739:17: warning[-Wanalyzer-malloc-leak]: leak of 'icv_out'
libxml2-2.12.10/encoding.c:1700:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1706:5: branch_false: ...to here
libxml2-2.12.10/encoding.c:1706:16: branch_true: following 'true' branch (when 'i != 99')...
libxml2-2.12.10/encoding.c:1707:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1712:17: branch_true: following 'true' branch (when 'i != 8')...
libxml2-2.12.10/encoding.c:1713:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1728:15: acquire_memory: allocated here
libxml2-2.12.10/encoding.c:1729:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1732:8: branch_false: ...to here
libxml2-2.12.10/encoding.c:1732:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1735:9: branch_false: ...to here
libxml2-2.12.10/encoding.c:1735:8: branch_true: following 'true' branch...
libxml2-2.12.10/encoding.c:1737:19: branch_true: ...to here
libxml2-2.12.10/encoding.c:1738:16: branch_true: following 'true' branch...
libxml2-2.12.10/encoding.c:1739:17: branch_true: ...to here
libxml2-2.12.10/encoding.c:1739:17: throw: if 'iconv_close' throws an exception...
libxml2-2.12.10/encoding.c:1739:17: danger: 'icv_out' leaks here; was allocated at [(11)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def19]
libxml2-2.12.10/encoding.c:1740:17: warning[-Wanalyzer-malloc-leak]: leak of 'icv_out'
libxml2-2.12.10/encoding.c:1700:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1706:5: branch_false: ...to here
libxml2-2.12.10/encoding.c:1706:16: branch_true: following 'true' branch (when 'i != 99')...
libxml2-2.12.10/encoding.c:1707:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1712:17: branch_true: following 'true' branch (when 'i != 8')...
libxml2-2.12.10/encoding.c:1713:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1728:15: acquire_memory: allocated here
libxml2-2.12.10/encoding.c:1732:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1735:9: branch_false: ...to here
libxml2-2.12.10/encoding.c:1735:8: branch_true: following 'true' branch...
libxml2-2.12.10/encoding.c:1737:19: branch_true: ...to here
libxml2-2.12.10/encoding.c:1738:16: branch_true: following 'true' branch...
libxml2-2.12.10/encoding.c:1739:17: branch_true: ...to here
libxml2-2.12.10/encoding.c:1740:17: throw: if 'iconv_close' throws an exception...
libxml2-2.12.10/encoding.c:1740:17: danger: 'icv_out' leaks here; was allocated at [(11)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def20]
libxml2-2.12.10/encoding.c:1744:25: warning[-Wanalyzer-malloc-leak]: leak of 'icv_in'
libxml2-2.12.10/encoding.c:1700:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1706:5: branch_false: ...to here
libxml2-2.12.10/encoding.c:1706:16: branch_true: following 'true' branch (when 'i != 99')...
libxml2-2.12.10/encoding.c:1707:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1712:17: branch_true: following 'true' branch (when 'i != 8')...
libxml2-2.12.10/encoding.c:1713:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1727:14: acquire_memory: allocated here
libxml2-2.12.10/encoding.c:1729:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1732:8: branch_false: ...to here
libxml2-2.12.10/encoding.c:1732:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1735:9: branch_false: ...to here
libxml2-2.12.10/encoding.c:1735:8: branch_true: following 'true' branch...
libxml2-2.12.10/encoding.c:1737:19: branch_true: ...to here
libxml2-2.12.10/encoding.c:1738:16: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1743:13: branch_false: ...to here
libxml2-2.12.10/encoding.c:1744:25: throw: if the called function throws an exception...
libxml2-2.12.10/encoding.c:1744:25: danger: 'icv_in' leaks here; was allocated at [(11)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def21]
libxml2-2.12.10/encoding.c:1744:25: warning[-Wanalyzer-malloc-leak]: leak of 'icv_out'
libxml2-2.12.10/encoding.c:1700:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1706:5: branch_false: ...to here
libxml2-2.12.10/encoding.c:1706:16: branch_true: following 'true' branch (when 'i != 99')...
libxml2-2.12.10/encoding.c:1707:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1712:17: branch_true: following 'true' branch (when 'i != 8')...
libxml2-2.12.10/encoding.c:1713:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1728:15: acquire_memory: allocated here
libxml2-2.12.10/encoding.c:1729:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1732:8: branch_false: ...to here
libxml2-2.12.10/encoding.c:1732:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1735:9: branch_false: ...to here
libxml2-2.12.10/encoding.c:1735:8: branch_true: following 'true' branch...
libxml2-2.12.10/encoding.c:1737:19: branch_true: ...to here
libxml2-2.12.10/encoding.c:1738:16: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1743:13: branch_false: ...to here
libxml2-2.12.10/encoding.c:1744:25: throw: if the called function throws an exception...
libxml2-2.12.10/encoding.c:1744:25: danger: 'icv_out' leaks here; was allocated at [(11)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def22]
libxml2-2.12.10/encoding.c:1746:17: warning[-Wanalyzer-malloc-leak]: leak of 'icv_in'
libxml2-2.12.10/encoding.c:1700:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1706:5: branch_false: ...to here
libxml2-2.12.10/encoding.c:1706:16: branch_true: following 'true' branch (when 'i != 99')...
libxml2-2.12.10/encoding.c:1707:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1712:17: branch_true: following 'true' branch (when 'i != 8')...
libxml2-2.12.10/encoding.c:1713:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1727:14: acquire_memory: allocated here
libxml2-2.12.10/encoding.c:1729:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1732:8: branch_false: ...to here
libxml2-2.12.10/encoding.c:1732:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1735:9: branch_false: ...to here
libxml2-2.12.10/encoding.c:1735:8: branch_true: following 'true' branch...
libxml2-2.12.10/encoding.c:1737:19: branch_true: ...to here
libxml2-2.12.10/encoding.c:1738:16: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1743:13: branch_false: ...to here
libxml2-2.12.10/encoding.c:1745:16: branch_true: following 'true' branch...
libxml2-2.12.10/encoding.c:1746:17: branch_true: ...to here
libxml2-2.12.10/encoding.c:1746:17: throw: if the called function throws an exception...
libxml2-2.12.10/encoding.c:1746:17: danger: 'icv_in' leaks here; was allocated at [(11)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def23]
libxml2-2.12.10/encoding.c:1746:17: warning[-Wanalyzer-malloc-leak]: leak of 'icv_out'
libxml2-2.12.10/encoding.c:1700:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1706:5: branch_false: ...to here
libxml2-2.12.10/encoding.c:1706:16: branch_true: following 'true' branch (when 'i != 99')...
libxml2-2.12.10/encoding.c:1707:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1712:17: branch_true: following 'true' branch (when 'i != 8')...
libxml2-2.12.10/encoding.c:1713:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1728:15: acquire_memory: allocated here
libxml2-2.12.10/encoding.c:1729:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1732:8: branch_false: ...to here
libxml2-2.12.10/encoding.c:1732:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1735:9: branch_false: ...to here
libxml2-2.12.10/encoding.c:1735:8: branch_true: following 'true' branch...
libxml2-2.12.10/encoding.c:1737:19: branch_true: ...to here
libxml2-2.12.10/encoding.c:1738:16: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1743:13: branch_false: ...to here
libxml2-2.12.10/encoding.c:1745:16: branch_true: following 'true' branch...
libxml2-2.12.10/encoding.c:1746:17: branch_true: ...to here
libxml2-2.12.10/encoding.c:1746:17: throw: if the called function throws an exception...
libxml2-2.12.10/encoding.c:1746:17: danger: 'icv_out' leaks here; was allocated at [(11)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def24]
libxml2-2.12.10/encoding.c:1747:17: warning[-Wanalyzer-malloc-leak]: leak of 'icv_in'
libxml2-2.12.10/encoding.c:1700:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1706:5: branch_false: ...to here
libxml2-2.12.10/encoding.c:1706:16: branch_true: following 'true' branch (when 'i != 99')...
libxml2-2.12.10/encoding.c:1707:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1712:17: branch_true: following 'true' branch (when 'i != 8')...
libxml2-2.12.10/encoding.c:1713:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1727:14: acquire_memory: allocated here
libxml2-2.12.10/encoding.c:1729:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1732:8: branch_false: ...to here
libxml2-2.12.10/encoding.c:1732:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1735:9: branch_false: ...to here
libxml2-2.12.10/encoding.c:1735:8: branch_true: following 'true' branch...
libxml2-2.12.10/encoding.c:1737:19: branch_true: ...to here
libxml2-2.12.10/encoding.c:1738:16: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1743:13: branch_false: ...to here
libxml2-2.12.10/encoding.c:1745:16: branch_true: following 'true' branch...
libxml2-2.12.10/encoding.c:1746:17: branch_true: ...to here
libxml2-2.12.10/encoding.c:1747:17: throw: if 'iconv_close' throws an exception...
libxml2-2.12.10/encoding.c:1747:17: danger: 'icv_in' leaks here; was allocated at [(11)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def25]
libxml2-2.12.10/encoding.c:1747:17: warning[-Wanalyzer-malloc-leak]: leak of 'icv_out'
libxml2-2.12.10/encoding.c:1700:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1706:5: branch_false: ...to here
libxml2-2.12.10/encoding.c:1706:16: branch_true: following 'true' branch (when 'i != 99')...
libxml2-2.12.10/encoding.c:1707:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1712:17: branch_true: following 'true' branch (when 'i != 8')...
libxml2-2.12.10/encoding.c:1713:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1728:15: acquire_memory: allocated here
libxml2-2.12.10/encoding.c:1729:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1732:8: branch_false: ...to here
libxml2-2.12.10/encoding.c:1732:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1735:9: branch_false: ...to here
libxml2-2.12.10/encoding.c:1735:8: branch_true: following 'true' branch...
libxml2-2.12.10/encoding.c:1737:19: branch_true: ...to here
libxml2-2.12.10/encoding.c:1738:16: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1743:13: branch_false: ...to here
libxml2-2.12.10/encoding.c:1745:16: branch_true: following 'true' branch...
libxml2-2.12.10/encoding.c:1746:17: branch_true: ...to here
libxml2-2.12.10/encoding.c:1747:17: throw: if 'iconv_close' throws an exception...
libxml2-2.12.10/encoding.c:1747:17: danger: 'icv_out' leaks here; was allocated at [(11)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def26]
libxml2-2.12.10/encoding.c:1748:17: warning[-Wanalyzer-malloc-leak]: leak of 'icv_out'
libxml2-2.12.10/encoding.c:1700:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1706:5: branch_false: ...to here
libxml2-2.12.10/encoding.c:1706:16: branch_true: following 'true' branch (when 'i != 99')...
libxml2-2.12.10/encoding.c:1707:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1712:17: branch_true: following 'true' branch (when 'i != 8')...
libxml2-2.12.10/encoding.c:1713:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1728:15: acquire_memory: allocated here
libxml2-2.12.10/encoding.c:1732:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1735:9: branch_false: ...to here
libxml2-2.12.10/encoding.c:1735:8: branch_true: following 'true' branch...
libxml2-2.12.10/encoding.c:1737:19: branch_true: ...to here
libxml2-2.12.10/encoding.c:1738:16: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1743:13: branch_false: ...to here
libxml2-2.12.10/encoding.c:1745:16: branch_true: following 'true' branch...
libxml2-2.12.10/encoding.c:1746:17: branch_true: ...to here
libxml2-2.12.10/encoding.c:1748:17: throw: if 'iconv_close' throws an exception...
libxml2-2.12.10/encoding.c:1748:17: danger: 'icv_out' leaks here; was allocated at [(11)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def27]
libxml2-2.12.10/encoding.c:1758:17: warning[-Wanalyzer-malloc-leak]: leak of 'icv_in'
libxml2-2.12.10/encoding.c:1700:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1706:5: branch_false: ...to here
libxml2-2.12.10/encoding.c:1706:16: branch_true: following 'true' branch (when 'i != 99')...
libxml2-2.12.10/encoding.c:1707:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1712:17: branch_true: following 'true' branch (when 'i != 8')...
libxml2-2.12.10/encoding.c:1713:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1727:14: acquire_memory: allocated here
libxml2-2.12.10/encoding.c:1729:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1732:8: branch_false: ...to here
libxml2-2.12.10/encoding.c:1732:8: branch_true: following 'true' branch...
libxml2-2.12.10/encoding.c:1733:19: branch_true: ...to here
libxml2-2.12.10/encoding.c:1735:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1756:16: branch_false: ...to here
libxml2-2.12.10/encoding.c:1756:15: branch_true: following 'true' branch...
libxml2-2.12.10/encoding.c:1757:16: branch_true: ...to here
libxml2-2.12.10/encoding.c:1757:16: branch_true: following 'true' branch (when 'icv_in != 18446744073709551615')...
libxml2-2.12.10/encoding.c:1758:17: branch_true: ...to here
libxml2-2.12.10/encoding.c:1758:17: throw: if 'iconv_close' throws an exception...
libxml2-2.12.10/encoding.c:1758:17: danger: 'icv_in' leaks here; was allocated at [(11)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def28]
libxml2-2.12.10/encoding.c:1758:17: warning[-Wanalyzer-malloc-leak]: leak of 'icv_out'
libxml2-2.12.10/encoding.c:1700:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1706:5: branch_false: ...to here
libxml2-2.12.10/encoding.c:1706:16: branch_true: following 'true' branch (when 'i != 99')...
libxml2-2.12.10/encoding.c:1707:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1712:17: branch_true: following 'true' branch (when 'i != 8')...
libxml2-2.12.10/encoding.c:1713:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1729:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1732:8: branch_false: ...to here
libxml2-2.12.10/encoding.c:1732:8: branch_true: following 'true' branch...
libxml2-2.12.10/encoding.c:1733:19: branch_true: ...to here
libxml2-2.12.10/encoding.c:1733:19: acquire_memory: allocated here
libxml2-2.12.10/encoding.c:1735:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1756:16: branch_false: ...to here
libxml2-2.12.10/encoding.c:1756:15: branch_true: following 'true' branch...
libxml2-2.12.10/encoding.c:1757:16: branch_true: ...to here
libxml2-2.12.10/encoding.c:1757:16: branch_true: following 'true' branch (when 'icv_in != 18446744073709551615')...
libxml2-2.12.10/encoding.c:1758:17: branch_true: ...to here
libxml2-2.12.10/encoding.c:1758:17: throw: if 'iconv_close' throws an exception...
libxml2-2.12.10/encoding.c:1758:17: danger: 'icv_out' leaks here; was allocated at [(15)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def29]
libxml2-2.12.10/encoding.c:1760:17: warning[-Wanalyzer-malloc-leak]: leak of 'icv_in'
libxml2-2.12.10/encoding.c:1700:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1706:5: branch_false: ...to here
libxml2-2.12.10/encoding.c:1706:16: branch_true: following 'true' branch (when 'i != 99')...
libxml2-2.12.10/encoding.c:1707:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1712:17: branch_true: following 'true' branch (when 'i != 8')...
libxml2-2.12.10/encoding.c:1713:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1729:8: branch_true: following 'true' branch...
libxml2-2.12.10/encoding.c:1730:18: branch_true: ...to here
libxml2-2.12.10/encoding.c:1730:18: acquire_memory: allocated here
libxml2-2.12.10/encoding.c:1732:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1735:9: branch_false: ...to here
libxml2-2.12.10/encoding.c:1735:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1756:16: branch_false: ...to here
libxml2-2.12.10/encoding.c:1756:15: branch_true: following 'true' branch...
libxml2-2.12.10/encoding.c:1757:16: branch_true: ...to here
libxml2-2.12.10/encoding.c:1757:16: branch_false: following 'false' branch (when 'icv_in == 18446744073709551615')...
libxml2-2.12.10/encoding.c:1760:17: branch_false: ...to here
libxml2-2.12.10/encoding.c:1760:17: throw: if 'iconv_close' throws an exception...
libxml2-2.12.10/encoding.c:1760:17: danger: 'icv_in' leaks here; was allocated at [(13)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def30]
libxml2-2.12.10/encoding.c:1760:17: warning[-Wanalyzer-malloc-leak]: leak of 'icv_out'
libxml2-2.12.10/encoding.c:1700:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1706:5: branch_false: ...to here
libxml2-2.12.10/encoding.c:1706:16: branch_true: following 'true' branch (when 'i != 99')...
libxml2-2.12.10/encoding.c:1707:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1712:17: branch_true: following 'true' branch (when 'i != 8')...
libxml2-2.12.10/encoding.c:1713:27: branch_true: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1713:12: branch_false: following 'false' branch (when the strings are non-equal)...
libxml2-2.12.10/encoding.c:1712:49: branch_false: ...to here
libxml2-2.12.10/encoding.c:1728:15: acquire_memory: allocated here
libxml2-2.12.10/encoding.c:1729:8: branch_true: following 'true' branch...
libxml2-2.12.10/encoding.c:1730:18: branch_true: ...to here
libxml2-2.12.10/encoding.c:1732:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1735:9: branch_false: ...to here
libxml2-2.12.10/encoding.c:1735:8: branch_false: following 'false' branch...
libxml2-2.12.10/encoding.c:1756:16: branch_false: ...to here
libxml2-2.12.10/encoding.c:1756:15: branch_true: following 'true' branch...
libxml2-2.12.10/encoding.c:1757:16: branch_true: ...to here
libxml2-2.12.10/encoding.c:1757:16: branch_false: following 'false' branch (when 'icv_in == 18446744073709551615')...
libxml2-2.12.10/encoding.c:1760:17: branch_false: ...to here
libxml2-2.12.10/encoding.c:1760:17: throw: if 'iconv_close' throws an exception...
libxml2-2.12.10/encoding.c:1760:17: danger: 'icv_out' leaks here; was allocated at [(11)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def31]
libxml2-2.12.10/globals.c:757:5: warning[-Wanalyzer-malloc-leak]: leak of 'gs'
libxml2-2.12.10/globals.c:945:1: enter_function: entry to 'xmlCheckThreadLocalStorage'
libxml2-2.12.10/globals.c:947:8: branch_true: following 'true' branch...
libxml2-2.12.10/globals.c:947:42: branch_true: ...to here
libxml2-2.12.10/globals.c:947:42: call_function: calling 'xmlGetThreadLocalStorage' from 'xmlCheckThreadLocalStorage'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def32]
libxml2-2.12.10/globals.c:760:5: warning[-Wanalyzer-malloc-leak]: leak of 'gs'
libxml2-2.12.10/globals.c:945:1: enter_function: entry to 'xmlCheckThreadLocalStorage'
libxml2-2.12.10/globals.c:947:8: branch_true: following 'true' branch...
libxml2-2.12.10/globals.c:947:42: branch_true: ...to here
libxml2-2.12.10/globals.c:947:42: call_function: calling 'xmlGetThreadLocalStorage' from 'xmlCheckThreadLocalStorage'
Error: GCC_ANALYZER_WARNING (CWE-835): [#def33]
libxml2-2.12.10/hash.c:382:12: warning[-Wanalyzer-infinite-loop]: infinite loop
Error: GCC_ANALYZER_WARNING (CWE-835): [#def34]
libxml2-2.12.10/hash.c:931:12: warning[-Wanalyzer-infinite-loop]: infinite loop
libxml2-2.12.10/hash.c:931:12: danger: infinite loop here
libxml2-2.12.10/hash.c:931:12: branch_true: if it ever follows 'true' branch, it will always do so...
libxml2-2.12.10/hash.c:932:12: branch_true: ...to here
libxml2-2.12.10/hash.c:932:12: branch_true: when 'end <= entry': always following 'true' branch...
libxml2-2.12.10/hash.c:932:12: branch_true: ...to here
Error: GCC_ANALYZER_WARNING (CWE-835): [#def35]
libxml2-2.12.10/hash.c:1011:12: warning[-Wanalyzer-infinite-loop]: infinite loop
libxml2-2.12.10/hash.c:1011:12: danger: infinite loop here
libxml2-2.12.10/hash.c:1011:12: branch_true: if it ever follows 'true' branch, it will always do so...
libxml2-2.12.10/hash.c:1012:12: branch_true: ...to here
libxml2-2.12.10/hash.c:1012:12: branch_true: when 'end <= entry': always following 'true' branch...
libxml2-2.12.10/hash.c:1012:12: branch_true: ...to here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def36]
libxml2-2.12.10/nanoftp.c:126:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor 's'
libxml2-2.12.10/nanoftp.c:124:9: acquire_resource: stream socket created here
libxml2-2.12.10/nanoftp.c:125:8: branch_true: following 'true' branch (when 's != -1')...
libxml2-2.12.10/nanoftp.c:126:9: branch_true: ...to here
libxml2-2.12.10/nanoftp.c:126:9: throw: if 'close' throws an exception...
libxml2-2.12.10/nanoftp.c:126:9: danger: 's' leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def37]
libxml2-2.12.10/nanoftp.c:882:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor '*(struct xmlNanoFTPCtxt *)ctx.controlFd'
libxml2-2.12.10/nanoftp.c:771:1: enter_function: entry to 'xmlNanoFTPConnect'
libxml2-2.12.10/nanoftp.c:778:8: branch_false: following 'false' branch (when 'ctx' is non-NULL)...
libxml2-2.12.10/nanoftp.c:780:9: branch_false: ...to here
libxml2-2.12.10/nanoftp.c:780:8: branch_false: following 'false' branch...
libxml2-2.12.10/nanoftp.c:786:9: branch_false: ...to here
libxml2-2.12.10/nanoftp.c:797:9: call_function: calling 'have_ipv6' from 'xmlNanoFTPConnect'
libxml2-2.12.10/nanoftp.c:797:9: return_function: returning to 'xmlNanoFTPConnect' from 'have_ipv6'
libxml2-2.12.10/nanoftp.c:797:8: branch_false: following 'false' branch...
libxml2-2.12.10/nanoftp.c:848:13: branch_false: ...to here
libxml2-2.12.10/nanoftp.c:852:12: branch_false: following 'false' branch (when 'hp' is non-NULL)...
libxml2-2.12.10/nanoftp.c:856:28: branch_false: ...to here
libxml2-2.12.10/nanoftp.c:856:12: branch_false: following 'false' branch...
libxml2-2.12.10/nanoftp.c:865:9: branch_false: ...to here
libxml2-2.12.10/nanoftp.c:870:27: acquire_resource: stream socket created here
libxml2-2.12.10/nanoftp.c:874:8: branch_false: following 'false' branch...
libxml2-2.12.10/nanoftp.c:882:9: branch_false: ...to here
libxml2-2.12.10/nanoftp.c:882:9: danger: '*(struct xmlNanoFTPCtxt *)ctx.controlFd' leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def38]
libxml2-2.12.10/nanoftp.c:1368:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor '*(struct xmlNanoFTPCtxt *)ctx.dataFd'
libxml2-2.12.10/nanoftp.c:1274:1: enter_function: entry to 'xmlNanoFTPGetConnection'
libxml2-2.12.10/nanoftp.c:1288:8: branch_false: following 'false' branch (when 'ctx' is non-NULL)...
libxml2-2.12.10/nanoftp.c:1290:5: branch_false: ...to here
libxml2-2.12.10/nanoftp.c:1304:8: branch_false: following 'false' branch...
libxml2-2.12.10/nanoftp.c:1309:9: branch_false: ...to here
libxml2-2.12.10/nanoftp.c:1309:8: branch_true: following 'true' branch...
libxml2-2.12.10/nanoftp.c:1311:13: branch_true: ...to here
libxml2-2.12.10/nanoftp.c:1311:12: branch_true: following 'true' branch...
libxml2-2.12.10/nanoftp.c:1312:13: branch_true: ...to here
libxml2-2.12.10/nanoftp.c:1318:12: branch_false: following 'false' branch (when 'res >= 0')...
libxml2-2.12.10/nanoftp.c:1323:15: branch_false: ...to here
libxml2-2.12.10/nanoftp.c:1323:15: call_function: calling 'xmlNanoFTPReadResponse' from 'xmlNanoFTPGetConnection'
libxml2-2.12.10/nanoftp.c:1323:15: return_function: returning to 'xmlNanoFTPGetConnection' from 'xmlNanoFTPReadResponse'
libxml2-2.12.10/nanoftp.c:1324:12: branch_true: following 'true' branch...
libxml2-2.12.10/nanoftp.c:1325:16: branch_true: ...to here
libxml2-2.12.10/nanoftp.c:1325:16: branch_false: following 'false' branch...
libxml2-2.12.10/nanoftp.c:1332:17: branch_false: ...to here
libxml2-2.12.10/nanoftp.c:1339:12: branch_true: following 'true' branch...
libxml2-2.12.10/nanoftp.c:1340:17: branch_true: ...to here
libxml2-2.12.10/nanoftp.c:1340:16: branch_false: following 'false' branch...
libxml2-2.12.10/nanoftp.c:1348:13: branch_false: ...to here
libxml2-2.12.10/nanoftp.c:1368:13: danger: '*(struct xmlNanoFTPCtxt *)ctx.dataFd' leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def39]
libxml2-2.12.10/nanoftp.c:1382:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor '*(struct xmlNanoFTPCtxt *)ctx.dataFd'
libxml2-2.12.10/nanoftp.c:1288:8: branch_false: following 'false' branch (when 'ctx' is non-NULL)...
libxml2-2.12.10/nanoftp.c:1290:5: branch_false: ...to here
libxml2-2.12.10/nanoftp.c:1304:8: branch_false: following 'false' branch...
libxml2-2.12.10/nanoftp.c:1309:9: branch_false: ...to here
libxml2-2.12.10/nanoftp.c:1309:8: branch_false: following 'false' branch...
libxml2-2.12.10/nanoftp.c:1374:9: branch_false: ...to here
libxml2-2.12.10/nanoftp.c:1382:13: danger: '*(struct xmlNanoFTPCtxt *)ctx.dataFd' leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def40]
libxml2-2.12.10/nanoftp.c:1389:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor '*(struct xmlNanoFTPCtxt *)ctx.dataFd'
libxml2-2.12.10/nanoftp.c:1288:8: branch_false: following 'false' branch (when 'ctx' is non-NULL)...
libxml2-2.12.10/nanoftp.c:1290:5: branch_false: ...to here
libxml2-2.12.10/nanoftp.c:1304:8: branch_false: following 'false' branch...
libxml2-2.12.10/nanoftp.c:1309:9: branch_false: ...to here
libxml2-2.12.10/nanoftp.c:1309:8: branch_false: following 'false' branch...
libxml2-2.12.10/nanoftp.c:1374:9: branch_false: ...to here
libxml2-2.12.10/nanoftp.c:1382:12: branch_false: following 'false' branch...
libxml2-2.12.10/nanoftp.c:1387:9: branch_false: ...to here
libxml2-2.12.10/nanoftp.c:1389:13: danger: '*(struct xmlNanoFTPCtxt *)ctx.dataFd' leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def41]
libxml2-2.12.10/nanoftp.c:1397:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor
libxml2-2.12.10/nanoftp.c:1288:8: branch_false: following 'false' branch (when 'ctx' is non-NULL)...
libxml2-2.12.10/nanoftp.c:1290:5: branch_false: ...to here
libxml2-2.12.10/nanoftp.c:1304:8: branch_false: following 'false' branch...
libxml2-2.12.10/nanoftp.c:1309:9: branch_false: ...to here
libxml2-2.12.10/nanoftp.c:1309:8: branch_false: following 'false' branch...
libxml2-2.12.10/nanoftp.c:1374:9: branch_false: ...to here
libxml2-2.12.10/nanoftp.c:1382:12: branch_false: following 'false' branch...
libxml2-2.12.10/nanoftp.c:1387:9: branch_false: ...to here
libxml2-2.12.10/nanoftp.c:1389:12: branch_false: following 'false' branch...
libxml2-2.12.10/nanoftp.c:1395:13: branch_false: ...to here
libxml2-2.12.10/nanoftp.c:1395:12: branch_true: following 'true' branch...
libxml2-2.12.10/nanoftp.c:1397:13: branch_true: ...to here
libxml2-2.12.10/nanoftp.c:1397:13: danger: leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def42]
libxml2-2.12.10/nanoftp.c:1407:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor
libxml2-2.12.10/nanoftp.c:1288:8: branch_false: following 'false' branch (when 'ctx' is non-NULL)...
libxml2-2.12.10/nanoftp.c:1290:5: branch_false: ...to here
libxml2-2.12.10/nanoftp.c:1304:8: branch_false: following 'false' branch...
libxml2-2.12.10/nanoftp.c:1309:9: branch_false: ...to here
libxml2-2.12.10/nanoftp.c:1309:8: branch_false: following 'false' branch...
libxml2-2.12.10/nanoftp.c:1374:9: branch_false: ...to here
libxml2-2.12.10/nanoftp.c:1382:12: branch_false: following 'false' branch...
libxml2-2.12.10/nanoftp.c:1387:9: branch_false: ...to here
libxml2-2.12.10/nanoftp.c:1389:12: branch_false: following 'false' branch...
libxml2-2.12.10/nanoftp.c:1395:13: branch_false: ...to here
libxml2-2.12.10/nanoftp.c:1395:12: branch_false: following 'false' branch...
libxml2-2.12.10/nanoftp.c:1409:30: branch_false: ...to here
libxml2-2.12.10/nanoftp.c:1407:13: danger: leaks here
Error: CPPCHECK_WARNING (CWE-562): [#def43]
libxml2-2.12.10/nanohttp.c:632: error[returnDanglingLifetime]: Returning pointer to local variable 'buf' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-562): [#def44]
libxml2-2.12.10/nanohttp.c:641: error[returnDanglingLifetime]: Returning pointer to local variable 'buf' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-562): [#def45]
libxml2-2.12.10/nanohttp.c:647: error[returnDanglingLifetime]: Returning pointer to local variable 'buf' that will be invalid when returning.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def46]
libxml2-2.12.10/nanohttp.c:863:19: warning[-Wanalyzer-fd-leak]: leak of file descriptor 's'
libxml2-2.12.10/nanohttp.c:836:8: branch_true: following 'true' branch...
libxml2-2.12.10/nanohttp.c:837:13: branch_true: ...to here
libxml2-2.12.10/nanohttp.c:837:13: acquire_resource: stream socket created here
libxml2-2.12.10/nanohttp.c:845:8: branch_false: following 'false' branch (when 's != -1')...
libxml2-2.12.10/nanohttp.c:863:19: branch_false: ...to here
libxml2-2.12.10/nanohttp.c:863:19: throw: if 'fcntl' throws an exception...
libxml2-2.12.10/nanohttp.c:863:19: danger: 's' leaks here
Error: CPPCHECK_WARNING (CWE-457): [#def47]
libxml2-2.12.10/parser.c:8965: error[uninitvar]: Uninitialized variable: l.hashValue
Error: GCC_ANALYZER_WARNING (CWE-835): [#def48]
libxml2-2.12.10/parserInternals.c:1101:20: warning[-Wanalyzer-infinite-loop]: infinite loop
Error: GCC_ANALYZER_WARNING (CWE-404): [#def49]
libxml2-2.12.10/python/libxml.c:1488:20: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
libxml2-2.12.10/python/libxml.c:3152:1: enter_function: entry to 'libxml_xmlSchemaValidityWarningFunc'
libxml2-2.12.10/python/libxml.c:3156:9: acquire_resource: 'va_start' called here
libxml2-2.12.10/python/libxml.c:3157:9: call_function: calling 'libxml_buildMessage' from 'libxml_xmlSchemaValidityWarningFunc'
Error: CPPCHECK_WARNING (CWE-457): [#def50]
libxml2-2.12.10/python/libxml.c:1522: error[uninitvar]: Uninitialized variable: *ptr
Error: COMPILER_WARNING (CWE-681): [#def51]
libxml2-2.12.10/python/libxml.c: scope_hint: In function 'libxml_xmlErrorFuncHandler'
libxml2-2.12.10/python/libxml.c:1529:43: warning[-Wpointer-sign]: pointer targets in passing argument 1 of 'libxml_charPtrConstWrap' differ in signedness
libxml2-2.12.10/python/libxml.c:29: included_from: Included from here.
libxml2-2.12.10/python/libxml_wrap.h:258:48: note: expected 'const char *' but argument is of type 'unsigned char *'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def52]
libxml2-2.12.10/python/libxml.c:1673:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 'ctxt'
libxml2-2.12.10/python/libxml.c:1669:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml.c:1672:31: branch_false: ...to here
libxml2-2.12.10/python/libxml.c:1672:12: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml.c:1673:9: branch_false: ...to here
libxml2-2.12.10/python/libxml.c:1673:9: danger: dereference of NULL 'ctxt'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def53]
libxml2-2.12.10/python/libxml.c:1723:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 'ctxt'
libxml2-2.12.10/python/libxml.c:1718:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml.c:1721:31: branch_false: ...to here
libxml2-2.12.10/python/libxml.c:1721:12: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml.c:1722:17: branch_false: ...to here
libxml2-2.12.10/python/libxml.c:1723:9: danger: dereference of NULL 'ctxt'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def54]
libxml2-2.12.10/python/libxml.c:1881:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'ctxt'
libxml2-2.12.10/python/libxml.c:1845:1: enter_function: entry to 'libxml_xmlSetValidErrors'
libxml2-2.12.10/python/libxml.c:1855:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml.c:1859:12: branch_false: ...to here
libxml2-2.12.10/python/libxml.c:1859:12: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml.c:1860:14: branch_false: ...to here
libxml2-2.12.10/python/libxml.c:1861:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml.c:1865:5: branch_false: ...to here
libxml2-2.12.10/python/libxml.c:1869:5: call_function: calling 'Py_XDECREF' from 'libxml_xmlSetValidErrors'
libxml2-2.12.10/python/libxml.c:1869:5: return_function: returning to 'libxml_xmlSetValidErrors' from 'Py_XDECREF'
libxml2-2.12.10/python/libxml.c:1881:5: danger: dereference of NULL 'ctxt'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def55]
libxml2-2.12.10/python/libxml.c:1900:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'cur'
libxml2-2.12.10/python/libxml.c:1896:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml.c:1898:29: branch_false: ...to here
libxml2-2.12.10/python/libxml.c:1898:11: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml.c:1900:5: branch_false: ...to here
libxml2-2.12.10/python/libxml.c:1900:5: danger: dereference of NULL 'cur'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def56]
libxml2-2.12.10/python/libxml.c:2284:13: warning[-Wanalyzer-null-dereference]: dereference of NULL 'cur'
libxml2-2.12.10/python/libxml.c:2280:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml.c:2282:11: branch_false: ...to here
libxml2-2.12.10/python/libxml.c:2282:11: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml.c:2284:13: branch_false: ...to here
libxml2-2.12.10/python/libxml.c:2284:13: danger: dereference of NULL 'cur'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def57]
libxml2-2.12.10/python/libxml.c:2324:13: warning[-Wanalyzer-null-dereference]: dereference of NULL 'cur'
libxml2-2.12.10/python/libxml.c:2320:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml.c:2322:11: branch_false: ...to here
libxml2-2.12.10/python/libxml.c:2322:11: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml.c:2324:13: branch_false: ...to here
libxml2-2.12.10/python/libxml.c:2324:13: danger: dereference of NULL 'cur'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def58]
libxml2-2.12.10/python/libxml.c:2375:13: warning[-Wanalyzer-null-dereference]: dereference of NULL 'cur'
libxml2-2.12.10/python/libxml.c:2371:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml.c:2373:11: branch_false: ...to here
libxml2-2.12.10/python/libxml.c:2373:11: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml.c:2375:13: branch_false: ...to here
libxml2-2.12.10/python/libxml.c:2375:13: danger: dereference of NULL 'cur'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def59]
libxml2-2.12.10/python/libxml.c:2412:13: warning[-Wanalyzer-null-dereference]: dereference of NULL 'cur'
libxml2-2.12.10/python/libxml.c:2408:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml.c:2410:11: branch_false: ...to here
libxml2-2.12.10/python/libxml.c:2410:11: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml.c:2412:13: branch_false: ...to here
libxml2-2.12.10/python/libxml.c:2412:13: danger: dereference of NULL 'cur'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def60]
libxml2-2.12.10/python/libxml.c:2445:13: warning[-Wanalyzer-null-dereference]: dereference of NULL 'cur'
libxml2-2.12.10/python/libxml.c:2441:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml.c:2443:11: branch_false: ...to here
libxml2-2.12.10/python/libxml.c:2443:11: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml.c:2445:13: branch_false: ...to here
libxml2-2.12.10/python/libxml.c:2445:13: danger: dereference of NULL 'cur'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def61]
libxml2-2.12.10/python/libxml.c:2481:13: warning[-Wanalyzer-null-dereference]: dereference of NULL 'cur'
libxml2-2.12.10/python/libxml.c:2477:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml.c:2479:11: branch_false: ...to here
libxml2-2.12.10/python/libxml.c:2479:11: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml.c:2481:13: branch_false: ...to here
libxml2-2.12.10/python/libxml.c:2481:13: danger: dereference of NULL 'cur'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def62]
libxml2-2.12.10/python/libxml.c:2517:13: warning[-Wanalyzer-null-dereference]: dereference of NULL 'cur'
libxml2-2.12.10/python/libxml.c:2513:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml.c:2515:11: branch_false: ...to here
libxml2-2.12.10/python/libxml.c:2515:11: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml.c:2517:13: branch_false: ...to here
libxml2-2.12.10/python/libxml.c:2517:13: danger: dereference of NULL 'cur'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def63]
libxml2-2.12.10/python/libxml.c:2920:26: warning[-Wanalyzer-null-dereference]: dereference of NULL 'ctxt'
libxml2-2.12.10/python/libxml.c:2914:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml.c:2917:31: branch_false: ...to here
libxml2-2.12.10/python/libxml.c:2917:12: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml.c:2919:9: branch_false: ...to here
libxml2-2.12.10/python/libxml.c:2919:8: branch_true: following 'true' branch...
libxml2-2.12.10/python/libxml.c:2920:26: branch_true: ...to here
libxml2-2.12.10/python/libxml.c:2920:26: danger: dereference of NULL 'ctxt'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def64]
libxml2-2.12.10/python/libxml2-py.c:2599:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'Error'
libxml2-2.12.10/python/libxml2-py.c:2595:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:2597:27: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:2597:13: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:2599:5: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:2599:5: danger: dereference of NULL 'Error'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def65]
libxml2-2.12.10/python/libxml2-py.c:2615:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'Error'
libxml2-2.12.10/python/libxml2-py.c:2611:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:2613:27: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:2613:13: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:2615:5: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:2615:5: danger: dereference of NULL 'Error'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def66]
libxml2-2.12.10/python/libxml2-py.c:2631:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'Error'
libxml2-2.12.10/python/libxml2-py.c:2627:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:2629:27: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:2629:13: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:2631:5: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:2631:5: danger: dereference of NULL 'Error'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def67]
libxml2-2.12.10/python/libxml2-py.c:2647:16: warning[-Wanalyzer-null-dereference]: dereference of NULL 'Error'
libxml2-2.12.10/python/libxml2-py.c:2643:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:2645:27: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:2645:13: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:2647:16: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:2647:16: danger: dereference of NULL 'Error'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def68]
libxml2-2.12.10/python/libxml2-py.c:2663:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'Error'
libxml2-2.12.10/python/libxml2-py.c:2659:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:2661:27: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:2661:13: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:2663:5: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:2663:5: danger: dereference of NULL 'Error'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def69]
libxml2-2.12.10/python/libxml2-py.c:2679:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'Error'
libxml2-2.12.10/python/libxml2-py.c:2675:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:2677:27: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:2677:13: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:2679:5: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:2679:5: danger: dereference of NULL 'Error'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def70]
libxml2-2.12.10/python/libxml2-py.c:5827:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'ctxt'
libxml2-2.12.10/python/libxml2-py.c:5823:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:5825:31: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:5825:12: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:5827:5: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:5827:5: danger: dereference of NULL 'ctxt'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def71]
libxml2-2.12.10/python/libxml2-py.c:5843:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'ctxt'
libxml2-2.12.10/python/libxml2-py.c:5839:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:5841:31: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:5841:12: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:5843:5: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:5843:5: danger: dereference of NULL 'ctxt'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def72]
libxml2-2.12.10/python/libxml2-py.c:5859:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'ctxt'
libxml2-2.12.10/python/libxml2-py.c:5855:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:5857:31: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:5857:12: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:5859:5: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:5859:5: danger: dereference of NULL 'ctxt'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def73]
libxml2-2.12.10/python/libxml2-py.c:5966:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'ctxt'
libxml2-2.12.10/python/libxml2-py.c:5962:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:5964:31: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:5964:12: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:5966:5: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:5966:5: danger: dereference of NULL 'ctxt'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def74]
libxml2-2.12.10/python/libxml2-py.c:5981:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'ctxt'
libxml2-2.12.10/python/libxml2-py.c:5977:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:5979:31: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:5979:12: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:5981:5: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:5981:5: danger: dereference of NULL 'ctxt'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def75]
libxml2-2.12.10/python/libxml2-py.c:5996:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'ctxt'
libxml2-2.12.10/python/libxml2-py.c:5992:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:5994:31: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:5994:12: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:5996:5: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:5996:5: danger: dereference of NULL 'ctxt'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def76]
libxml2-2.12.10/python/libxml2-py.c:6011:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'ctxt'
libxml2-2.12.10/python/libxml2-py.c:6007:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:6009:31: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:6009:12: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:6011:5: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:6011:5: danger: dereference of NULL 'ctxt'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def77]
libxml2-2.12.10/python/libxml2-py.c:6026:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'ctxt'
libxml2-2.12.10/python/libxml2-py.c:6022:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:6024:31: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:6024:12: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:6026:5: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:6026:5: danger: dereference of NULL 'ctxt'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def78]
libxml2-2.12.10/python/libxml2-py.c:12195:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'URI'
libxml2-2.12.10/python/libxml2-py.c:12191:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12193:23: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12193:11: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12195:5: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12195:5: danger: dereference of NULL 'URI'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def79]
libxml2-2.12.10/python/libxml2-py.c:12211:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'URI'
libxml2-2.12.10/python/libxml2-py.c:12207:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12209:23: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12209:11: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12211:5: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12211:5: danger: dereference of NULL 'URI'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def80]
libxml2-2.12.10/python/libxml2-py.c:12227:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'URI'
libxml2-2.12.10/python/libxml2-py.c:12223:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12225:23: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12225:11: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12227:5: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12227:5: danger: dereference of NULL 'URI'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def81]
libxml2-2.12.10/python/libxml2-py.c:12243:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'URI'
libxml2-2.12.10/python/libxml2-py.c:12239:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12241:23: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12241:11: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12243:5: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12243:5: danger: dereference of NULL 'URI'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def82]
libxml2-2.12.10/python/libxml2-py.c:12259:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'URI'
libxml2-2.12.10/python/libxml2-py.c:12255:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12257:23: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12257:11: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12259:5: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12259:5: danger: dereference of NULL 'URI'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def83]
libxml2-2.12.10/python/libxml2-py.c:12275:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'URI'
libxml2-2.12.10/python/libxml2-py.c:12271:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12273:23: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12273:11: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12275:5: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12275:5: danger: dereference of NULL 'URI'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def84]
libxml2-2.12.10/python/libxml2-py.c:12291:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'URI'
libxml2-2.12.10/python/libxml2-py.c:12287:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12289:23: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12289:11: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12291:5: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12291:5: danger: dereference of NULL 'URI'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def85]
libxml2-2.12.10/python/libxml2-py.c:12307:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'URI'
libxml2-2.12.10/python/libxml2-py.c:12303:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12305:23: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12305:11: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12307:5: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12307:5: danger: dereference of NULL 'URI'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def86]
libxml2-2.12.10/python/libxml2-py.c:12323:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'URI'
libxml2-2.12.10/python/libxml2-py.c:12319:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12321:23: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12321:11: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12323:5: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12323:5: danger: dereference of NULL 'URI'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def87]
libxml2-2.12.10/python/libxml2-py.c:12339:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'URI'
libxml2-2.12.10/python/libxml2-py.c:12335:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12337:23: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12337:11: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12339:5: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12339:5: danger: dereference of NULL 'URI'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def88]
libxml2-2.12.10/python/libxml2-py.c:12354:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 'URI'
libxml2-2.12.10/python/libxml2-py.c:12350:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12352:23: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12352:11: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12354:9: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12354:9: danger: dereference of NULL 'URI'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def89]
libxml2-2.12.10/python/libxml2-py.c:12370:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 'URI'
libxml2-2.12.10/python/libxml2-py.c:12366:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12368:23: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12368:11: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12370:9: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12370:9: danger: dereference of NULL 'URI'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def90]
libxml2-2.12.10/python/libxml2-py.c:12386:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 'URI'
libxml2-2.12.10/python/libxml2-py.c:12382:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12384:23: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12384:11: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12386:9: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12386:9: danger: dereference of NULL 'URI'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def91]
libxml2-2.12.10/python/libxml2-py.c:12402:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 'URI'
libxml2-2.12.10/python/libxml2-py.c:12398:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12400:23: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12400:11: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12402:9: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12402:9: danger: dereference of NULL 'URI'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def92]
libxml2-2.12.10/python/libxml2-py.c:12418:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'URI'
libxml2-2.12.10/python/libxml2-py.c:12414:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12416:23: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12416:11: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12418:5: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12418:5: danger: dereference of NULL 'URI'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def93]
libxml2-2.12.10/python/libxml2-py.c:12433:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 'URI'
libxml2-2.12.10/python/libxml2-py.c:12429:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12431:23: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12431:11: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12433:9: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12433:9: danger: dereference of NULL 'URI'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def94]
libxml2-2.12.10/python/libxml2-py.c:12449:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 'URI'
libxml2-2.12.10/python/libxml2-py.c:12445:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12447:23: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12447:11: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12449:9: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12449:9: danger: dereference of NULL 'URI'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def95]
libxml2-2.12.10/python/libxml2-py.c:12465:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 'URI'
libxml2-2.12.10/python/libxml2-py.c:12461:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12463:23: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12463:11: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12465:9: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12465:9: danger: dereference of NULL 'URI'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def96]
libxml2-2.12.10/python/libxml2-py.c:12481:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 'URI'
libxml2-2.12.10/python/libxml2-py.c:12477:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12479:23: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12479:11: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12481:9: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12481:9: danger: dereference of NULL 'URI'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def97]
libxml2-2.12.10/python/libxml2-py.c:12497:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 'URI'
libxml2-2.12.10/python/libxml2-py.c:12493:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12495:23: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12495:11: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:12497:9: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:12497:9: danger: dereference of NULL 'URI'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def98]
libxml2-2.12.10/python/libxml2-py.c:13729:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'ctxt'
libxml2-2.12.10/python/libxml2-py.c:13725:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:13727:33: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:13727:12: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:13729:5: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:13729:5: danger: dereference of NULL 'ctxt'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def99]
libxml2-2.12.10/python/libxml2-py.c:13747:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'ctxt'
libxml2-2.12.10/python/libxml2-py.c:13743:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:13745:33: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:13745:12: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:13747:5: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:13747:5: danger: dereference of NULL 'ctxt'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def100]
libxml2-2.12.10/python/libxml2-py.c:13765:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'ctxt'
libxml2-2.12.10/python/libxml2-py.c:13761:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:13763:33: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:13763:12: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:13765:5: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:13765:5: danger: dereference of NULL 'ctxt'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def101]
libxml2-2.12.10/python/libxml2-py.c:13783:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'ctxt'
libxml2-2.12.10/python/libxml2-py.c:13779:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:13781:33: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:13781:12: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:13783:5: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:13783:5: danger: dereference of NULL 'ctxt'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def102]
libxml2-2.12.10/python/libxml2-py.c:13801:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'ctxt'
libxml2-2.12.10/python/libxml2-py.c:13797:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:13799:33: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:13799:12: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:13801:5: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:13801:5: danger: dereference of NULL 'ctxt'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def103]
libxml2-2.12.10/python/libxml2-py.c:13819:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'ctxt'
libxml2-2.12.10/python/libxml2-py.c:13815:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:13817:33: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:13817:12: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:13819:5: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:13819:5: danger: dereference of NULL 'ctxt'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def104]
libxml2-2.12.10/python/libxml2-py.c:14607:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'ctxt'
libxml2-2.12.10/python/libxml2-py.c:14603:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:14605:39: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:14605:12: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:14607:5: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:14607:5: danger: dereference of NULL 'ctxt'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def105]
libxml2-2.12.10/python/libxml2-py.c:14816:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'ctxt'
libxml2-2.12.10/python/libxml2-py.c:14811:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:14813:33: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:14813:12: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:14814:23: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:14814:11: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:14816:5: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:14816:5: danger: dereference of NULL 'ctxt'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def106]
libxml2-2.12.10/python/libxml2-py.c:14835:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'ctxt'
libxml2-2.12.10/python/libxml2-py.c:14830:8: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:14832:33: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:14832:12: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:14833:25: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:14833:12: branch_false: following 'false' branch...
libxml2-2.12.10/python/libxml2-py.c:14835:5: branch_false: ...to here
libxml2-2.12.10/python/libxml2-py.c:14835:5: danger: dereference of NULL 'ctxt'
Error: CPPCHECK_WARNING (CWE-476): [#def107]
libxml2-2.12.10/schematron.c:1028: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: let
Error: GCC_ANALYZER_WARNING (CWE-476): [#def108]
libxml2-2.12.10/schematron.c:1028:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL 'let'
libxml2-2.12.10/schematron.c:941:1: enter_function: entry to 'xmlSchematronParseRule'
libxml2-2.12.10/schematron.c:955:8: branch_false: following 'false' branch...
libxml2-2.12.10/schematron.c:957:15: branch_false: ...to here
libxml2-2.12.10/schematron.c:958:8: branch_false: following 'false' branch...
libxml2-2.12.10/schematron.c:964:16: branch_false: ...to here
libxml2-2.12.10/schematron.c:964:15: branch_false: following 'false' branch...
libxml2-2.12.10/schematron.c:972:19: branch_false: ...to here
libxml2-2.12.10/schematron.c:972:19: call_function: calling 'xmlSchematronAddRule' from 'xmlSchematronParseRule'
libxml2-2.12.10/schematron.c:972:19: return_function: returning to 'xmlSchematronParseRule' from 'xmlSchematronAddRule'
libxml2-2.12.10/schematron.c:974:12: branch_false: following 'false' branch...
libxml2-2.12.10/schematron.c:980:5: branch_false: ...to here
libxml2-2.12.10/schematron.c:981:5: branch_true: following 'true' branch (when 'cur' is non-NULL)...
libxml2-2.12.10/schematron.c:981:5: branch_true: ...to here
libxml2-2.12.10/schematron.c:982:12: branch_true: following 'true' branch (when 'cur' is non-NULL)...
libxml2-2.12.10/schematron.c:983:13: branch_true: ...to here
libxml2-2.12.10/schematron.c:983:13: branch_true: following 'true' branch...
libxml2-2.12.10/schematron.c:988:16: branch_false: following 'false' branch...
libxml2-2.12.10/schematron.c:994:24: branch_false: ...to here
libxml2-2.12.10/schematron.c:994:23: branch_false: following 'false' branch...
libxml2-2.12.10/schematron.c:1002:21: branch_false: ...to here
libxml2-2.12.10/schematron.c:1003:16: branch_false: following 'false' branch...
libxml2-2.12.10/schematron.c:1009:24: branch_false: ...to here
libxml2-2.12.10/schematron.c:1009:23: branch_false: following 'false' branch...
libxml2-2.12.10/schematron.c:1018:24: branch_false: ...to here
libxml2-2.12.10/schematron.c:1019:16: branch_false: following 'false' branch...
libxml2-2.12.10/schematron.c:1027:41: branch_false: ...to here
libxml2-2.12.10/schematron.c:1027:41: acquire_memory: this call could return NULL
libxml2-2.12.10/schematron.c:1028:13: danger: 'let' could be NULL: unchecked value from [(33)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/32)
Error: CPPCHECK_WARNING (CWE-476): [#def109]
libxml2-2.12.10/schematron.c:1029: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: let
Error: CPPCHECK_WARNING (CWE-476): [#def110]
libxml2-2.12.10/schematron.c:1030: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: let
Error: GCC_ANALYZER_WARNING (CWE-465): [#def111]
libxml2-2.12.10/tree.c:6126:12: warning[-Wanalyzer-deref-before-check]: check of 'node' for NULL after already dereferencing it
libxml2-2.12.10/tree.c:6089:8: branch_false: following 'false' branch...
libxml2-2.12.10/tree.c:6125:16: branch_false: ...to here
libxml2-2.12.10/tree.c:6126:12: danger: pointer 'node' is checked for NULL here but it was already dereferenced at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def112]
libxml2-2.12.10/xinclude.c:713:13: warning[-Wanalyzer-null-dereference]: dereference of NULL 'insertParent'
libxml2-2.12.10/xinclude.c:1782:1: enter_function: entry to 'xmlXIncludeLoadFallback'
libxml2-2.12.10/xinclude.c:1787:8: branch_false: following 'false' branch...
libxml2-2.12.10/xinclude.c:1790:8: branch_true: following 'true' branch...
libxml2-2.12.10/xinclude.c:1795:9: branch_true: ...to here
libxml2-2.12.10/xinclude.c:1796:20: call_function: calling 'xmlXIncludeCopyNode' from 'xmlXIncludeLoadFallback'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def113]
libxml2-2.12.10/xmlIO.c:707:9: warning[-Wanalyzer-file-leak]: leak of FILE 'xmlFileOpen_real(xmlURIUnescapeString(filename, 0, 0))'
libxml2-2.12.10/xmlIO.c:853:1: enter_function: entry to 'xmlFileOpen'
libxml2-2.12.10/xmlIO.c:860:12: branch_true: following 'true' branch...
libxml2-2.12.10/xmlIO.c:861:22: branch_true: ...to here
libxml2-2.12.10/xmlIO.c:861:22: call_function: calling 'xmlFileOpen_real' from 'xmlFileOpen'
libxml2-2.12.10/xmlIO.c:861:22: return_function: returning to 'xmlFileOpen' from 'xmlFileOpen_real'
libxml2-2.12.10/xmlIO.c:862:13: throw: if the called function throws an exception...
libxml2-2.12.10/xmlIO.c:707:9: danger: 'xmlFileOpen_real(xmlURIUnescapeString(filename, 0, 0))' leaks here; was opened at [(14)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def114]
libxml2-2.12.10/xmlIO.c:707:9: warning[-Wanalyzer-malloc-leak]: leak of 'xmlFileOpen_real(xmlURIUnescapeString(filename, 0, 0))'
libxml2-2.12.10/xmlIO.c:853:1: enter_function: entry to 'xmlFileOpen'
libxml2-2.12.10/xmlIO.c:860:12: branch_true: following 'true' branch...
libxml2-2.12.10/xmlIO.c:861:22: branch_true: ...to here
libxml2-2.12.10/xmlIO.c:861:22: call_function: calling 'xmlFileOpen_real' from 'xmlFileOpen'
libxml2-2.12.10/xmlIO.c:861:22: return_function: returning to 'xmlFileOpen' from 'xmlFileOpen_real'
libxml2-2.12.10/xmlIO.c:862:13: throw: if the called function throws an exception...
libxml2-2.12.10/xmlIO.c:707:9: danger: 'xmlFileOpen_real(xmlURIUnescapeString(filename, 0, 0))' leaks here; was allocated at [(14)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def115]
libxml2-2.12.10/xmlIO.c:1071:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'duped_fd'
libxml2-2.12.10/xmlIO.c:1115:1: enter_function: entry to 'xmlGzfileOpen'
libxml2-2.12.10/xmlIO.c:1122:12: branch_true: following 'true' branch...
libxml2-2.12.10/xmlIO.c:1123:22: branch_true: ...to here
libxml2-2.12.10/xmlIO.c:1123:22: call_function: calling 'xmlGzfileOpen_real' from 'xmlGzfileOpen'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def116]
libxml2-2.12.10/xmlIO.c:1150:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'duped_fd'
libxml2-2.12.10/xmlIO.c:2541:1: enter_function: entry to '__xmlOutputBufferCreateFilename'
libxml2-2.12.10/xmlIO.c:2556:8: branch_false: following 'false' branch (when 'URI' is non-NULL)...
libxml2-2.12.10/xmlIO.c:2558:12: branch_false: ...to here
libxml2-2.12.10/xmlIO.c:2616:8: branch_true: following 'true' branch (when 'context' is NULL)...
libxml2-2.12.10/xmlIO.c:2618:13: branch_true: ...to here
libxml2-2.12.10/xmlIO.c:2618:12: branch_true: following 'true' branch...
libxml2-2.12.10/xmlIO.c:2619:23: call_function: calling 'xmlGzfileOpenW' from '__xmlOutputBufferCreateFilename'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def117]
libxml2-2.12.10/xmlIO.c:1276:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'dup(fileno(stdin))'
libxml2-2.12.10/xmlIO.c:1309:1: enter_function: entry to 'xmlXzfileOpen'
libxml2-2.12.10/xmlIO.c:1316:12: branch_true: following 'true' branch...
libxml2-2.12.10/xmlIO.c:1317:22: branch_true: ...to here
libxml2-2.12.10/xmlIO.c:1317:22: call_function: calling 'xmlXzfileOpen_real' from 'xmlXzfileOpen'
Error: CPPCHECK_WARNING (CWE-562): [#def118]
libxml2-2.12.10/xmlIO.c:3738: error[returnDanglingLifetime]: Returning pointer to local variable 'dir' that will be invalid when returning.
Error: GCC_ANALYZER_WARNING (CWE-457): [#def119]
libxml2-2.12.10/xmlcatalog.c:86:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&line_read’
libxml2-2.12.10/xmlcatalog.c:80:8: branch_false: following ‘false’ branch...
libxml2-2.12.10/xmlcatalog.c:82:5: branch_false: ...to here
libxml2-2.12.10/xmlcatalog.c:85:8: branch_true: following ‘true’ branch (when ‘ret’ is non-NULL)...
libxml2-2.12.10/xmlcatalog.c:86:9: branch_true: ...to here
libxml2-2.12.10/xmlcatalog.c:86:9: danger: use of uninitialized value ‘&line_read’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def120]
libxml2-2.12.10/xmlmemory.c:129:5: warning[-Wanalyzer-malloc-leak]: leak of 'p'
libxml2-2.12.10/xmlmemory.c:210:1: enter_function: entry to 'xmlMallocAtomicLoc'
libxml2-2.12.10/xmlmemory.c:219:8: branch_false: following 'false' branch (when 'size <= 18446744073709551575')...
libxml2-2.12.10/xmlmemory.c:225:27: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:225:20: acquire_memory: allocated here
libxml2-2.12.10/xmlmemory.c:227:8: branch_false: following 'false' branch (when 'p' is non-NULL)...
libxml2-2.12.10/xmlmemory.c:232:5: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:247:8: branch_true: following 'true' branch...
libxml2-2.12.10/xmlmemory.c:247:44: branch_true: ...to here
libxml2-2.12.10/xmlmemory.c:247:44: call_function: calling 'xmlMallocBreakpoint' from 'xmlMallocAtomicLoc'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def121]
libxml2-2.12.10/xmlmemory.c:129:5: warning[-Wanalyzer-malloc-leak]: leak of 'p'
libxml2-2.12.10/xmlmemory.c:210:1: enter_function: entry to 'xmlMallocAtomicLoc'
libxml2-2.12.10/xmlmemory.c:219:8: branch_false: following 'false' branch (when 'size <= 18446744073709551575')...
libxml2-2.12.10/xmlmemory.c:225:27: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:225:20: acquire_memory: allocated here
libxml2-2.12.10/xmlmemory.c:227:8: branch_false: following 'false' branch (when 'p' is non-NULL)...
libxml2-2.12.10/xmlmemory.c:232:5: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:247:8: branch_true: following 'true' branch...
libxml2-2.12.10/xmlmemory.c:247:44: branch_true: ...to here
libxml2-2.12.10/xmlmemory.c:247:44: call_function: calling 'xmlMallocBreakpoint' from 'xmlMallocAtomicLoc'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def122]
libxml2-2.12.10/xmlmemory.c:129:5: warning[-Wanalyzer-malloc-leak]: leak of 'tmp'
libxml2-2.12.10/xmlmemory.c:290:1: enter_function: entry to 'xmlReallocLoc'
libxml2-2.12.10/xmlmemory.c:295:8: branch_false: following 'false' branch (when 'ptr' is non-NULL)...
libxml2-2.12.10/xmlmemory.c:298:5: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:304:8: branch_false: following 'false' branch...
libxml2-2.12.10/xmlmemory.c:308:5: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:317:8: branch_false: following 'false' branch (when 'size <= 18446744073709551575')...
libxml2-2.12.10/xmlmemory.c:323:32: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:324:8: branch_false: following 'false' branch (when 'tmp' is non-NULL)...
libxml2-2.12.10/xmlmemory.c:329:9: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:329:8: branch_true: following 'true' branch...
libxml2-2.12.10/xmlmemory.c:330:9: branch_true: ...to here
libxml2-2.12.10/xmlmemory.c:334:9: call_function: calling 'xmlMallocBreakpoint' from 'xmlReallocLoc'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def123]
libxml2-2.12.10/xmlmemory.c:129:5: warning[-Wanalyzer-malloc-leak]: leak of 'tmp'
libxml2-2.12.10/xmlmemory.c:290:1: enter_function: entry to 'xmlReallocLoc'
libxml2-2.12.10/xmlmemory.c:295:8: branch_false: following 'false' branch (when 'ptr' is non-NULL)...
libxml2-2.12.10/xmlmemory.c:298:5: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:304:8: branch_false: following 'false' branch...
libxml2-2.12.10/xmlmemory.c:308:5: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:317:8: branch_false: following 'false' branch (when 'size <= 18446744073709551575')...
libxml2-2.12.10/xmlmemory.c:323:32: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:324:8: branch_false: following 'false' branch (when 'tmp' is non-NULL)...
libxml2-2.12.10/xmlmemory.c:329:9: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:329:8: branch_true: following 'true' branch...
libxml2-2.12.10/xmlmemory.c:330:9: branch_true: ...to here
libxml2-2.12.10/xmlmemory.c:334:9: call_function: calling 'xmlMallocBreakpoint' from 'xmlReallocLoc'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def124]
libxml2-2.12.10/xmlmemory.c:129:21: warning[-Wanalyzer-malloc-leak]: leak of 'p'
libxml2-2.12.10/xmlmemory.c:210:1: enter_function: entry to 'xmlMallocAtomicLoc'
libxml2-2.12.10/xmlmemory.c:219:8: branch_false: following 'false' branch (when 'size <= 18446744073709551575')...
libxml2-2.12.10/xmlmemory.c:225:27: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:225:20: acquire_memory: allocated here
libxml2-2.12.10/xmlmemory.c:227:8: branch_false: following 'false' branch (when 'p' is non-NULL)...
libxml2-2.12.10/xmlmemory.c:232:5: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:247:8: branch_true: following 'true' branch...
libxml2-2.12.10/xmlmemory.c:247:44: branch_true: ...to here
libxml2-2.12.10/xmlmemory.c:247:44: call_function: calling 'xmlMallocBreakpoint' from 'xmlMallocAtomicLoc'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def125]
libxml2-2.12.10/xmlmemory.c:129:21: warning[-Wanalyzer-malloc-leak]: leak of 'tmp'
libxml2-2.12.10/xmlmemory.c:290:1: enter_function: entry to 'xmlReallocLoc'
libxml2-2.12.10/xmlmemory.c:295:8: branch_false: following 'false' branch (when 'ptr' is non-NULL)...
libxml2-2.12.10/xmlmemory.c:298:5: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:304:8: branch_false: following 'false' branch...
libxml2-2.12.10/xmlmemory.c:308:5: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:317:8: branch_false: following 'false' branch (when 'size <= 18446744073709551575')...
libxml2-2.12.10/xmlmemory.c:323:32: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:324:8: branch_false: following 'false' branch (when 'tmp' is non-NULL)...
libxml2-2.12.10/xmlmemory.c:329:9: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:329:8: branch_true: following 'true' branch...
libxml2-2.12.10/xmlmemory.c:330:9: branch_true: ...to here
libxml2-2.12.10/xmlmemory.c:334:9: call_function: calling 'xmlMallocBreakpoint' from 'xmlReallocLoc'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def126]
libxml2-2.12.10/xmlmemory.c:172:5: warning[-Wanalyzer-malloc-leak]: leak of 'p'
libxml2-2.12.10/xmlmemory.c:154:8: branch_false: following 'false' branch (when 'size <= 18446744073709551575')...
libxml2-2.12.10/xmlmemory.c:160:27: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:160:20: acquire_memory: allocated here
libxml2-2.12.10/xmlmemory.c:162:8: branch_false: following 'false' branch (when 'p' is non-NULL)...
libxml2-2.12.10/xmlmemory.c:167:5: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:172:5: throw: if 'xmlMutexLock' throws an exception...
libxml2-2.12.10/xmlmemory.c:172:5: danger: 'p' leaks here; was allocated at [(3)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def127]
libxml2-2.12.10/xmlmemory.c:180:5: warning[-Wanalyzer-malloc-leak]: leak of 'p'
libxml2-2.12.10/xmlmemory.c:154:8: branch_false: following 'false' branch (when 'size <= 18446744073709551575')...
libxml2-2.12.10/xmlmemory.c:160:27: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:160:20: acquire_memory: allocated here
libxml2-2.12.10/xmlmemory.c:162:8: branch_false: following 'false' branch (when 'p' is non-NULL)...
libxml2-2.12.10/xmlmemory.c:167:5: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:180:5: throw: if 'xmlMutexUnlock' throws an exception...
libxml2-2.12.10/xmlmemory.c:180:5: danger: 'p' leaks here; was allocated at [(3)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-401): [#def128]
libxml2-2.12.10/xmlmemory.c:195: error[memleak]: Memory leak: p
Error: GCC_ANALYZER_WARNING (CWE-401): [#def129]
libxml2-2.12.10/xmlmemory.c:237:5: warning[-Wanalyzer-malloc-leak]: leak of 'p'
libxml2-2.12.10/xmlmemory.c:219:8: branch_false: following 'false' branch (when 'size <= 18446744073709551575')...
libxml2-2.12.10/xmlmemory.c:225:27: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:225:20: acquire_memory: allocated here
libxml2-2.12.10/xmlmemory.c:227:8: branch_false: following 'false' branch (when 'p' is non-NULL)...
libxml2-2.12.10/xmlmemory.c:232:5: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:237:5: throw: if 'xmlMutexLock' throws an exception...
libxml2-2.12.10/xmlmemory.c:237:5: danger: 'p' leaks here; was allocated at [(3)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def130]
libxml2-2.12.10/xmlmemory.c:245:5: warning[-Wanalyzer-malloc-leak]: leak of 'p'
libxml2-2.12.10/xmlmemory.c:219:8: branch_false: following 'false' branch (when 'size <= 18446744073709551575')...
libxml2-2.12.10/xmlmemory.c:225:27: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:225:20: acquire_memory: allocated here
libxml2-2.12.10/xmlmemory.c:227:8: branch_false: following 'false' branch (when 'p' is non-NULL)...
libxml2-2.12.10/xmlmemory.c:232:5: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:245:5: throw: if 'xmlMutexUnlock' throws an exception...
libxml2-2.12.10/xmlmemory.c:245:5: danger: 'p' leaks here; was allocated at [(3)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-401): [#def131]
libxml2-2.12.10/xmlmemory.c:260: error[memleak]: Memory leak: p
Error: GCC_ANALYZER_WARNING (CWE-401): [#def132]
libxml2-2.12.10/xmlmemory.c:330:9: warning[-Wanalyzer-malloc-leak]: leak of 'tmp'
libxml2-2.12.10/xmlmemory.c:295:8: branch_false: following 'false' branch (when 'ptr' is non-NULL)...
libxml2-2.12.10/xmlmemory.c:298:5: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:304:8: branch_false: following 'false' branch...
libxml2-2.12.10/xmlmemory.c:308:5: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:317:8: branch_false: following 'false' branch (when 'size <= 18446744073709551575')...
libxml2-2.12.10/xmlmemory.c:323:32: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:324:8: branch_false: following 'false' branch (when 'tmp' is non-NULL)...
libxml2-2.12.10/xmlmemory.c:329:9: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:329:8: branch_true: following 'true' branch...
libxml2-2.12.10/xmlmemory.c:330:9: branch_true: ...to here
libxml2-2.12.10/xmlmemory.c:330:9: throw: if '__xmlGenericError' throws an exception...
libxml2-2.12.10/xmlmemory.c:330:9: danger: 'tmp' leaks here; was allocated at [(7)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def133]
libxml2-2.12.10/xmlmemory.c:330:9: warning[-Wanalyzer-malloc-leak]: leak of 'tmp'
libxml2-2.12.10/xmlmemory.c:295:8: branch_false: following 'false' branch (when 'ptr' is non-NULL)...
libxml2-2.12.10/xmlmemory.c:298:5: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:304:8: branch_false: following 'false' branch...
libxml2-2.12.10/xmlmemory.c:308:5: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:317:8: branch_false: following 'false' branch (when 'size <= 18446744073709551575')...
libxml2-2.12.10/xmlmemory.c:323:32: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:324:8: branch_false: following 'false' branch (when 'tmp' is non-NULL)...
libxml2-2.12.10/xmlmemory.c:329:9: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:329:8: branch_true: following 'true' branch...
libxml2-2.12.10/xmlmemory.c:330:9: branch_true: ...to here
libxml2-2.12.10/xmlmemory.c:330:9: throw: if the called function throws an exception...
libxml2-2.12.10/xmlmemory.c:330:9: danger: 'tmp' leaks here; was allocated at [(7)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def134]
libxml2-2.12.10/xmlmemory.c:330:25: warning[-Wanalyzer-malloc-leak]: leak of 'tmp'
libxml2-2.12.10/xmlmemory.c:295:8: branch_false: following 'false' branch (when 'ptr' is non-NULL)...
libxml2-2.12.10/xmlmemory.c:298:5: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:304:8: branch_false: following 'false' branch...
libxml2-2.12.10/xmlmemory.c:308:5: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:317:8: branch_false: following 'false' branch (when 'size <= 18446744073709551575')...
libxml2-2.12.10/xmlmemory.c:323:32: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:324:8: branch_false: following 'false' branch (when 'tmp' is non-NULL)...
libxml2-2.12.10/xmlmemory.c:329:9: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:329:8: branch_true: following 'true' branch...
libxml2-2.12.10/xmlmemory.c:330:9: branch_true: ...to here
libxml2-2.12.10/xmlmemory.c:330:25: throw: if '__xmlGenericErrorContext' throws an exception...
libxml2-2.12.10/xmlmemory.c:330:25: danger: 'tmp' leaks here; was allocated at [(7)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def135]
libxml2-2.12.10/xmlmemory.c:342:5: warning[-Wanalyzer-malloc-leak]: leak of 'tmp'
libxml2-2.12.10/xmlmemory.c:295:8: branch_false: following 'false' branch (when 'ptr' is non-NULL)...
libxml2-2.12.10/xmlmemory.c:298:5: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:304:8: branch_false: following 'false' branch...
libxml2-2.12.10/xmlmemory.c:308:5: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:317:8: branch_false: following 'false' branch (when 'size <= 18446744073709551575')...
libxml2-2.12.10/xmlmemory.c:323:32: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:324:8: branch_false: following 'false' branch (when 'tmp' is non-NULL)...
libxml2-2.12.10/xmlmemory.c:329:9: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:342:5: throw: if 'xmlMutexLock' throws an exception...
libxml2-2.12.10/xmlmemory.c:342:5: danger: 'tmp' leaks here; was allocated at [(7)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def136]
libxml2-2.12.10/xmlmemory.c:349:5: warning[-Wanalyzer-malloc-leak]: leak of 'tmp'
libxml2-2.12.10/xmlmemory.c:295:8: branch_false: following 'false' branch (when 'ptr' is non-NULL)...
libxml2-2.12.10/xmlmemory.c:298:5: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:304:8: branch_false: following 'false' branch...
libxml2-2.12.10/xmlmemory.c:308:5: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:317:8: branch_false: following 'false' branch (when 'size <= 18446744073709551575')...
libxml2-2.12.10/xmlmemory.c:323:32: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:324:8: branch_false: following 'false' branch (when 'tmp' is non-NULL)...
libxml2-2.12.10/xmlmemory.c:329:9: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:349:5: throw: if 'xmlMutexUnlock' throws an exception...
libxml2-2.12.10/xmlmemory.c:349:5: danger: 'tmp' leaks here; was allocated at [(7)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def137]
libxml2-2.12.10/xmlmemory.c:470:5: warning[-Wanalyzer-malloc-leak]: leak of 'p'
libxml2-2.12.10/xmlmemory.c:461:20: acquire_memory: allocated here
libxml2-2.12.10/xmlmemory.c:462:8: branch_false: following 'false' branch (when 'p' is non-NULL)...
libxml2-2.12.10/xmlmemory.c:465:5: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:470:5: throw: if 'xmlMutexLock' throws an exception...
libxml2-2.12.10/xmlmemory.c:470:5: danger: 'p' leaks here; was allocated at [(1)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def138]
libxml2-2.12.10/xmlmemory.c:478:5: warning[-Wanalyzer-malloc-leak]: leak of 'p'
libxml2-2.12.10/xmlmemory.c:461:20: acquire_memory: allocated here
libxml2-2.12.10/xmlmemory.c:462:8: branch_false: following 'false' branch (when 'p' is non-NULL)...
libxml2-2.12.10/xmlmemory.c:465:5: branch_false: ...to here
libxml2-2.12.10/xmlmemory.c:478:5: throw: if 'xmlMutexUnlock' throws an exception...
libxml2-2.12.10/xmlmemory.c:478:5: danger: 'p' leaks here; was allocated at [(1)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-457): [#def139]
libxml2-2.12.10/xmlschemas.c: scope_hint: In function 'xmlSchemaErr4Line'
libxml2-2.12.10/xmlschemas.c:2156:30: warning[-Wmaybe-uninitialized]: 'f' may be used uninitialized
libxml2-2.12.10/xmlschemas.c:2153:33: note: 'f' declared here
Error: CPPCHECK_WARNING (CWE-758): [#def140]
libxml2-2.12.10/xmlschemas.c:27797: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-131): [#def141]
libxml2-2.12.10/xmlschemastypes.c:464:9: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
libxml2-2.12.10/xmlschemastypes.c:432:1: enter_function: entry to 'xmlSchemaInitTypes'
libxml2-2.12.10/xmlschemastypes.c:437:8: branch_false: following 'false' branch...
libxml2-2.12.10/xmlschemastypes.c:445:31: branch_false: ...to here
libxml2-2.12.10/xmlschemastypes.c:445:31: call_function: calling 'xmlSchemaInitBasicType' from 'xmlSchemaInitTypes'
libxml2-2.12.10/xmlschemastypes.c:445:31: return_function: returning to 'xmlSchemaInitTypes' from 'xmlSchemaInitBasicType'
libxml2-2.12.10/xmlschemastypes.c:448:8: branch_false: following 'false' branch...
libxml2-2.12.10/xmlschemastypes.c:450:5: branch_false: ...to here
libxml2-2.12.10/xmlschemastypes.c:462:12: branch_false: following 'false' branch...
libxml2-2.12.10/xmlschemastypes.c:464:32: branch_false: ...to here
libxml2-2.12.10/xmlschemastypes.c:464:9: danger: allocated 48 bytes and assigned to 'xmlSchemaTypePtr' {{aka 'struct _xmlSchemaType *'}} here; 'sizeof (xmlSchemaType {{aka struct _xmlSchemaType}})' is '224'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def142]
libxml2-2.12.10/xmlwriter.c:144:9: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
libxml2-2.12.10/xmlwriter.c:3793:1: enter_function: entry to 'xmlTextWriterWriteFormatDTDInternalEntity'
libxml2-2.12.10/xmlwriter.c:3801:5: acquire_resource: 'va_start' called here
libxml2-2.12.10/xmlwriter.c:3803:10: call_function: calling 'xmlTextWriterWriteVFormatDTDInternalEntity' from 'xmlTextWriterWriteFormatDTDInternalEntity'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def143]
libxml2-2.12.10/xmlwriter.c:4482:23: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
libxml2-2.12.10/xmlwriter.c:3793:1: enter_function: entry to 'xmlTextWriterWriteFormatDTDInternalEntity'
libxml2-2.12.10/xmlwriter.c:3801:5: acquire_resource: 'va_start' called here
libxml2-2.12.10/xmlwriter.c:3803:10: call_function: calling 'xmlTextWriterWriteVFormatDTDInternalEntity' from 'xmlTextWriterWriteFormatDTDInternalEntity'
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-145.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 | libxml2-2.12.10-5.fc44 |
| store-results-to | /tmp/tmp_oxltjq4/libxml2-2.12.10-5.fc44.tar.xz |
| time-created | 2026-01-08 19:24:06 |
| time-finished | 2026-01-08 19:28:07 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmp_oxltjq4/libxml2-2.12.10-5.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp_oxltjq4/libxml2-2.12.10-5.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |