Task #52047 - added.err
back to task #52047download
Error: GCC_ANALYZER_WARNING (CWE-415): harfbuzz-11.1.0/redhat-linux-build/../test/api/test-ot-tag.c:532:3: warning[-Wanalyzer-double-free]: double-‘free’ of ‘language_tags’ harfbuzz-11.1.0/redhat-linux-build/../test/api/test-ot-tag.c:512:29: acquire_memory: allocated here harfbuzz-11.1.0/redhat-linux-build/../test/api/test-ot-tag.c:514:3: branch_false: following ‘false’ branch (when ‘script_tags’ is NULL)... harfbuzz-11.1.0/redhat-linux-build/../test/api/test-ot-tag.c:514:3: branch_false: ...to here harfbuzz-11.1.0/redhat-linux-build/../test/api/test-ot-tag.c:515:3: release_memory: first ‘free’ here harfbuzz-11.1.0/redhat-linux-build/../test/api/test-ot-tag.c:515:3: branch_false: following ‘false’ branch (when ‘language_tags’ is NULL)... harfbuzz-11.1.0/redhat-linux-build/../test/api/test-ot-tag.c:515:3: branch_false: ...to here harfbuzz-11.1.0/redhat-linux-build/../test/api/test-ot-tag.c:521:3: branch_true: following ‘true’ branch (when ‘__n1 == __n2’)... harfbuzz-11.1.0/redhat-linux-build/../test/api/test-ot-tag.c:522:3: branch_true: ...to here harfbuzz-11.1.0/redhat-linux-build/../test/api/test-ot-tag.c:522:3: branch_true: following ‘true’ branch (when ‘__n1 == __n2’)... <unknown>: branch_true: ...to here harfbuzz-11.1.0/redhat-linux-build/../test/api/test-ot-tag.c:524:15: branch_false: following ‘false’ branch... harfbuzz-11.1.0/redhat-linux-build/../test/api/test-ot-tag.c:531:3: branch_false: ...to here harfbuzz-11.1.0/redhat-linux-build/../test/api/test-ot-tag.c:531:3: release_memory: first ‘free’ here harfbuzz-11.1.0/redhat-linux-build/../test/api/test-ot-tag.c:532:3: danger: second ‘free’ here; first ‘free’ was at [(13)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/12) # 530| # 531| free (script_tags); # 532|-> free (language_tags); # 533| va_end (expected_tags); # 534| }