opus-1.5.2-1.fc42
List of Findings
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1]
opus-1.5.2-build/opus-1.5.2/celt/kiss_fft.c:38: included_from: Included from here.
opus-1.5.2-build/opus-1.5.2/celt/kiss_fft.c: scope_hint: In function 'compute_twiddles'
opus-1.5.2-build/opus-1.5.2/celt/_kiss_fft_guts.h:172:24: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL 'twiddles'
opus-1.5.2-build/opus-1.5.2/celt/kiss_fft.c:421:7: note: in expansion of macro 'kf_cexp'
opus-1.5.2-build/opus-1.5.2/celt/_kiss_fft_guts.h:36: included_from: Included from here.
opus-1.5.2-build/opus-1.5.2/celt/kiss_fft.c:444:32: note: in expansion of macro 'KISS_FFT_MALLOC'
opus-1.5.2-build/opus-1.5.2/celt/kiss_fft.c: scope_hint: In function 'compute_twiddles'
opus-1.5.2-build/opus-1.5.2/celt/kiss_fft.c:473:57: note: in expansion of macro 'KISS_FFT_MALLOC'
opus-1.5.2-build/opus-1.5.2/celt/kiss_fft.c:473:57: note: in expansion of macro 'KISS_FFT_MALLOC'
opus-1.5.2-build/opus-1.5.2/celt/kiss_fft.c: scope_hint: In function 'compute_twiddles'
opus-1.5.2-build/opus-1.5.2/celt/kiss_fft.c:421:7: note: in expansion of macro 'kf_cexp'
Error: GCC_ANALYZER_WARNING (CWE-126): [#def2]
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c: scope_hint: In function 'deemphasis'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:308:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c: scope_hint: In function 'deemphasis'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:40: included_from: Included from here.
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:1024:4: note: in expansion of macro 'VALIDATE_CELT_DECODER'
opus-1.5.2-build/opus-1.5.2/celt/kiss_fft.h:34: included_from: Included from here.
opus-1.5.2-build/opus-1.5.2/celt/mdct.h:46: included_from: Included from here.
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:38: included_from: Included from here.
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:139:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/arch.h:83:34: note: in definition of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:141:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/arch.h:83:34: note: in definition of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:142:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/arch.h:83:34: note: in definition of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:143:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/arch.h:83:34: note: in definition of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:144:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:145:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:145:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/arch.h:83:34: note: in definition of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:147:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:148:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:148:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/arch.h:83:34: note: in definition of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:150:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:151:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:151:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/arch.h:83:34: note: in definition of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:152:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:153:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:153:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/arch.h:83:34: note: in definition of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:154:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:155:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:155:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/arch.h:83:34: note: in definition of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:156:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:157:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:157:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/arch.h:83:34: note: in definition of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:158:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:159:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:159:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:1024:4: note: in expansion of macro 'VALIDATE_CELT_DECODER'
opus-1.5.2-build/opus-1.5.2/celt/mdct.h:107:39: note: in definition of macro 'clt_mdct_backward'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:298:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/cwrs.h:34: included_from: Included from here.
opus-1.5.2-build/opus-1.5.2/celt/rate.h:43: included_from: Included from here.
opus-1.5.2-build/opus-1.5.2/celt/bands.h:37: included_from: Included from here.
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:42: included_from: Included from here.
opus-1.5.2-build/opus-1.5.2/celt/stack_alloc.h:94:37: note: in definition of macro 'ALLOC'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:308:9: note: read of 8 bytes from after the end of 'out_syn'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:308:9: note: valid subscripts for 'out_syn' are '[0]' to '[1]'
Error: GCC_ANALYZER_WARNING (CWE-457): [#def3]
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:372:52: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*scratch[<unknown>]'
opus-1.5.2-build/opus-1.5.2/celt/arch.h:277:27: note: in definition of macro 'SCALEOUT'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:372:34: note: in expansion of macro 'SIG2WORD16'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c: scope_hint: In function 'deemphasis'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:1024:4: note: in expansion of macro 'VALIDATE_CELT_DECODER'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:139:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/arch.h:83:34: note: in definition of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:141:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/arch.h:83:34: note: in definition of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:142:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/arch.h:83:34: note: in definition of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:143:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/arch.h:83:34: note: in definition of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:144:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:145:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:145:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/arch.h:83:34: note: in definition of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:147:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:148:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:148:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/arch.h:83:34: note: in definition of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:150:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:151:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:151:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/arch.h:83:34: note: in definition of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:152:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:153:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:153:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/arch.h:83:34: note: in definition of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:154:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:155:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:155:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/arch.h:83:34: note: in definition of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:156:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:157:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:157:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/arch.h:83:34: note: in definition of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:158:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:159:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:159:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:1024:4: note: in expansion of macro 'VALIDATE_CELT_DECODER'
opus-1.5.2-build/opus-1.5.2/celt/mdct.h:107:39: note: in definition of macro 'clt_mdct_backward'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:298:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/stack_alloc.h:94:37: note: in definition of macro 'ALLOC'
opus-1.5.2-build/opus-1.5.2/celt/stack_alloc.h:94:37: note: in definition of macro 'ALLOC'
opus-1.5.2-build/opus-1.5.2/celt/arch.h:277:27: note: in definition of macro 'SCALEOUT'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:372:34: note: in expansion of macro 'SIG2WORD16'
opus-1.5.2-build/opus-1.5.2/celt/arch.h:277:27: note: in definition of macro 'SCALEOUT'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:372:34: note: in expansion of macro 'SIG2WORD16'
Error: CPPCHECK_WARNING (CWE-570): [#def4]
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:791: error[subtractPointers]: Subtracting pointers that point to different objects
Error: CPPCHECK_WARNING (CWE-457): [#def5]
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:1259: warning[uninitvar]: Uninitialized variable: offsets
Error: GCC_ANALYZER_WARNING (CWE-457): [#def6]
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c: scope_hint: In function 'opus_custom_decode'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:1437:19: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*out[j]'
opus-1.5.2-build/opus-1.5.2/celt/stack_alloc.h:94:37: note: in definition of macro 'ALLOC'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c: scope_hint: In function 'opus_custom_decode'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:1024:4: note: in expansion of macro 'VALIDATE_CELT_DECODER'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:139:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/arch.h:83:34: note: in definition of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:141:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/arch.h:83:34: note: in definition of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:142:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/arch.h:83:34: note: in definition of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:143:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/arch.h:83:34: note: in definition of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:144:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:145:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:145:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/arch.h:83:34: note: in definition of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:147:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:148:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:148:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/arch.h:83:34: note: in definition of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:150:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:151:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:151:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/arch.h:83:34: note: in definition of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:152:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:153:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:153:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/arch.h:83:34: note: in definition of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:154:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:155:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:155:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/arch.h:83:34: note: in definition of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:156:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:157:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:157:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/arch.h:83:34: note: in definition of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:158:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:159:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:159:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:1024:4: note: in expansion of macro 'VALIDATE_CELT_DECODER'
opus-1.5.2-build/opus-1.5.2/celt/mdct.h:107:39: note: in definition of macro 'clt_mdct_backward'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c:298:4: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/celt/stack_alloc.h:94:37: note: in definition of macro 'ALLOC'
opus-1.5.2-build/opus-1.5.2/celt/celt_decoder.c: scope_hint: In function 'opus_custom_decode'
Error: CPPCHECK_WARNING (CWE-570): [#def7]
opus-1.5.2-build/opus-1.5.2/celt/celt_encoder.c:641: error[subtractPointers]: Subtracting pointers that point to different objects
Error: CPPCHECK_WARNING (CWE-570): [#def8]
opus-1.5.2-build/opus-1.5.2/celt/celt_encoder.c:1027: error[subtractPointers]: Subtracting pointers that point to different objects
Error: CPPCHECK_WARNING (CWE-570): [#def9]
opus-1.5.2-build/opus-1.5.2/celt/celt_encoder.c:1873: error[subtractPointers]: Subtracting pointers that point to different objects
Error: CPPCHECK_WARNING (CWE-457): [#def10]
opus-1.5.2-build/opus-1.5.2/celt/celt_lpc.c:167: warning[uninitvar]: Uninitialized variable: rnum
Error: CPPCHECK_WARNING (CWE-457): [#def11]
opus-1.5.2-build/opus-1.5.2/celt/celt_lpc.c:241: warning[uninitvar]: Uninitialized variable: rden
Error: GCC_ANALYZER_WARNING (CWE-476): [#def12]
opus-1.5.2-build/opus-1.5.2/celt/entenc.c:62:28: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ptr’
opus-1.5.2-build/opus-1.5.2/celt/tests/test_unit_entropy.c: scope_hint: In function ‘ec_enc_carry_out.part.0’
opus-1.5.2-build/opus-1.5.2/celt/ecintrin.h:32: included_from: Included from here.
opus-1.5.2-build/opus-1.5.2/celt/entcode.h:35: included_from: Included from here.
opus-1.5.2-build/opus-1.5.2/celt/tests/test_unit_entropy.c:38: included_from: Included from here.
opus-1.5.2-build/opus-1.5.2/celt/entenc.c:191:3: note: in expansion of macro ‘celt_assert’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def13]
opus-1.5.2-build/opus-1.5.2/celt/modes.c: scope_hint: In function 'compute_ebands'
opus-1.5.2-build/opus-1.5.2/celt/modes.c:101:20: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL 'malloc(44)'
opus-1.5.2-build/opus-1.5.2/celt/modes.c: scope_hint: In function 'compute_ebands'
Error: GCC_ANALYZER_WARNING (CWE-457): [#def14]
opus-1.5.2-build/opus-1.5.2/celt/modes.c: scope_hint: In function 'opus_custom_mode_destroy'
opus-1.5.2-build/opus-1.5.2/celt/modes.c:433:34: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*mode.allocVectors'
opus-1.5.2-build/opus-1.5.2/celt/modes.c: scope_hint: In function 'opus_custom_mode_destroy'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def15]
opus-1.5.2-build/opus-1.5.2/src/opus_multistream_encoder.c:38: included_from: Included from here.
opus-1.5.2-build/opus-1.5.2/src/opus_multistream_encoder.c: scope_hint: In function 'surround_analysis'
opus-1.5.2-build/opus-1.5.2/celt/os_support.h:79:33: warning[-Wanalyzer-null-argument]: use of NULL 'mem' where non-null expected
opus-1.5.2-build/opus-1.5.2/src/opus_multistream_encoder.c:267:7: note: in expansion of macro 'OPUS_COPY'
opus-1.5.2-build/opus-1.5.2/src/opus_multistream_encoder.c:35: included_from: Included from here.
opus-1.5.2-build/opus-1.5.2/celt/stack_alloc.h:94:41: note: in definition of macro 'ALLOC'
opus-1.5.2-build/opus-1.5.2/src/opus_private.h:32: included_from: Included from here.
opus-1.5.2-build/opus-1.5.2/src/opus_multistream_encoder.c:34: included_from: Included from here.
opus-1.5.2-build/opus-1.5.2/src/opus_multistream_encoder.c:266:7: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/src/opus_multistream_encoder.c:267:7: note: in expansion of macro 'OPUS_COPY'
opus-1.5.2-build/opus-1.5.2/celt/os_support.h:79:48: note: in definition of macro 'OPUS_COPY'
opus-1.5.2-build/opus-1.5.2/src/opus_multistream_encoder.c:267:7: note: in expansion of macro 'OPUS_COPY'
<built-in>: note: argument 2 of '__builtin_memcpy' must be non-null
Error: GCC_ANALYZER_WARNING: [#def16]
opus-1.5.2-build/opus-1.5.2/celt/mathops.h:39: included_from: Included from here.
opus-1.5.2-build/opus-1.5.2/src/analysis.c:38: included_from: Included from here.
opus-1.5.2-build/opus-1.5.2/src/analysis.c: scope_hint: In function 'tonality_analysis'
opus-1.5.2-build/opus-1.5.2/celt/os_support.h:79:33: warning[-Wanalyzer-overlapping-buffers]: overlapping buffers passed as arguments to 'memcpy'
opus-1.5.2-build/opus-1.5.2/src/analysis.c:556:8: note: in expansion of macro 'OPUS_COPY'
opus-1.5.2-build/opus-1.5.2/src/analysis.c:556:8: note: in expansion of macro 'OPUS_COPY'
opus-1.5.2-build/opus-1.5.2/celt/os_support.h:41: included_from: Included from here.
/usr/include/string.h:43:14: note: the behavior of 'memcpy' is undefined for overlapping buffers
Error: GCC_ANALYZER_WARNING (CWE-688): [#def17]
opus-1.5.2-build/opus-1.5.2/celt/entenc.c:31: included_from: Included from here.
opus-1.5.2-build/opus-1.5.2/celt/tests/test_unit_laplace.c:38: included_from: Included from here.
opus-1.5.2-build/opus-1.5.2/celt/entenc.c: scope_hint: In function ‘ec_enc_done’
opus-1.5.2-build/opus-1.5.2/celt/os_support.h:90:29: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘ptr’ where non-null expected
opus-1.5.2-build/opus-1.5.2/celt/entenc.c:288:5: note: in expansion of macro ‘OPUS_CLEAR’
opus-1.5.2-build/opus-1.5.2/celt/os_support.h:90:47: note: in definition of macro ‘OPUS_CLEAR’
opus-1.5.2-build/opus-1.5.2/celt/entenc.c:288:5: note: in expansion of macro ‘OPUS_CLEAR’
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
Error: CPPCHECK_WARNING (CWE-457): [#def18]
opus-1.5.2-build/opus-1.5.2/celt/pitch.c:356: warning[uninitvar]: Uninitialized variable: x_lp4
Error: CPPCHECK_WARNING (CWE-457): [#def19]
opus-1.5.2-build/opus-1.5.2/celt/pitch.c:356: warning[uninitvar]: Uninitialized variable: y_lp4
Error: GCC_ANALYZER_WARNING (CWE-476): [#def20]
opus-1.5.2-build/opus-1.5.2/celt/rate.c: scope_hint: In function 'compute_pulse_cache'
opus-1.5.2-build/opus-1.5.2/celt/rate.c:97:34: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL '*m.cache.index'
opus-1.5.2-build/opus-1.5.2/celt/rate.c: scope_hint: In function 'compute_pulse_cache'
Error: CPPCHECK_WARNING (CWE-457): [#def21]
opus-1.5.2-build/opus-1.5.2/celt/rate.c:640: warning[uninitvar]: Uninitialized variable: bits1
Error: CPPCHECK_WARNING (CWE-457): [#def22]
opus-1.5.2-build/opus-1.5.2/celt/rate.c:640: warning[uninitvar]: Uninitialized variable: bits2
Error: GCC_ANALYZER_WARNING (CWE-476): [#def23]
opus-1.5.2-build/opus-1.5.2/celt/tests/test_unit_dft.c: scope_hint: In function ‘test1d’
opus-1.5.2-build/opus-1.5.2/celt/tests/test_unit_dft.c:110:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘in’
Error: COMPILER_WARNING (CWE-457): [#def24]
opus-1.5.2-build/opus-1.5.2/celt/tests/test_unit_mdct.c: scope_hint: In function 'test1d.isra'
opus-1.5.2-build/opus-1.5.2/celt/tests/test_unit_mdct.c:118:17: warning[-Wmaybe-uninitialized]: '_cfg.trig' may be used uninitialized
Error: GCC_ANALYZER_WARNING (CWE-476): [#def25]
opus-1.5.2-build/opus-1.5.2/celt/tests/test_unit_mdct.c: scope_hint: In function ‘test1d’
opus-1.5.2-build/opus-1.5.2/celt/tests/test_unit_mdct.c:139:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘in’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def26]
opus-1.5.2-build/opus-1.5.2/celt/tests/test_unit_mdct.c:143:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘window’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def27]
opus-1.5.2-build/opus-1.5.2/celt/tests/test_unit_mdct.c:157:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘in_copy’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def28]
opus-1.5.2-build/opus-1.5.2/celt/tests/test_unit_mdct.c:163:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘out’
opus-1.5.2-build/opus-1.5.2/celt/tests/test_unit_mdct.c:34: included_from: Included from here.
opus-1.5.2-build/opus-1.5.2/celt/tests/test_unit_mdct.c:170:8: note: in expansion of macro ‘clt_mdct_forward’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def29]
opus-1.5.2-build/opus-1.5.2/doc/trivial_example.c: scope_hint: In function ‘main’
opus-1.5.2-build/opus-1.5.2/doc/trivial_example.c:98:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(inFile, "rb")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def30]
opus-1.5.2-build/opus-1.5.2/doc/trivial_example.c:98:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(inFile, "rb")’
Error: CPPCHECK_WARNING (CWE-404): [#def31]
opus-1.5.2-build/opus-1.5.2/doc/trivial_example.c:101: error[resourceLeak]: Resource leak: fin
Error: GCC_ANALYZER_WARNING (CWE-775): [#def32]
opus-1.5.2-build/opus-1.5.2/doc/trivial_example.c:105:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(inFile, "rb")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def33]
opus-1.5.2-build/opus-1.5.2/doc/trivial_example.c:105:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(inFile, "rb")’
Error: CPPCHECK_WARNING (CWE-404): [#def34]
opus-1.5.2-build/opus-1.5.2/doc/trivial_example.c:108: error[resourceLeak]: Resource leak: fin
Error: GCC_ANALYZER_WARNING (CWE-775): [#def35]
opus-1.5.2-build/opus-1.5.2/doc/trivial_example.c:133:27: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(inFile, "rb")’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def36]
opus-1.5.2-build/opus-1.5.2/doc/trivial_example.c:133:27: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(outFile, "wb")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def37]
opus-1.5.2-build/opus-1.5.2/doc/trivial_example.c:133:27: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(inFile, "rb")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def38]
opus-1.5.2-build/opus-1.5.2/doc/trivial_example.c:133:27: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(outFile, "wb")’
Error: CPPCHECK_WARNING (CWE-457): [#def39]
opus-1.5.2-build/opus-1.5.2/silk/NLSF2A.c:116: warning[uninitvar]: Uninitialized variable: cos_LSF_QA
Error: CPPCHECK_WARNING (CWE-457): [#def40]
opus-1.5.2-build/opus-1.5.2/silk/PLC.c:211: warning[uninitvar]: Uninitialized variable: exc_buf
Error: COMPILER_WARNING (CWE-457): [#def41]
opus-1.5.2-build/opus-1.5.2/silk/dec_API.c: scope_hint: In function 'silk_Decode.isra'
opus-1.5.2-build/opus-1.5.2/silk/dec_API.c:369:13: warning[-Wmaybe-uninitialized]: 'nSamplesOutDec' may be used uninitialized
opus-1.5.2-build/opus-1.5.2/silk/dec_API.c:147:16: note: 'nSamplesOutDec' was declared here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def42]
opus-1.5.2-build/opus-1.5.2/silk/main.h:31: included_from: Included from here.
opus-1.5.2-build/opus-1.5.2/silk/dec_API.c:32: included_from: Included from here.
opus-1.5.2-build/opus-1.5.2/silk/dec_API.c: scope_hint: In function 'silk_Decode'
opus-1.5.2-build/opus-1.5.2/silk/dec_API.c:380:64: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'nSamplesOutDec'
opus-1.5.2-build/opus-1.5.2/silk/SigProc_FIX.h:420:61: note: in definition of macro 'silk_memcpy'
opus-1.5.2-build/opus-1.5.2/celt/ecintrin.h:32: included_from: Included from here.
opus-1.5.2-build/opus-1.5.2/celt/entcode.h:35: included_from: Included from here.
opus-1.5.2-build/opus-1.5.2/celt/entenc.h:31: included_from: Included from here.
opus-1.5.2-build/opus-1.5.2/silk/API.h:34: included_from: Included from here.
opus-1.5.2-build/opus-1.5.2/silk/dec_API.c:31: included_from: Included from here.
opus-1.5.2-build/opus-1.5.2/silk/dec_API.c:161:5: note: in expansion of macro 'celt_assert'
opus-1.5.2-build/opus-1.5.2/silk/SigProc_FIX.h:420:61: note: in definition of macro 'silk_memcpy'
Error: CPPCHECK_WARNING (CWE-457): [#def43]
opus-1.5.2-build/opus-1.5.2/silk/decode_parameters.c:72: warning[uninitvar]: Uninitialized variable: pNLSF0_Q15
Error: GCC_ANALYZER_WARNING (CWE-457): [#def44]
opus-1.5.2-build/opus-1.5.2/silk/encode_pulses.c: scope_hint: In function 'silk_encode_pulses'
opus-1.5.2-build/opus-1.5.2/silk/encode_pulses.c:144:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*nRshifts[i]'
opus-1.5.2-build/opus-1.5.2/silk/encode_pulses.c:33: included_from: Included from here.
opus-1.5.2-build/opus-1.5.2/celt/stack_alloc.h:94:37: note: in definition of macro 'ALLOC'
opus-1.5.2-build/opus-1.5.2/celt/stack_alloc.h:94:37: note: in definition of macro 'ALLOC'
Error: GCC_ANALYZER_WARNING (CWE-457): [#def45]
opus-1.5.2-build/opus-1.5.2/silk/float/encode_frame_FLP.c: scope_hint: In function 'silk_encode_frame_FLP'
opus-1.5.2-build/opus-1.5.2/silk/float/encode_frame_FLP.c:301:54: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'best_sum[i]'
Error: GCC_ANALYZER_WARNING (CWE-126): [#def46]
opus-1.5.2-build/opus-1.5.2/silk/float/encode_frame_FLP.c: scope_hint: In function 'silk_LBRR_encode_FLP'
opus-1.5.2-build/opus-1.5.2/silk/float/encode_frame_FLP.c:420:46: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
opus-1.5.2-build/opus-1.5.2/silk/float/encode_frame_FLP.c:420:46: note: read of 4 bytes from after the end of 'Gains_Q16'
opus-1.5.2-build/opus-1.5.2/silk/float/encode_frame_FLP.c:420:46: note: valid subscripts for 'Gains_Q16' are '[0]' to '[3]'
Error: CPPCHECK_WARNING (CWE-457): [#def47]
opus-1.5.2-build/opus-1.5.2/silk/float/process_gains_FLP.c:71: warning[uninitvar]: Uninitialized variable: pGains_Q16
Error: GCC_ANALYZER_WARNING (CWE-126): [#def48]
opus-1.5.2-build/opus-1.5.2/silk/float/process_gains_FLP.c: scope_hint: In function 'silk_process_gains_FLP'
opus-1.5.2-build/opus-1.5.2/silk/float/process_gains_FLP.c:80:43: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
opus-1.5.2-build/opus-1.5.2/silk/float/process_gains_FLP.c:80:43: note: read of 4 bytes from after the end of 'pGains_Q16'
opus-1.5.2-build/opus-1.5.2/silk/float/process_gains_FLP.c:80:43: note: valid subscripts for 'pGains_Q16' are '[0]' to '[3]'
Error: CPPCHECK_WARNING (CWE-786): [#def49]
opus-1.5.2-build/opus-1.5.2/silk/stereo_LR_to_MS.c:58: error[negativeIndex]: Array 'x1[0]' accessed at index -2, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-786): [#def50]
opus-1.5.2-build/opus-1.5.2/silk/stereo_LR_to_MS.c:64: error[negativeIndex]: Array 'x1[0]' accessed at index -2, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-786): [#def51]
opus-1.5.2-build/opus-1.5.2/silk/stereo_LR_to_MS.c:64: error[negativeIndex]: Array 'x2[0]' accessed at index -2, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-786): [#def52]
opus-1.5.2-build/opus-1.5.2/silk/stereo_LR_to_MS.c:65: error[negativeIndex]: Array 'x1[0]' accessed at index -2, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-786): [#def53]
opus-1.5.2-build/opus-1.5.2/silk/stereo_LR_to_MS.c:65: error[negativeIndex]: Array 'x2[0]' accessed at index -2, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-786): [#def54]
opus-1.5.2-build/opus-1.5.2/silk/x86/NSQ_sse4_1.c:555: error[negativeIndex]: Array 'table[0][4]' accessed at index table[-1][*], which is out of bounds.
Error: CPPCHECK_WARNING (CWE-786): [#def55]
opus-1.5.2-build/opus-1.5.2/silk/x86/NSQ_sse4_1.c:556: error[negativeIndex]: Array 'table[0][4]' accessed at index table[-1][*], which is out of bounds.
Error: CPPCHECK_WARNING (CWE-786): [#def56]
opus-1.5.2-build/opus-1.5.2/silk/x86/NSQ_sse4_1.c:558: error[negativeIndex]: Array 'table[0][4]' accessed at index table[-1][*], which is out of bounds.
Error: CPPCHECK_WARNING (CWE-457): [#def57]
opus-1.5.2-build/opus-1.5.2/src/analysis.c:211: warning[uninitvar]: Uninitialized variable: tmp3x
Error: CPPCHECK_WARNING (CWE-457): [#def58]
opus-1.5.2-build/opus-1.5.2/src/mlp.c:126: warning[uninitvar]: Uninitialized variable: tmp
Error: GCC_ANALYZER_WARNING (CWE-457): [#def59]
opus-1.5.2-build/opus-1.5.2/src/opus_compare.c: scope_hint: In function ‘main’
opus-1.5.2-build/opus-1.5.2/src/opus_compare.c:233:41: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
opus-1.5.2-build/opus-1.5.2/src/opus_compare.c: scope_hint: In function ‘main’
opus-1.5.2-build/opus-1.5.2/src/opus_compare.c: scope_hint: In function ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def60]
opus-1.5.2-build/opus-1.5.2/src/opus_demo.c: scope_hint: In function ‘main’
opus-1.5.2-build/opus-1.5.2/src/opus_demo.c:890:42: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘fbytes’
opus-1.5.2-build/opus-1.5.2/src/opus_demo.c:556:13: note: in expansion of macro ‘check_encoder_option’
opus-1.5.2-build/opus-1.5.2/src/opus_demo.c:556:13: note: in expansion of macro ‘check_encoder_option’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def61]
opus-1.5.2-build/opus-1.5.2/src/opus_demo.c:892:41: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘in’
opus-1.5.2-build/opus-1.5.2/src/opus_demo.c:556:13: note: in expansion of macro ‘check_encoder_option’
opus-1.5.2-build/opus-1.5.2/src/opus_demo.c:556:13: note: in expansion of macro ‘check_encoder_option’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def62]
opus-1.5.2-build/opus-1.5.2/src/opus_demo.c:910:26: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
opus-1.5.2-build/opus-1.5.2/src/opus_demo.c:556:13: note: in expansion of macro ‘check_encoder_option’
opus-1.5.2-build/opus-1.5.2/src/opus_demo.c:556:13: note: in expansion of macro ‘check_encoder_option’
Error: CPPCHECK_WARNING (CWE-457): [#def63]
opus-1.5.2-build/opus-1.5.2/src/opus_encoder.c:2033: warning[uninitvar]: Uninitialized variable: pcm_silk
Error: CPPCHECK_WARNING (CWE-457): [#def64]
opus-1.5.2-build/opus-1.5.2/src/opus_encoder.c:2517: warning[uninitvar]: Uninitialized variable: in
Error: CPPCHECK_WARNING (CWE-457): [#def65]
opus-1.5.2-build/opus-1.5.2/src/opus_projection_decoder.c:171: warning[uninitvar]: Uninitialized variable: mapping
Error: CPPCHECK_WARNING (CWE-457): [#def66]
opus-1.5.2-build/opus-1.5.2/src/opus_projection_encoder.c:346: warning[uninitvar]: Uninitialized variable: mapping
Error: GCC_ANALYZER_WARNING (CWE-775): [#def67]
opus-1.5.2-build/opus-1.5.2/src/repacketizer_demo.c:54:28: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "w")’
opus-1.5.2-build/opus-1.5.2/src/repacketizer_demo.c: scope_hint: In function ‘main’
opus-1.5.2-build/opus-1.5.2/src/repacketizer_demo.c: scope_hint: In function ‘main’
opus-1.5.2-build/opus-1.5.2/src/repacketizer_demo.c: scope_hint: In function ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def68]
opus-1.5.2-build/opus-1.5.2/src/repacketizer_demo.c:54:28: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "w")’
opus-1.5.2-build/opus-1.5.2/src/repacketizer_demo.c: scope_hint: In function ‘main’
opus-1.5.2-build/opus-1.5.2/src/repacketizer_demo.c: scope_hint: In function ‘main’
opus-1.5.2-build/opus-1.5.2/src/repacketizer_demo.c: scope_hint: In function ‘main’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def69]
opus-1.5.2-build/opus-1.5.2/tests/test_opus_api.c: scope_hint: In function ‘test_dec_api’
opus-1.5.2-build/opus-1.5.2/tests/test_opus_api.c:241:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘dec2’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def70]
opus-1.5.2-build/opus-1.5.2/tests/test_opus_decode.c:46: included_from: Included from here.
opus-1.5.2-build/opus-1.5.2/tests/test_opus_common.h: scope_hint: In function ‘debruijn2’
opus-1.5.2-build/opus-1.5.2/tests/test_opus_common.h:49:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘t’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def71]
opus-1.5.2-build/opus-1.5.2/tests/test_opus_decode.c: scope_hint: In function ‘test_decoder_code0’
opus-1.5.2-build/opus-1.5.2/tests/test_opus_decode.c:73:53: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘outbuf_int’
Error: CPPCHECK_WARNING (CWE-457): [#def72]
opus-1.5.2-build/opus-1.5.2/tests/test_opus_dred.c:74: warning[uninitvar]: Uninitialized variable: payload
Error: GCC_ANALYZER_WARNING (CWE-476): [#def73]
opus-1.5.2-build/opus-1.5.2/tests/test_opus_encode.c: scope_hint: In function ‘generate_music’
opus-1.5.2-build/opus-1.5.2/tests/test_opus_encode.c:66:31: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buf’
opus-1.5.2-build/opus-1.5.2/tests/test_opus_encode.c:238:27: note: in expansion of macro ‘RAND_SAMPLE’
opus-1.5.2-build/opus-1.5.2/tests/test_opus_encode.c:249:24: note: in expansion of macro ‘RAND_SAMPLE’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def74]
opus-1.5.2-build/opus-1.5.2/tests/test_opus_encode.c: scope_hint: In function ‘run_test1’
opus-1.5.2-build/opus-1.5.2/tests/test_opus_encode.c:382:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc((long unsigned int)opus_decoder_get_size(2))’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def75]
opus-1.5.2-build/opus-1.5.2/tests/test_opus_encode.c:398:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘enccpy’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: CPPCHECK_WARNING (CWE-457): [#def76]
opus-1.5.2-build/opus-1.5.2/tests/test_opus_extensions.c:327: warning[uninitvar]: Uninitialized variable: payload
Error: GCC_ANALYZER_WARNING (CWE-401): [#def77]
opus-1.5.2-build/opus-1.5.2/tests/test_opus_projection.c:110:6: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(120)’
opus-1.5.2-build/opus-1.5.2/tests/test_opus_projection.c: scope_hint: In function ‘test_simple_matrix’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def78]
opus-1.5.2-build/opus-1.5.2/tests/test_opus_projection.c: scope_hint: In function ‘test_simple_matrix’
opus-1.5.2-build/opus-1.5.2/tests/test_opus_projection.c:110:6: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(160)’
opus-1.5.2-build/opus-1.5.2/tests/test_opus_projection.c: scope_hint: In function ‘test_simple_matrix’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def79]
opus-1.5.2-build/opus-1.5.2/tests/test_opus_projection.c:110:6: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(80)’
opus-1.5.2-build/opus-1.5.2/tests/test_opus_projection.c: scope_hint: In function ‘test_simple_matrix’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def80]
opus-1.5.2-build/opus-1.5.2/tests/test_opus_projection.c:113:36: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(120)’
opus-1.5.2-build/opus-1.5.2/tests/test_opus_projection.c: scope_hint: In function ‘test_simple_matrix’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def81]
opus-1.5.2-build/opus-1.5.2/tests/test_opus_projection.c:113:36: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(160)’
opus-1.5.2-build/opus-1.5.2/tests/test_opus_projection.c: scope_hint: In function ‘test_simple_matrix’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def82]
opus-1.5.2-build/opus-1.5.2/tests/test_opus_projection.c:113:36: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(80)’
opus-1.5.2-build/opus-1.5.2/tests/test_opus_projection.c: scope_hint: In function ‘test_simple_matrix’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def83]
opus-1.5.2-build/opus-1.5.2/tests/test_opus_projection.c:124:20: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc(120)’
opus-1.5.2-build/opus-1.5.2/tests/test_opus_projection.c: scope_hint: In function ‘test_simple_matrix’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def84]
opus-1.5.2-build/opus-1.5.2/tests/test_opus_projection.c:130:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc(160)’
opus-1.5.2-build/opus-1.5.2/tests/test_opus_projection.c: scope_hint: In function ‘test_simple_matrix’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def85]
opus-1.5.2-build/opus-1.5.2/tests/test_opus_projection.c:143:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc(80)’
opus-1.5.2-build/opus-1.5.2/tests/test_opus_projection.c: scope_hint: In function ‘test_simple_matrix’
Error: CPPCHECK_WARNING (CWE-457): [#def86]
opus-1.5.2-build/opus-1.5.2/tests/test_opus_projection.c:236: warning[uninitvar]: Uninitialized variable: dec_error
Error: GCC_ANALYZER_WARNING (CWE-688): [#def87]
opus-1.5.2-build/opus-1.5.2/tests/test_opus_projection.c: scope_hint: In function ‘generate_music’
opus-1.5.2-build/opus-1.5.2/tests/test_opus_projection.c:256:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘a’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def88]
opus-1.5.2-build/opus-1.5.2/tests/test_opus_projection.c:257:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘b’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def89]
opus-1.5.2-build/opus-1.5.2/tests/test_opus_projection.c:258:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘c’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def90]
opus-1.5.2-build/opus-1.5.2/tests/test_opus_projection.c:259:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘d’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def91]
opus-1.5.2-build/opus-1.5.2/tests/test_opus_projection.c:273:24: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buf’
opus-1.5.2-build/opus-1.5.2/celt/arch.h:38: included_from: Included from here.
opus-1.5.2-build/opus-1.5.2/celt/float_cast.h:33: included_from: Included from here.
opus-1.5.2-build/opus-1.5.2/tests/test_opus_projection.c:36: included_from: Included from here.
opus-1.5.2-build/opus-1.5.2/include/opus_defines.h:181:75: note: in definition of macro ‘__opus_check_int’
opus-1.5.2-build/opus-1.5.2/tests/test_opus_projection.c:318:5: note: in expansion of macro ‘OPUS_SET_BITRATE’
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-23.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | opus-1.5.2-1.fc42 |
store-results-to | /tmp/tmpiglbm2ib/opus-1.5.2-1.fc42.tar.xz |
time-created | 2024-11-13 02:10:03 |
time-finished | 2024-11-13 02:13:44 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpiglbm2ib/opus-1.5.2-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpiglbm2ib/opus-1.5.2-1.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |