ilbc-3.0.4-14.fc43
List of Findings
Error: COMPILER_WARNING: [#def1]
libilbc-3.0.4/common_audio/signal_processing/copy_set_operations.c:36:19: warning[-Wstringop-overflow=]: ‘__builtin_memset’ specified bound 18446744073709551576 exceeds maximum object size 9223372036854775807
Error: CPPCHECK_WARNING (CWE-190): [#def2]
libilbc-3.0.4/common_audio/signal_processing/levinson_durbin.c:155: error[integerOverflow]: Signed integer underflow for expression 'temp3W32-((int32_t)K_hi*65536)'.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def3]
libilbc-3.0.4/iLBC_test2.c:109:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[2], "rb")’
libilbc-3.0.4/iLBC_test2.c:72:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:100:8: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:101:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:106:17: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:106:17: acquire_resource: opened here
libilbc-3.0.4/iLBC_test2.c:106:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:109:17: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:109:17: danger: ‘fopen(argv[2], "rb")’ leaks here; was opened at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def4]
libilbc-3.0.4/iLBC_test2.c:109:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[2], "rb")’
libilbc-3.0.4/iLBC_test2.c:72:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:100:8: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:101:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:106:17: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:106:17: acquire_memory: allocated here
libilbc-3.0.4/iLBC_test2.c:106:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:109:17: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:109:17: danger: ‘fopen(argv[2], "rb")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def5]
libilbc-3.0.4/iLBC_test2.c:112:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[3], "wb")’
libilbc-3.0.4/iLBC_test2.c:72:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:100:8: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:101:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:106:17: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:106:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:109:17: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:109:17: acquire_resource: opened here
libilbc-3.0.4/iLBC_test2.c:109:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:112:17: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:112:17: danger: ‘fopen(argv[3], "wb")’ leaks here; was opened at [(7)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def6]
libilbc-3.0.4/iLBC_test2.c:112:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[3], "wb")’
libilbc-3.0.4/iLBC_test2.c:72:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:100:8: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:101:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:106:17: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:106:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:109:17: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:109:17: acquire_memory: allocated here
libilbc-3.0.4/iLBC_test2.c:109:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:112:17: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:112:17: danger: ‘fopen(argv[3], "wb")’ leaks here; was allocated at [(7)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def7]
libilbc-3.0.4/iLBC_test2.c:116:18: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[4], "wb")’
libilbc-3.0.4/iLBC_test2.c:72:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:100:8: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:101:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:106:17: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:106:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:109:17: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:109:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:112:17: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:112:17: acquire_resource: opened here
libilbc-3.0.4/iLBC_test2.c:112:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:115:6: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:115:6: branch_true: following ‘true’ branch (when ‘argc == 6’)...
libilbc-3.0.4/iLBC_test2.c:116:18: branch_true: ...to here
libilbc-3.0.4/iLBC_test2.c:116:18: danger: ‘fopen(argv[4], "wb")’ leaks here; was opened at [(9)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def8]
libilbc-3.0.4/iLBC_test2.c:116:18: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[4], "wb")’
libilbc-3.0.4/iLBC_test2.c:72:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:100:8: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:101:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:106:17: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:106:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:109:17: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:109:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:112:17: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:112:17: acquire_memory: allocated here
libilbc-3.0.4/iLBC_test2.c:112:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:115:6: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:115:6: branch_true: following ‘true’ branch (when ‘argc == 6’)...
libilbc-3.0.4/iLBC_test2.c:116:18: branch_true: ...to here
libilbc-3.0.4/iLBC_test2.c:116:18: danger: ‘fopen(argv[4], "wb")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def9]
libilbc-3.0.4/iLBC_test2.c:127:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[4], "wb")’
libilbc-3.0.4/iLBC_test2.c:72:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:100:8: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:101:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:106:17: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:106:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:109:17: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:109:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:112:17: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:112:17: acquire_resource: opened here
libilbc-3.0.4/iLBC_test2.c:112:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:115:6: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:115:6: branch_false: following ‘false’ branch (when ‘argc != 6’)...
libilbc-3.0.4/iLBC_test2.c:127:3: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:144:6: branch_false: following ‘false’ branch (when ‘argc != 6’)...
libilbc-3.0.4/iLBC_test2.c:147:3: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:157:10: branch_true: following ‘true’ branch...
libilbc-3.0.4/iLBC_test2.c:159:5: branch_true: ...to here
libilbc-3.0.4/iLBC_test2.c:127:3: danger: ‘fopen(argv[4], "wb")’ leaks here; was opened at [(9)](sarif:/runs/0/results/42/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def10]
libilbc-3.0.4/iLBC_test2.c:127:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[4], "wb")’
libilbc-3.0.4/iLBC_test2.c:72:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:100:8: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:101:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:106:17: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:106:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:109:17: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:109:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:112:17: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:112:17: acquire_memory: allocated here
libilbc-3.0.4/iLBC_test2.c:112:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:115:6: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:115:6: branch_false: following ‘false’ branch (when ‘argc != 6’)...
libilbc-3.0.4/iLBC_test2.c:127:3: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:144:6: branch_false: following ‘false’ branch (when ‘argc != 6’)...
libilbc-3.0.4/iLBC_test2.c:147:3: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:157:10: branch_true: following ‘true’ branch...
libilbc-3.0.4/iLBC_test2.c:159:5: branch_true: ...to here
libilbc-3.0.4/iLBC_test2.c:127:3: danger: ‘fopen(argv[4], "wb")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/43/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-617): [#def11]
libilbc-3.0.4/iLBC_test2.c:178:11: warning[-Wanalyzer-tainted-assertion]: use of attacked-controlled value in condition for assertion
libilbc-3.0.4/iLBC_test2.c:72:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:100:8: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:101:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:106:17: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:106:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:109:17: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:109:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:112:17: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:112:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:115:6: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:115:6: branch_true: following ‘true’ branch (when ‘argc == 6’)...
libilbc-3.0.4/iLBC_test2.c:116:18: branch_true: ...to here
libilbc-3.0.4/iLBC_test2.c:116:7: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:127:3: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:144:6: branch_true: following ‘true’ branch (when ‘argc == 6’)...
libilbc-3.0.4/iLBC_test2.c:145:5: branch_true: ...to here
libilbc-3.0.4/iLBC_test2.c:157:10: branch_true: following ‘true’ branch...
libilbc-3.0.4/iLBC_test2.c:159:5: branch_true: ...to here
libilbc-3.0.4/iLBC_test2.c:169:8: branch_false: following ‘false’ branch...
libilbc-3.0.4/iLBC_test2.c:174:8: branch_false: ...to here
libilbc-3.0.4/iLBC_test2.c:174:8: branch_true: following ‘true’ branch (when ‘argc == 6’)...
libilbc-3.0.4/iLBC_test2.c:175:11: branch_true: ...to here
libilbc-3.0.4/iLBC_test2.c:175:10: branch_true: following ‘true’ branch...
libilbc-3.0.4/iLBC_test2.c:176:13: branch_true: ...to here
libilbc-3.0.4/iLBC_test2.c:176:12: branch_true: following ‘true’ branch...
libilbc-3.0.4/iLBC_test2.c:177:11: branch_true: ...to here
libilbc-3.0.4/iLBC_test2.c:178:11: danger: treating ‘exit’ as an assertion failure handler due to ‘__attribute__((__noreturn__))’
Error: CPPCHECK_WARNING (CWE-457): [#def12]
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/get_sync_seq.c:92: warning[uninitvar]: Uninitialized variable: plocs2
Error: CPPCHECK_WARNING (CWE-190): [#def13]
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/hp_input.c:86: error[integerOverflow]: Signed integer underflow for expression 'tmpW32-(y[0]<<16)'.
Error: CPPCHECK_WARNING (CWE-457): [#def14]
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/ilbc.c:265: error[uninitvar]: Uninitialized variable: &dummy
Error: GCC_ANALYZER_WARNING (CWE-775): [#def15]
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:106:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[2], "rb")’
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:69:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:97:8: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:98:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:103:17: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:103:17: acquire_resource: opened here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:103:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:106:17: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:106:17: danger: ‘fopen(argv[2], "rb")’ leaks here; was opened at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def16]
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:106:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[2], "rb")’
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:69:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:97:8: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:98:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:103:17: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:103:17: acquire_memory: allocated here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:103:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:106:17: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:106:17: danger: ‘fopen(argv[2], "rb")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def17]
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:109:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[3], "wb")’
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:69:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:97:8: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:98:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:103:17: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:103:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:106:17: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:106:17: acquire_resource: opened here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:106:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:109:17: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:109:17: danger: ‘fopen(argv[3], "wb")’ leaks here; was opened at [(7)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def18]
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:109:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[3], "wb")’
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:69:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:97:8: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:98:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:103:17: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:103:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:106:17: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:106:17: acquire_memory: allocated here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:106:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:109:17: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:109:17: danger: ‘fopen(argv[3], "wb")’ leaks here; was allocated at [(7)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def19]
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:113:18: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[4], "wb")’
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:69:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:97:8: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:98:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:103:17: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:103:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:106:17: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:106:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:109:17: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:109:17: acquire_resource: opened here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:109:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:112:6: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:112:6: branch_true: following ‘true’ branch (when ‘argc == 6’)...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:113:18: branch_true: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:113:18: danger: ‘fopen(argv[4], "wb")’ leaks here; was opened at [(9)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def20]
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:113:18: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[4], "wb")’
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:69:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:97:8: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:98:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:103:17: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:103:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:106:17: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:106:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:109:17: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:109:17: acquire_memory: allocated here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:109:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:112:6: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:112:6: branch_true: following ‘true’ branch (when ‘argc == 6’)...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:113:18: branch_true: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:113:18: danger: ‘fopen(argv[4], "wb")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def21]
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:124:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[4], "wb")’
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:69:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:97:8: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:98:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:103:17: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:103:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:106:17: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:106:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:109:17: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:109:17: acquire_resource: opened here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:109:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:112:6: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:112:6: branch_false: following ‘false’ branch (when ‘argc != 6’)...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:124:3: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:141:6: branch_false: following ‘false’ branch (when ‘argc != 6’)...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:144:3: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:159:10: branch_true: following ‘true’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:161:5: branch_true: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:124:3: danger: ‘fopen(argv[4], "wb")’ leaks here; was opened at [(9)](sarif:/runs/0/results/48/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def22]
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:124:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[4], "wb")’
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:69:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:97:8: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:98:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:103:17: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:103:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:106:17: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:106:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:109:17: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:109:17: acquire_memory: allocated here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:109:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:112:6: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:112:6: branch_false: following ‘false’ branch (when ‘argc != 6’)...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:124:3: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:141:6: branch_false: following ‘false’ branch (when ‘argc != 6’)...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:144:3: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:159:10: branch_true: following ‘true’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:161:5: branch_true: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:124:3: danger: ‘fopen(argv[4], "wb")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/49/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-617): [#def23]
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:186:11: warning[-Wanalyzer-tainted-assertion]: use of attacked-controlled value in condition for assertion
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:69:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:97:8: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:98:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:103:17: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:103:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:106:17: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:106:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:109:17: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:109:6: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:112:6: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:112:6: branch_true: following ‘true’ branch (when ‘argc == 6’)...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:113:18: branch_true: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:113:7: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:124:3: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:141:6: branch_true: following ‘true’ branch (when ‘argc == 6’)...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:142:5: branch_true: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:159:10: branch_true: following ‘true’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:161:5: branch_true: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:167:8: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:171:5: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:177:8: branch_false: following ‘false’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:182:8: branch_false: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:182:8: branch_true: following ‘true’ branch (when ‘argc == 6’)...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:183:11: branch_true: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:183:10: branch_true: following ‘true’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:184:13: branch_true: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:184:12: branch_true: following ‘true’ branch...
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:185:11: branch_true: ...to here
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/test/iLBC_test.c:186:11: danger: treating ‘exit’ as an assertion failure handler due to ‘__attribute__((__noreturn__))’
Error: CPPCHECK_WARNING (CWE-758): [#def24]
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/xcorr_coef.c:116: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def25]
libilbc-3.0.4/modules/audio_coding/codecs/ilbc/xcorr_coef.c:120: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Scan Properties
analyzer-version-clippy | 1.86.0 |
analyzer-version-cppcheck | 2.17.1 |
analyzer-version-gcc | 15.0.1 |
analyzer-version-gcc-analyzer | 15.0.1 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-94.us-west-2.compute.internal |
known-false-positives | /usr/share/csmock/known-false-positives.js |
known-false-positives-rpm | known-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch |
mock-config | fedora-rawhide-x86_64 |
project-name | ilbc-3.0.4-14.fc43 |
store-results-to | /tmp/tmphm7xi36q/ilbc-3.0.4-14.fc43.tar.xz |
time-created | 2025-04-25 13:16:15 |
time-finished | 2025-04-25 13:17:29 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmphm7xi36q/ilbc-3.0.4-14.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmphm7xi36q/ilbc-3.0.4-14.fc43.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |