ilbc-3.0.4-12.fc42
List of Findings
Error: COMPILER_WARNING: [#def1]
ilbc-3.0.4-build/libilbc-3.0.4/common_audio/signal_processing/copy_set_operations.c:36:19: warning[-Wstringop-overflow=]: ‘__builtin_memset’ specified bound 18446744073709551576 exceeds maximum object size 9223372036854775807
Error: CPPCHECK_WARNING (CWE-190): [#def2]
ilbc-3.0.4-build/libilbc-3.0.4/common_audio/signal_processing/levinson_durbin.c:155: error[integerOverflow]: Signed integer overflow for expression 'temp3W32-((int32_t)K_hi*65536)'.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def3]
ilbc-3.0.4-build/libilbc-3.0.4/iLBC_test2.c: scope_hint: In function ‘main’
ilbc-3.0.4-build/libilbc-3.0.4/iLBC_test2.c:109:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[2], "rb")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def4]
ilbc-3.0.4-build/libilbc-3.0.4/iLBC_test2.c:109:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[2], "rb")’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def5]
ilbc-3.0.4-build/libilbc-3.0.4/iLBC_test2.c:112:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[3], "wb")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def6]
ilbc-3.0.4-build/libilbc-3.0.4/iLBC_test2.c:112:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[3], "wb")’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def7]
ilbc-3.0.4-build/libilbc-3.0.4/iLBC_test2.c:116:18: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[4], "wb")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def8]
ilbc-3.0.4-build/libilbc-3.0.4/iLBC_test2.c:116:18: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[4], "wb")’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def9]
ilbc-3.0.4-build/libilbc-3.0.4/iLBC_test2.c:127:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[4], "wb")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def10]
ilbc-3.0.4-build/libilbc-3.0.4/iLBC_test2.c:127:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[4], "wb")’
Error: GCC_ANALYZER_WARNING (CWE-617): [#def11]
ilbc-3.0.4-build/libilbc-3.0.4/iLBC_test2.c:178:11: warning[-Wanalyzer-tainted-assertion]: use of attacked-controlled value in condition for assertion
Error: CPPCHECK_WARNING (CWE-457): [#def12]
ilbc-3.0.4-build/libilbc-3.0.4/modules/audio_coding/codecs/ilbc/get_sync_seq.c:92: warning[uninitvar]: Uninitialized variable: plocs2
Error: CPPCHECK_WARNING (CWE-190): [#def13]
ilbc-3.0.4-build/libilbc-3.0.4/modules/audio_coding/codecs/ilbc/hp_input.c:86: error[integerOverflow]: Signed integer overflow for expression 'tmpW32-(y[0]<<16)'.
Error: CPPCHECK_WARNING (CWE-457): [#def14]
ilbc-3.0.4-build/libilbc-3.0.4/modules/audio_coding/codecs/ilbc/ilbc.c:265: error[uninitvar]: Uninitialized variable: &dummy
Error: GCC_ANALYZER_WARNING (CWE-775): [#def15]
ilbc-3.0.4-build/libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c: scope_hint: In function ‘main’
ilbc-3.0.4-build/libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:106:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[2], "rb")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def16]
ilbc-3.0.4-build/libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:106:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[2], "rb")’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def17]
ilbc-3.0.4-build/libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:109:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[3], "wb")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def18]
ilbc-3.0.4-build/libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:109:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[3], "wb")’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def19]
ilbc-3.0.4-build/libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:113:18: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[4], "wb")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def20]
ilbc-3.0.4-build/libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:113:18: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[4], "wb")’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def21]
ilbc-3.0.4-build/libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:124:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[4], "wb")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def22]
ilbc-3.0.4-build/libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:124:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[4], "wb")’
Error: GCC_ANALYZER_WARNING (CWE-617): [#def23]
ilbc-3.0.4-build/libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:186:11: warning[-Wanalyzer-tainted-assertion]: use of attacked-controlled value in condition for assertion
Error: CPPCHECK_WARNING (CWE-758): [#def24]
ilbc-3.0.4-build/libilbc-3.0.4/modules/audio_coding/codecs/ilbc/xcorr_coef.c:116: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def25]
ilbc-3.0.4-build/libilbc-3.0.4/modules/audio_coding/codecs/ilbc/xcorr_coef.c:120: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Scan Properties
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-166.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | ilbc-3.0.4-12.fc42 |
store-results-to | /tmp/tmpxj2s_or1/ilbc-3.0.4-12.fc42.tar.xz |
time-created | 2024-11-13 00:19:35 |
time-finished | 2024-11-13 00:21:23 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpxj2s_or1/ilbc-3.0.4-12.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpxj2s_or1/ilbc-3.0.4-12.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |