Error: GCC_ANALYZER_WARNING (CWE-476): [#def1] ffmpeg-7.1.1/libavcodec/get_bits.h:340:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*s.gb.buffer_end’ ffmpeg-7.1.1/libavcodec/nellymoserdec.c:63:13: enter_function: entry to ‘nelly_decode_block’ ffmpeg-7.1.1/libavcodec/nellymoserdec.c:73:5: call_function: calling ‘init_get_bits’ from ‘nelly_decode_block’ ffmpeg-7.1.1/libavcodec/nellymoserdec.c:73:5: return_function: returning to ‘nelly_decode_block’ from ‘init_get_bits’ ffmpeg-7.1.1/libavcodec/nellymoserdec.c:77:31: call_function: calling ‘get_bits’ from ‘nelly_decode_block’ # 338| OPEN_READER(re, s); # 339| av_assert2(n>0 && n<=25); # 340|-> UPDATE_CACHE(re, s); # 341| tmp = SHOW_UBITS(re, s, n); # 342| LAST_SKIP_BITS(re, s, n); Error: GCC_ANALYZER_WARNING (CWE-476): [#def2] ffmpeg-7.1.1/libavcodec/get_bits.h:361:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘gb.buffer’ ffmpeg-7.1.1/libavcodec/g726.c:464:12: enter_function: entry to ‘g726_decode_frame’ ffmpeg-7.1.1/libavcodec/g726.c:478:8: branch_false: following ‘false’ branch... ffmpeg-7.1.1/libavcodec/g726.c:480:5: branch_false: ...to here ffmpeg-7.1.1/libavcodec/g726.c:482:5: call_function: calling ‘init_get_bits’ from ‘g726_decode_frame’ ffmpeg-7.1.1/libavcodec/g726.c:482:5: return_function: returning to ‘g726_decode_frame’ from ‘init_get_bits’ ffmpeg-7.1.1/libavcodec/g726.c:484:12: branch_true: following ‘true’ branch (when ‘out_samples != 0’)... ffmpeg-7.1.1/libavcodec/g726.c:485:37: branch_true: ...to here ffmpeg-7.1.1/libavcodec/g726.c:485:22: branch_true: following ‘true’ branch... ffmpeg-7.1.1/libavcodec/g726.c:486:37: branch_true: ...to here ffmpeg-7.1.1/libavcodec/g726.c:486:37: call_function: calling ‘get_bits_le’ from ‘g726_decode_frame’ # 359| OPEN_READER(re, s); # 360| av_assert2(n>0 && n<=25); # 361|-> UPDATE_CACHE_LE(re, s); # 362| tmp = SHOW_UBITS_LE(re, s, n); # 363| LAST_SKIP_BITS(re, s, n); Error: GCC_ANALYZER_WARNING (CWE-476): [#def3] ffmpeg-7.1.1/libavcodec/get_bits.h:658:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘gb.buffer’ ffmpeg-7.1.1/libavcodec/qdm2.c:1846:12: enter_function: entry to ‘qdm2_decode_frame’ ffmpeg-7.1.1/libavcodec/qdm2.c:1855:7: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)... ffmpeg-7.1.1/libavcodec/qdm2.c:1857:19: branch_false: ...to here ffmpeg-7.1.1/libavcodec/qdm2.c:1857:7: branch_false: following ‘false’ branch... ffmpeg-7.1.1/libavcodec/qdm2.c:1861:30: branch_false: ...to here ffmpeg-7.1.1/libavcodec/qdm2.c:1862:8: branch_false: following ‘false’ branch... ffmpeg-7.1.1/libavcodec/qdm2.c:1864:5: branch_false: ...to here ffmpeg-7.1.1/libavcodec/qdm2.c:1866:17: branch_true: following ‘true’ branch (when ‘i != 16’)... ffmpeg-7.1.1/libavcodec/qdm2.c:1867:20: branch_true: ...to here ffmpeg-7.1.1/libavcodec/qdm2.c:1867:20: call_function: calling ‘qdm2_decode’ from ‘qdm2_decode_frame’ # 656| # 657| OPEN_READER(re, s); # 658|-> UPDATE_CACHE(re, s); # 659| # 660| GET_VLC(code, re, s, table, bits, max_depth);
analyzer-version-clippy | 1.86.0 |
analyzer-version-cppcheck | 2.17.1 |
analyzer-version-gcc | 15.0.1 |
analyzer-version-gcc-analyzer | 15.0.1 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
diffbase-analyzer-version-clippy | 1.86.0 |
diffbase-analyzer-version-cppcheck | 2.17.1 |
diffbase-analyzer-version-gcc | 15.0.1 |
diffbase-analyzer-version-gcc-analyzer | 15.0.1 |
diffbase-analyzer-version-shellcheck | 0.10.0 |
diffbase-analyzer-version-unicontrol | 0.0.2 |
diffbase-enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
diffbase-exit-code | 0 |
diffbase-host | ip-172-16-1-243.us-west-2.compute.internal |
diffbase-known-false-positives | /usr/share/csmock/known-false-positives.js |
diffbase-known-false-positives-rpm | known-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch |
diffbase-mock-config | fedora-rawhide-x86_64 |
diffbase-project-name | ffmpeg-7.1.1-3.fc43 |
diffbase-store-results-to | /tmp/tmps8rzmxuu/ffmpeg-7.1.1-3.fc43.tar.xz |
diffbase-time-created | 2025-04-25 12:48:49 |
diffbase-time-finished | 2025-04-25 13:10:45 |
diffbase-tool | csmock |
diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmps8rzmxuu/ffmpeg-7.1.1-3.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmps8rzmxuu/ffmpeg-7.1.1-3.fc43.src.rpm' |
diffbase-tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-243.us-west-2.compute.internal |
known-false-positives | /usr/share/csmock/known-false-positives.js |
known-false-positives-rpm | known-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch |
mock-config | fedora-rawhide-x86_64 |
project-name | ffmpeg-7.1.1-3.fc42 |
store-results-to | /tmp/tmpb1fbqycg/ffmpeg-7.1.1-3.fc42.tar.xz |
time-created | 2025-04-25 12:26:05 |
time-finished | 2025-04-25 12:48:17 |
title | Fixed findings |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpb1fbqycg/ffmpeg-7.1.1-3.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpb1fbqycg/ffmpeg-7.1.1-3.fc42.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |