Newly introduced findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-415): [#def1]
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’)...
 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|   }

Scan Properties

analyzer-version-clippy1.86.0
analyzer-version-cppcheck2.17.1
analyzer-version-gcc15.0.1
analyzer-version-gcc-analyzer15.0.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.86.0
diffbase-analyzer-version-cppcheck2.17.1
diffbase-analyzer-version-gcc15.0.1
diffbase-analyzer-version-gcc-analyzer15.0.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-168.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-nameharfbuzz-10.4.0-1.fc42
diffbase-store-results-to/tmp/tmpmutini34/harfbuzz-10.4.0-1.fc42.tar.xz
diffbase-time-created2025-04-25 12:58:04
diffbase-time-finished2025-04-25 13:07:18
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpmutini34/harfbuzz-10.4.0-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpmutini34/harfbuzz-10.4.0-1.fc42.src.rpm'
diffbase-tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-168.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-nameharfbuzz-11.1.0-1.fc43
store-results-to/tmp/tmpnojkx_k4/harfbuzz-11.1.0-1.fc43.tar.xz
time-created2025-04-25 13:07:43
time-finished2025-04-25 13:16:47
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpnojkx_k4/harfbuzz-11.1.0-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpnojkx_k4/harfbuzz-11.1.0-1.fc43.src.rpm'
tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9