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.97.1
analyzer-version-cppcheck2.21.1
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.97.1
diffbase-analyzer-version-cppcheck2.21.1
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-183.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-21.fc45
diffbase-store-results-to/tmp/tmp46b22i86/libvorbis-1.3.7-21.fc45.tar.xz
diffbase-time-created2026-08-03 18:11:15
diffbase-time-finished2026-08-03 18:12:58
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmp46b22i86/libvorbis-1.3.7-21.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp46b22i86/libvorbis-1.3.7-21.fc45.src.rpm'
diffbase-tool-versioncsmock-3.8.7.20260803.142340.gb75b18e-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-183.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/tmpr2kqn_wh/libvorbis-1.3.7-14.fc44.tar.xz
time-created2026-08-03 18:08:31
time-finished2026-08-03 18:10:53
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpr2kqn_wh/libvorbis-1.3.7-14.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpr2kqn_wh/libvorbis-1.3.7-14.fc44.src.rpm'
tool-versioncsmock-3.8.7.20260803.142340.gb75b18e-1.el9