librist-0.2.7-9.fc43
List of Findings
Error: CPPCHECK_WARNING (CWE-457): [#def1]
librist-v0.2.7/contrib/aes.c:285: warning[uninitvar]: Uninitialized variable: buf_out
Error: CPPCHECK_WARNING (CWE-476): [#def2]
librist-v0.2.7/contrib/srp.c:181: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ng
Error: CPPCHECK_WARNING (CWE-476): [#def3]
librist-v0.2.7/contrib/srp.c:182: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ng
Error: CPPCHECK_WARNING (CWE-476): [#def4]
librist-v0.2.7/contrib/srp.c:183: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ng
Error: CPPCHECK_WARNING (CWE-476): [#def5]
librist-v0.2.7/contrib/srp.c:184: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ng
Error: CPPCHECK_WARNING (CWE-476): [#def6]
librist-v0.2.7/contrib/srp.c:188: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ng
Error: CPPCHECK_WARNING (CWE-476): [#def7]
librist-v0.2.7/contrib/srp.c:595: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: session
Error: CPPCHECK_WARNING (CWE-476): [#def8]
librist-v0.2.7/contrib/srp.c:597: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: session
Error: CPPCHECK_WARNING (CWE-476): [#def9]
librist-v0.2.7/contrib/srp.c:598: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: session
Error: GCC_ANALYZER_WARNING (CWE-457): [#def10]
librist-v0.2.7/redhat-linux-build/../contrib/aes.c:285:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(__int128 unsigned *)(&buf_out[0])’
librist-v0.2.7/redhat-linux-build/../contrib/aes.c:277:23: branch_false: following ‘false’ branch (when ‘blocks <= idx’)...
librist-v0.2.7/redhat-linux-build/../contrib/aes.c:285:9: branch_false: ...to here
librist-v0.2.7/redhat-linux-build/../contrib/aes.c:285:9: danger: use of uninitialized value ‘*(__int128 unsigned *)(&buf_out[0])’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def11]
librist-v0.2.7/redhat-linux-build/../contrib/fastpbkdf2.c:303:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&block’
librist-v0.2.7/redhat-linux-build/../contrib/fastpbkdf2.c:303:1: enter_function: entry to ‘pbkdf2_sha256’
librist-v0.2.7/redhat-linux-build/../contrib/fastpbkdf2.c:303:1: branch_false: following ‘false’ branch...
librist-v0.2.7/redhat-linux-build/../contrib/fastpbkdf2.c:303:1: call_function: calling ‘HMAC_sha256_init’ from ‘pbkdf2_sha256’
librist-v0.2.7/redhat-linux-build/../contrib/fastpbkdf2.c:303:1: return_function: returning to ‘pbkdf2_sha256’ from ‘HMAC_sha256_init’
librist-v0.2.7/redhat-linux-build/../contrib/fastpbkdf2.c:303:1: branch_true: following ‘true’ branch (when ‘counter <= blocks_needed’)...
librist-v0.2.7/redhat-linux-build/../contrib/fastpbkdf2.c:303:1: branch_true: ...to here
librist-v0.2.7/redhat-linux-build/../contrib/fastpbkdf2.c:303:1: danger: use of uninitialized value ‘&block’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def12]
librist-v0.2.7/redhat-linux-build/../contrib/linux-crypto.c:166:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ctx’
librist-v0.2.7/redhat-linux-build/../contrib/linux-crypto.c:159:36: acquire_memory: this call could return NULL
librist-v0.2.7/redhat-linux-build/../contrib/linux-crypto.c:166:9: danger: ‘ctx’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING: [#def13]
librist-v0.2.7/redhat-linux-build/../contrib/srp.c:446:5: warning[-Wstringop-overflow=]: ‘memcpy’ specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807
Error: GCC_ANALYZER_WARNING (CWE-476): [#def14]
librist-v0.2.7/redhat-linux-build/../src/eap.c:189:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘response’
librist-v0.2.7/redhat-linux-build/../src/eap.c:464:12: enter_function: entry to ‘process_eap_pkt’
librist-v0.2.7/redhat-linux-build/../src/eap.c:466:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
librist-v0.2.7/redhat-linux-build/../src/eap.c:468:13: branch_false: ...to here
librist-v0.2.7/redhat-linux-build/../src/eap.c:474:12: branch_false: following ‘false’ branch...
librist-v0.2.7/redhat-linux-build/../src/eap.c:476:12: branch_false: ...to here
librist-v0.2.7/redhat-linux-build/../src/eap.c:484:32: call_function: calling ‘process_eap_request’ from ‘process_eap_pkt’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def15]
librist-v0.2.7/redhat-linux-build/../src/eap.c:375:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘outpkt’
librist-v0.2.7/redhat-linux-build/../src/eap.c:464:12: enter_function: entry to ‘process_eap_pkt’
librist-v0.2.7/redhat-linux-build/../src/eap.c:466:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
librist-v0.2.7/redhat-linux-build/../src/eap.c:468:13: branch_false: ...to here
librist-v0.2.7/redhat-linux-build/../src/eap.c:474:12: branch_false: following ‘false’ branch...
librist-v0.2.7/redhat-linux-build/../src/eap.c:476:12: branch_false: ...to here
librist-v0.2.7/redhat-linux-build/../src/eap.c:476:13: branch_false: following ‘false’ branch...
librist-v0.2.7/redhat-linux-build/../src/eap.c:478:14: branch_false: ...to here
librist-v0.2.7/redhat-linux-build/../src/eap.c:487:32: call_function: calling ‘process_eap_response’ from ‘process_eap_pkt’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def16]
librist-v0.2.7/redhat-linux-build/../src/eap.c:706:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ctx’
librist-v0.2.7/redhat-linux-build/../src/eap.c:698:12: branch_false: following ‘false’ branch (when ‘peer’ is non-NULL)...
librist-v0.2.7/redhat-linux-build/../src/eap.c:700:40: branch_false: ...to here
librist-v0.2.7/redhat-linux-build/../src/eap.c:701:12: branch_false: following ‘false’ branch...
librist-v0.2.7/redhat-linux-build/../src/eap.c:703:13: branch_false: ...to here
librist-v0.2.7/redhat-linux-build/../src/eap.c:703:12: branch_true: following ‘true’ branch...
librist-v0.2.7/redhat-linux-build/../src/eap.c:705:42: branch_true: ...to here
librist-v0.2.7/redhat-linux-build/../src/eap.c:705:42: acquire_memory: this call could return NULL
librist-v0.2.7/redhat-linux-build/../src/eap.c:706:17: danger: ‘ctx’ could be NULL: unchecked value from [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def17]
librist-v0.2.7/redhat-linux-build/../src/flow.c:22:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘m’
librist-v0.2.7/redhat-linux-build/../src/flow.c:16:41: acquire_memory: this call could return NULL
librist-v0.2.7/redhat-linux-build/../src/flow.c:22:9: danger: ‘m’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def18]
librist-v0.2.7/redhat-linux-build/../src/logging.c:232:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘settings’
librist-v0.2.7/redhat-linux-build/../src/logging.c:226:12: branch_false: following ‘false’ branch (when ‘logging_settings’ is non-NULL)...
librist-v0.2.7/redhat-linux-build/../src/logging.c:228:39: branch_false: ...to here
librist-v0.2.7/redhat-linux-build/../src/logging.c:230:12: branch_true: following ‘true’ branch (when ‘settings’ is NULL)...
librist-v0.2.7/redhat-linux-build/../src/logging.c:231:28: branch_true: ...to here
librist-v0.2.7/redhat-linux-build/../src/logging.c:231:28: acquire_memory: this call could return NULL
librist-v0.2.7/redhat-linux-build/../src/logging.c:232:17: danger: ‘settings’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def19]
librist-v0.2.7/redhat-linux-build/../src/rist-common.c:3484:37: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
librist-v0.2.7/redhat-linux-build/../src/rist-common.c:3459:19: enter_function: entry to ‘rist_sender_peer_insert_local’
librist-v0.2.7/redhat-linux-build/../src/rist-common.c:3478:37: call_function: calling ‘peer_initialize’ from ‘rist_sender_peer_insert_local’
librist-v0.2.7/redhat-linux-build/../src/rist-common.c:3478:37: return_function: returning to ‘rist_sender_peer_insert_local’ from ‘peer_initialize’
librist-v0.2.7/redhat-linux-build/../src/rist-common.c:3479:12: branch_false: following ‘false’ branch...
librist-v0.2.7/redhat-linux-build/../src/rist-common.c:3483:38: branch_false: ...to here
librist-v0.2.7/redhat-linux-build/../src/rist-common.c:3484:37: danger: ‘<unknown>’ leaks here; was allocated at [(10)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def20]
librist-v0.2.7/redhat-linux-build/../src/rist-common.c:3485:13: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
librist-v0.2.7/redhat-linux-build/../src/rist-common.c:3459:19: enter_function: entry to ‘rist_sender_peer_insert_local’
librist-v0.2.7/redhat-linux-build/../src/rist-common.c:3478:37: call_function: calling ‘peer_initialize’ from ‘rist_sender_peer_insert_local’
librist-v0.2.7/redhat-linux-build/../src/rist-common.c:3478:37: return_function: returning to ‘rist_sender_peer_insert_local’ from ‘peer_initialize’
librist-v0.2.7/redhat-linux-build/../src/rist-common.c:3479:12: branch_false: following ‘false’ branch...
librist-v0.2.7/redhat-linux-build/../src/rist-common.c:3483:38: branch_false: ...to here
librist-v0.2.7/redhat-linux-build/../src/rist-common.c:3485:13: danger: ‘<unknown>’ leaks here; was allocated at [(10)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-835): [#def21]
librist-v0.2.7/redhat-linux-build/../src/rist-common.c:3776:16: warning[-Wanalyzer-infinite-loop]: infinite loop
librist-v0.2.7/redhat-linux-build/../src/rist-common.c:3769:6: enter_function: entry to ‘rist_sender_destroy_local’
librist-v0.2.7/redhat-linux-build/../src/rist-common.c:3776:16: danger: infinite loop here
librist-v0.2.7/redhat-linux-build/../src/rist-common.c:3776:16: branch_true: if it ever follows ‘true’ branch, it will always do so...
librist-v0.2.7/redhat-linux-build/../src/rist-common.c:3777:48: branch_true: ...to here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def22]
librist-v0.2.7/redhat-linux-build/../src/rist.c:206:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘data_block’
librist-v0.2.7/redhat-linux-build/../src/rist.c:146:12: branch_false: following ‘false’ branch...
librist-v0.2.7/redhat-linux-build/../src/rist.c:151:13: branch_false: ...to here
librist-v0.2.7/redhat-linux-build/../src/rist.c:151:12: branch_false: following ‘false’ branch...
librist-v0.2.7/redhat-linux-build/../src/rist.c:176:12: branch_false: following ‘false’ branch...
librist-v0.2.7/redhat-linux-build/../src/rist.c:197:9: branch_false: following ‘false’ branch...
librist-v0.2.7/redhat-linux-build/../src/rist.c:199:9: branch_false: ...to here
librist-v0.2.7/redhat-linux-build/../src/rist.c:199:9: release_memory: ‘data_block’ is NULL
librist-v0.2.7/redhat-linux-build/../src/rist.c:205:12: branch_true: following ‘true’ branch...
librist-v0.2.7/redhat-linux-build/../src/rist.c:206:17: branch_true: ...to here
librist-v0.2.7/redhat-linux-build/../src/rist.c:206:17: danger: dereference of NULL ‘data_block’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def23]
librist-v0.2.7/redhat-linux-build/../src/rist.c:752:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘output_udp_config’
librist-v0.2.7/redhat-linux-build/../src/rist.c:751:61: acquire_memory: this call could return NULL
librist-v0.2.7/redhat-linux-build/../src/rist.c:752:17: danger: ‘output_udp_config’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def24]
librist-v0.2.7/redhat-linux-build/../src/stats.c:31:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘stats_container’
librist-v0.2.7/redhat-linux-build/../src/stats.c:25:12: branch_true: following ‘true’ branch...
librist-v0.2.7/redhat-linux-build/../src/stats.c:29:30: branch_true: ...to here
librist-v0.2.7/redhat-linux-build/../src/stats.c:30:46: acquire_memory: this call could return NULL
librist-v0.2.7/redhat-linux-build/../src/stats.c:31:9: danger: ‘stats_container’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def25]
librist-v0.2.7/redhat-linux-build/../src/stats.c:107:9: warning[-Wanalyzer-malloc-leak]: leak of ‘stats_container’
librist-v0.2.7/redhat-linux-build/../src/stats.c:25:12: branch_true: following ‘true’ branch...
librist-v0.2.7/redhat-linux-build/../src/stats.c:29:30: branch_true: ...to here
librist-v0.2.7/redhat-linux-build/../src/stats.c:30:46: acquire_memory: allocated here
librist-v0.2.7/redhat-linux-build/../src/stats.c:101:12: branch_false: following ‘false’ branch...
librist-v0.2.7/redhat-linux-build/../src/stats.c:104:17: branch_false: ...to here
librist-v0.2.7/redhat-linux-build/../src/stats.c:107:9: danger: ‘stats_container’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def26]
librist-v0.2.7/redhat-linux-build/../src/stats.c:124:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘stats_container’
librist-v0.2.7/redhat-linux-build/../src/stats.c:112:12: branch_false: following ‘false’ branch (when ‘flow’ is non-NULL)...
librist-v0.2.7/redhat-linux-build/../src/stats.c:114:9: branch_false: ...to here
librist-v0.2.7/redhat-linux-build/../src/stats.c:123:46: acquire_memory: this call could return NULL
librist-v0.2.7/redhat-linux-build/../src/stats.c:124:9: danger: ‘stats_container’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def27]
librist-v0.2.7/redhat-linux-build/../src/stats.c:278:9: warning[-Wanalyzer-malloc-leak]: leak of ‘stats_container’
librist-v0.2.7/redhat-linux-build/../src/stats.c:112:12: branch_false: following ‘false’ branch (when ‘flow’ is non-NULL)...
librist-v0.2.7/redhat-linux-build/../src/stats.c:114:9: branch_false: ...to here
librist-v0.2.7/redhat-linux-build/../src/stats.c:123:46: acquire_memory: allocated here
librist-v0.2.7/redhat-linux-build/../src/stats.c:268:9: branch_false: following ‘false’ branch...
librist-v0.2.7/redhat-linux-build/../src/stats.c:268:9: branch_false: ...to here
librist-v0.2.7/redhat-linux-build/../src/stats.c:271:12: branch_false: following ‘false’ branch...
librist-v0.2.7/redhat-linux-build/../src/stats.c:274:17: branch_false: ...to here
librist-v0.2.7/redhat-linux-build/../src/stats.c:278:9: danger: ‘stats_container’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def28]
librist-v0.2.7/redhat-linux-build/../tools/ristreceiver.c:132:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p_rtp’
librist-v0.2.7/redhat-linux-build/../tools/ristreceiver.c:164:12: enter_function: entry to ‘cb_recv’
librist-v0.2.7/redhat-linux-build/../tools/ristreceiver.c:169:21: branch_true: following ‘true’ branch (when ‘i != 20’)...
librist-v0.2.7/redhat-linux-build/../tools/ristreceiver.c:170:22: branch_true: ...to here
librist-v0.2.7/redhat-linux-build/../tools/ristreceiver.c:170:20: branch_false: following ‘false’ branch...
librist-v0.2.7/redhat-linux-build/../tools/ristreceiver.c:175:21: branch_false: ...to here
librist-v0.2.7/redhat-linux-build/../tools/ristreceiver.c:206:28: branch_true: following ‘true’ branch...
librist-v0.2.7/redhat-linux-build/../tools/ristreceiver.c:209:37: branch_true: ...to here
librist-v0.2.7/redhat-linux-build/../tools/ristreceiver.c:209:36: branch_true: following ‘true’ branch...
librist-v0.2.7/redhat-linux-build/../tools/ristreceiver.c:210:64: branch_true: ...to here
librist-v0.2.7/redhat-linux-build/../tools/ristreceiver.c:210:51: acquire_memory: this call could return NULL
librist-v0.2.7/redhat-linux-build/../tools/ristreceiver.c:215:50: branch_true: following ‘true’ branch...
librist-v0.2.7/redhat-linux-build/../tools/ristreceiver.c:215:98: branch_true: ...to here
librist-v0.2.7/redhat-linux-build/../tools/ristreceiver.c:220:41: call_function: calling ‘risttools_rtp_set_hdr’ from ‘cb_recv’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def29]
librist-v0.2.7/redhat-linux-build/../tools/ristreceiver.c:391:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘stats’
librist-v0.2.7/redhat-linux-build/../tools/ristreceiver.c:380:12: branch_true: following ‘true’ branch...
librist-v0.2.7/redhat-linux-build/../tools/ristreceiver.c:382:60: branch_true: ...to here
librist-v0.2.7/redhat-linux-build/../tools/ristreceiver.c:389:20: branch_true: following ‘true’ branch (when ‘stats’ is NULL)...
librist-v0.2.7/redhat-linux-build/../tools/ristreceiver.c:390:33: branch_true: ...to here
librist-v0.2.7/redhat-linux-build/../tools/ristreceiver.c:390:33: acquire_memory: this call could return NULL
librist-v0.2.7/redhat-linux-build/../tools/ristreceiver.c:391:25: danger: ‘stats’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def30]
librist-v0.2.7/redhat-linux-build/../tools/ristsender.c:582:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘tmpoutputurl’ where non-null expected
librist-v0.2.7/redhat-linux-build/../tools/ristsender.c:581:30: acquire_memory: this call could return NULL
librist-v0.2.7/redhat-linux-build/../tools/ristsender.c:582:9: danger: argument 1 (‘tmpoutputurl’) from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def31]
librist-v0.2.7/redhat-linux-build/../tools/srp_shared.c:74:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘read_verifier’
librist-v0.2.7/redhat-linux-build/../tools/srp_shared.c:25:12: branch_false: following ‘false’ branch (when ‘user_data’ is non-NULL)...
librist-v0.2.7/redhat-linux-build/../tools/srp_shared.c:31:31: branch_false: ...to here
librist-v0.2.7/redhat-linux-build/../tools/srp_shared.c:31:31: acquire_memory: this call could return NULL
librist-v0.2.7/redhat-linux-build/../tools/srp_shared.c:39:16: branch_true: following ‘true’ branch (when ‘read != -1’)...
librist-v0.2.7/redhat-linux-build/../tools/srp_shared.c:41:20: branch_true: ...to here
librist-v0.2.7/redhat-linux-build/../tools/srp_shared.c:41:20: branch_false: following ‘false’ branch (when ‘skipnextline == 0’)...
librist-v0.2.7/redhat-linux-build/../tools/srp_shared.c:45:27: branch_false: ...to here
librist-v0.2.7/redhat-linux-build/../tools/srp_shared.c:47:28: branch_true: following ‘true’ branch (when ‘reading == 0’)...
librist-v0.2.7/redhat-linux-build/../tools/srp_shared.c:47:64: branch_true: ...to here
librist-v0.2.7/redhat-linux-build/../tools/srp_shared.c:52:28: branch_false: following ‘false’ branch (when ‘reading != 1’)...
librist-v0.2.7/redhat-linux-build/../tools/srp_shared.c:54:33: branch_false: ...to here
librist-v0.2.7/redhat-linux-build/../tools/srp_shared.c:54:33: branch_false: following ‘false’ branch (when ‘reading != 2’)...
librist-v0.2.7/redhat-linux-build/../tools/srp_shared.c:59:25: branch_false: ...to here
librist-v0.2.7/redhat-linux-build/../tools/srp_shared.c:39:16: branch_true: following ‘true’ branch (when ‘read != -1’)...
librist-v0.2.7/redhat-linux-build/../tools/srp_shared.c:41:20: branch_true: ...to here
librist-v0.2.7/redhat-linux-build/../tools/srp_shared.c:41:20: branch_false: following ‘false’ branch (when ‘skipnextline == 0’)...
librist-v0.2.7/redhat-linux-build/../tools/srp_shared.c:45:27: branch_false: ...to here
librist-v0.2.7/redhat-linux-build/../tools/srp_shared.c:45:27: branch_false: following ‘false’ branch (when ‘read != 58’)...
librist-v0.2.7/redhat-linux-build/../tools/srp_shared.c:61:25: branch_false: ...to here
librist-v0.2.7/redhat-linux-build/../tools/srp_shared.c:61:25: branch_false: following ‘false’ branch (when ‘reading != 0’)...
librist-v0.2.7/redhat-linux-build/../tools/srp_shared.c:70:27: branch_false: ...to here
librist-v0.2.7/redhat-linux-build/../tools/srp_shared.c:70:27: branch_true: following ‘true’ branch (when ‘reading == 1’)...
librist-v0.2.7/redhat-linux-build/../tools/srp_shared.c:72:28: branch_true: ...to here
librist-v0.2.7/redhat-linux-build/../tools/srp_shared.c:72:28: branch_false: following ‘false’ branch (when ‘read_verifier_len != 1024’)...
librist-v0.2.7/redhat-linux-build/../tools/srp_shared.c:74:38: branch_false: ...to here
librist-v0.2.7/redhat-linux-build/../tools/srp_shared.c:74:25: danger: ‘read_verifier + read_verifier_len’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING: [#def32]
librist-v0.2.7/src/eap.c: scope_hint: In function ‘eap_clone_ctx’
librist-v0.2.7/src/eap.c:536:47: warning[-Wcalloc-transposed-args]: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument
librist-v0.2.7/src/eap.c:536:47: note: earlier argument should specify number of elements, later size of each element
Error: COMPILER_WARNING: [#def33]
librist-v0.2.7/src/eap.c: scope_hint: In function ‘rist_enable_eap_srp’
librist-v0.2.7/src/eap.c:705:55: warning[-Wcalloc-transposed-args]: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument
librist-v0.2.7/src/eap.c:705:55: note: earlier argument should specify number of elements, later size of each element
Error: CPPCHECK_WARNING (CWE-476): [#def34]
librist-v0.2.7/src/eap.c:706: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ctx
Error: COMPILER_WARNING: [#def35]
librist-v0.2.7/src/eap.c:755:47: warning[-Wcalloc-transposed-args]: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument
librist-v0.2.7/src/eap.c:755:47: note: earlier argument should specify number of elements, later size of each element
Error: CPPCHECK_WARNING (CWE-476): [#def36]
librist-v0.2.7/src/flow.c:22: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: m
Error: CPPCHECK_WARNING (CWE-476): [#def37]
librist-v0.2.7/src/flow.c:23: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: m
Error: CPPCHECK_WARNING (CWE-476): [#def38]
librist-v0.2.7/src/flow.c:25: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: m
Error: CPPCHECK_WARNING (CWE-476): [#def39]
librist-v0.2.7/src/flow.c:26: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: m
Error: CPPCHECK_WARNING (CWE-476): [#def40]
librist-v0.2.7/src/flow.c:34: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: m
Error: COMPILER_WARNING: [#def41]
librist-v0.2.7/src/libevsocket.c: scope_hint: In function ‘rebuild_poll’
librist-v0.2.7/src/libevsocket.c:210:45: warning[-Wcalloc-transposed-args]: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument
librist-v0.2.7/src/libevsocket.c:210:45: note: earlier argument should specify number of elements, later size of each element
Error: CPPCHECK_WARNING (CWE-476): [#def42]
librist-v0.2.7/src/logging.c:232: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: settings
Error: CPPCHECK_WARNING (CWE-476): [#def43]
librist-v0.2.7/src/logging.c:238: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: settings
Error: CPPCHECK_WARNING (CWE-476): [#def44]
librist-v0.2.7/src/logging.c:239: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: settings
Error: CPPCHECK_WARNING (CWE-476): [#def45]
librist-v0.2.7/src/logging.c:240: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: settings
Error: CPPCHECK_WARNING (CWE-476): [#def46]
librist-v0.2.7/src/logging.c:241: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: settings
Error: CPPCHECK_WARNING (CWE-476): [#def47]
librist-v0.2.7/src/rist.c:752: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: output_udp_config
Error: CPPCHECK_WARNING (CWE-476): [#def48]
librist-v0.2.7/src/rist.c:753: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: output_udp_config
Error: CPPCHECK_WARNING (CWE-476): [#def49]
librist-v0.2.7/src/stats.c:31: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: stats_container
Error: CPPCHECK_WARNING (CWE-476): [#def50]
librist-v0.2.7/src/stats.c:32: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: stats_container
Error: CPPCHECK_WARNING (CWE-476): [#def51]
librist-v0.2.7/src/stats.c:88: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: stats_container
Error: CPPCHECK_WARNING (CWE-476): [#def52]
librist-v0.2.7/src/stats.c:89: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: stats_container
Error: CPPCHECK_WARNING (CWE-476): [#def53]
librist-v0.2.7/src/stats.c:90: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: stats_container
Error: CPPCHECK_WARNING (CWE-476): [#def54]
librist-v0.2.7/src/stats.c:91: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: stats_container
Error: CPPCHECK_WARNING (CWE-476): [#def55]
librist-v0.2.7/src/stats.c:92: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: stats_container
Error: CPPCHECK_WARNING (CWE-476): [#def56]
librist-v0.2.7/src/stats.c:93: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: stats_container
Error: CPPCHECK_WARNING (CWE-476): [#def57]
librist-v0.2.7/src/stats.c:94: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: stats_container
Error: CPPCHECK_WARNING (CWE-476): [#def58]
librist-v0.2.7/src/stats.c:95: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: stats_container
Error: CPPCHECK_WARNING (CWE-476): [#def59]
librist-v0.2.7/src/stats.c:96: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: stats_container
Error: CPPCHECK_WARNING (CWE-476): [#def60]
librist-v0.2.7/src/stats.c:97: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: stats_container
Error: CPPCHECK_WARNING (CWE-476): [#def61]
librist-v0.2.7/src/stats.c:98: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: stats_container
Error: CPPCHECK_WARNING (CWE-476): [#def62]
librist-v0.2.7/src/stats.c:99: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: stats_container
Error: CPPCHECK_WARNING (CWE-476): [#def63]
librist-v0.2.7/src/stats.c:124: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: stats_container
Error: CPPCHECK_WARNING (CWE-476): [#def64]
librist-v0.2.7/src/stats.c:125: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: stats_container
Error: CPPCHECK_WARNING (CWE-682): [#def65]
librist-v0.2.7/src/udp.c:188: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-476): [#def66]
librist-v0.2.7/test/rist/test_send_receive.c:155: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: url1
Error: CPPCHECK_WARNING (CWE-476): [#def67]
librist-v0.2.7/test/rist/test_send_receive.c:155: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: url2
Error: CPPCHECK_WARNING (CWE-476): [#def68]
librist-v0.2.7/tools/ristreceiver.c:132: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p_rtp
Error: CPPCHECK_WARNING (CWE-476): [#def69]
librist-v0.2.7/tools/ristreceiver.c:133: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p_rtp
Error: CPPCHECK_WARNING (CWE-476): [#def70]
librist-v0.2.7/tools/ristreceiver.c:134: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p_rtp
Error: CPPCHECK_WARNING (CWE-476): [#def71]
librist-v0.2.7/tools/ristreceiver.c:135: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p_rtp
Error: CPPCHECK_WARNING (CWE-476): [#def72]
librist-v0.2.7/tools/ristreceiver.c:136: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p_rtp
Error: CPPCHECK_WARNING (CWE-476): [#def73]
librist-v0.2.7/tools/ristreceiver.c:137: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p_rtp
Error: CPPCHECK_WARNING (CWE-476): [#def74]
librist-v0.2.7/tools/ristreceiver.c:138: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p_rtp
Error: CPPCHECK_WARNING (CWE-476): [#def75]
librist-v0.2.7/tools/ristreceiver.c:139: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p_rtp
Error: CPPCHECK_WARNING (CWE-476): [#def76]
librist-v0.2.7/tools/ristreceiver.c:140: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p_rtp
Error: CPPCHECK_WARNING (CWE-476): [#def77]
librist-v0.2.7/tools/ristreceiver.c:141: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p_rtp
Error: CPPCHECK_WARNING (CWE-476): [#def78]
librist-v0.2.7/tools/ristreceiver.c:142: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p_rtp
Error: CPPCHECK_WARNING (CWE-476): [#def79]
librist-v0.2.7/tools/ristreceiver.c:143: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p_rtp
Error: CPPCHECK_WARNING (CWE-682): [#def80]
librist-v0.2.7/tools/ristreceiver.c:213: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
Error: COMPILER_WARNING: [#def81]
librist-v0.2.7/tools/ristreceiver.c: scope_hint: In function ‘cb_stats’
librist-v0.2.7/tools/ristreceiver.c:390:46: warning[-Wcalloc-transposed-args]: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument
librist-v0.2.7/tools/ristreceiver.c:390:46: note: earlier argument should specify number of elements, later size of each element
Error: CPPCHECK_WARNING (CWE-476): [#def82]
librist-v0.2.7/tools/ristreceiver.c:391: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: stats
Error: CPPCHECK_WARNING (CWE-476): [#def83]
librist-v0.2.7/tools/ristreceiver.c:394: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: stats
Error: CPPCHECK_WARNING (CWE-476): [#def84]
librist-v0.2.7/tools/ristreceiver.c:395: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: stats
Error: CPPCHECK_WARNING (CWE-476): [#def85]
librist-v0.2.7/tools/ristreceiver.c:396: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: stats
Error: CPPCHECK_WARNING (CWE-476): [#def86]
librist-v0.2.7/tools/ristreceiver.c:400: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: stats
Error: CPPCHECK_WARNING (CWE-476): [#def87]
librist-v0.2.7/tools/ristsender.c:582: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: tmpoutputurl
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-210.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 | librist-0.2.7-9.fc43 |
store-results-to | /tmp/tmphbt8nppg/librist-0.2.7-9.fc43.tar.xz |
time-created | 2025-04-25 14:06:15 |
time-finished | 2025-04-25 14:07:38 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmphbt8nppg/librist-0.2.7-9.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmphbt8nppg/librist-0.2.7-9.fc43.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |