Fixed findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1]
libvorbis-1.3.7/lib/sharedbook.c:212:6: warning[-Wanalyzer-malloc-leak]: leak of ‘_book_unquantize(b, (int)*b.entries, 0)’
libvorbis-1.3.7/lib/sharedbook.c:560:6: enter_function: entry to ‘run_test’
libvorbis-1.3.7/lib/sharedbook.c:561:14: call_function: calling ‘_book_unquantize’ from ‘run_test’
libvorbis-1.3.7/lib/sharedbook.c:561:14: return_function: returning to ‘run_test’ from ‘_book_unquantize’
libvorbis-1.3.7/lib/sharedbook.c:564:5: branch_false: following ‘false’ branch (when ‘comp’ is NULL)...
libvorbis-1.3.7/lib/sharedbook.c:578:7: branch_false: ...to here
libvorbis-1.3.7/lib/sharedbook.c:212:6: danger: ‘_book_unquantize(b, (int)*b.entries, 0)’ leaks here; was allocated at [(6)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/5)
#  210|   float *_book_unquantize(const static_codebook *b,int n,int *sparsemap){
#  211|     long j,k,count=0;
#  212|->   if(b->maptype==1 || b->maptype==2){
#  213|       int quantvals;
#  214|       float mindel=_float32_unpack(b->q_min);

Scan Properties

analyzer-version-clippy1.95.0
analyzer-version-cppcheck2.20.0
analyzer-version-gcc16.1.1
analyzer-version-gcc-analyzer16.1.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.95.0
diffbase-analyzer-version-cppcheck2.20.0
diffbase-analyzer-version-gcc16.1.1
diffbase-analyzer-version-gcc-analyzer16.1.1
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-9.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.20260524.213755.g3c6d0be.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namelibvorbis-1.3.7-20.fc45
diffbase-store-results-to/tmp/tmp2dk9nhm8/libvorbis-1.3.7-20.fc45.tar.xz
diffbase-time-created2026-06-01 14:50:56
diffbase-time-finished2026-06-01 14:52:24
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmp2dk9nhm8/libvorbis-1.3.7-20.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp2dk9nhm8/libvorbis-1.3.7-20.fc45.src.rpm'
diffbase-tool-versioncsmock-3.8.5.20260529.133039.g6f3b5c6-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-9.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namelibvorbis-1.3.7-14.fc44
store-results-to/tmp/tmpallr06_c/libvorbis-1.3.7-14.fc44.tar.xz
time-created2026-06-01 14:48:54
time-finished2026-06-01 14:50:35
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmpallr06_c/libvorbis-1.3.7-14.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpallr06_c/libvorbis-1.3.7-14.fc44.src.rpm'
tool-versioncsmock-3.8.5.20260529.133039.g6f3b5c6-1.el9