libavif-1.3.0-2.fc44
List of Findings
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1]
libavif-1.3.0/apps/avifenc.c:296:9: warning[-Wanalyzer-malloc-leak]: leak of ‘input.files’
libavif-1.3.0/apps/avifenc.c:1430:5: enter_function: entry to ‘main’
libavif-1.3.0/apps/avifenc.c:1432:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
libavif-1.3.0/apps/avifenc.c:1440:5: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1441:19: acquire_memory: allocated here
libavif-1.3.0/apps/avifenc.c:1442:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1454:5: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1504:12: branch_true: following ‘true’ branch (when ‘argIndex < argc’)...
libavif-1.3.0/apps/avifenc.c:1505:32: branch_true: ...to here
libavif-1.3.0/apps/avifenc.c:1507:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1517:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1518:13: call_function: calling ‘syntaxLong’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def2]
libavif-1.3.0/apps/avifenc.c:318:5: warning[-Wanalyzer-malloc-leak]: leak of ‘input.files’
libavif-1.3.0/apps/avifenc.c:1430:5: enter_function: entry to ‘main’
libavif-1.3.0/apps/avifenc.c:1432:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
libavif-1.3.0/apps/avifenc.c:1440:5: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1441:19: acquire_memory: allocated here
libavif-1.3.0/apps/avifenc.c:1442:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1454:5: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1504:12: branch_true: following ‘true’ branch (when ‘argIndex < argc’)...
libavif-1.3.0/apps/avifenc.c:1505:32: branch_true: ...to here
libavif-1.3.0/apps/avifenc.c:1507:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1517:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1518:13: call_function: calling ‘syntaxLong’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def3]
libavif-1.3.0/apps/avifenc.c:1522:13: warning[-Wanalyzer-malloc-leak]: leak of ‘input.files’
libavif-1.3.0/apps/avifenc.c:1432:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
libavif-1.3.0/apps/avifenc.c:1440:5: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1441:19: acquire_memory: allocated here
libavif-1.3.0/apps/avifenc.c:1442:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1454:5: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1504:12: branch_true: following ‘true’ branch (when ‘argIndex < argc’)...
libavif-1.3.0/apps/avifenc.c:1505:32: branch_true: ...to here
libavif-1.3.0/apps/avifenc.c:1507:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1517:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1517:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1522:13: danger: ‘input.files’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def4]
libavif-1.3.0/apps/avifenc.c:1530:33: warning[-Wanalyzer-malloc-leak]: leak of ‘input.files’
libavif-1.3.0/apps/avifenc.c:1432:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
libavif-1.3.0/apps/avifenc.c:1440:5: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1441:19: acquire_memory: allocated here
libavif-1.3.0/apps/avifenc.c:1442:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1454:5: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1504:12: branch_true: following ‘true’ branch (when ‘argIndex < argc’)...
libavif-1.3.0/apps/avifenc.c:1505:32: branch_true: ...to here
libavif-1.3.0/apps/avifenc.c:1507:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1517:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1517:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1521:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1525:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1527:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1528:13: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1529:16: branch_true: following ‘true’ branch (when the strings are equal)...
libavif-1.3.0/apps/avifenc.c:1530:33: branch_true: ...to here
libavif-1.3.0/apps/avifenc.c:1530:33: danger: ‘input.files’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def5]
libavif-1.3.0/apps/avifenc.c:1837:18: warning[-Wanalyzer-malloc-leak]: leak of ‘input.files’
libavif-1.3.0/apps/avifenc.c:1432:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
libavif-1.3.0/apps/avifenc.c:1440:5: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1441:19: acquire_memory: allocated here
libavif-1.3.0/apps/avifenc.c:1442:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1454:5: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1504:12: branch_true: following ‘true’ branch (when ‘argIndex < argc’)...
libavif-1.3.0/apps/avifenc.c:1505:32: branch_true: ...to here
libavif-1.3.0/apps/avifenc.c:1507:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1517:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1517:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1521:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1525:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1527:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1527:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1537:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1568:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1568:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1575:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1582:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1596:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1599:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1619:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1637:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1655:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1673:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1691:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1709:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1715:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1715:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1733:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1751:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1761:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1767:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1767:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1773:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1773:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1789:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1801:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1812:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1822:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1835:19: branch_true: following ‘true’ branch (when the strings are equal)...
libavif-1.3.0/apps/avifenc.c:1836:13: branch_true: ...to here
libavif-1.3.0/apps/avifenc.c:1836:13: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1837:18: danger: ‘input.files’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def6]
libavif-1.3.0/apps/avifenc.c:1844:18: warning[-Wanalyzer-malloc-leak]: leak of ‘input.files’
libavif-1.3.0/apps/avifenc.c:1432:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
libavif-1.3.0/apps/avifenc.c:1440:5: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1441:19: acquire_memory: allocated here
libavif-1.3.0/apps/avifenc.c:1442:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1454:5: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1504:12: branch_true: following ‘true’ branch (when ‘argIndex < argc’)...
libavif-1.3.0/apps/avifenc.c:1505:32: branch_true: ...to here
libavif-1.3.0/apps/avifenc.c:1507:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1517:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1517:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1521:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1525:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1527:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1527:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1537:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1568:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1568:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1575:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1582:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1596:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1599:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1619:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1637:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1655:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1673:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1691:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1709:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1715:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1715:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1733:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1751:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1761:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1767:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1767:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1773:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1773:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1789:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1801:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1812:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1822:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1835:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1842:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1842:19: branch_true: following ‘true’ branch (when the strings are equal)...
libavif-1.3.0/apps/avifenc.c:1843:13: branch_true: ...to here
libavif-1.3.0/apps/avifenc.c:1843:13: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1844:18: danger: ‘input.files’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def7]
libavif-1.3.0/apps/avifenc.c:1851:18: warning[-Wanalyzer-malloc-leak]: leak of ‘input.files’
libavif-1.3.0/apps/avifenc.c:1432:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
libavif-1.3.0/apps/avifenc.c:1440:5: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1441:19: acquire_memory: allocated here
libavif-1.3.0/apps/avifenc.c:1442:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1454:5: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1504:12: branch_true: following ‘true’ branch (when ‘argIndex < argc’)...
libavif-1.3.0/apps/avifenc.c:1505:32: branch_true: ...to here
libavif-1.3.0/apps/avifenc.c:1507:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1517:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1517:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1521:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1525:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1527:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1527:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1537:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1568:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1568:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1575:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1582:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1596:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1599:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1619:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1637:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1655:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1673:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1691:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1709:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1715:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1715:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1733:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1751:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1761:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1767:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1767:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1773:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1773:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1789:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1801:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1812:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1822:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1835:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1842:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1842:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1849:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1849:19: branch_true: following ‘true’ branch (when the strings are equal)...
libavif-1.3.0/apps/avifenc.c:1850:13: branch_true: ...to here
libavif-1.3.0/apps/avifenc.c:1850:13: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1851:18: danger: ‘input.files’ leaks here; was allocated at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def8]
libavif-1.3.0/apps/avifenc.c:1879:36: warning[-Wanalyzer-malloc-leak]: leak of ‘input.files’
libavif-1.3.0/apps/avifenc.c:1432:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
libavif-1.3.0/apps/avifenc.c:1440:5: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1441:19: acquire_memory: allocated here
libavif-1.3.0/apps/avifenc.c:1442:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1454:5: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1504:12: branch_true: following ‘true’ branch (when ‘argIndex < argc’)...
libavif-1.3.0/apps/avifenc.c:1505:32: branch_true: ...to here
libavif-1.3.0/apps/avifenc.c:1507:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1517:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1517:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1521:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1525:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1527:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1527:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1537:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1568:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1568:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1575:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1582:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1596:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1599:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1619:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1637:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1655:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1673:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1691:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1709:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1715:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1715:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1733:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1751:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1761:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1767:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1767:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1773:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1773:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1789:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1801:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1812:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1822:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1835:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1842:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1842:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1849:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1849:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1856:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1856:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1869:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1878:13: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1879:36: danger: ‘input.files’ leaks here; was allocated at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def9]
libavif-1.3.0/apps/avifenc.c:1884:42: warning[-Wanalyzer-malloc-leak]: leak of ‘input.files’
libavif-1.3.0/apps/avifenc.c:1432:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
libavif-1.3.0/apps/avifenc.c:1440:5: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1441:19: acquire_memory: allocated here
libavif-1.3.0/apps/avifenc.c:1442:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1454:5: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1504:12: branch_true: following ‘true’ branch (when ‘argIndex < argc’)...
libavif-1.3.0/apps/avifenc.c:1505:32: branch_true: ...to here
libavif-1.3.0/apps/avifenc.c:1507:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1517:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1517:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1521:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1525:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1527:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1527:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1537:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1568:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1568:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1575:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1582:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1596:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1599:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1619:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1637:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1655:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1673:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1691:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1709:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1715:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1715:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1733:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1751:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1761:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1767:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1767:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1773:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1773:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1789:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1801:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1812:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1822:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1835:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1842:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1842:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1849:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1849:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1856:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1856:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1869:19: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1878:13: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1880:16: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1884:42: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1884:42: danger: ‘input.files’ leaks here; was allocated at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def10]
libavif-1.3.0/apps/avifenc.c:2005:25: warning[-Wanalyzer-malloc-leak]: leak of ‘input.files’
libavif-1.3.0/apps/avifenc.c:1432:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
libavif-1.3.0/apps/avifenc.c:1440:5: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1441:19: acquire_memory: allocated here
libavif-1.3.0/apps/avifenc.c:1442:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1454:5: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1504:12: branch_true: following ‘true’ branch (when ‘argIndex < argc’)...
libavif-1.3.0/apps/avifenc.c:1505:32: branch_true: ...to here
libavif-1.3.0/apps/avifenc.c:1507:12: branch_true: following ‘true’ branch (when the strings are equal)...
libavif-1.3.0/apps/avifenc.c:1509:13: branch_true: ...to here
libavif-1.3.0/apps/avifenc.c:1511:20: branch_false: following ‘false’ branch (when ‘argIndex >= argc’)...
libavif-1.3.0/apps/avifenc.c:1996:5: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1996:21: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:2004:9: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:2004:8: branch_true: following ‘true’ branch...
libavif-1.3.0/apps/avifenc.c:2005:25: branch_true: ...to here
libavif-1.3.0/apps/avifenc.c:2005:25: danger: ‘input.files’ leaks here; was allocated at [(3)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def11]
libavif-1.3.0/apps/avifenc.c:2658:5: warning[-Wanalyzer-malloc-leak]: leak of ‘input.files’
libavif-1.3.0/apps/avifenc.c:1432:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
libavif-1.3.0/apps/avifenc.c:1440:5: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1441:19: acquire_memory: allocated here
libavif-1.3.0/apps/avifenc.c:1442:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1454:5: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1504:12: branch_true: following ‘true’ branch (when ‘argIndex < argc’)...
libavif-1.3.0/apps/avifenc.c:1505:32: branch_true: ...to here
libavif-1.3.0/apps/avifenc.c:1507:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1517:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:2645:8: branch_false: following ‘false’ branch (when ‘gridCells’ is NULL)...
libavif-1.3.0/apps/avifenc.c:2652:15: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:2652:15: branch_false: following ‘false’ branch (when ‘image’ is NULL)...
libavif-1.3.0/apps/avifenc.c:2655:8: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:2655:8: branch_false: following ‘false’ branch (when ‘gridSplitImage’ is NULL)...
libavif-1.3.0/apps/avifenc.c:2658:5: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:2658:5: danger: ‘input.files’ leaks here; was allocated at [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def12]
libavif-1.3.0/apps/avifenc.c:2659:5: warning[-Wanalyzer-malloc-leak]: leak of ‘input.files’
libavif-1.3.0/apps/avifenc.c:1432:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
libavif-1.3.0/apps/avifenc.c:1440:5: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1441:19: acquire_memory: allocated here
libavif-1.3.0/apps/avifenc.c:1442:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1454:5: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1504:12: branch_true: following ‘true’ branch (when ‘argIndex < argc’)...
libavif-1.3.0/apps/avifenc.c:1505:32: branch_true: ...to here
libavif-1.3.0/apps/avifenc.c:1507:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1517:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:2645:8: branch_false: following ‘false’ branch (when ‘gridCells’ is NULL)...
libavif-1.3.0/apps/avifenc.c:2652:15: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:2652:15: branch_false: following ‘false’ branch (when ‘image’ is NULL)...
libavif-1.3.0/apps/avifenc.c:2655:8: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:2655:8: branch_false: following ‘false’ branch (when ‘gridSplitImage’ is NULL)...
libavif-1.3.0/apps/avifenc.c:2658:5: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:2659:5: danger: ‘input.files’ leaks here; was allocated at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def13]
libavif-1.3.0/apps/avifenc.c:2660:5: warning[-Wanalyzer-malloc-leak]: leak of ‘input.files’
libavif-1.3.0/apps/avifenc.c:1432:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
libavif-1.3.0/apps/avifenc.c:1440:5: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1441:19: acquire_memory: allocated here
libavif-1.3.0/apps/avifenc.c:1442:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1454:5: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1504:12: branch_true: following ‘true’ branch (when ‘argIndex < argc’)...
libavif-1.3.0/apps/avifenc.c:1505:32: branch_true: ...to here
libavif-1.3.0/apps/avifenc.c:1507:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1517:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:2645:8: branch_false: following ‘false’ branch (when ‘gridCells’ is NULL)...
libavif-1.3.0/apps/avifenc.c:2652:15: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:2652:15: branch_false: following ‘false’ branch (when ‘image’ is NULL)...
libavif-1.3.0/apps/avifenc.c:2655:8: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:2655:8: branch_false: following ‘false’ branch (when ‘gridSplitImage’ is NULL)...
libavif-1.3.0/apps/avifenc.c:2658:5: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:2660:5: danger: ‘input.files’ leaks here; was allocated at [(3)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def14]
libavif-1.3.0/apps/avifenc.c:2661:5: warning[-Wanalyzer-malloc-leak]: leak of ‘input.files’
libavif-1.3.0/apps/avifenc.c:1432:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
libavif-1.3.0/apps/avifenc.c:1440:5: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1441:19: acquire_memory: allocated here
libavif-1.3.0/apps/avifenc.c:1442:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/avifenc.c:1454:5: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:1504:12: branch_true: following ‘true’ branch (when ‘argIndex < argc’)...
libavif-1.3.0/apps/avifenc.c:1505:32: branch_true: ...to here
libavif-1.3.0/apps/avifenc.c:1507:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
libavif-1.3.0/apps/avifenc.c:1517:21: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:2645:8: branch_false: following ‘false’ branch (when ‘gridCells’ is NULL)...
libavif-1.3.0/apps/avifenc.c:2652:15: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:2652:15: branch_false: following ‘false’ branch (when ‘image’ is NULL)...
libavif-1.3.0/apps/avifenc.c:2655:8: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:2655:8: branch_false: following ‘false’ branch (when ‘gridSplitImage’ is NULL)...
libavif-1.3.0/apps/avifenc.c:2658:5: branch_false: ...to here
libavif-1.3.0/apps/avifenc.c:2661:5: danger: ‘input.files’ leaks here; was allocated at [(3)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def15]
libavif-1.3.0/apps/shared/avifjpeg.c:890:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(inputFilename, "rb")’
libavif-1.3.0/apps/shared/avifjpeg.c:1242:10: enter_function: entry to ‘avifJPEGRead’
libavif-1.3.0/apps/shared/avifjpeg.c:1253:16: acquire_resource: opened here
libavif-1.3.0/apps/shared/avifjpeg.c:1254:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifjpeg.c:1258:26: branch_false: ...to here
libavif-1.3.0/apps/shared/avifjpeg.c:1258:26: call_function: calling ‘avifJPEGReadInternal’ from ‘avifJPEGRead’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def16]
libavif-1.3.0/apps/shared/avifjpeg.c:890:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(inputFilename, "rb")’
libavif-1.3.0/apps/shared/avifjpeg.c:1242:10: enter_function: entry to ‘avifJPEGRead’
libavif-1.3.0/apps/shared/avifjpeg.c:1253:16: acquire_memory: allocated here
libavif-1.3.0/apps/shared/avifjpeg.c:1254:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifjpeg.c:1258:26: branch_false: ...to here
libavif-1.3.0/apps/shared/avifjpeg.c:1258:26: call_function: calling ‘avifJPEGReadInternal’ from ‘avifJPEGRead’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def17]
libavif-1.3.0/apps/shared/avifjpeg.c:901:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(inputFilename, "rb")’
libavif-1.3.0/apps/shared/avifjpeg.c:1242:10: enter_function: entry to ‘avifJPEGRead’
libavif-1.3.0/apps/shared/avifjpeg.c:1253:16: acquire_resource: opened here
libavif-1.3.0/apps/shared/avifjpeg.c:1254:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifjpeg.c:1258:26: branch_false: ...to here
libavif-1.3.0/apps/shared/avifjpeg.c:1258:26: call_function: calling ‘avifJPEGReadInternal’ from ‘avifJPEGRead’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def18]
libavif-1.3.0/apps/shared/avifjpeg.c:901:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(inputFilename, "rb")’
libavif-1.3.0/apps/shared/avifjpeg.c:1242:10: enter_function: entry to ‘avifJPEGRead’
libavif-1.3.0/apps/shared/avifjpeg.c:1253:16: acquire_memory: allocated here
libavif-1.3.0/apps/shared/avifjpeg.c:1254:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifjpeg.c:1258:26: branch_false: ...to here
libavif-1.3.0/apps/shared/avifjpeg.c:1258:26: call_function: calling ‘avifJPEGReadInternal’ from ‘avifJPEGRead’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def19]
libavif-1.3.0/apps/shared/avifjpeg.c:905:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(inputFilename, "rb")’
libavif-1.3.0/apps/shared/avifjpeg.c:1242:10: enter_function: entry to ‘avifJPEGRead’
libavif-1.3.0/apps/shared/avifjpeg.c:1253:16: acquire_resource: opened here
libavif-1.3.0/apps/shared/avifjpeg.c:1254:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifjpeg.c:1258:26: branch_false: ...to here
libavif-1.3.0/apps/shared/avifjpeg.c:1258:26: call_function: calling ‘avifJPEGReadInternal’ from ‘avifJPEGRead’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def20]
libavif-1.3.0/apps/shared/avifjpeg.c:905:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(inputFilename, "rb")’
libavif-1.3.0/apps/shared/avifjpeg.c:1242:10: enter_function: entry to ‘avifJPEGRead’
libavif-1.3.0/apps/shared/avifjpeg.c:1253:16: acquire_memory: allocated here
libavif-1.3.0/apps/shared/avifjpeg.c:1254:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifjpeg.c:1258:26: branch_false: ...to here
libavif-1.3.0/apps/shared/avifjpeg.c:1258:26: call_function: calling ‘avifJPEGReadInternal’ from ‘avifJPEGRead’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def21]
libavif-1.3.0/apps/shared/avifjpeg.c:909:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(inputFilename, "rb")’
libavif-1.3.0/apps/shared/avifjpeg.c:1242:10: enter_function: entry to ‘avifJPEGRead’
libavif-1.3.0/apps/shared/avifjpeg.c:1253:16: acquire_resource: opened here
libavif-1.3.0/apps/shared/avifjpeg.c:1254:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifjpeg.c:1258:26: branch_false: ...to here
libavif-1.3.0/apps/shared/avifjpeg.c:1258:26: call_function: calling ‘avifJPEGReadInternal’ from ‘avifJPEGRead’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def22]
libavif-1.3.0/apps/shared/avifjpeg.c:909:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(inputFilename, "rb")’
libavif-1.3.0/apps/shared/avifjpeg.c:1242:10: enter_function: entry to ‘avifJPEGRead’
libavif-1.3.0/apps/shared/avifjpeg.c:1253:16: acquire_memory: allocated here
libavif-1.3.0/apps/shared/avifjpeg.c:1254:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifjpeg.c:1258:26: branch_false: ...to here
libavif-1.3.0/apps/shared/avifjpeg.c:1258:26: call_function: calling ‘avifJPEGReadInternal’ from ‘avifJPEGRead’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def23]
libavif-1.3.0/apps/shared/avifjpeg.c:911:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(inputFilename, "rb")’
libavif-1.3.0/apps/shared/avifjpeg.c:1242:10: enter_function: entry to ‘avifJPEGRead’
libavif-1.3.0/apps/shared/avifjpeg.c:1253:16: acquire_resource: opened here
libavif-1.3.0/apps/shared/avifjpeg.c:1254:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifjpeg.c:1258:26: branch_false: ...to here
libavif-1.3.0/apps/shared/avifjpeg.c:1258:26: call_function: calling ‘avifJPEGReadInternal’ from ‘avifJPEGRead’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def24]
libavif-1.3.0/apps/shared/avifjpeg.c:911:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(inputFilename, "rb")’
libavif-1.3.0/apps/shared/avifjpeg.c:1242:10: enter_function: entry to ‘avifJPEGRead’
libavif-1.3.0/apps/shared/avifjpeg.c:1253:16: acquire_memory: allocated here
libavif-1.3.0/apps/shared/avifjpeg.c:1254:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifjpeg.c:1258:26: branch_false: ...to here
libavif-1.3.0/apps/shared/avifjpeg.c:1258:26: call_function: calling ‘avifJPEGReadInternal’ from ‘avifJPEGRead’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def25]
libavif-1.3.0/apps/shared/avifjpeg.c:1304:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(outputFilename, "wb")’
libavif-1.3.0/apps/shared/avifjpeg.c:1289:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifjpeg.c:1293:9: branch_false: ...to here
libavif-1.3.0/apps/shared/avifjpeg.c:1293:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifjpeg.c:1298:9: branch_false: ...to here
libavif-1.3.0/apps/shared/avifjpeg.c:1298:9: acquire_resource: opened here
libavif-1.3.0/apps/shared/avifjpeg.c:1299:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifjpeg.c:1304:5: branch_false: ...to here
libavif-1.3.0/apps/shared/avifjpeg.c:1304:5: danger: ‘fopen(outputFilename, "wb")’ leaks here; was opened at [(5)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def26]
libavif-1.3.0/apps/shared/avifjpeg.c:1304:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(outputFilename, "wb")’
libavif-1.3.0/apps/shared/avifjpeg.c:1289:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifjpeg.c:1293:9: branch_false: ...to here
libavif-1.3.0/apps/shared/avifjpeg.c:1293:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifjpeg.c:1298:9: branch_false: ...to here
libavif-1.3.0/apps/shared/avifjpeg.c:1298:9: acquire_memory: allocated here
libavif-1.3.0/apps/shared/avifjpeg.c:1299:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifjpeg.c:1304:5: branch_false: ...to here
libavif-1.3.0/apps/shared/avifjpeg.c:1304:5: danger: ‘fopen(outputFilename, "wb")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def27]
libavif-1.3.0/apps/shared/avifpng.c:259:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘f’
libavif-1.3.0/apps/shared/avifpng.c:247:16: acquire_resource: opened here
libavif-1.3.0/apps/shared/avifpng.c:248:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:254:24: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:255:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:259:9: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:259:9: danger: ‘f’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def28]
libavif-1.3.0/apps/shared/avifpng.c:259:9: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
libavif-1.3.0/apps/shared/avifpng.c:247:16: acquire_memory: allocated here
libavif-1.3.0/apps/shared/avifpng.c:248:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:254:24: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:255:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:259:9: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:259:9: danger: ‘f’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def29]
libavif-1.3.0/apps/shared/avifpng.c:264:11: warning[-Wanalyzer-file-leak]: leak of FILE ‘f’
libavif-1.3.0/apps/shared/avifpng.c:247:16: acquire_resource: opened here
libavif-1.3.0/apps/shared/avifpng.c:248:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:254:24: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:255:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:259:9: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:259:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:264:11: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:264:11: danger: ‘f’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def30]
libavif-1.3.0/apps/shared/avifpng.c:264:11: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
libavif-1.3.0/apps/shared/avifpng.c:247:16: acquire_memory: allocated here
libavif-1.3.0/apps/shared/avifpng.c:248:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:254:24: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:255:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:259:9: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:259:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:264:11: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:264:11: danger: ‘f’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def31]
libavif-1.3.0/apps/shared/avifpng.c:269:12: warning[-Wanalyzer-file-leak]: leak of FILE ‘f’
libavif-1.3.0/apps/shared/avifpng.c:247:16: acquire_resource: opened here
libavif-1.3.0/apps/shared/avifpng.c:248:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:254:24: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:255:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:259:9: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:259:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:264:11: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:265:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:269:12: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:269:12: danger: ‘f’ leaks here; was opened at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def32]
libavif-1.3.0/apps/shared/avifpng.c:269:12: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
libavif-1.3.0/apps/shared/avifpng.c:247:16: acquire_memory: allocated here
libavif-1.3.0/apps/shared/avifpng.c:248:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:254:24: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:255:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:259:9: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:259:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:264:11: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:265:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:269:12: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:269:12: danger: ‘f’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def33]
libavif-1.3.0/apps/shared/avifpng.c:280:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘f’
libavif-1.3.0/apps/shared/avifpng.c:247:16: acquire_resource: opened here
libavif-1.3.0/apps/shared/avifpng.c:248:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:254:24: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:255:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:259:9: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:259:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:264:11: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:265:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:269:12: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:270:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:275:9: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:275:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:280:5: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:280:5: danger: ‘f’ leaks here; was opened at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def34]
libavif-1.3.0/apps/shared/avifpng.c:280:5: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
libavif-1.3.0/apps/shared/avifpng.c:247:16: acquire_memory: allocated here
libavif-1.3.0/apps/shared/avifpng.c:248:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:254:24: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:255:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:259:9: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:259:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:264:11: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:265:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:269:12: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:270:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:275:9: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:275:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:280:5: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:280:5: danger: ‘f’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def35]
libavif-1.3.0/apps/shared/avifpng.c:489:9: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)rgb.height * 8)’
libavif-1.3.0/apps/shared/avifpng.c:248:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:254:24: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:255:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:259:9: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:259:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:264:11: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:265:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:269:12: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:270:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:275:9: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:275:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:280:5: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:318:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:322:8: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:457:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:461:9: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:461:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:466:5: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:469:8: branch_true: following ‘true’ branch (when ‘numChannels == 1’)...
libavif-1.3.0/apps/shared/avifpng.c:470:9: branch_true: ...to here
libavif-1.3.0/apps/shared/avifpng.c:476:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:483:29: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:484:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:488:59: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:488:32: acquire_memory: allocated here
libavif-1.3.0/apps/shared/avifpng.c:489:9: danger: ‘malloc((long unsigned int)rgb.height * 8)’ leaks here; was allocated at [(26)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/25)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def36]
libavif-1.3.0/apps/shared/avifpng.c:601:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(outputFilename, "wb")’
libavif-1.3.0/apps/shared/avifpng.c:550:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:554:8: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:600:9: acquire_resource: opened here
libavif-1.3.0/apps/shared/avifpng.c:601:9: danger: ‘fopen(outputFilename, "wb")’ leaks here; was opened at [(3)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def37]
libavif-1.3.0/apps/shared/avifpng.c:601:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(outputFilename, "wb")’
libavif-1.3.0/apps/shared/avifpng.c:550:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:554:8: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:600:9: acquire_memory: allocated here
libavif-1.3.0/apps/shared/avifpng.c:601:9: danger: ‘fopen(outputFilename, "wb")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def38]
libavif-1.3.0/apps/shared/avifpng.c:725:9: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)*avif.height * 8)’
libavif-1.3.0/apps/shared/avifpng.c:550:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:554:8: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:601:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:606:11: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:607:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:611:12: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:612:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:617:9: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:617:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:622:5: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:715:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifpng.c:724:59: branch_false: ...to here
libavif-1.3.0/apps/shared/avifpng.c:724:32: acquire_memory: allocated here
libavif-1.3.0/apps/shared/avifpng.c:725:9: danger: ‘malloc((long unsigned int)*avif.height * 8)’ leaks here; was allocated at [(14)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def39]
libavif-1.3.0/apps/shared/avifutil.c:346:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "rb")’
libavif-1.3.0/apps/shared/avifutil.c:341:16: acquire_resource: opened here
libavif-1.3.0/apps/shared/avifutil.c:342:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifutil.c:346:5: branch_false: ...to here
libavif-1.3.0/apps/shared/avifutil.c:346:5: danger: ‘fopen(filename, "rb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def40]
libavif-1.3.0/apps/shared/avifutil.c:346:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "rb")’
libavif-1.3.0/apps/shared/avifutil.c:341:16: acquire_memory: allocated here
libavif-1.3.0/apps/shared/avifutil.c:342:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifutil.c:346:5: branch_false: ...to here
libavif-1.3.0/apps/shared/avifutil.c:346:5: danger: ‘fopen(filename, "rb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def41]
libavif-1.3.0/apps/shared/avifutil.c:347:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "rb")’
libavif-1.3.0/apps/shared/avifutil.c:341:16: acquire_resource: opened here
libavif-1.3.0/apps/shared/avifutil.c:342:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifutil.c:346:5: branch_false: ...to here
libavif-1.3.0/apps/shared/avifutil.c:347:16: danger: ‘fopen(filename, "rb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def42]
libavif-1.3.0/apps/shared/avifutil.c:347:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "rb")’
libavif-1.3.0/apps/shared/avifutil.c:341:16: acquire_memory: allocated here
libavif-1.3.0/apps/shared/avifutil.c:342:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifutil.c:346:5: branch_false: ...to here
libavif-1.3.0/apps/shared/avifutil.c:347:16: danger: ‘fopen(filename, "rb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def43]
libavif-1.3.0/apps/shared/avifutil.c:353:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "rb")’
libavif-1.3.0/apps/shared/avifutil.c:341:16: acquire_resource: opened here
libavif-1.3.0/apps/shared/avifutil.c:342:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifutil.c:346:5: branch_false: ...to here
libavif-1.3.0/apps/shared/avifutil.c:348:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifutil.c:352:12: branch_false: ...to here
libavif-1.3.0/apps/shared/avifutil.c:353:5: danger: ‘fopen(filename, "rb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def44]
libavif-1.3.0/apps/shared/avifutil.c:353:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "rb")’
libavif-1.3.0/apps/shared/avifutil.c:341:16: acquire_memory: allocated here
libavif-1.3.0/apps/shared/avifutil.c:342:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifutil.c:346:5: branch_false: ...to here
libavif-1.3.0/apps/shared/avifutil.c:348:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifutil.c:352:12: branch_false: ...to here
libavif-1.3.0/apps/shared/avifutil.c:353:5: danger: ‘fopen(filename, "rb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def45]
libavif-1.3.0/apps/shared/avifutil.c:355:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "rb")’
libavif-1.3.0/apps/shared/avifutil.c:341:16: acquire_resource: opened here
libavif-1.3.0/apps/shared/avifutil.c:342:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifutil.c:346:5: branch_false: ...to here
libavif-1.3.0/apps/shared/avifutil.c:348:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifutil.c:352:12: branch_false: ...to here
libavif-1.3.0/apps/shared/avifutil.c:355:9: danger: ‘fopen(filename, "rb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def46]
libavif-1.3.0/apps/shared/avifutil.c:355:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "rb")’
libavif-1.3.0/apps/shared/avifutil.c:341:16: acquire_memory: allocated here
libavif-1.3.0/apps/shared/avifutil.c:342:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifutil.c:346:5: branch_false: ...to here
libavif-1.3.0/apps/shared/avifutil.c:348:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/avifutil.c:352:12: branch_false: ...to here
libavif-1.3.0/apps/shared/avifutil.c:355:9: danger: ‘fopen(filename, "rb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def47]
libavif-1.3.0/apps/shared/y4m.c:603:32: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(outputFilename, "wb")’
libavif-1.3.0/apps/shared/y4m.c:588:16: acquire_resource: opened here
libavif-1.3.0/apps/shared/y4m.c:589:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/y4m.c:595:83: branch_false: ...to here
libavif-1.3.0/apps/shared/y4m.c:595:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/y4m.c:601:27: branch_false: ...to here
libavif-1.3.0/apps/shared/y4m.c:602:35: branch_true: following ‘true’ branch (when ‘lastPlane >= plane’)...
libavif-1.3.0/apps/shared/y4m.c:603:32: branch_true: ...to here
libavif-1.3.0/apps/shared/y4m.c:603:32: danger: ‘fopen(outputFilename, "wb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def48]
libavif-1.3.0/apps/shared/y4m.c:603:32: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(outputFilename, "wb")’
libavif-1.3.0/apps/shared/y4m.c:588:16: acquire_memory: allocated here
libavif-1.3.0/apps/shared/y4m.c:589:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/y4m.c:595:83: branch_false: ...to here
libavif-1.3.0/apps/shared/y4m.c:595:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/y4m.c:601:27: branch_false: ...to here
libavif-1.3.0/apps/shared/y4m.c:602:35: branch_true: following ‘true’ branch (when ‘lastPlane >= plane’)...
libavif-1.3.0/apps/shared/y4m.c:603:32: branch_true: ...to here
libavif-1.3.0/apps/shared/y4m.c:603:32: danger: ‘fopen(outputFilename, "wb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def49]
libavif-1.3.0/apps/shared/y4m.c:604:36: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(outputFilename, "wb")’
libavif-1.3.0/apps/shared/y4m.c:588:16: acquire_resource: opened here
libavif-1.3.0/apps/shared/y4m.c:589:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/y4m.c:595:83: branch_false: ...to here
libavif-1.3.0/apps/shared/y4m.c:595:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/y4m.c:601:27: branch_false: ...to here
libavif-1.3.0/apps/shared/y4m.c:602:35: branch_true: following ‘true’ branch (when ‘lastPlane >= plane’)...
libavif-1.3.0/apps/shared/y4m.c:603:32: branch_true: ...to here
libavif-1.3.0/apps/shared/y4m.c:604:36: danger: ‘fopen(outputFilename, "wb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def50]
libavif-1.3.0/apps/shared/y4m.c:604:36: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(outputFilename, "wb")’
libavif-1.3.0/apps/shared/y4m.c:588:16: acquire_memory: allocated here
libavif-1.3.0/apps/shared/y4m.c:589:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/y4m.c:595:83: branch_false: ...to here
libavif-1.3.0/apps/shared/y4m.c:595:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/y4m.c:601:27: branch_false: ...to here
libavif-1.3.0/apps/shared/y4m.c:602:35: branch_true: following ‘true’ branch (when ‘lastPlane >= plane’)...
libavif-1.3.0/apps/shared/y4m.c:603:32: branch_true: ...to here
libavif-1.3.0/apps/shared/y4m.c:604:36: danger: ‘fopen(outputFilename, "wb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def51]
libavif-1.3.0/apps/shared/y4m.c:605:31: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(outputFilename, "wb")’
libavif-1.3.0/apps/shared/y4m.c:588:16: acquire_resource: opened here
libavif-1.3.0/apps/shared/y4m.c:589:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/y4m.c:595:83: branch_false: ...to here
libavif-1.3.0/apps/shared/y4m.c:595:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/y4m.c:601:27: branch_false: ...to here
libavif-1.3.0/apps/shared/y4m.c:602:35: branch_true: following ‘true’ branch (when ‘lastPlane >= plane’)...
libavif-1.3.0/apps/shared/y4m.c:603:32: branch_true: ...to here
libavif-1.3.0/apps/shared/y4m.c:605:31: danger: ‘fopen(outputFilename, "wb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def52]
libavif-1.3.0/apps/shared/y4m.c:605:31: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(outputFilename, "wb")’
libavif-1.3.0/apps/shared/y4m.c:588:16: acquire_memory: allocated here
libavif-1.3.0/apps/shared/y4m.c:589:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/y4m.c:595:83: branch_false: ...to here
libavif-1.3.0/apps/shared/y4m.c:595:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/y4m.c:601:27: branch_false: ...to here
libavif-1.3.0/apps/shared/y4m.c:602:35: branch_true: following ‘true’ branch (when ‘lastPlane >= plane’)...
libavif-1.3.0/apps/shared/y4m.c:603:32: branch_true: ...to here
libavif-1.3.0/apps/shared/y4m.c:605:31: danger: ‘fopen(outputFilename, "wb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def53]
libavif-1.3.0/apps/shared/y4m.c:606:29: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(outputFilename, "wb")’
libavif-1.3.0/apps/shared/y4m.c:588:16: acquire_resource: opened here
libavif-1.3.0/apps/shared/y4m.c:589:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/y4m.c:595:83: branch_false: ...to here
libavif-1.3.0/apps/shared/y4m.c:595:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/y4m.c:601:27: branch_false: ...to here
libavif-1.3.0/apps/shared/y4m.c:602:35: branch_true: following ‘true’ branch (when ‘lastPlane >= plane’)...
libavif-1.3.0/apps/shared/y4m.c:603:32: branch_true: ...to here
libavif-1.3.0/apps/shared/y4m.c:606:29: danger: ‘fopen(outputFilename, "wb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def54]
libavif-1.3.0/apps/shared/y4m.c:606:29: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(outputFilename, "wb")’
libavif-1.3.0/apps/shared/y4m.c:588:16: acquire_memory: allocated here
libavif-1.3.0/apps/shared/y4m.c:589:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/y4m.c:595:83: branch_false: ...to here
libavif-1.3.0/apps/shared/y4m.c:595:8: branch_false: following ‘false’ branch...
libavif-1.3.0/apps/shared/y4m.c:601:27: branch_false: ...to here
libavif-1.3.0/apps/shared/y4m.c:602:35: branch_true: following ‘true’ branch (when ‘lastPlane >= plane’)...
libavif-1.3.0/apps/shared/y4m.c:603:32: branch_true: ...to here
libavif-1.3.0/apps/shared/y4m.c:606:29: danger: ‘fopen(outputFilename, "wb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def55]
libavif-1.3.0/src/io.c:145:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "rb")’
libavif-1.3.0/src/io.c:140:16: acquire_resource: opened here
libavif-1.3.0/src/io.c:141:8: branch_false: following ‘false’ branch...
libavif-1.3.0/src/io.c:145:5: branch_false: ...to here
libavif-1.3.0/src/io.c:145:5: danger: ‘fopen(filename, "rb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def56]
libavif-1.3.0/src/io.c:145:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "rb")’
libavif-1.3.0/src/io.c:140:16: acquire_memory: allocated here
libavif-1.3.0/src/io.c:141:8: branch_false: following ‘false’ branch...
libavif-1.3.0/src/io.c:145:5: branch_false: ...to here
libavif-1.3.0/src/io.c:145:5: danger: ‘fopen(filename, "rb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def57]
libavif-1.3.0/src/io.c:146:21: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "rb")’
libavif-1.3.0/src/io.c:140:16: acquire_resource: opened here
libavif-1.3.0/src/io.c:141:8: branch_false: following ‘false’ branch...
libavif-1.3.0/src/io.c:145:5: branch_false: ...to here
libavif-1.3.0/src/io.c:146:21: danger: ‘fopen(filename, "rb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def58]
libavif-1.3.0/src/io.c:146:21: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "rb")’
libavif-1.3.0/src/io.c:140:16: acquire_memory: allocated here
libavif-1.3.0/src/io.c:141:8: branch_false: following ‘false’ branch...
libavif-1.3.0/src/io.c:145:5: branch_false: ...to here
libavif-1.3.0/src/io.c:146:21: danger: ‘fopen(filename, "rb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def59]
libavif-1.3.0/src/io.c:151:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "rb")’
libavif-1.3.0/src/io.c:140:16: acquire_resource: opened here
libavif-1.3.0/src/io.c:141:8: branch_false: following ‘false’ branch...
libavif-1.3.0/src/io.c:145:5: branch_false: ...to here
libavif-1.3.0/src/io.c:147:8: branch_false: following ‘false’ branch...
libavif-1.3.0/src/io.c:151:5: branch_false: ...to here
libavif-1.3.0/src/io.c:151:5: danger: ‘fopen(filename, "rb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def60]
libavif-1.3.0/src/io.c:151:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "rb")’
libavif-1.3.0/src/io.c:140:16: acquire_memory: allocated here
libavif-1.3.0/src/io.c:141:8: branch_false: following ‘false’ branch...
libavif-1.3.0/src/io.c:145:5: branch_false: ...to here
libavif-1.3.0/src/io.c:147:8: branch_false: following ‘false’ branch...
libavif-1.3.0/src/io.c:151:5: branch_false: ...to here
libavif-1.3.0/src/io.c:151:5: danger: ‘fopen(filename, "rb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def61]
libavif-1.3.0/src/io.c:153:53: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "rb")’
libavif-1.3.0/src/io.c:140:16: acquire_resource: opened here
libavif-1.3.0/src/io.c:141:8: branch_false: following ‘false’ branch...
libavif-1.3.0/src/io.c:145:5: branch_false: ...to here
libavif-1.3.0/src/io.c:147:8: branch_false: following ‘false’ branch...
libavif-1.3.0/src/io.c:151:5: branch_false: ...to here
libavif-1.3.0/src/io.c:153:53: danger: ‘fopen(filename, "rb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def62]
libavif-1.3.0/src/io.c:153:53: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "rb")’
libavif-1.3.0/src/io.c:140:16: acquire_memory: allocated here
libavif-1.3.0/src/io.c:141:8: branch_false: following ‘false’ branch...
libavif-1.3.0/src/io.c:145:5: branch_false: ...to here
libavif-1.3.0/src/io.c:147:8: branch_false: following ‘false’ branch...
libavif-1.3.0/src/io.c:151:5: branch_false: ...to here
libavif-1.3.0/src/io.c:153:53: danger: ‘fopen(filename, "rb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def63]
libavif-1.3.0/src/io.c:164:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "rb")’
libavif-1.3.0/src/io.c:140:16: acquire_resource: opened here
libavif-1.3.0/src/io.c:141:8: branch_false: following ‘false’ branch...
libavif-1.3.0/src/io.c:145:5: branch_false: ...to here
libavif-1.3.0/src/io.c:147:8: branch_false: following ‘false’ branch...
libavif-1.3.0/src/io.c:151:5: branch_false: ...to here
libavif-1.3.0/src/io.c:154:8: branch_false: following ‘false’ branch...
libavif-1.3.0/src/io.c:158:5: branch_false: ...to here
libavif-1.3.0/src/io.c:164:9: danger: ‘fopen(filename, "rb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def64]
libavif-1.3.0/src/io.c:164:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "rb")’
libavif-1.3.0/src/io.c:140:16: acquire_memory: allocated here
libavif-1.3.0/src/io.c:141:8: branch_false: following ‘false’ branch...
libavif-1.3.0/src/io.c:145:5: branch_false: ...to here
libavif-1.3.0/src/io.c:147:8: branch_false: following ‘false’ branch...
libavif-1.3.0/src/io.c:151:5: branch_false: ...to here
libavif-1.3.0/src/io.c:154:8: branch_false: following ‘false’ branch...
libavif-1.3.0/src/io.c:158:5: branch_false: ...to here
libavif-1.3.0/src/io.c:164:9: danger: ‘fopen(filename, "rb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def65]
libavif-1.3.0/src/read.c:201:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libavif-1.3.0/src/read.c:5850:19: enter_function: entry to ‘avifReadCodecConfigProperty’
libavif-1.3.0/src/read.c:5852:39: call_function: inlined call to ‘avifGetConfigurationPropertyName’ from ‘avifReadCodecConfigProperty’
libavif-1.3.0/src/read.c:5852:39: call_function: inlined call to ‘avifPropertyArrayFind’ from ‘avifReadCodecConfigProperty’
Scan Properties
| analyzer-version-clippy | 1.90.0 |
| analyzer-version-cppcheck | 2.18.3 |
| analyzer-version-gcc | 15.2.1 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-137.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-gcc-latest-x86_64 |
| project-name | libavif-1.3.0-2.fc44 |
| store-results-to | /tmp/tmpsutbnp53/libavif-1.3.0-2.fc44.tar.xz |
| time-created | 2025-10-28 18:51:17 |
| time-finished | 2025-10-28 18:53:02 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpsutbnp53/libavif-1.3.0-2.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpsutbnp53/libavif-1.3.0-2.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251027.143044.ge6b947b-1.el9 |