Newly introduced findings

List of Findings

Error: COMPILER_WARNING: [#def1] [important]
sratom-0.6.20/include/sratom/sratom.h:12:10: error[fatal error]: serd/serd.h: No such file or directory
#   10|   #include <lv2/atom/forge.h>
#   11|   #include <lv2/urid/urid.h>
#   12|-> #include <serd/serd.h>
#   13|   #include <sord/sord.h>
#   14|   

Error: CPPCHECK_WARNING (CWE-476): [#def2]
sratom-0.6.20/src/sratom.c:345: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: str
#  343|       const uint8_t byte = ((const uint8_t*)body)[i];
#  344|       str[2U * i]        = hex_chars[byte >> 4U];
#  345|->     str[(2U * i) + 1U] = hex_chars[byte & 0x0FU];
#  346|     }
#  347|   

Error: COMPILER_WARNING: [#def3] [important]
sratom-0.6.20/test/test_sratom.c:9:10: error[fatal error]: serd/serd.h: No such file or directory
#    7|   #include <lv2/midi/midi.h>
#    8|   #include <lv2/urid/urid.h>
#    9|-> #include <serd/serd.h>
#   10|   #include <sratom/sratom.h>
#   11|   

Scan Properties

analyzer-version-clippy1.92.0
analyzer-version-cppcheck2.19.1
analyzer-version-gcc16.0.0
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.92.0
diffbase-analyzer-version-cppcheck2.19.1
diffbase-analyzer-version-gcc16.0.0
diffbase-analyzer-version-gcc-analyzer16.0.0
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-127.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.20250521.132812.g8eff701.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namesratom-0.6.18-2.fc43
diffbase-store-results-to/tmp/tmp7vze96p7/sratom-0.6.18-2.fc43.tar.xz
diffbase-time-created2026-01-08 21:44:36
diffbase-time-finished2026-01-08 21:46:27
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmp7vze96p7/sratom-0.6.18-2.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp7vze96p7/sratom-0.6.18-2.fc43.src.rpm'
diffbase-tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-127.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namesratom-0.6.20-1.fc44
store-results-to/tmp/tmpg5a5i9i1/sratom-0.6.20-1.fc44.tar.xz
time-created2026-01-08 21:46:39
time-finished2026-01-08 21:48:00
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpg5a5i9i1/sratom-0.6.20-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpg5a5i9i1/sratom-0.6.20-1.fc44.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9