opus-1.6-2.fc44
List of Findings
Error: CPPCHECK_WARNING (CWE-758): [#def1]
opus-1.6/celt/celt_decoder.c:903: error[subtractPointers]: Subtracting pointers that point to different objects
Error: CPPCHECK_WARNING (CWE-457): [#def2]
opus-1.6/celt/celt_decoder.c:1451: warning[uninitvar]: Uninitialized variable: offsets
Error: CPPCHECK_WARNING (CWE-758): [#def3]
opus-1.6/celt/celt_encoder.c:702: error[subtractPointers]: Subtracting pointers that point to different objects
Error: CPPCHECK_WARNING (CWE-758): [#def4]
opus-1.6/celt/celt_encoder.c:1089: error[subtractPointers]: Subtracting pointers that point to different objects
Error: GCC_ANALYZER_WARNING (CWE-457): [#def5]
opus-1.6/celt/celt_encoder.c:1307:14: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*<unknown>'
opus-1.6/celt/celt_encoder.c:2865:5: enter_function: entry to 'opus_custom_encode24'
opus-1.6/celt/celt_encoder.c:2871:7: branch_false: following 'false' branch (when 'pcm' is non-NULL)...
opus-1.6/celt/celt_encoder.c:2874:4: branch_false: ...to here
opus-1.6/celt/celt_encoder.c:2881:8: call_function: calling 'celt_encode_with_ec' from 'opus_custom_encode24'
Error: GCC_ANALYZER_WARNING (CWE-457): [#def6]
opus-1.6/celt/celt_encoder.c:1314:78: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*<unknown>'
opus-1.6/celt/celt_encoder.c:2865:5: enter_function: entry to 'opus_custom_encode24'
opus-1.6/celt/celt_encoder.c:2871:7: branch_false: following 'false' branch (when 'pcm' is non-NULL)...
opus-1.6/celt/celt_encoder.c:2874:4: branch_false: ...to here
opus-1.6/celt/celt_encoder.c:2881:8: call_function: calling 'celt_encode_with_ec' from 'opus_custom_encode24'
Error: CPPCHECK_WARNING (CWE-758): [#def7]
opus-1.6/celt/celt_encoder.c:2199: error[subtractPointers]: Subtracting pointers that point to different objects
Error: CPPCHECK_WARNING (CWE-457): [#def8]
opus-1.6/celt/celt_lpc.c:174: warning[uninitvar]: Uninitialized variable: rnum
Error: CPPCHECK_WARNING (CWE-457): [#def9]
opus-1.6/celt/celt_lpc.c:248: warning[uninitvar]: Uninitialized variable: rden
Error: GCC_ANALYZER_WARNING (CWE-476): [#def10]
opus-1.6/celt/entenc.c:62:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ptr’
opus-1.6/celt/tests/test_unit_entropy.c:53:5: enter_function: entry to ‘main’
opus-1.6/celt/tests/test_unit_entropy.c:70:6: branch_false: following ‘false’ branch (when ‘_argc <= 2’)...
opus-1.6/celt/tests/test_unit_entropy.c:74:14: branch_false: ...to here
opus-1.6/celt/tests/test_unit_entropy.c:82:26: acquire_memory: this call could return NULL
opus-1.6/celt/tests/test_unit_entropy.c:84:12: branch_true: following ‘true’ branch (when ‘ft != 1024’)...
opus-1.6/celt/tests/test_unit_entropy.c:84:12: branch_true: ...to here
opus-1.6/celt/tests/test_unit_entropy.c:85:13: branch_true: following ‘true’ branch (when ‘ft > i’)...
opus-1.6/celt/tests/test_unit_entropy.c:86:16: branch_true: ...to here
opus-1.6/celt/tests/test_unit_entropy.c:87:7: call_function: calling ‘ec_enc_uint’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def11]
opus-1.6/celt/mini_kfft.c:295:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘Fout’
opus-1.6/celt/tests/test_unit_mini_kfft.c:83:6: enter_function: entry to ‘test1d’
opus-1.6/celt/tests/test_unit_mini_kfft.c:91:11: call_function: calling ‘mini_kiss_fft_alloc’ from ‘test1d’
opus-1.6/celt/tests/test_unit_mini_kfft.c:91:11: return_function: returning to ‘test1d’ from ‘mini_kiss_fft_alloc’
opus-1.6/celt/tests/test_unit_mini_kfft.c:92:12: call_function: calling ‘mini_kiss_fft_alloc’ from ‘test1d’
opus-1.6/celt/tests/test_unit_mini_kfft.c:92:12: return_function: returning to ‘test1d’ from ‘mini_kiss_fft_alloc’
opus-1.6/celt/tests/test_unit_mini_kfft.c:95:31: acquire_memory: this call could return NULL
opus-1.6/celt/tests/test_unit_mini_kfft.c:97:14: branch_false: following ‘false’ branch (when ‘k >= nfft’)...
opus-1.6/celt/tests/test_unit_mini_kfft.c:97:14: branch_false: ...to here
opus-1.6/celt/tests/test_unit_mini_kfft.c:102:14: branch_false: following ‘false’ branch (when ‘k >= nfft’)...
opus-1.6/celt/tests/test_unit_mini_kfft.c:107:8: branch_false: ...to here
opus-1.6/celt/tests/test_unit_mini_kfft.c:107:8: branch_false: following ‘false’ branch (when ‘isinverse == 0’)...
opus-1.6/celt/tests/test_unit_mini_kfft.c:120:8: call_function: inlined call to ‘mini_kiss_fft’ from ‘test1d’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def12]
opus-1.6/celt/mini_kfft.c:295:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘f’
opus-1.6/celt/tests/test_unit_mini_kfft.c:83:6: enter_function: entry to ‘test1d’
opus-1.6/celt/tests/test_unit_mini_kfft.c:91:11: call_function: calling ‘mini_kiss_fft_alloc’ from ‘test1d’
opus-1.6/celt/tests/test_unit_mini_kfft.c:91:11: return_function: returning to ‘test1d’ from ‘mini_kiss_fft_alloc’
opus-1.6/celt/tests/test_unit_mini_kfft.c:92:12: call_function: calling ‘mini_kiss_fft_alloc’ from ‘test1d’
opus-1.6/celt/tests/test_unit_mini_kfft.c:92:12: return_function: returning to ‘test1d’ from ‘mini_kiss_fft_alloc’
opus-1.6/celt/tests/test_unit_mini_kfft.c:94:30: acquire_memory: this call could return NULL
opus-1.6/celt/tests/test_unit_mini_kfft.c:97:14: branch_false: following ‘false’ branch (when ‘k >= nfft’)...
opus-1.6/celt/tests/test_unit_mini_kfft.c:97:14: branch_false: ...to here
opus-1.6/celt/tests/test_unit_mini_kfft.c:102:14: branch_false: following ‘false’ branch (when ‘k >= nfft’)...
opus-1.6/celt/tests/test_unit_mini_kfft.c:107:8: branch_false: ...to here
opus-1.6/celt/tests/test_unit_mini_kfft.c:107:8: branch_false: following ‘false’ branch (when ‘isinverse == 0’)...
opus-1.6/celt/tests/test_unit_mini_kfft.c:120:8: call_function: inlined call to ‘mini_kiss_fft’ from ‘test1d’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def13]
opus-1.6/celt/mini_kfft.c:295:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*f’
opus-1.6/celt/tests/test_unit_mini_kfft.c:83:6: enter_function: entry to ‘test1d’
opus-1.6/celt/tests/test_unit_mini_kfft.c:91:11: call_function: calling ‘mini_kiss_fft_alloc’ from ‘test1d’
opus-1.6/celt/tests/test_unit_mini_kfft.c:91:11: return_function: returning to ‘test1d’ from ‘mini_kiss_fft_alloc’
opus-1.6/celt/tests/test_unit_mini_kfft.c:92:12: call_function: calling ‘mini_kiss_fft_alloc’ from ‘test1d’
opus-1.6/celt/tests/test_unit_mini_kfft.c:92:12: return_function: returning to ‘test1d’ from ‘mini_kiss_fft_alloc’
opus-1.6/celt/tests/test_unit_mini_kfft.c:97:14: branch_false: following ‘false’ branch (when ‘k >= nfft’)...
opus-1.6/celt/tests/test_unit_mini_kfft.c:97:14: branch_false: ...to here
opus-1.6/celt/tests/test_unit_mini_kfft.c:102:14: branch_false: following ‘false’ branch (when ‘k >= nfft’)...
opus-1.6/celt/tests/test_unit_mini_kfft.c:107:8: branch_false: ...to here
opus-1.6/celt/tests/test_unit_mini_kfft.c:107:8: branch_false: following ‘false’ branch (when ‘isinverse == 0’)...
opus-1.6/celt/tests/test_unit_mini_kfft.c:120:8: call_function: inlined call to ‘mini_kiss_fft’ from ‘test1d’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def14]
opus-1.6/celt/modes.c:101:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL 'malloc(44)'
opus-1.6/celt/modes.c:90:20: enter_function: entry to 'compute_ebands'
opus-1.6/celt/modes.c:96:7: branch_true: following 'true' branch...
opus-1.6/celt/modes.c:98:7: branch_true: ...to here
opus-1.6/celt/modes.c:99:16: call_function: inlined call to 'opus_alloc' from 'compute_ebands'
opus-1.6/celt/modes.c:100:16: branch_true: following 'true' branch...
opus-1.6/celt/modes.c:101:16: branch_true: ...to here
opus-1.6/celt/modes.c:101:10: danger: 'malloc(44) + (long unsigned int)i * 2' could be NULL: unchecked value from [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def15]
opus-1.6/celt/modes.c:466:30: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*mode.allocVectors'
opus-1.6/celt/modes.c:227:11: enter_function: entry to 'opus_custom_mode_create'
opus-1.6/celt/modes.c:245:13: branch_true: following 'true' branch (when 'i == 0')...
opus-1.6/celt/modes.c:245:13: branch_true: ...to here
opus-1.6/celt/modes.c:248:16: branch_true: following 'true' branch (when 'j != 4')...
opus-1.6/celt/modes.c:250:13: branch_true: ...to here
opus-1.6/celt/modes.c:269:7: branch_false: following 'false' branch...
opus-1.6/celt/modes.c:278:8: branch_false: ...to here
opus-1.6/celt/modes.c:278:7: branch_false: following 'false' branch...
opus-1.6/celt/modes.c:286:7: branch_false: following 'false' branch...
opus-1.6/celt/modes.c:293:8: branch_false: ...to here
opus-1.6/celt/modes.c:308:7: branch_false: following 'false' branch...
opus-1.6/celt/modes.c:315:11: call_function: inlined call to 'opus_alloc' from 'opus_custom_mode_create'
opus-1.6/celt/modes.c:316:7: branch_false: following 'false' branch...
opus-1.6/celt/modes.c:318:4: branch_false: ...to here
opus-1.6/celt/modes.c:363:19: call_function: calling 'compute_ebands' from 'opus_custom_mode_create'
opus-1.6/celt/modes.c:363:19: return_function: returning to 'opus_custom_mode_create' from 'compute_ebands'
opus-1.6/celt/modes.c:364:7: branch_false: following 'false' branch...
opus-1.6/celt/modes.c:369:22: branch_false: ...to here
opus-1.6/celt/modes.c:369:7: branch_true: following 'true' branch...
opus-1.6/celt/modes.c:371:8: branch_true: ...to here
opus-1.6/celt/modes.c:434:7: branch_true: following 'true' branch...
opus-1.6/celt/modes.c:435:7: branch_true: ...to here
opus-1.6/celt/modes.c:435:7: call_function: calling 'opus_custom_mode_destroy' from 'opus_custom_mode_create'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def16]
opus-1.6/celt/opus_custom_demo.c:333:35: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘fbytes’
opus-1.6/celt/opus_custom_demo.c:137:7: branch_false: following ‘false’ branch (when ‘argc > 6’)...
opus-1.6/celt/opus_custom_demo.c:142:8: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:175:7: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:181:26: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:184:7: branch_true: following ‘true’ branch (when ‘decode_only == 0’)...
opus-1.6/celt/opus_custom_demo.c:186:47: branch_true: ...to here
opus-1.6/celt/opus_custom_demo.c:188:10: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:196:11: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:197:7: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:197:7: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:233:7: branch_true: following ‘true’ branch (when ‘decode_only == 0’)...
opus-1.6/celt/opus_custom_demo.c:234:13: branch_true: ...to here
opus-1.6/celt/opus_custom_demo.c:235:10: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:240:10: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:240:10: branch_false: following ‘false’ branch (when ‘complexity < 0’)...
opus-1.6/celt/opus_custom_demo.c:248:10: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:263:7: branch_false: following ‘false’ branch (when ‘encode_only != 0’)...
opus-1.6/celt/opus_custom_demo.c:275:8: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:275:7: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:280:17: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:282:7: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:282:7: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:289:7: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:294:29: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:296:29: acquire_memory: this call could return NULL
opus-1.6/celt/opus_custom_demo.c:298:11: branch_true: following ‘true’ branch...
opus-1.6/celt/opus_custom_demo.c:301:10: branch_true: ...to here
opus-1.6/celt/opus_custom_demo.c:301:10: branch_false: following ‘false’ branch (when ‘decode_only == 0’)...
opus-1.6/celt/opus_custom_demo.c:326:30: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:327:13: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:329:13: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:329:13: branch_true: following ‘true’ branch (when ‘format == 0’)...
opus-1.6/celt/opus_custom_demo.c:329:13: branch_true: ...to here
opus-1.6/celt/opus_custom_demo.c:330:21: branch_true: following ‘true’ branch...
opus-1.6/celt/opus_custom_demo.c:333:25: branch_true: ...to here
opus-1.6/celt/opus_custom_demo.c:333:35: danger: ‘fbytes + (sizetype)(i * 2)’ could be NULL: unchecked value from [(25)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/24)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def17]
opus-1.6/celt/opus_custom_demo.c:335:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘in’
opus-1.6/celt/opus_custom_demo.c:137:7: branch_false: following ‘false’ branch (when ‘argc > 6’)...
opus-1.6/celt/opus_custom_demo.c:142:8: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:175:7: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:181:26: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:184:7: branch_true: following ‘true’ branch (when ‘decode_only == 0’)...
opus-1.6/celt/opus_custom_demo.c:186:47: branch_true: ...to here
opus-1.6/celt/opus_custom_demo.c:188:10: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:196:11: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:197:7: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:197:7: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:233:7: branch_true: following ‘true’ branch (when ‘decode_only == 0’)...
opus-1.6/celt/opus_custom_demo.c:234:13: branch_true: ...to here
opus-1.6/celt/opus_custom_demo.c:235:10: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:240:10: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:240:10: branch_false: following ‘false’ branch (when ‘complexity < 0’)...
opus-1.6/celt/opus_custom_demo.c:248:10: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:263:7: branch_false: following ‘false’ branch (when ‘encode_only != 0’)...
opus-1.6/celt/opus_custom_demo.c:275:8: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:275:7: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:280:17: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:282:7: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:282:7: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:289:7: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:294:29: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:294:22: acquire_memory: this call could return NULL
opus-1.6/celt/opus_custom_demo.c:298:11: branch_true: following ‘true’ branch...
opus-1.6/celt/opus_custom_demo.c:301:10: branch_true: ...to here
opus-1.6/celt/opus_custom_demo.c:301:10: branch_false: following ‘false’ branch (when ‘decode_only == 0’)...
opus-1.6/celt/opus_custom_demo.c:326:30: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:327:13: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:329:13: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:329:13: branch_true: following ‘true’ branch (when ‘format == 0’)...
opus-1.6/celt/opus_custom_demo.c:329:13: branch_true: ...to here
opus-1.6/celt/opus_custom_demo.c:330:21: branch_true: following ‘true’ branch...
opus-1.6/celt/opus_custom_demo.c:333:25: branch_true: ...to here
opus-1.6/celt/opus_custom_demo.c:335:16: danger: ‘in + (long unsigned int)i * 4’ could be NULL: unchecked value from [(25)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/24)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def18]
opus-1.6/celt/opus_custom_demo.c:441:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘fbytes’
opus-1.6/celt/opus_custom_demo.c:137:7: branch_false: following ‘false’ branch (when ‘argc > 6’)...
opus-1.6/celt/opus_custom_demo.c:142:8: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:175:7: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:181:26: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:184:7: branch_true: following ‘true’ branch (when ‘decode_only == 0’)...
opus-1.6/celt/opus_custom_demo.c:186:47: branch_true: ...to here
opus-1.6/celt/opus_custom_demo.c:188:10: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:196:11: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:197:7: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:197:7: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:233:7: branch_true: following ‘true’ branch (when ‘decode_only == 0’)...
opus-1.6/celt/opus_custom_demo.c:234:13: branch_true: ...to here
opus-1.6/celt/opus_custom_demo.c:235:10: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:240:10: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:240:10: branch_false: following ‘false’ branch (when ‘complexity < 0’)...
opus-1.6/celt/opus_custom_demo.c:248:10: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:263:7: branch_true: following ‘true’ branch (when ‘encode_only == 0’)...
opus-1.6/celt/opus_custom_demo.c:264:13: branch_true: ...to here
opus-1.6/celt/opus_custom_demo.c:265:10: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:270:10: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:270:9: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:275:8: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:275:7: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:280:17: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:282:7: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:282:7: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:289:7: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:294:29: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:296:29: acquire_memory: this call could return NULL
opus-1.6/celt/opus_custom_demo.c:298:11: branch_true: following ‘true’ branch...
opus-1.6/celt/opus_custom_demo.c:301:10: branch_true: ...to here
opus-1.6/celt/opus_custom_demo.c:301:10: branch_false: following ‘false’ branch (when ‘decode_only == 0’)...
opus-1.6/celt/opus_custom_demo.c:326:30: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:327:13: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:329:13: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:330:21: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:353:16: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:354:13: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:359:13: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:363:10: branch_false: following ‘false’ branch (when ‘encode_only == 0’)...
opus-1.6/celt/opus_custom_demo.c:406:17: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:406:17: branch_true: following ‘true’ branch...
opus-1.6/celt/opus_custom_demo.c:412:12: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:417:13: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:417:13: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
opus-1.6/celt/opus_custom_demo.c:433:13: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:433:13: branch_true: following ‘true’ branch (when ‘format == 0’)...
opus-1.6/celt/opus_custom_demo.c:433:13: branch_true: ...to here
opus-1.6/celt/opus_custom_demo.c:434:21: branch_true: following ‘true’ branch...
opus-1.6/celt/opus_custom_demo.c:437:24: branch_true: ...to here
opus-1.6/celt/opus_custom_demo.c:441:16: danger: ‘fbytes + (sizetype)(i * 2)’ could be NULL: unchecked value from [(29)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/28)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def19]
opus-1.6/celt/opus_custom_demo.c:451:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘fbytes’
opus-1.6/celt/opus_custom_demo.c:105:5: enter_function: entry to ‘main’
opus-1.6/celt/opus_custom_demo.c:137:7: branch_false: following ‘false’ branch (when ‘argc > 6’)...
opus-1.6/celt/opus_custom_demo.c:142:8: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:175:7: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:181:26: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:184:7: branch_false: following ‘false’ branch (when ‘decode_only != 0’)...
opus-1.6/celt/opus_custom_demo.c:196:11: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:197:7: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:197:7: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:204:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
opus-1.6/celt/opus_custom_demo.c:209:19: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:209:17: branch_false: following ‘false’ branch (when the strings are non-equal)...
opus-1.6/celt/opus_custom_demo.c:213:19: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:233:7: branch_false: following ‘false’ branch (when ‘decode_only != 0’)...
opus-1.6/celt/opus_custom_demo.c:263:7: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:263:7: branch_true: following ‘true’ branch (when ‘encode_only == 0’)...
opus-1.6/celt/opus_custom_demo.c:264:13: branch_true: ...to here
opus-1.6/celt/opus_custom_demo.c:265:10: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:270:10: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:270:9: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:275:8: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:275:7: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:280:17: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:282:7: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:282:7: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:289:7: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:294:29: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:296:29: acquire_memory: this call could return NULL
opus-1.6/celt/opus_custom_demo.c:298:11: branch_true: following ‘true’ branch...
opus-1.6/celt/opus_custom_demo.c:301:10: branch_true: ...to here
opus-1.6/celt/opus_custom_demo.c:301:10: branch_true: following ‘true’ branch (when ‘decode_only != 0’)...
opus-1.6/celt/opus_custom_demo.c:304:29: branch_true: ...to here
opus-1.6/celt/opus_custom_demo.c:305:14: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:307:17: call_function: inlined call to ‘char_to_int’ from ‘main’
opus-1.6/celt/opus_custom_demo.c:308:14: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:313:22: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:314:14: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:316:29: call_function: inlined call to ‘char_to_int’ from ‘main’
opus-1.6/celt/opus_custom_demo.c:318:14: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:512:1: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:363:10: branch_false: following ‘false’ branch (when ‘encode_only == 0’)...
opus-1.6/celt/opus_custom_demo.c:406:17: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:406:17: branch_true: following ‘true’ branch...
opus-1.6/celt/opus_custom_demo.c:412:12: branch_false: following ‘false’ branch...
opus-1.6/celt/opus_custom_demo.c:417:13: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:417:13: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
opus-1.6/celt/opus_custom_demo.c:433:13: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:433:13: branch_false: following ‘false’ branch (when ‘format != 0’)...
opus-1.6/celt/opus_custom_demo.c:444:20: branch_false: ...to here
opus-1.6/celt/opus_custom_demo.c:444:20: branch_true: following ‘true’ branch (when ‘format == 1’)...
opus-1.6/celt/opus_custom_demo.c:444:20: branch_true: ...to here
opus-1.6/celt/opus_custom_demo.c:445:21: branch_true: following ‘true’ branch...
opus-1.6/celt/opus_custom_demo.c:448:24: branch_true: ...to here
opus-1.6/celt/opus_custom_demo.c:451:16: danger: ‘fbytes + (sizetype)(i * 3)’ could be NULL: unchecked value from [(28)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/27)
Error: CPPCHECK_WARNING (CWE-457): [#def20]
opus-1.6/celt/rate.c:641: warning[uninitvar]: Uninitialized variable: bits1
Error: CPPCHECK_WARNING (CWE-457): [#def21]
opus-1.6/celt/rate.c:641: warning[uninitvar]: Uninitialized variable: bits2
Error: CPPCHECK_WARNING (CWE-476): [#def22]
opus-1.6/celt/tests/test_unit_dft.c:110: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: in
Error: GCC_ANALYZER_WARNING (CWE-476): [#def23]
opus-1.6/celt/tests/test_unit_dft.c:110:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘in’
opus-1.6/celt/tests/test_unit_dft.c:145:5: enter_function: entry to ‘main’
opus-1.6/celt/tests/test_unit_dft.c:151:8: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
opus-1.6/celt/tests/test_unit_dft.c:158:9: branch_false: ...to here
opus-1.6/celt/tests/test_unit_dft.c:158:9: call_function: calling ‘test1d’ from ‘main’
Error: CPPCHECK_WARNING (CWE-476): [#def24]
opus-1.6/celt/tests/test_unit_dft.c:111: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: in
Error: CPPCHECK_WARNING (CWE-476): [#def25]
opus-1.6/celt/tests/test_unit_dft.c:115: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: in
Error: CPPCHECK_WARNING (CWE-476): [#def26]
opus-1.6/celt/tests/test_unit_dft.c:116: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: in
Error: CPPCHECK_WARNING (CWE-476): [#def27]
opus-1.6/celt/tests/test_unit_entropy.c:181: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: tell
Error: CPPCHECK_WARNING (CWE-476): [#def28]
opus-1.6/celt/tests/test_unit_entropy.c:187: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: CPPCHECK_WARNING (CWE-476): [#def29]
opus-1.6/celt/tests/test_unit_entropy.c:188: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: tell
Error: CPPCHECK_WARNING (CWE-476): [#def30]
opus-1.6/celt/tests/test_unit_entropy.c:242: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: tell
Error: CPPCHECK_WARNING (CWE-476): [#def31]
opus-1.6/celt/tests/test_unit_entropy.c:244: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: CPPCHECK_WARNING (CWE-476): [#def32]
opus-1.6/celt/tests/test_unit_entropy.c:245: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: logp1
Error: CPPCHECK_WARNING (CWE-476): [#def33]
opus-1.6/celt/tests/test_unit_entropy.c:246: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: enc_method
Error: CPPCHECK_WARNING (CWE-476): [#def34]
opus-1.6/celt/tests/test_unit_entropy.c:247: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: enc_method
Error: COMPILER_WARNING (CWE-457): [#def35]
opus-1.6/celt/tests/test_unit_mdct.c: scope_hint: In function 'test1d.isra'
opus-1.6/celt/tests/test_unit_mdct.c:118:17: warning[-Wmaybe-uninitialized]: '_cfg.trig' may be used uninitialized
Error: CPPCHECK_WARNING (CWE-476): [#def36]
opus-1.6/celt/tests/test_unit_mdct.c:139: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: in
Error: GCC_ANALYZER_WARNING (CWE-476): [#def37]
opus-1.6/celt/tests/test_unit_mdct.c:139:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘in’
opus-1.6/celt/tests/test_unit_mdct.c:189:5: enter_function: entry to ‘main’
opus-1.6/celt/tests/test_unit_mdct.c:195:8: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
opus-1.6/celt/tests/test_unit_mdct.c:202:9: branch_false: ...to here
opus-1.6/celt/tests/test_unit_mdct.c:202:9: call_function: calling ‘test1d’ from ‘main’
Error: CPPCHECK_WARNING (CWE-476): [#def38]
opus-1.6/celt/tests/test_unit_mdct.c:146: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: window
Error: GCC_ANALYZER_WARNING (CWE-476): [#def39]
opus-1.6/celt/tests/test_unit_mdct.c:146:8: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘window’
opus-1.6/celt/tests/test_unit_mdct.c:189:5: enter_function: entry to ‘main’
opus-1.6/celt/tests/test_unit_mdct.c:195:8: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
opus-1.6/celt/tests/test_unit_mdct.c:202:9: branch_false: ...to here
opus-1.6/celt/tests/test_unit_mdct.c:202:9: call_function: calling ‘test1d’ from ‘main’
Error: CPPCHECK_WARNING (CWE-476): [#def40]
opus-1.6/celt/tests/test_unit_mdct.c:150: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: in
Error: GCC_ANALYZER_WARNING (CWE-476): [#def41]
opus-1.6/celt/tests/test_unit_mdct.c:161:8: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘in_copy’
opus-1.6/celt/tests/test_unit_mdct.c:189:5: enter_function: entry to ‘main’
opus-1.6/celt/tests/test_unit_mdct.c:195:8: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
opus-1.6/celt/tests/test_unit_mdct.c:202:9: branch_false: ...to here
opus-1.6/celt/tests/test_unit_mdct.c:202:9: call_function: calling ‘test1d’ from ‘main’
Error: CPPCHECK_WARNING (CWE-476): [#def42]
opus-1.6/celt/tests/test_unit_mini_kfft.c:98: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: in
Error: GCC_ANALYZER_WARNING (CWE-476): [#def43]
opus-1.6/celt/tests/test_unit_mini_kfft.c:98:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘in’
opus-1.6/celt/tests/test_unit_mini_kfft.c:83:6: enter_function: entry to ‘test1d’
opus-1.6/celt/tests/test_unit_mini_kfft.c:91:11: call_function: calling ‘mini_kiss_fft_alloc’ from ‘test1d’
opus-1.6/celt/tests/test_unit_mini_kfft.c:91:11: return_function: returning to ‘test1d’ from ‘mini_kiss_fft_alloc’
opus-1.6/celt/tests/test_unit_mini_kfft.c:92:12: call_function: calling ‘mini_kiss_fft_alloc’ from ‘test1d’
opus-1.6/celt/tests/test_unit_mini_kfft.c:92:12: return_function: returning to ‘test1d’ from ‘mini_kiss_fft_alloc’
opus-1.6/celt/tests/test_unit_mini_kfft.c:94:30: acquire_memory: this call could return NULL
opus-1.6/celt/tests/test_unit_mini_kfft.c:97:14: branch_true: following ‘true’ branch (when ‘k < nfft’)...
opus-1.6/celt/tests/test_unit_mini_kfft.c:98:20: branch_true: ...to here
opus-1.6/celt/tests/test_unit_mini_kfft.c:98:9: danger: ‘in + (long unsigned int)k * 8’ could be NULL: unchecked value from [(16)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/15)
Error: CPPCHECK_WARNING (CWE-476): [#def44]
opus-1.6/celt/tests/test_unit_mini_kfft.c:99: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: in
Error: CPPCHECK_WARNING (CWE-476): [#def45]
opus-1.6/celt/tests/test_unit_mini_kfft.c:103: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: in
Error: CPPCHECK_WARNING (CWE-476): [#def46]
opus-1.6/celt/tests/test_unit_mini_kfft.c:104: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: in
Error: CPPCHECK_WARNING (CWE-476): [#def47]
opus-1.6/celt/tests/test_unit_mini_kfft.c:110: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: in
Error: CPPCHECK_WARNING (CWE-476): [#def48]
opus-1.6/celt/tests/test_unit_mini_kfft.c:111: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: in
Error: COMPILER_WARNING: [#def49]
opus-1.6/celt/x86/pitch_avx.c:42:61: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
Error: COMPILER_WARNING: [#def50]
opus-1.6/celt/x86/pitch_avx.c:42:69: note[note]: called from here
Error: COMPILER_WARNING: [#def51]
opus-1.6/celt/x86/pitch_avx.c:48:14: note[note]: called from here
Error: COMPILER_WARNING: [#def52]
opus-1.6/celt/x86/pitch_avx.c:49:17: note[note]: called from here
Error: COMPILER_WARNING: [#def53]
opus-1.6/celt/x86/pitch_avx.c:50:17: note[note]: called from here
Error: COMPILER_WARNING: [#def54]
opus-1.6/celt/x86/pitch_avx.c:51:17: note[note]: called from here
Error: COMPILER_WARNING: [#def55]
opus-1.6/celt/x86/pitch_avx.c:52:17: note[note]: called from here
Error: COMPILER_WARNING: [#def56]
opus-1.6/celt/x86/pitch_avx.c:53:17: note[note]: called from here
Error: COMPILER_WARNING: [#def57]
opus-1.6/celt/x86/pitch_avx.c:54:17: note[note]: called from here
Error: COMPILER_WARNING: [#def58]
opus-1.6/celt/x86/pitch_avx.c:55:17: note[note]: called from here
Error: COMPILER_WARNING: [#def59]
opus-1.6/celt/x86/pitch_avx.c:56:17: note[note]: called from here
Error: COMPILER_WARNING: [#def60]
opus-1.6/celt/x86/pitch_avx.c:61:13: note[note]: called from here
Error: COMPILER_WARNING: [#def61]
opus-1.6/celt/x86/pitch_avx.c:62:14: note[note]: called from here
Error: COMPILER_WARNING: [#def62]
opus-1.6/celt/x86/pitch_avx.c:63:17: note[note]: called from here
Error: COMPILER_WARNING: [#def63]
opus-1.6/celt/x86/pitch_avx.c:64:17: note[note]: called from here
Error: COMPILER_WARNING: [#def64]
opus-1.6/celt/x86/pitch_avx.c:65:17: note[note]: called from here
Error: COMPILER_WARNING: [#def65]
opus-1.6/celt/x86/pitch_avx.c:66:17: note[note]: called from here
Error: COMPILER_WARNING: [#def66]
opus-1.6/celt/x86/pitch_avx.c:67:17: note[note]: called from here
Error: COMPILER_WARNING: [#def67]
opus-1.6/celt/x86/pitch_avx.c:68:17: note[note]: called from here
Error: COMPILER_WARNING: [#def68]
opus-1.6/celt/x86/pitch_avx.c:69:17: note[note]: called from here
Error: COMPILER_WARNING: [#def69]
opus-1.6/celt/x86/pitch_avx.c:70:17: note[note]: called from here
Error: COMPILER_WARNING: [#def70]
opus-1.6/celt/x86/pitch_avx.c:74:13: note[note]: called from here
Error: COMPILER_WARNING: [#def71]
opus-1.6/celt/x86/pitch_avx.c:75:13: note[note]: called from here
Error: COMPILER_WARNING: [#def72]
opus-1.6/celt/x86/pitch_avx.c:76:13: note[note]: called from here
Error: COMPILER_WARNING: [#def73]
opus-1.6/celt/x86/pitch_avx.c:77:13: note[note]: called from here
Error: COMPILER_WARNING: [#def74]
opus-1.6/celt/x86/pitch_avx.c:79:13: note[note]: called from here
Error: COMPILER_WARNING: [#def75]
opus-1.6/celt/x86/pitch_avx.c:80:13: note[note]: called from here
Error: COMPILER_WARNING: [#def76]
opus-1.6/celt/x86/pitch_avx.c:82:13: note[note]: called from here
Error: COMPILER_WARNING: [#def77]
opus-1.6/celt/x86/pitch_avx.c:83:5: note[note]: called from here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def78]
opus-1.6/doc/trivial_example.c:98:8: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(inFile, "rb")’
opus-1.6/doc/trivial_example.c:63:7: branch_false: following ‘false’ branch (when ‘argc == 3’)...
opus-1.6/doc/trivial_example.c:71:14: branch_false: ...to here
opus-1.6/doc/trivial_example.c:72:7: branch_false: following ‘false’ branch...
opus-1.6/doc/trivial_example.c:81:10: branch_false: ...to here
opus-1.6/doc/trivial_example.c:82:7: branch_false: following ‘false’ branch...
opus-1.6/doc/trivial_example.c:87:4: branch_false: ...to here
opus-1.6/doc/trivial_example.c:88:10: acquire_resource: opened here
opus-1.6/doc/trivial_example.c:89:7: branch_false: following ‘false’ branch...
opus-1.6/doc/trivial_example.c:97:14: branch_false: ...to here
opus-1.6/doc/trivial_example.c:98:8: danger: ‘fopen(inFile, "rb")’ leaks here; was opened at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def79]
opus-1.6/doc/trivial_example.c:98:8: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(inFile, "rb")’
opus-1.6/doc/trivial_example.c:63:7: branch_false: following ‘false’ branch (when ‘argc == 3’)...
opus-1.6/doc/trivial_example.c:71:14: branch_false: ...to here
opus-1.6/doc/trivial_example.c:72:7: branch_false: following ‘false’ branch...
opus-1.6/doc/trivial_example.c:81:10: branch_false: ...to here
opus-1.6/doc/trivial_example.c:82:7: branch_false: following ‘false’ branch...
opus-1.6/doc/trivial_example.c:87:4: branch_false: ...to here
opus-1.6/doc/trivial_example.c:88:10: acquire_memory: allocated here
opus-1.6/doc/trivial_example.c:89:7: branch_false: following ‘false’ branch...
opus-1.6/doc/trivial_example.c:97:14: branch_false: ...to here
opus-1.6/doc/trivial_example.c:98:8: danger: ‘fopen(inFile, "rb")’ leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: CPPCHECK_WARNING (CWE-404): [#def80]
opus-1.6/doc/trivial_example.c:101: error[resourceLeak]: Resource leak: fin
Error: CPPCHECK_WARNING (CWE-404): [#def81]
opus-1.6/doc/trivial_example.c:108: error[resourceLeak]: Resource leak: fin
Error: GCC_ANALYZER_WARNING (CWE-775): [#def82]
opus-1.6/doc/trivial_example.c:133:26: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(outFile, "wb")’
opus-1.6/doc/trivial_example.c:63:7: branch_false: following ‘false’ branch (when ‘argc == 3’)...
opus-1.6/doc/trivial_example.c:71:14: branch_false: ...to here
opus-1.6/doc/trivial_example.c:72:7: branch_false: following ‘false’ branch...
opus-1.6/doc/trivial_example.c:81:10: branch_false: ...to here
opus-1.6/doc/trivial_example.c:82:7: branch_false: following ‘false’ branch...
opus-1.6/doc/trivial_example.c:87:4: branch_false: ...to here
opus-1.6/doc/trivial_example.c:89:7: branch_false: following ‘false’ branch...
opus-1.6/doc/trivial_example.c:97:14: branch_false: ...to here
opus-1.6/doc/trivial_example.c:98:7: branch_false: following ‘false’ branch...
opus-1.6/doc/trivial_example.c:103:4: branch_false: ...to here
opus-1.6/doc/trivial_example.c:104:11: acquire_resource: opened here
opus-1.6/doc/trivial_example.c:105:7: branch_false: following ‘false’ branch...
opus-1.6/doc/trivial_example.c:105:7: branch_false: ...to here
opus-1.6/doc/trivial_example.c:125:10: branch_false: following ‘false’ branch...
opus-1.6/doc/trivial_example.c:125:10: branch_false: ...to here
opus-1.6/doc/trivial_example.c:131:16: branch_true: following ‘true’ branch (when ‘i != 1920’)...
opus-1.6/doc/trivial_example.c:133:26: branch_true: ...to here
opus-1.6/doc/trivial_example.c:133:26: danger: ‘fopen(outFile, "wb")’ leaks here; was opened at [(11)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def83]
opus-1.6/doc/trivial_example.c:133:26: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(outFile, "wb")’
opus-1.6/doc/trivial_example.c:63:7: branch_false: following ‘false’ branch (when ‘argc == 3’)...
opus-1.6/doc/trivial_example.c:71:14: branch_false: ...to here
opus-1.6/doc/trivial_example.c:72:7: branch_false: following ‘false’ branch...
opus-1.6/doc/trivial_example.c:81:10: branch_false: ...to here
opus-1.6/doc/trivial_example.c:82:7: branch_false: following ‘false’ branch...
opus-1.6/doc/trivial_example.c:87:4: branch_false: ...to here
opus-1.6/doc/trivial_example.c:89:7: branch_false: following ‘false’ branch...
opus-1.6/doc/trivial_example.c:97:14: branch_false: ...to here
opus-1.6/doc/trivial_example.c:98:7: branch_false: following ‘false’ branch...
opus-1.6/doc/trivial_example.c:103:4: branch_false: ...to here
opus-1.6/doc/trivial_example.c:104:11: acquire_memory: allocated here
opus-1.6/doc/trivial_example.c:105:7: branch_false: following ‘false’ branch...
opus-1.6/doc/trivial_example.c:105:7: branch_false: ...to here
opus-1.6/doc/trivial_example.c:125:10: branch_false: following ‘false’ branch...
opus-1.6/doc/trivial_example.c:125:10: branch_false: ...to here
opus-1.6/doc/trivial_example.c:131:16: branch_true: following ‘true’ branch (when ‘i != 1920’)...
opus-1.6/doc/trivial_example.c:133:26: branch_true: ...to here
opus-1.6/doc/trivial_example.c:133:26: danger: ‘fopen(outFile, "wb")’ leaks here; was allocated at [(11)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/10)
Error: CPPCHECK_WARNING (CWE-457): [#def84]
opus-1.6/silk/NLSF2A.c:116: warning[uninitvar]: Uninitialized variable: cos_LSF_QA
Error: GCC_ANALYZER_WARNING: [#def85]
opus-1.6/silk/NSQ_del_dec.c:605:13: warning[-Wanalyzer-overlapping-buffers]: overlapping buffers passed as arguments to 'memcpy'
opus-1.6/silk/NSQ_del_dec.c:361:5: branch_false: following 'false' branch (when 'nStatesDelayedDecision > 0')...
opus-1.6/silk/NSQ_del_dec.c:362:5: branch_false: ...to here
opus-1.6/silk/NSQ_del_dec.c:372:17: branch_true: following 'true' branch (when 'i < length')...
opus-1.6/silk/NSQ_del_dec.c:376:11: branch_true: ...to here
opus-1.6/silk/NSQ_del_dec.c:402:21: branch_true: following 'true' branch (when 'k < nStatesDelayedDecision')...
opus-1.6/silk/NSQ_del_dec.c:404:29: branch_true: ...to here
opus-1.6/silk/NSQ_del_dec.c:419:13: branch_false: following 'false' branch...
opus-1.6/silk/NSQ_del_dec.c:421:20: branch_false: ...to here
opus-1.6/silk/NSQ_del_dec.c:467:16: branch_true: following 'true' branch (when 'Lambda_Q10 > 2048')...
opus-1.6/silk/NSQ_del_dec.c:469:34: branch_true: ...to here
opus-1.6/silk/NSQ_del_dec.c:472:27: branch_false: following 'false' branch...
opus-1.6/silk/NSQ_del_dec.c:474:27: branch_false: ...to here
opus-1.6/silk/NSQ_del_dec.c:555:38: branch_true: following 'true' branch...
opus-1.6/silk/NSQ_del_dec.c:577:21: branch_true: following 'true' branch (when 'k < nStatesDelayedDecision')...
opus-1.6/silk/NSQ_del_dec.c:578:25: branch_true: ...to here
opus-1.6/silk/NSQ_del_dec.c:578:15: branch_false: following 'false' branch...
opus-1.6/silk/NSQ_del_dec.c:577:49: branch_false: ...to here
opus-1.6/silk/NSQ_del_dec.c:590:21: branch_false: following 'false' branch (when 'k >= nStatesDelayedDecision')...
opus-1.6/silk/NSQ_del_dec.c:604:11: branch_false: ...to here
opus-1.6/silk/NSQ_del_dec.c:604:11: branch_true: following 'true' branch (when 'RDmin_Q10 < RDmax_Q10')...
opus-1.6/silk/NSQ_del_dec.c:605:13: branch_true: ...to here
opus-1.6/silk/NSQ_del_dec.c:605:13: danger: overlapping buffers passed as arguments to 'memcpy'
Error: GCC_ANALYZER_WARNING: [#def86]
opus-1.6/silk/NSQ_del_dec.c:607:13: warning[-Wanalyzer-overlapping-buffers]: overlapping buffers passed as arguments to 'memcpy'
opus-1.6/silk/NSQ_del_dec.c:361:5: branch_false: following 'false' branch (when 'nStatesDelayedDecision > 0')...
opus-1.6/silk/NSQ_del_dec.c:362:5: branch_false: ...to here
opus-1.6/silk/NSQ_del_dec.c:372:17: branch_true: following 'true' branch (when 'i < length')...
opus-1.6/silk/NSQ_del_dec.c:376:11: branch_true: ...to here
opus-1.6/silk/NSQ_del_dec.c:402:21: branch_true: following 'true' branch (when 'k < nStatesDelayedDecision')...
opus-1.6/silk/NSQ_del_dec.c:404:29: branch_true: ...to here
opus-1.6/silk/NSQ_del_dec.c:419:13: branch_false: following 'false' branch...
opus-1.6/silk/NSQ_del_dec.c:421:20: branch_false: ...to here
opus-1.6/silk/NSQ_del_dec.c:467:16: branch_true: following 'true' branch (when 'Lambda_Q10 > 2048')...
opus-1.6/silk/NSQ_del_dec.c:469:34: branch_true: ...to here
opus-1.6/silk/NSQ_del_dec.c:472:27: branch_false: following 'false' branch...
opus-1.6/silk/NSQ_del_dec.c:474:27: branch_false: ...to here
opus-1.6/silk/NSQ_del_dec.c:555:38: branch_true: following 'true' branch...
opus-1.6/silk/NSQ_del_dec.c:577:21: branch_true: following 'true' branch (when 'k < nStatesDelayedDecision')...
opus-1.6/silk/NSQ_del_dec.c:578:25: branch_true: ...to here
opus-1.6/silk/NSQ_del_dec.c:590:21: branch_true: following 'true' branch (when 'k < nStatesDelayedDecision')...
opus-1.6/silk/NSQ_del_dec.c:592:17: branch_true: ...to here
opus-1.6/silk/NSQ_del_dec.c:597:15: branch_true: following 'true' branch...
opus-1.6/silk/NSQ_del_dec.c:597:15: branch_true: ...to here
opus-1.6/silk/NSQ_del_dec.c:604:11: branch_true: following 'true' branch (when 'RDmin_Q10 < RDmax_Q10')...
opus-1.6/silk/NSQ_del_dec.c:605:13: branch_true: ...to here
opus-1.6/silk/NSQ_del_dec.c:607:13: danger: overlapping buffers passed as arguments to 'memcpy'
Error: CPPCHECK_WARNING (CWE-457): [#def87]
opus-1.6/silk/PLC.c:211: warning[uninitvar]: Uninitialized variable: exc_buf
Error: COMPILER_WARNING (CWE-457): [#def88]
opus-1.6/silk/dec_API.c: scope_hint: In function 'silk_Decode.isra'
opus-1.6/silk/dec_API.c:364:13: warning[-Wmaybe-uninitialized]: 'nSamplesOutDec' may be used uninitialized
opus-1.6/silk/dec_API.c:150:16: note: 'nSamplesOutDec' was declared here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def89]
opus-1.6/silk/decode_core.c:185:32: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*pred_lag_ptr'
opus-1.6/silk/decode_core.c:103:17: branch_true: following 'true' branch...
opus-1.6/silk/decode_core.c:105:42: branch_true: ...to here
opus-1.6/silk/decode_core.c:116:11: branch_false: following 'false' branch...
opus-1.6/silk/decode_core.c:129:9: branch_false: ...to here
opus-1.6/silk/decode_core.c:142:11: branch_true: following 'true' branch (when 'signalType == 2')...
opus-1.6/silk/decode_core.c:144:13: branch_true: ...to here
opus-1.6/silk/decode_core.c:147:15: branch_true: following 'true' branch (when 'k == 0')...
opus-1.6/silk/decode_core.c:149:29: branch_true: ...to here
opus-1.6/silk/decode_core.c:150:17: branch_false: following 'false' branch (when 'start_idx > 0')...
opus-1.6/silk/decode_core.c:152:19: branch_false: ...to here
opus-1.6/silk/decode_core.c:152:19: branch_false: following 'false' branch (when 'k != 2')...
opus-1.6/silk/decode_core.c:157:63: branch_false: ...to here
opus-1.6/silk/decode_core.c:160:19: branch_true: following 'true' branch (when 'k == 0')...
opus-1.6/silk/decode_core.c:162:36: branch_true: ...to here
opus-1.6/silk/decode_core.c:164:29: branch_false: following 'false' branch...
opus-1.6/silk/decode_core.c:180:39: branch_false: ...to here
opus-1.6/silk/decode_core.c:181:25: branch_true: following 'true' branch...
opus-1.6/silk/decode_core.c:185:32: branch_true: ...to here
opus-1.6/silk/decode_core.c:185:32: danger: use of uninitialized value '*pred_lag_ptr' here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def90]
opus-1.6/silk/decode_core.c:228:45: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*<unknown>'
opus-1.6/silk/decode_core.c:103:17: branch_true: following 'true' branch...
opus-1.6/silk/decode_core.c:105:42: branch_true: ...to here
opus-1.6/silk/decode_core.c:116:11: branch_false: following 'false' branch...
opus-1.6/silk/decode_core.c:129:9: branch_false: ...to here
opus-1.6/silk/decode_core.c:203:21: branch_false: following 'false' branch...
opus-1.6/silk/decode_core.c:235:9: branch_false: ...to here
opus-1.6/silk/decode_core.c:103:17: branch_true: following 'true' branch...
opus-1.6/silk/decode_core.c:105:42: branch_true: ...to here
opus-1.6/silk/decode_core.c:116:11: branch_false: following 'false' branch...
opus-1.6/silk/decode_core.c:129:9: branch_false: ...to here
opus-1.6/silk/decode_core.c:132:11: branch_true: following 'true' branch...
opus-1.6/silk/decode_core.c:132:13: branch_true: following 'true' branch (when 'k <= 1')...
opus-1.6/silk/decode_core.c:135:13: branch_true: ...to here
opus-1.6/silk/decode_core.c:147:15: branch_false: following 'false' branch...
opus-1.6/silk/decode_core.c:169:19: branch_false: following 'false' branch (when 'gain_adj_Q16 == 65536')...
opus-1.6/silk/decode_core.c:180:39: branch_false: ...to here
opus-1.6/silk/decode_core.c:181:25: branch_false: following 'false' branch...
opus-1.6/silk/decode_core.c:203:9: branch_false: ...to here
opus-1.6/silk/decode_core.c:203:21: branch_true: following 'true' branch...
opus-1.6/silk/decode_core.c:205:13: branch_true: ...to here
opus-1.6/silk/decode_core.c:205:13: branch_false: following 'false' branch...
opus-1.6/silk/decode_core.c:207:13: branch_false: ...to here
opus-1.6/silk/decode_core.c:228:45: danger: use of uninitialized value '*<unknown>' here
Error: CPPCHECK_WARNING (CWE-457): [#def91]
opus-1.6/silk/decode_parameters.c:72: warning[uninitvar]: Uninitialized variable: pNLSF0_Q15
Error: GCC_ANALYZER_WARNING (CWE-126): [#def92]
opus-1.6/silk/float/encode_frame_FLP.c:433:37: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
opus-1.6/silk/float/encode_frame_FLP.c:408:7: branch_true: following 'true' branch...
opus-1.6/silk/float/encode_frame_FLP.c:432:21: branch_true: following 'true' branch...
opus-1.6/silk/float/encode_frame_FLP.c:433:37: branch_true: ...to here
opus-1.6/silk/float/encode_frame_FLP.c:432:21: branch_true: following 'true' branch...
opus-1.6/silk/float/encode_frame_FLP.c:433:37: branch_true: ...to here
opus-1.6/silk/float/encode_frame_FLP.c:432:21: branch_true: following 'true' branch...
opus-1.6/silk/float/encode_frame_FLP.c:433:37: branch_true: ...to here
opus-1.6/silk/float/encode_frame_FLP.c:432:21: branch_true: following 'true' branch...
opus-1.6/silk/float/encode_frame_FLP.c:433:37: branch_true: ...to here
opus-1.6/silk/float/encode_frame_FLP.c:432:21: branch_true: following 'true' branch...
opus-1.6/silk/float/encode_frame_FLP.c:433:37: branch_true: ...to here
opus-1.6/silk/float/encode_frame_FLP.c:433:37: danger: out-of-bounds read from byte 16 till byte 19 but 'Gains_Q16' ends at byte 16
Error: GCC_ANALYZER_WARNING (CWE-457): [#def93]
opus-1.6/silk/float/pitch_analysis_core_FLP.c:548:49: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'scratch_mem[<unknown>]'
opus-1.6/silk/float/pitch_analysis_core_FLP.c:509:5: branch_false: following 'false' branch (when 'complexity >= 0')...
opus-1.6/silk/float/pitch_analysis_core_FLP.c:510:5: branch_false: ...to here
opus-1.6/silk/float/pitch_analysis_core_FLP.c:510:5: branch_false: following 'false' branch (when 'complexity <= 2')...
opus-1.6/silk/float/pitch_analysis_core_FLP.c:512:7: branch_false: ...to here
opus-1.6/silk/float/pitch_analysis_core_FLP.c:512:7: branch_true: following 'true' branch (when 'nb_subfr == 4')...
opus-1.6/silk/float/pitch_analysis_core_FLP.c:513:9: branch_true: ...to here
opus-1.6/silk/float/pitch_analysis_core_FLP.c:526:17: branch_true: following 'true' branch (when 'k < nb_subfr')...
opus-1.6/silk/float/pitch_analysis_core_FLP.c:530:20: branch_true: ...to here
opus-1.6/silk/float/pitch_analysis_core_FLP.c:534:27: branch_false: following 'false' branch (when 'j > lag_high')...
opus-1.6/silk/float/pitch_analysis_core_FLP.c:540:17: branch_false: ...to here
opus-1.6/silk/float/pitch_analysis_core_FLP.c:541:21: branch_true: following 'true' branch (when 'i < nb_cbk_search')...
opus-1.6/silk/float/pitch_analysis_core_FLP.c:544:19: branch_true: ...to here
opus-1.6/silk/float/pitch_analysis_core_FLP.c:545:25: branch_true: following 'true' branch (when 'j != 5')...
opus-1.6/silk/float/pitch_analysis_core_FLP.c:548:62: branch_true: ...to here
opus-1.6/silk/float/pitch_analysis_core_FLP.c:548:49: danger: use of uninitialized value 'scratch_mem[<unknown>]' here
Error: CPPCHECK_WARNING (CWE-457): [#def94]
opus-1.6/silk/float/process_gains_FLP.c:71: warning[uninitvar]: Uninitialized variable: pGains_Q16
Error: GCC_ANALYZER_WARNING (CWE-457): [#def95]
opus-1.6/silk/float/process_gains_FLP.c:71:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '&pGains_Q16'
opus-1.6/silk/float/process_gains_FLP.c:58:17: branch_false: following 'false' branch...
opus-1.6/silk/float/process_gains_FLP.c:58:17: branch_false: ...to here
opus-1.6/silk/float/process_gains_FLP.c:66:17: branch_false: following 'false' branch...
opus-1.6/silk/float/process_gains_FLP.c:71:5: branch_false: ...to here
opus-1.6/silk/float/process_gains_FLP.c:71:5: danger: use of uninitialized value '&pGains_Q16' here
Error: GCC_ANALYZER_WARNING (CWE-126): [#def96]
opus-1.6/silk/float/process_gains_FLP.c:80:33: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
opus-1.6/silk/float/process_gains_FLP.c:58:17: branch_true: following 'true' branch...
opus-1.6/silk/float/process_gains_FLP.c:60:9: branch_true: ...to here
opus-1.6/silk/float/process_gains_FLP.c:66:17: branch_false: following 'false' branch...
opus-1.6/silk/float/process_gains_FLP.c:71:5: branch_false: ...to here
opus-1.6/silk/float/process_gains_FLP.c:79:17: branch_true: following 'true' branch...
opus-1.6/silk/float/process_gains_FLP.c:80:33: branch_true: ...to here
opus-1.6/silk/float/process_gains_FLP.c:79:17: branch_true: following 'true' branch...
opus-1.6/silk/float/process_gains_FLP.c:80:33: branch_true: ...to here
opus-1.6/silk/float/process_gains_FLP.c:79:17: branch_true: following 'true' branch...
opus-1.6/silk/float/process_gains_FLP.c:80:33: branch_true: ...to here
opus-1.6/silk/float/process_gains_FLP.c:79:17: branch_true: following 'true' branch...
opus-1.6/silk/float/process_gains_FLP.c:80:33: branch_true: ...to here
opus-1.6/silk/float/process_gains_FLP.c:79:17: branch_true: following 'true' branch...
opus-1.6/silk/float/process_gains_FLP.c:80:33: branch_true: ...to here
opus-1.6/silk/float/process_gains_FLP.c:80:33: danger: out-of-bounds read from byte 16 till byte 19 but 'pGains_Q16' ends at byte 16
Error: COMPILER_WARNING: [#def97]
opus-1.6/silk/float/x86/inner_product_FLP_avx2.c:50:14: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
Error: COMPILER_WARNING: [#def98]
opus-1.6/silk/float/x86/inner_product_FLP_avx2.c:50:23: note[note]: called from here
Error: COMPILER_WARNING: [#def99]
opus-1.6/silk/float/x86/inner_product_FLP_avx2.c:56:15: note[note]: called from here
Error: COMPILER_WARNING: [#def100]
opus-1.6/silk/float/x86/inner_product_FLP_avx2.c:57:15: note[note]: called from here
Error: COMPILER_WARNING: [#def101]
opus-1.6/silk/float/x86/inner_product_FLP_avx2.c:58:18: note[note]: called from here
Error: COMPILER_WARNING: [#def102]
opus-1.6/silk/float/x86/inner_product_FLP_avx2.c:61:15: note[note]: called from here
Error: COMPILER_WARNING: [#def103]
opus-1.6/silk/float/x86/inner_product_FLP_avx2.c:62:15: note[note]: called from here
Error: COMPILER_WARNING: [#def104]
opus-1.6/silk/float/x86/inner_product_FLP_avx2.c:63:18: note[note]: called from here
Error: COMPILER_WARNING: [#def105]
opus-1.6/silk/float/x86/inner_product_FLP_avx2.c:70:15: note[note]: called from here
Error: COMPILER_WARNING: [#def106]
opus-1.6/silk/float/x86/inner_product_FLP_avx2.c:71:15: note[note]: called from here
Error: COMPILER_WARNING: [#def107]
opus-1.6/silk/float/x86/inner_product_FLP_avx2.c:72:18: note[note]: called from here
Error: COMPILER_WARNING: [#def108]
opus-1.6/silk/float/x86/inner_product_FLP_avx2.c:74:14: note[note]: called from here
Error: COMPILER_WARNING: [#def109]
opus-1.6/silk/float/x86/inner_product_FLP_avx2.c:75:14: note[note]: called from here
Error: COMPILER_WARNING: [#def110]
opus-1.6/silk/float/x86/inner_product_FLP_avx2.c:76:14: note[note]: called from here
Error: COMPILER_WARNING: [#def111]
opus-1.6/silk/float/x86/inner_product_FLP_avx2.c:77:14: note[note]: called from here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def112]
opus-1.6/silk/quant_LTP_gains.c:112:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '&temp_idx'
opus-1.6/silk/quant_LTP_gains.c:64:17: branch_true: following 'true' branch (when 'k != 3')...
opus-1.6/silk/quant_LTP_gains.c:69:9: branch_true: ...to here
opus-1.6/silk/quant_LTP_gains.c:81:21: branch_false: following 'false' branch (when 'j >= nb_subfr')...
opus-1.6/silk/quant_LTP_gains.c:109:11: branch_false: ...to here
opus-1.6/silk/quant_LTP_gains.c:109:11: branch_true: following 'true' branch (when 'rate_dist_Q7 <= min_rate_dist_Q7')...
opus-1.6/silk/quant_LTP_gains.c:111:34: branch_true: ...to here
opus-1.6/silk/quant_LTP_gains.c:112:13: danger: use of uninitialized value '&temp_idx' here
Error: CPPCHECK_WARNING (CWE-786): [#def113]
opus-1.6/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): [#def114]
opus-1.6/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): [#def115]
opus-1.6/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): [#def116]
opus-1.6/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): [#def117]
opus-1.6/silk/stereo_LR_to_MS.c:65: error[negativeIndex]: Array 'x2[0]' accessed at index -2, which is out of bounds.
Error: COMPILER_WARNING: [#def118]
opus-1.6/silk/x86/NSQ_del_dec_avx2.c:157:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
Error: COMPILER_WARNING: [#def119]
opus-1.6/silk/x86/NSQ_del_dec_avx2.c:210:28: note[note]: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
Error: COMPILER_WARNING: [#def120]
opus-1.6/silk/x86/NSQ_del_dec_avx2.c:253:12: note[note]: called from here
Error: COMPILER_WARNING: [#def121]
opus-1.6/silk/x86/NSQ_del_dec_sse4_1.c:820:24: note[note]: called from here
Error: COMPILER_WARNING: [#def122]
opus-1.6/silk/x86/NSQ_del_dec_sse4_1.c:825:24: note[note]: called from here
Error: COMPILER_WARNING: [#def123]
opus-1.6/silk/x86/NSQ_del_dec_sse4_1.c:826:24: note[note]: called from here
Error: COMPILER_WARNING: [#def124]
opus-1.6/silk/x86/NSQ_del_dec_sse4_1.c:831:24: note[note]: called from here
Error: COMPILER_WARNING: [#def125]
opus-1.6/silk/x86/NSQ_del_dec_sse4_1.c:869:41: note[note]: called from here
Error: COMPILER_WARNING: [#def126]
opus-1.6/silk/x86/NSQ_del_dec_sse4_1.c:870:41: note[note]: called from here
Error: COMPILER_WARNING: [#def127]
opus-1.6/silk/x86/NSQ_del_dec_sse4_1.c:875:41: note[note]: called from here
Error: CPPCHECK_WARNING (CWE-786): [#def128]
opus-1.6/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): [#def129]
opus-1.6/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): [#def130]
opus-1.6/silk/x86/NSQ_sse4_1.c:558: error[negativeIndex]: Array 'table[0][4]' accessed at index table[-1][*], which is out of bounds.
Error: COMPILER_WARNING: [#def131]
opus-1.6/silk/x86/NSQ_sse4_1.c:688:24: note[note]: called from here
Error: COMPILER_WARNING: [#def132]
opus-1.6/silk/x86/NSQ_sse4_1.c:693:24: note[note]: called from here
Error: COMPILER_WARNING: [#def133]
opus-1.6/silk/x86/NSQ_sse4_1.c:694:24: note[note]: called from here
Error: COMPILER_WARNING: [#def134]
opus-1.6/silk/x86/NSQ_sse4_1.c:699:24: note[note]: called from here
Error: COMPILER_WARNING: [#def135]
opus-1.6/silk/x86/NSQ_sse4_1.c:736:37: note[note]: called from here
Error: COMPILER_WARNING: [#def136]
opus-1.6/silk/x86/NSQ_sse4_1.c:737:37: note[note]: called from here
Error: COMPILER_WARNING: [#def137]
opus-1.6/silk/x86/NSQ_sse4_1.c:742:37: note[note]: called from here
Error: COMPILER_WARNING: [#def138]
opus-1.6/silk/x86/VQ_WMat_EC_sse4_1.c:88:26: note[note]: called from here
Error: COMPILER_WARNING: [#def139]
opus-1.6/silk/x86/VQ_WMat_EC_sse4_1.c:90:26: note[note]: called from here
Error: COMPILER_WARNING: [#def140]
opus-1.6/silk/x86/VQ_WMat_EC_sse4_1.c:91:26: note[note]: called from here
Error: CPPCHECK_WARNING (CWE-457): [#def141]
opus-1.6/src/analysis.c:207: warning[uninitvar]: Uninitialized variable: tmp3x
Error: CPPCHECK_WARNING (CWE-457): [#def142]
opus-1.6/src/mlp.c:126: warning[uninitvar]: Uninitialized variable: tmp
Error: GCC_ANALYZER_WARNING (CWE-415): [#def143]
opus-1.6/src/opus_compare.c:51:10: warning[-Wanalyzer-double-free]: double-‘free’ of ‘_ptr’
opus-1.6/src/opus_compare.c:165:5: enter_function: entry to ‘main’
opus-1.6/src/opus_compare.c:188:5: branch_false: following ‘false’ branch...
opus-1.6/src/opus_compare.c:194:6: branch_false: ...to here
opus-1.6/src/opus_compare.c:202:5: branch_false: following ‘false’ branch (when the strings are non-equal)...
opus-1.6/src/opus_compare.c:219:8: branch_false: ...to here
opus-1.6/src/opus_compare.c:220:5: branch_false: following ‘false’ branch...
opus-1.6/src/opus_compare.c:224:8: branch_false: ...to here
opus-1.6/src/opus_compare.c:225:5: branch_false: following ‘false’ branch...
opus-1.6/src/opus_compare.c:231:11: branch_false: ...to here
opus-1.6/src/opus_compare.c:231:11: call_function: calling ‘read_pcm16’ from ‘main’
opus-1.6/src/opus_compare.c:231:11: return_function: returning to ‘main’ from ‘read_pcm16’
opus-1.6/src/opus_compare.c:232:5: branch_true: following ‘true’ branch (when ‘nchannels == 1’)...
opus-1.6/src/opus_compare.c:232:5: branch_true: ...to here
opus-1.6/src/opus_compare.c:233:14: branch_false: following ‘false’ branch...
opus-1.6/src/opus_compare.c:235:3: branch_false: ...to here
opus-1.6/src/opus_compare.c:236:11: call_function: calling ‘read_pcm16’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def144]
opus-1.6/src/opus_compare.c:233:40: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
opus-1.6/src/opus_compare.c:165:5: enter_function: entry to ‘main’
opus-1.6/src/opus_compare.c:188:5: branch_false: following ‘false’ branch...
opus-1.6/src/opus_compare.c:194:6: branch_false: ...to here
opus-1.6/src/opus_compare.c:202:5: branch_false: following ‘false’ branch (when the strings are non-equal)...
opus-1.6/src/opus_compare.c:219:8: branch_false: ...to here
opus-1.6/src/opus_compare.c:220:5: branch_false: following ‘false’ branch...
opus-1.6/src/opus_compare.c:224:8: branch_false: ...to here
opus-1.6/src/opus_compare.c:225:5: branch_false: following ‘false’ branch...
opus-1.6/src/opus_compare.c:231:11: branch_false: ...to here
opus-1.6/src/opus_compare.c:231:11: call_function: calling ‘read_pcm16’ from ‘main’
opus-1.6/src/opus_compare.c:231:11: return_function: returning to ‘main’ from ‘read_pcm16’
opus-1.6/src/opus_compare.c:232:5: branch_true: following ‘true’ branch (when ‘nchannels == 1’)...
opus-1.6/src/opus_compare.c:232:5: branch_true: ...to here
opus-1.6/src/opus_compare.c:233:14: branch_true: following ‘true’ branch...
opus-1.6/src/opus_compare.c:233:40: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def145]
opus-1.6/src/opus_demo.c:1009:38: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘fbytes’
opus-1.6/src/opus_demo.c:483:8: branch_false: following ‘false’ branch (when ‘argc > 4’)...
opus-1.6/src/opus_demo.c:490:5: branch_false: ...to here
opus-1.6/src/opus_demo.c:502:8: branch_false: following ‘false’ branch...
opus-1.6/src/opus_demo.c:508:8: branch_false: ...to here
opus-1.6/src/opus_demo.c:549:8: branch_false: following ‘false’ branch...
opus-1.6/src/opus_demo.c:555:8: branch_false: ...to here
opus-1.6/src/opus_demo.c:555:8: branch_true: following ‘true’ branch (when ‘decode_only == 0’)...
opus-1.6/src/opus_demo.c:557:43: branch_true: ...to here
opus-1.6/src/opus_demo.c:571:12: branch_true: following ‘true’ branch...
opus-1.6/src/opus_demo.c:573:25: branch_true: ...to here
opus-1.6/src/opus_demo.c:577:18: branch_false: following ‘false’ branch (when the strings are non-equal)...
opus-1.6/src/opus_demo.c:596:20: branch_false: ...to here
opus-1.6/src/opus_demo.c:596:18: branch_false: following ‘false’ branch (when the strings are non-equal)...
opus-1.6/src/opus_demo.c:623:20: branch_false: ...to here
opus-1.6/src/opus_demo.c:623:18: branch_true: following ‘true’ branch (when the strings are equal)...
opus-1.6/src/opus_demo.c:624:13: branch_true: ...to here
opus-1.6/src/opus_demo.c:624:13: branch_false: following ‘false’ branch (when ‘decode_only == 0’)...
opus-1.6/src/opus_demo.c:625:45: branch_false: ...to here
opus-1.6/src/opus_demo.c:770:8: branch_false: following ‘false’ branch (when ‘sweep_max == 0’)...
opus-1.6/src/opus_demo.c:773:9: branch_false: ...to here
opus-1.6/src/opus_demo.c:773:8: branch_false: following ‘false’ branch...
opus-1.6/src/opus_demo.c:780:18: branch_false: ...to here
opus-1.6/src/opus_demo.c:782:8: branch_false: following ‘false’ branch...
opus-1.6/src/opus_demo.c:787:8: branch_false: ...to here
opus-1.6/src/opus_demo.c:787:8: branch_false: following ‘false’ branch (when ‘mode_list’ is NULL)...
opus-1.6/src/opus_demo.c:787:8: branch_false: ...to here
opus-1.6/src/opus_demo.c:803:8: branch_false: following ‘false’ branch...
opus-1.6/src/opus_demo.c:809:8: branch_false: ...to here
opus-1.6/src/opus_demo.c:809:8: branch_true: following ‘true’ branch (when ‘decode_only == 0’)...
opus-1.6/src/opus_demo.c:811:14: branch_true: ...to here
opus-1.6/src/opus_demo.c:812:11: branch_false: following ‘false’ branch...
opus-1.6/src/opus_demo.c:817:8: branch_false: ...to here
opus-1.6/src/opus_demo.c:828:8: branch_true: following ‘true’ branch (when ‘format == 0’)...
opus-1.6/src/opus_demo.c:828:8: branch_true: ...to here
opus-1.6/src/opus_demo.c:830:11: branch_false: following ‘false’ branch (when ‘dred_duration <= 0’)...
opus-1.6/src/opus_demo.c:842:8: branch_false: ...to here
opus-1.6/src/opus_demo.c:842:8: branch_false: following ‘false’ branch (when ‘encode_only != 0’)...
opus-1.6/src/opus_demo.c:859:5: branch_false: ...to here
opus-1.6/src/opus_demo.c:884:8: branch_false: following ‘false’ branch (when ‘decode_only == 0’)...
opus-1.6/src/opus_demo.c:888:8: branch_false: ...to here
opus-1.6/src/opus_demo.c:896:30: acquire_memory: this call could return NULL
opus-1.6/src/opus_demo.c:898:7: branch_false: following ‘false’ branch (when ‘delayed_decision == 0’)...
opus-1.6/src/opus_demo.c:921:16: branch_false: ...to here
opus-1.6/src/opus_demo.c:928:12: branch_true: following ‘true’ branch (when ‘stop == 0’)...
opus-1.6/src/opus_demo.c:930:12: branch_true: ...to here
opus-1.6/src/opus_demo.c:930:12: branch_false: following ‘false’ branch (when ‘delayed_celt == 0’)...
opus-1.6/src/opus_demo.c:934:19: branch_false: ...to here
opus-1.6/src/opus_demo.c:934:19: branch_false: following ‘false’ branch (when ‘random_framesize == 0’)...
opus-1.6/src/opus_demo.c:956:12: branch_false: ...to here
opus-1.6/src/opus_demo.c:956:12: branch_false: following ‘false’ branch (when ‘random_fec == 0’)...
opus-1.6/src/opus_demo.c:960:12: branch_false: ...to here
opus-1.6/src/opus_demo.c:960:12: branch_false: following ‘false’ branch (when ‘decode_only == 0’)...
opus-1.6/src/opus_demo.c:986:16: branch_false: ...to here
opus-1.6/src/opus_demo.c:986:16: branch_false: following ‘false’ branch (when ‘mode_list’ is NULL)...
opus-1.6/src/opus_demo.c:1002:68: branch_false: ...to here
opus-1.6/src/opus_demo.c:1005:16: branch_true: following ‘true’ branch (when ‘format == 0’)...
opus-1.6/src/opus_demo.c:1005:16: branch_true: ...to here
opus-1.6/src/opus_demo.c:1006:24: branch_true: following ‘true’ branch...
opus-1.6/src/opus_demo.c:1009:28: branch_true: ...to here
opus-1.6/src/opus_demo.c:1009:38: danger: ‘fbytes + (sizetype)(i * 2)’ could be NULL: unchecked value from [(43)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/42)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def146]
opus-1.6/src/opus_demo.c:1011:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘in’
opus-1.6/src/opus_demo.c:483:8: branch_false: following ‘false’ branch (when ‘argc > 4’)...
opus-1.6/src/opus_demo.c:490:5: branch_false: ...to here
opus-1.6/src/opus_demo.c:502:8: branch_false: following ‘false’ branch...
opus-1.6/src/opus_demo.c:508:8: branch_false: ...to here
opus-1.6/src/opus_demo.c:549:8: branch_false: following ‘false’ branch...
opus-1.6/src/opus_demo.c:555:8: branch_false: ...to here
opus-1.6/src/opus_demo.c:555:8: branch_true: following ‘true’ branch (when ‘decode_only == 0’)...
opus-1.6/src/opus_demo.c:557:43: branch_true: ...to here
opus-1.6/src/opus_demo.c:571:12: branch_true: following ‘true’ branch...
opus-1.6/src/opus_demo.c:573:25: branch_true: ...to here
opus-1.6/src/opus_demo.c:577:18: branch_false: following ‘false’ branch (when the strings are non-equal)...
opus-1.6/src/opus_demo.c:596:20: branch_false: ...to here
opus-1.6/src/opus_demo.c:596:18: branch_false: following ‘false’ branch (when the strings are non-equal)...
opus-1.6/src/opus_demo.c:623:20: branch_false: ...to here
opus-1.6/src/opus_demo.c:623:18: branch_true: following ‘true’ branch (when the strings are equal)...
opus-1.6/src/opus_demo.c:624:13: branch_true: ...to here
opus-1.6/src/opus_demo.c:624:13: branch_false: following ‘false’ branch (when ‘decode_only == 0’)...
opus-1.6/src/opus_demo.c:625:45: branch_false: ...to here
opus-1.6/src/opus_demo.c:770:8: branch_false: following ‘false’ branch (when ‘sweep_max == 0’)...
opus-1.6/src/opus_demo.c:773:9: branch_false: ...to here
opus-1.6/src/opus_demo.c:773:8: branch_false: following ‘false’ branch...
opus-1.6/src/opus_demo.c:780:18: branch_false: ...to here
opus-1.6/src/opus_demo.c:782:8: branch_false: following ‘false’ branch...
opus-1.6/src/opus_demo.c:787:8: branch_false: ...to here
opus-1.6/src/opus_demo.c:787:8: branch_false: following ‘false’ branch (when ‘mode_list’ is NULL)...
opus-1.6/src/opus_demo.c:787:8: branch_false: ...to here
opus-1.6/src/opus_demo.c:803:8: branch_false: following ‘false’ branch...
opus-1.6/src/opus_demo.c:809:8: branch_false: ...to here
opus-1.6/src/opus_demo.c:809:8: branch_true: following ‘true’ branch (when ‘decode_only == 0’)...
opus-1.6/src/opus_demo.c:811:14: branch_true: ...to here
opus-1.6/src/opus_demo.c:812:11: branch_false: following ‘false’ branch...
opus-1.6/src/opus_demo.c:817:8: branch_false: ...to here
opus-1.6/src/opus_demo.c:828:8: branch_true: following ‘true’ branch (when ‘format == 0’)...
opus-1.6/src/opus_demo.c:828:8: branch_true: ...to here
opus-1.6/src/opus_demo.c:830:11: branch_false: following ‘false’ branch (when ‘dred_duration <= 0’)...
opus-1.6/src/opus_demo.c:842:8: branch_false: ...to here
opus-1.6/src/opus_demo.c:842:8: branch_false: following ‘false’ branch (when ‘encode_only != 0’)...
opus-1.6/src/opus_demo.c:859:5: branch_false: ...to here
opus-1.6/src/opus_demo.c:884:8: branch_false: following ‘false’ branch (when ‘decode_only == 0’)...
opus-1.6/src/opus_demo.c:888:8: branch_false: ...to here
opus-1.6/src/opus_demo.c:893:23: acquire_memory: this call could return NULL
opus-1.6/src/opus_demo.c:898:7: branch_false: following ‘false’ branch (when ‘delayed_decision == 0’)...
opus-1.6/src/opus_demo.c:921:16: branch_false: ...to here
opus-1.6/src/opus_demo.c:928:12: branch_true: following ‘true’ branch (when ‘stop == 0’)...
opus-1.6/src/opus_demo.c:930:12: branch_true: ...to here
opus-1.6/src/opus_demo.c:930:12: branch_false: following ‘false’ branch (when ‘delayed_celt == 0’)...
opus-1.6/src/opus_demo.c:934:19: branch_false: ...to here
opus-1.6/src/opus_demo.c:934:19: branch_false: following ‘false’ branch (when ‘random_framesize == 0’)...
opus-1.6/src/opus_demo.c:956:12: branch_false: ...to here
opus-1.6/src/opus_demo.c:956:12: branch_false: following ‘false’ branch (when ‘random_fec == 0’)...
opus-1.6/src/opus_demo.c:960:12: branch_false: ...to here
opus-1.6/src/opus_demo.c:960:12: branch_false: following ‘false’ branch (when ‘decode_only == 0’)...
opus-1.6/src/opus_demo.c:986:16: branch_false: ...to here
opus-1.6/src/opus_demo.c:986:16: branch_false: following ‘false’ branch (when ‘mode_list’ is NULL)...
opus-1.6/src/opus_demo.c:1002:68: branch_false: ...to here
opus-1.6/src/opus_demo.c:1005:16: branch_true: following ‘true’ branch (when ‘format == 0’)...
opus-1.6/src/opus_demo.c:1005:16: branch_true: ...to here
opus-1.6/src/opus_demo.c:1006:24: branch_true: following ‘true’ branch...
opus-1.6/src/opus_demo.c:1009:28: branch_true: ...to here
opus-1.6/src/opus_demo.c:1011:19: danger: ‘in + (long unsigned int)i * 4’ could be NULL: unchecked value from [(43)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/42)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def147]
opus-1.6/src/opus_demo.c:1045:24: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
opus-1.6/src/opus_demo.c:483:8: branch_false: following ‘false’ branch (when ‘argc > 4’)...
opus-1.6/src/opus_demo.c:490:5: branch_false: ...to here
opus-1.6/src/opus_demo.c:502:8: branch_false: following ‘false’ branch...
opus-1.6/src/opus_demo.c:508:8: branch_false: ...to here
opus-1.6/src/opus_demo.c:549:8: branch_false: following ‘false’ branch...
opus-1.6/src/opus_demo.c:555:8: branch_false: ...to here
opus-1.6/src/opus_demo.c:555:8: branch_true: following ‘true’ branch (when ‘decode_only == 0’)...
opus-1.6/src/opus_demo.c:557:43: branch_true: ...to here
opus-1.6/src/opus_demo.c:571:12: branch_true: following ‘true’ branch...
opus-1.6/src/opus_demo.c:573:25: branch_true: ...to here
opus-1.6/src/opus_demo.c:577:18: branch_false: following ‘false’ branch (when the strings are non-equal)...
opus-1.6/src/opus_demo.c:596:20: branch_false: ...to here
opus-1.6/src/opus_demo.c:596:18: branch_false: following ‘false’ branch (when the strings are non-equal)...
opus-1.6/src/opus_demo.c:623:20: branch_false: ...to here
opus-1.6/src/opus_demo.c:623:18: branch_true: following ‘true’ branch (when the strings are equal)...
opus-1.6/src/opus_demo.c:624:13: branch_true: ...to here
opus-1.6/src/opus_demo.c:624:13: branch_false: following ‘false’ branch (when ‘decode_only == 0’)...
opus-1.6/src/opus_demo.c:625:45: branch_false: ...to here
opus-1.6/src/opus_demo.c:770:8: branch_false: following ‘false’ branch (when ‘sweep_max == 0’)...
opus-1.6/src/opus_demo.c:773:9: branch_false: ...to here
opus-1.6/src/opus_demo.c:773:8: branch_false: following ‘false’ branch...
opus-1.6/src/opus_demo.c:780:18: branch_false: ...to here
opus-1.6/src/opus_demo.c:782:8: branch_false: following ‘false’ branch...
opus-1.6/src/opus_demo.c:787:8: branch_false: ...to here
opus-1.6/src/opus_demo.c:787:8: branch_false: following ‘false’ branch (when ‘mode_list’ is NULL)...
opus-1.6/src/opus_demo.c:787:8: branch_false: ...to here
opus-1.6/src/opus_demo.c:803:8: branch_false: following ‘false’ branch...
opus-1.6/src/opus_demo.c:809:8: branch_false: ...to here
opus-1.6/src/opus_demo.c:809:8: branch_true: following ‘true’ branch (when ‘decode_only == 0’)...
opus-1.6/src/opus_demo.c:811:14: branch_true: ...to here
opus-1.6/src/opus_demo.c:812:11: branch_false: following ‘false’ branch...
opus-1.6/src/opus_demo.c:817:8: branch_false: ...to here
opus-1.6/src/opus_demo.c:828:8: branch_true: following ‘true’ branch (when ‘format == 0’)...
opus-1.6/src/opus_demo.c:828:8: branch_true: ...to here
opus-1.6/src/opus_demo.c:830:11: branch_false: following ‘false’ branch (when ‘dred_duration <= 0’)...
opus-1.6/src/opus_demo.c:842:8: branch_false: ...to here
opus-1.6/src/opus_demo.c:842:8: branch_false: following ‘false’ branch (when ‘encode_only != 0’)...
opus-1.6/src/opus_demo.c:859:5: branch_false: ...to here
opus-1.6/src/opus_demo.c:884:8: branch_false: following ‘false’ branch (when ‘decode_only == 0’)...
opus-1.6/src/opus_demo.c:888:8: branch_false: ...to here
opus-1.6/src/opus_demo.c:898:7: branch_false: following ‘false’ branch (when ‘delayed_decision == 0’)...
opus-1.6/src/opus_demo.c:921:16: branch_false: ...to here
opus-1.6/src/opus_demo.c:928:12: branch_true: following ‘true’ branch (when ‘stop == 0’)...
opus-1.6/src/opus_demo.c:930:12: branch_true: ...to here
opus-1.6/src/opus_demo.c:930:12: branch_false: following ‘false’ branch (when ‘delayed_celt == 0’)...
opus-1.6/src/opus_demo.c:934:19: branch_false: ...to here
opus-1.6/src/opus_demo.c:934:19: branch_false: following ‘false’ branch (when ‘random_framesize == 0’)...
opus-1.6/src/opus_demo.c:956:12: branch_false: ...to here
opus-1.6/src/opus_demo.c:956:12: branch_false: following ‘false’ branch (when ‘random_fec == 0’)...
opus-1.6/src/opus_demo.c:960:12: branch_false: ...to here
opus-1.6/src/opus_demo.c:960:12: branch_false: following ‘false’ branch (when ‘decode_only == 0’)...
opus-1.6/src/opus_demo.c:986:16: branch_false: ...to here
opus-1.6/src/opus_demo.c:986:16: branch_false: following ‘false’ branch (when ‘mode_list’ is NULL)...
opus-1.6/src/opus_demo.c:1002:68: branch_false: ...to here
opus-1.6/src/opus_demo.c:1005:16: branch_true: following ‘true’ branch (when ‘format == 0’)...
opus-1.6/src/opus_demo.c:1005:16: branch_true: ...to here
opus-1.6/src/opus_demo.c:1006:24: branch_false: following ‘false’ branch...
opus-1.6/src/opus_demo.c:1029:17: branch_false: ...to here
opus-1.6/src/opus_demo.c:1029:16: branch_false: following ‘false’ branch...
opus-1.6/src/opus_demo.c:1029:16: branch_false: ...to here
opus-1.6/src/opus_demo.c:1037:16: branch_false: following ‘false’ branch...
opus-1.6/src/opus_demo.c:1042:26: branch_false: ...to here
opus-1.6/src/opus_demo.c:1044:21: branch_true: following ‘true’ branch...
opus-1.6/src/opus_demo.c:1045:27: branch_true: ...to here
opus-1.6/src/opus_demo.c:1045:24: danger: use of uninitialized value ‘*<unknown>’ here
Error: CPPCHECK_WARNING (CWE-457): [#def148]
opus-1.6/src/opus_encoder.c:1306: warning[uninitvar]: Uninitialized variable: analysis_info.activity_probability
Error: CPPCHECK_WARNING (CWE-457): [#def149]
opus-1.6/src/opus_encoder.c:2678: warning[uninitvar]: Uninitialized variable: in
Error: CPPCHECK_WARNING (CWE-457): [#def150]
opus-1.6/src/opus_encoder.c:2713: warning[uninitvar]: Uninitialized variable: in
Error: GCC_ANALYZER_WARNING (CWE-476): [#def151]
opus-1.6/src/opus_multistream_encoder.c:907:80: warning[-Wanalyzer-null-dereference]: dereference of NULL 'celt_mode'
opus-1.6/src/opus_multistream_encoder.c:1131:5: enter_function: entry to 'opus_multistream_encode_float'
opus-1.6/src/opus_multistream_encoder.c:1139:11: call_function: calling 'opus_multistream_encode_native' from 'opus_multistream_encode_float'
Error: COMPILER_WARNING (CWE-457): [#def152]
opus-1.6/src/opus_projection_decoder.c:184:3: warning[-Wmaybe-uninitialized]: 'buf.1_83' may be used uninitialized
opus-1.6/src/mapping_matrix.c: scope_hint: In function 'opus_projection_decoder_create.constprop'
opus-1.6/src/mapping_matrix.c:63:6: note: by argument 5 of type 'const opus_int16 *' to 'mapping_matrix_init' declared here
Error: CPPCHECK_WARNING (CWE-457): [#def153]
opus-1.6/src/opus_projection_decoder.c:192: warning[uninitvar]: Uninitialized variable: mapping
Error: CPPCHECK_WARNING (CWE-457): [#def154]
opus-1.6/src/opus_projection_encoder.c:360: warning[uninitvar]: Uninitialized variable: mapping
Error: GCC_ANALYZER_WARNING (CWE-775): [#def155]
opus-1.6/src/repacketizer_demo.c:54:26: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "w")’
opus-1.6/src/repacketizer_demo.c:58:5: enter_function: entry to ‘main’
opus-1.6/src/repacketizer_demo.c:69:7: branch_false: following ‘false’ branch (when ‘argc > 2’)...
opus-1.6/src/repacketizer_demo.c:69:7: branch_false: ...to here
opus-1.6/src/repacketizer_demo.c:100:6: branch_false: following ‘false’ branch...
opus-1.6/src/repacketizer_demo.c:100:6: branch_false: ...to here
opus-1.6/src/repacketizer_demo.c:105:11: acquire_resource: opened here
opus-1.6/src/repacketizer_demo.c:106:6: branch_false: following ‘false’ branch...
opus-1.6/src/repacketizer_demo.c:113:9: branch_false: ...to here
opus-1.6/src/repacketizer_demo.c:119:16: branch_true: following ‘true’ branch (when ‘i < merge’)...
opus-1.6/src/repacketizer_demo.c:122:14: branch_true: ...to here
opus-1.6/src/repacketizer_demo.c:122:13: branch_false: following ‘false’ branch...
opus-1.6/src/repacketizer_demo.c:135:19: call_function: inlined call to ‘char_to_int’ from ‘main’
opus-1.6/src/repacketizer_demo.c:137:13: branch_false: following ‘false’ branch...
opus-1.6/src/repacketizer_demo.c:150:14: branch_false: ...to here
opus-1.6/src/repacketizer_demo.c:150:13: branch_false: following ‘false’ branch...
opus-1.6/src/repacketizer_demo.c:163:19: call_function: inlined call to ‘char_to_int’ from ‘main’
opus-1.6/src/repacketizer_demo.c:164:13: branch_false: following ‘false’ branch...
opus-1.6/src/repacketizer_demo.c:176:16: branch_false: ...to here
opus-1.6/src/repacketizer_demo.c:177:13: branch_true: following ‘true’ branch...
opus-1.6/src/repacketizer_demo.c:179:13: branch_true: ...to here
opus-1.6/src/repacketizer_demo.c:135:19: call_function: inlined call to ‘char_to_int’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def156]
opus-1.6/src/repacketizer_demo.c:54:26: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "w")’
opus-1.6/src/repacketizer_demo.c:58:5: enter_function: entry to ‘main’
opus-1.6/src/repacketizer_demo.c:69:7: branch_false: following ‘false’ branch (when ‘argc > 2’)...
opus-1.6/src/repacketizer_demo.c:69:7: branch_false: ...to here
opus-1.6/src/repacketizer_demo.c:100:6: branch_false: following ‘false’ branch...
opus-1.6/src/repacketizer_demo.c:100:6: branch_false: ...to here
opus-1.6/src/repacketizer_demo.c:105:11: acquire_memory: allocated here
opus-1.6/src/repacketizer_demo.c:106:6: branch_false: following ‘false’ branch...
opus-1.6/src/repacketizer_demo.c:113:9: branch_false: ...to here
opus-1.6/src/repacketizer_demo.c:119:16: branch_true: following ‘true’ branch (when ‘i < merge’)...
opus-1.6/src/repacketizer_demo.c:122:14: branch_true: ...to here
opus-1.6/src/repacketizer_demo.c:122:13: branch_false: following ‘false’ branch...
opus-1.6/src/repacketizer_demo.c:135:19: call_function: inlined call to ‘char_to_int’ from ‘main’
opus-1.6/src/repacketizer_demo.c:137:13: branch_false: following ‘false’ branch...
opus-1.6/src/repacketizer_demo.c:150:14: branch_false: ...to here
opus-1.6/src/repacketizer_demo.c:150:13: branch_false: following ‘false’ branch...
opus-1.6/src/repacketizer_demo.c:163:19: call_function: inlined call to ‘char_to_int’ from ‘main’
opus-1.6/src/repacketizer_demo.c:164:13: branch_false: following ‘false’ branch...
opus-1.6/src/repacketizer_demo.c:176:16: branch_false: ...to here
opus-1.6/src/repacketizer_demo.c:177:13: branch_true: following ‘true’ branch...
opus-1.6/src/repacketizer_demo.c:179:13: branch_true: ...to here
opus-1.6/src/repacketizer_demo.c:135:19: call_function: inlined call to ‘char_to_int’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-127): [#def157]
opus-1.6/src/repacketizer_demo.c:198:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
opus-1.6/src/repacketizer_demo.c:58:5: enter_function: entry to ‘main’
opus-1.6/src/repacketizer_demo.c:69:7: branch_false: following ‘false’ branch (when ‘argc > 2’)...
opus-1.6/src/repacketizer_demo.c:69:7: branch_false: ...to here
opus-1.6/src/repacketizer_demo.c:100:6: branch_false: following ‘false’ branch...
opus-1.6/src/repacketizer_demo.c:100:6: branch_false: ...to here
opus-1.6/src/repacketizer_demo.c:106:6: branch_false: following ‘false’ branch...
opus-1.6/src/repacketizer_demo.c:113:9: branch_false: ...to here
opus-1.6/src/repacketizer_demo.c:119:16: branch_true: following ‘true’ branch (when ‘i < merge’)...
opus-1.6/src/repacketizer_demo.c:122:14: branch_true: ...to here
opus-1.6/src/repacketizer_demo.c:122:13: branch_false: following ‘false’ branch...
opus-1.6/src/repacketizer_demo.c:135:19: call_function: inlined call to ‘char_to_int’ from ‘main’
opus-1.6/src/repacketizer_demo.c:137:13: branch_false: following ‘false’ branch...
opus-1.6/src/repacketizer_demo.c:150:14: branch_false: ...to here
opus-1.6/src/repacketizer_demo.c:150:13: branch_false: following ‘false’ branch...
opus-1.6/src/repacketizer_demo.c:163:19: call_function: inlined call to ‘char_to_int’ from ‘main’
opus-1.6/src/repacketizer_demo.c:164:13: branch_false: following ‘false’ branch...
opus-1.6/src/repacketizer_demo.c:176:16: branch_false: ...to here
opus-1.6/src/repacketizer_demo.c:177:13: branch_true: following ‘true’ branch...
opus-1.6/src/repacketizer_demo.c:179:13: branch_true: ...to here
opus-1.6/src/repacketizer_demo.c:194:15: branch_false: following ‘false’ branch...
opus-1.6/src/repacketizer_demo.c:198:29: branch_false: ...to here
opus-1.6/src/repacketizer_demo.c:198:25: danger: out-of-bounds read from byte -4 till byte -1 but ‘rng’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def158]
opus-1.6/src/repacketizer_demo.c:224:31: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
opus-1.6/src/repacketizer_demo.c:58:5: enter_function: entry to ‘main’
opus-1.6/src/repacketizer_demo.c:69:7: branch_false: following ‘false’ branch (when ‘argc > 2’)...
opus-1.6/src/repacketizer_demo.c:69:7: branch_false: ...to here
opus-1.6/src/repacketizer_demo.c:76:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
opus-1.6/src/repacketizer_demo.c:90:18: branch_false: ...to here
opus-1.6/src/repacketizer_demo.c:90:17: branch_true: following ‘true’ branch (when the strings are equal)...
opus-1.6/src/repacketizer_demo.c:74:22: branch_true: ...to here
opus-1.6/src/repacketizer_demo.c:100:6: branch_false: following ‘false’ branch...
opus-1.6/src/repacketizer_demo.c:100:6: branch_false: ...to here
opus-1.6/src/repacketizer_demo.c:106:6: branch_false: following ‘false’ branch...
opus-1.6/src/repacketizer_demo.c:113:9: branch_false: ...to here
opus-1.6/src/repacketizer_demo.c:119:16: branch_true: following ‘true’ branch (when ‘i < merge’)...
opus-1.6/src/repacketizer_demo.c:122:14: branch_true: ...to here
opus-1.6/src/repacketizer_demo.c:122:13: branch_false: following ‘false’ branch...
opus-1.6/src/repacketizer_demo.c:135:19: call_function: inlined call to ‘char_to_int’ from ‘main’
opus-1.6/src/repacketizer_demo.c:137:13: branch_false: following ‘false’ branch...
opus-1.6/src/repacketizer_demo.c:150:14: branch_false: ...to here
opus-1.6/src/repacketizer_demo.c:150:13: branch_false: following ‘false’ branch...
opus-1.6/src/repacketizer_demo.c:163:19: call_function: inlined call to ‘char_to_int’ from ‘main’
opus-1.6/src/repacketizer_demo.c:164:13: branch_false: following ‘false’ branch...
opus-1.6/src/repacketizer_demo.c:176:16: branch_false: ...to here
opus-1.6/src/repacketizer_demo.c:177:13: branch_true: following ‘true’ branch...
opus-1.6/src/repacketizer_demo.c:179:13: branch_true: ...to here
opus-1.6/src/repacketizer_demo.c:219:19: branch_false: following ‘false’ branch...
opus-1.6/src/repacketizer_demo.c:223:23: branch_false: ...to here
opus-1.6/src/repacketizer_demo.c:224:31: danger: out-of-bounds read from byte -4 till byte -1 but ‘rng’ starts at byte 0
Error: CPPCHECK_WARNING (CWE-476): [#def159]
opus-1.6/tests/test_opus_api.c:245: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dec2
Error: CPPCHECK_WARNING (CWE-476): [#def160]
opus-1.6/tests/test_opus_api.c:247: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dec2
Error: CPPCHECK_WARNING (CWE-476): [#def161]
opus-1.6/tests/test_opus_common.h:34: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: _t
Error: CPPCHECK_WARNING (CWE-476): [#def162]
opus-1.6/tests/test_opus_common.h:36: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: _t
Error: CPPCHECK_WARNING (CWE-476): [#def163]
opus-1.6/tests/test_opus_common.h:37: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: _t
Error: CPPCHECK_WARNING (CWE-476): [#def164]
opus-1.6/tests/test_opus_common.h:49: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: t
Error: CPPCHECK_WARNING (CWE-476): [#def165]
opus-1.6/tests/test_opus_custom.c:169: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: decC_copy
Error: GCC_ANALYZER_WARNING (CWE-688): [#def166]
opus-1.6/tests/test_opus_custom.c:169:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘decC_copy’ where non-null expected
opus-1.6/tests/test_opus_custom.c:676:5: enter_function: entry to ‘main’
opus-1.6/tests/test_opus_custom.c:686:7: branch_false: following ‘false’ branch (when ‘_argc <= 1’)...
opus-1.6/tests/test_opus_custom.c:688:7: branch_false: ...to here
opus-1.6/tests/test_opus_custom.c:688:6: branch_false: following ‘false’ branch...
opus-1.6/tests/test_opus_custom.c:691:11: branch_false: ...to here
opus-1.6/tests/test_opus_custom.c:691:11: branch_false: following ‘false’ branch (when ‘env_seed’ is NULL)...
opus-1.6/tests/test_opus_custom.c:695:28: branch_false: ...to here
opus-1.6/tests/test_opus_custom.c:699:6: branch_false: following ‘false’ branch (when ‘env_used == 0’)...
opus-1.6/tests/test_opus_custom.c:701:4: branch_false: ...to here
opus-1.6/tests/test_opus_custom.c:706:4: call_function: calling ‘test_opus_custom’ from ‘main’
Error: CPPCHECK_WARNING (CWE-476): [#def167]
opus-1.6/tests/test_opus_custom.c:175: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dec_copy
Error: GCC_ANALYZER_WARNING (CWE-688): [#def168]
opus-1.6/tests/test_opus_custom.c:175:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘dec_copy’ where non-null expected
opus-1.6/tests/test_opus_custom.c:676:5: enter_function: entry to ‘main’
opus-1.6/tests/test_opus_custom.c:686:7: branch_false: following ‘false’ branch (when ‘_argc <= 1’)...
opus-1.6/tests/test_opus_custom.c:688:7: branch_false: ...to here
opus-1.6/tests/test_opus_custom.c:688:6: branch_false: following ‘false’ branch...
opus-1.6/tests/test_opus_custom.c:691:11: branch_false: ...to here
opus-1.6/tests/test_opus_custom.c:691:11: branch_false: following ‘false’ branch (when ‘env_seed’ is NULL)...
opus-1.6/tests/test_opus_custom.c:695:28: branch_false: ...to here
opus-1.6/tests/test_opus_custom.c:699:6: branch_false: following ‘false’ branch (when ‘env_used == 0’)...
opus-1.6/tests/test_opus_custom.c:701:4: branch_false: ...to here
opus-1.6/tests/test_opus_custom.c:706:4: call_function: calling ‘test_opus_custom’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def169]
opus-1.6/tests/test_opus_custom.c:184:19: warning[-Wanalyzer-null-argument]: use of NULL ‘generate_sine_sweep(5.0e-1, params.encoder_bit_depth, params.sample_rate, params.num_channels, params.float_encode, 6.0e+1, & input_samples)’ where non-null expected
opus-1.6/tests/test_opus_custom.c:676:5: enter_function: entry to ‘main’
opus-1.6/tests/test_opus_custom.c:686:7: branch_false: following ‘false’ branch (when ‘_argc <= 1’)...
opus-1.6/tests/test_opus_custom.c:688:7: branch_false: ...to here
opus-1.6/tests/test_opus_custom.c:688:6: branch_false: following ‘false’ branch...
opus-1.6/tests/test_opus_custom.c:691:11: branch_false: ...to here
opus-1.6/tests/test_opus_custom.c:691:11: branch_false: following ‘false’ branch (when ‘env_seed’ is NULL)...
opus-1.6/tests/test_opus_custom.c:695:28: branch_false: ...to here
opus-1.6/tests/test_opus_custom.c:699:6: branch_false: following ‘false’ branch (when ‘env_used == 0’)...
opus-1.6/tests/test_opus_custom.c:701:4: branch_false: ...to here
opus-1.6/tests/test_opus_custom.c:706:4: call_function: calling ‘test_opus_custom’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def170]
opus-1.6/tests/test_opus_custom.c:213:22: warning[-Wanalyzer-null-argument]: use of NULL ‘generate_sine_sweep(5.0e-1, params.encoder_bit_depth, params.sample_rate, params.num_channels, params.float_encode, 6.0e+1, & input_samples)’ where non-null expected
opus-1.6/tests/test_opus_custom.c:676:5: enter_function: entry to ‘main’
opus-1.6/tests/test_opus_custom.c:686:7: branch_false: following ‘false’ branch (when ‘_argc <= 1’)...
opus-1.6/tests/test_opus_custom.c:688:7: branch_false: ...to here
opus-1.6/tests/test_opus_custom.c:688:6: branch_false: following ‘false’ branch...
opus-1.6/tests/test_opus_custom.c:691:11: branch_false: ...to here
opus-1.6/tests/test_opus_custom.c:691:11: branch_false: following ‘false’ branch (when ‘env_seed’ is NULL)...
opus-1.6/tests/test_opus_custom.c:695:28: branch_false: ...to here
opus-1.6/tests/test_opus_custom.c:699:6: branch_false: following ‘false’ branch (when ‘env_used == 0’)...
opus-1.6/tests/test_opus_custom.c:701:4: branch_false: ...to here
opus-1.6/tests/test_opus_custom.c:706:4: call_function: calling ‘test_opus_custom’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def171]
opus-1.6/tests/test_opus_custom.c:226:22: warning[-Wanalyzer-null-argument]: use of NULL ‘generate_sine_sweep(5.0e-1, params.encoder_bit_depth, params.sample_rate, params.num_channels, params.float_encode, 6.0e+1, & input_samples)’ where non-null expected
opus-1.6/tests/test_opus_custom.c:676:5: enter_function: entry to ‘main’
opus-1.6/tests/test_opus_custom.c:686:7: branch_false: following ‘false’ branch (when ‘_argc <= 1’)...
opus-1.6/tests/test_opus_custom.c:688:7: branch_false: ...to here
opus-1.6/tests/test_opus_custom.c:688:6: branch_false: following ‘false’ branch...
opus-1.6/tests/test_opus_custom.c:691:11: branch_false: ...to here
opus-1.6/tests/test_opus_custom.c:691:11: branch_false: following ‘false’ branch (when ‘env_seed’ is NULL)...
opus-1.6/tests/test_opus_custom.c:695:28: branch_false: ...to here
opus-1.6/tests/test_opus_custom.c:699:6: branch_false: following ‘false’ branch (when ‘env_used == 0’)...
opus-1.6/tests/test_opus_custom.c:701:4: branch_false: ...to here
opus-1.6/tests/test_opus_custom.c:706:4: call_function: calling ‘test_opus_custom’ from ‘main’
Error: CPPCHECK_WARNING (CWE-476): [#def172]
opus-1.6/tests/test_opus_decode.c:73: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: outbuf_int
Error: GCC_ANALYZER_WARNING (CWE-476): [#def173]
opus-1.6/tests/test_opus_decode.c:73:40: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘outbuf_int’
opus-1.6/tests/test_opus_decode.c:70:6: branch_false: following ‘false’ branch (when ‘packet’ is non-NULL)...
opus-1.6/tests/test_opus_decode.c:72:15: branch_false: ...to here
opus-1.6/tests/test_opus_decode.c:72:15: acquire_memory: this call could return NULL
opus-1.6/tests/test_opus_decode.c:73:12: branch_true: following ‘true’ branch (when ‘i != 11552’)...
opus-1.6/tests/test_opus_decode.c:73:50: branch_true: ...to here
opus-1.6/tests/test_opus_decode.c:73:40: danger: ‘outbuf_int + (long unsigned int)i * 2’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-457): [#def174]
opus-1.6/tests/test_opus_dred.c:74: warning[uninitvar]: Uninitialized variable: payload
Error: CPPCHECK_WARNING (CWE-476): [#def175]
opus-1.6/tests/test_opus_encode.c:66: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf
Error: CPPCHECK_WARNING (CWE-476): [#def176]
opus-1.6/tests/test_opus_encode.c:80: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf
Error: CPPCHECK_WARNING (CWE-476): [#def177]
opus-1.6/tests/test_opus_encode.c:81: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf
Error: GCC_ANALYZER_WARNING (CWE-688): [#def178]
opus-1.6/tests/test_opus_encode.c:385:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc((long unsigned int)opus_decoder_get_size(2))’ where non-null expected
opus-1.6/tests/test_opus_encode.c:689:5: enter_function: entry to ‘main’
opus-1.6/tests/test_opus_encode.c:701:6: branch_false: following ‘false’ branch (when ‘_argc <= 1’)...
opus-1.6/tests/test_opus_encode.c:703:7: branch_false: ...to here
opus-1.6/tests/test_opus_encode.c:703:6: branch_false: following ‘false’ branch...
opus-1.6/tests/test_opus_encode.c:705:11: branch_false: ...to here
opus-1.6/tests/test_opus_encode.c:712:10: branch_false: following ‘false’ branch (when ‘args >= _argc’)...
opus-1.6/tests/test_opus_encode.c:733:13: branch_false: ...to here
opus-1.6/tests/test_opus_encode.c:734:6: branch_false: following ‘false’ branch...
opus-1.6/tests/test_opus_encode.c:735:84: branch_false: ...to here
opus-1.6/tests/test_opus_encode.c:743:4: call_function: calling ‘run_test1’ from ‘main’
Error: CPPCHECK_WARNING (CWE-476): [#def179]
opus-1.6/tests/test_opus_extensions.c:396: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf
Error: CPPCHECK_WARNING (CWE-682): [#def180]
opus-1.6/tests/test_opus_extensions.c:397: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-476): [#def181]
opus-1.6/tests/test_opus_extensions.c:398: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf
Error: CPPCHECK_WARNING (CWE-457): [#def182]
opus-1.6/tests/test_opus_extensions.c:601: warning[uninitvar]: Uninitialized variable: payload
Error: GCC_ANALYZER_WARNING (CWE-401): [#def183]
opus-1.6/tests/test_opus_projection.c:105:6: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(120)’
opus-1.6/tests/test_opus_projection.c:364:5: enter_function: entry to ‘main’
opus-1.6/tests/test_opus_projection.c:372:3: call_function: calling ‘test_simple_matrix’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def184]
opus-1.6/tests/test_opus_projection.c:105:6: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(160)’
opus-1.6/tests/test_opus_projection.c:364:5: enter_function: entry to ‘main’
opus-1.6/tests/test_opus_projection.c:372:3: call_function: calling ‘test_simple_matrix’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def185]
opus-1.6/tests/test_opus_projection.c:105:6: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(80)’
opus-1.6/tests/test_opus_projection.c:364:5: enter_function: entry to ‘main’
opus-1.6/tests/test_opus_projection.c:372:3: call_function: calling ‘test_simple_matrix’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def186]
opus-1.6/tests/test_opus_projection.c:108:36: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(120)’
opus-1.6/tests/test_opus_projection.c:364:5: enter_function: entry to ‘main’
opus-1.6/tests/test_opus_projection.c:372:3: call_function: calling ‘test_simple_matrix’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def187]
opus-1.6/tests/test_opus_projection.c:108:36: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(160)’
opus-1.6/tests/test_opus_projection.c:364:5: enter_function: entry to ‘main’
opus-1.6/tests/test_opus_projection.c:372:3: call_function: calling ‘test_simple_matrix’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def188]
opus-1.6/tests/test_opus_projection.c:108:36: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(80)’
opus-1.6/tests/test_opus_projection.c:364:5: enter_function: entry to ‘main’
opus-1.6/tests/test_opus_projection.c:372:3: call_function: calling ‘test_simple_matrix’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def189]
opus-1.6/tests/test_opus_projection.c:116:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc(120)’
opus-1.6/tests/test_opus_projection.c:364:5: enter_function: entry to ‘main’
opus-1.6/tests/test_opus_projection.c:372:3: call_function: calling ‘test_simple_matrix’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def190]
opus-1.6/tests/test_opus_projection.c:121:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc(160)’
opus-1.6/tests/test_opus_projection.c:364:5: enter_function: entry to ‘main’
opus-1.6/tests/test_opus_projection.c:372:3: call_function: calling ‘test_simple_matrix’ from ‘main’
Error: CPPCHECK_WARNING (CWE-457): [#def191]
opus-1.6/tests/test_opus_projection.c:227: warning[uninitvar]: Uninitialized variable: dec_error
Error: CPPCHECK_WARNING (CWE-476): [#def192]
opus-1.6/tests/test_opus_projection.c:247: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: a
Error: GCC_ANALYZER_WARNING (CWE-688): [#def193]
opus-1.6/tests/test_opus_projection.c:247:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘a’ where non-null expected
opus-1.6/tests/test_opus_projection.c:275:6: enter_function: entry to ‘test_encode_decode’
opus-1.6/tests/test_opus_projection.c:299:6: branch_false: following ‘false’ branch...
opus-1.6/tests/test_opus_projection.c:309:5: branch_false: ...to here
opus-1.6/tests/test_opus_projection.c:310:6: branch_false: following ‘false’ branch...
opus-1.6/tests/test_opus_projection.c:315:11: branch_false: ...to here
opus-1.6/tests/test_opus_projection.c:317:6: branch_false: following ‘false’ branch...
opus-1.6/tests/test_opus_projection.c:330:6: branch_false: following ‘false’ branch...
opus-1.6/tests/test_opus_projection.c:337:3: branch_false: ...to here
opus-1.6/tests/test_opus_projection.c:337:3: call_function: calling ‘generate_music’ from ‘test_encode_decode’
Error: CPPCHECK_WARNING (CWE-476): [#def194]
opus-1.6/tests/test_opus_projection.c:248: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: b
Error: GCC_ANALYZER_WARNING (CWE-688): [#def195]
opus-1.6/tests/test_opus_projection.c:248:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘b’ where non-null expected
opus-1.6/tests/test_opus_projection.c:275:6: enter_function: entry to ‘test_encode_decode’
opus-1.6/tests/test_opus_projection.c:299:6: branch_false: following ‘false’ branch...
opus-1.6/tests/test_opus_projection.c:309:5: branch_false: ...to here
opus-1.6/tests/test_opus_projection.c:310:6: branch_false: following ‘false’ branch...
opus-1.6/tests/test_opus_projection.c:315:11: branch_false: ...to here
opus-1.6/tests/test_opus_projection.c:317:6: branch_false: following ‘false’ branch...
opus-1.6/tests/test_opus_projection.c:330:6: branch_false: following ‘false’ branch...
opus-1.6/tests/test_opus_projection.c:337:3: branch_false: ...to here
opus-1.6/tests/test_opus_projection.c:337:3: call_function: calling ‘generate_music’ from ‘test_encode_decode’
Error: CPPCHECK_WARNING (CWE-476): [#def196]
opus-1.6/tests/test_opus_projection.c:249: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: c
Error: GCC_ANALYZER_WARNING (CWE-688): [#def197]
opus-1.6/tests/test_opus_projection.c:249:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘c’ where non-null expected
opus-1.6/tests/test_opus_projection.c:275:6: enter_function: entry to ‘test_encode_decode’
opus-1.6/tests/test_opus_projection.c:299:6: branch_false: following ‘false’ branch...
opus-1.6/tests/test_opus_projection.c:309:5: branch_false: ...to here
opus-1.6/tests/test_opus_projection.c:310:6: branch_false: following ‘false’ branch...
opus-1.6/tests/test_opus_projection.c:315:11: branch_false: ...to here
opus-1.6/tests/test_opus_projection.c:317:6: branch_false: following ‘false’ branch...
opus-1.6/tests/test_opus_projection.c:330:6: branch_false: following ‘false’ branch...
opus-1.6/tests/test_opus_projection.c:337:3: branch_false: ...to here
opus-1.6/tests/test_opus_projection.c:337:3: call_function: calling ‘generate_music’ from ‘test_encode_decode’
Error: CPPCHECK_WARNING (CWE-476): [#def198]
opus-1.6/tests/test_opus_projection.c:250: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: d
Error: GCC_ANALYZER_WARNING (CWE-688): [#def199]
opus-1.6/tests/test_opus_projection.c:250:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘d’ where non-null expected
opus-1.6/tests/test_opus_projection.c:275:6: enter_function: entry to ‘test_encode_decode’
opus-1.6/tests/test_opus_projection.c:299:6: branch_false: following ‘false’ branch...
opus-1.6/tests/test_opus_projection.c:309:5: branch_false: ...to here
opus-1.6/tests/test_opus_projection.c:310:6: branch_false: following ‘false’ branch...
opus-1.6/tests/test_opus_projection.c:315:11: branch_false: ...to here
opus-1.6/tests/test_opus_projection.c:317:6: branch_false: following ‘false’ branch...
opus-1.6/tests/test_opus_projection.c:330:6: branch_false: following ‘false’ branch...
opus-1.6/tests/test_opus_projection.c:337:3: branch_false: ...to here
opus-1.6/tests/test_opus_projection.c:337:3: call_function: calling ‘generate_music’ from ‘test_encode_decode’
Error: CPPCHECK_WARNING (CWE-476): [#def200]
opus-1.6/tests/test_opus_projection.c:261: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: a
Error: CPPCHECK_WARNING (CWE-476): [#def201]
opus-1.6/tests/test_opus_projection.c:261: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: b
Error: CPPCHECK_WARNING (CWE-476): [#def202]
opus-1.6/tests/test_opus_projection.c:262: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: b
Error: CPPCHECK_WARNING (CWE-476): [#def203]
opus-1.6/tests/test_opus_projection.c:262: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: c
Error: CPPCHECK_WARNING (CWE-476): [#def204]
opus-1.6/tests/test_opus_projection.c:262: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: d
Error: CPPCHECK_WARNING (CWE-476): [#def205]
opus-1.6/tests/test_opus_projection.c:263: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: c
Scan Properties
| analyzer-version-clippy | 1.97.1 |
| analyzer-version-cppcheck | 2.21.1 |
| analyzer-version-gcc | 16.1.1 |
| analyzer-version-gcc-analyzer | 16.1.1 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-91.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.20260524.213755.g3c6d0be.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | opus-1.6-2.fc44 |
| store-results-to | /tmp/tmpsqv50rl0/opus-1.6-2.fc44.tar.xz |
| time-created | 2026-08-03 18:57:41 |
| time-finished | 2026-08-03 19:01:52 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpsqv50rl0/opus-1.6-2.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpsqv50rl0/opus-1.6-2.fc44.src.rpm' |
| tool-version | csmock-3.8.7.20260803.142340.gb75b18e-1.el9 |