ppp-2.5.1-5.fc43
List of Findings
Error: SHELLCHECK_WARNING: [#def1]
/etc/ppp/ip-down.ipv6to4:35:9: warning[SC3004]: In POSIX sh, $".." is undefined.
Error: SHELLCHECK_WARNING (CWE-252): [#def2]
/etc/ppp/ip-down.ipv6to4:43:1: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-477): [#def3]
/etc/ppp/ip-down.ipv6to4:66:14: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-477): [#def4]
/etc/ppp/ip-down.ipv6to4:73:13: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
Error: SHELLCHECK_WARNING: [#def5]
/etc/ppp/ip-up.ipv6to4:41:7: warning[SC3004]: In POSIX sh, $".." is undefined.
Error: SHELLCHECK_WARNING (CWE-252): [#def6]
/etc/ppp/ip-up.ipv6to4:49:1: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING: [#def7]
/etc/ppp/ip-up.ipv6to4:87:26: warning[SC3004]: In POSIX sh, $".." is undefined.
Error: SHELLCHECK_WARNING: [#def8]
/etc/ppp/ip-up.ipv6to4:91:11: warning[SC3004]: In POSIX sh, $".." is undefined.
Error: SHELLCHECK_WARNING: [#def9]
/etc/ppp/ip-up.ipv6to4:118:14: warning[SC3007]: In POSIX sh, $[..] in place of $((..)) is undefined.
Error: SHELLCHECK_WARNING: [#def10]
/etc/ppp/ip-up.ipv6to4:123:13: warning[SC3004]: In POSIX sh, $".." is undefined.
Error: SHELLCHECK_WARNING: [#def11]
/etc/ppp/ip-up.ipv6to4:138:13: warning[SC3004]: In POSIX sh, $".." is undefined.
Error: SHELLCHECK_WARNING (CWE-563): [#def12]
/etc/ppp/ip-up.ipv6to4:145:79: warning[SC2034]: device appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING: [#def13]
/etc/ppp/ip-up.ipv6to4:186:14: warning[SC3004]: In POSIX sh, $".." is undefined.
Error: SHELLCHECK_WARNING: [#def14]
/etc/ppp/ip-up.ipv6to4:189:13: warning[SC3004]: In POSIX sh, $".." is undefined.
Error: SHELLCHECK_WARNING (CWE-252): [#def15]
/etc/ppp/ipv6-down.initscripts:36:1: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING: [#def16]
/etc/ppp/ipv6-down.initscripts:45:1: warning[SC3010]: In POSIX sh, [[ ]] is undefined.
Error: SHELLCHECK_WARNING (CWE-477): [#def17]
/etc/ppp/ipv6-down.initscripts:55:14: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-563): [#def18]
/etc/ppp/ipv6-down.initscripts:84:80: warning[SC2034]: device appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-252): [#def19]
/etc/ppp/ipv6-up.initscripts:30:1: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-477): [#def20]
/etc/ppp/ipv6-up.initscripts:50:14: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: COMPILER_WARNING (CWE-563): [#def21]
ppp-ppp-2.5.1/chat/chat.c: scope_hint: In function ‘main’
ppp-ppp-2.5.1/chat/chat.c:154:63: warning[-Wunused-value]: value computed is not used
ppp-ppp-2.5.1/chat/chat.c:291:22: note: in expansion of macro ‘OPTION’
Error: CPPCHECK_WARNING (CWE-476): [#def22]
ppp-ppp-2.5.1/chat/chat.c:254: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ans
Error: CPPCHECK_WARNING (CWE-476): [#def23]
ppp-ppp-2.5.1/chat/chat.c:421: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: cfp
Error: COMPILER_WARNING (CWE-563): [#def24]
ppp-ppp-2.5.1/chat/chat.c: scope_hint: In function ‘sigalrm’
ppp-ppp-2.5.1/chat/chat.c:528:9: warning[-Wunused-variable]: unused variable ‘flags’
Error: CPPCHECK_WARNING (CWE-476): [#def25]
ppp-ppp-2.5.1/chat/chat.c:1183: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: f
Error: CPPCHECK_WARNING (CWE-476): [#def26]
ppp-ppp-2.5.1/chat/chat.c:1190: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: f
Error: GCC_ANALYZER_WARNING (CWE-685): [#def27]
ppp-ppp-2.5.1/chat/chat.c:1624:13: warning[-Wanalyzer-va-list-exhausted]: ‘args’ has no more arguments (0 consumed)
ppp-ppp-2.5.1/chat/chat.c:908:6: enter_function: entry to ‘chat_expect’
ppp-ppp-2.5.1/chat/chat.c:923:8: branch_false: following ‘false’ branch (when the strings are non-equal)...
ppp-ppp-2.5.1/chat/chat.c:928:9: branch_false: ...to here
ppp-ppp-2.5.1/chat/chat.c:928:8: branch_false: following ‘false’ branch (when the strings are non-equal)...
ppp-ppp-2.5.1/chat/chat.c:933:9: branch_false: ...to here
ppp-ppp-2.5.1/chat/chat.c:933:8: branch_false: following ‘false’ branch (when the strings are non-equal)...
ppp-ppp-2.5.1/chat/chat.c:938:9: branch_false: ...to here
ppp-ppp-2.5.1/chat/chat.c:938:8: branch_false: following ‘false’ branch (when the strings are non-equal)...
ppp-ppp-2.5.1/chat/chat.c:943:9: branch_false: ...to here
ppp-ppp-2.5.1/chat/chat.c:943:8: branch_false: following ‘false’ branch (when the strings are non-equal)...
ppp-ppp-2.5.1/chat/chat.c:948:9: branch_false: ...to here
ppp-ppp-2.5.1/chat/chat.c:948:8: branch_false: following ‘false’ branch (when the strings are non-equal)...
branch_false: ...to here
ppp-ppp-2.5.1/chat/chat.c:957:18: call_function: calling ‘expect_strtok’ from ‘chat_expect’
ppp-ppp-2.5.1/chat/chat.c:957:18: return_function: returning to ‘chat_expect’ from ‘expect_strtok’
ppp-ppp-2.5.1/chat/chat.c:960:12: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/chat/chat.c:963:17: branch_false: ...to here
ppp-ppp-2.5.1/chat/chat.c:963:17: call_function: calling ‘expect_strtok’ from ‘chat_expect’
ppp-ppp-2.5.1/chat/chat.c:963:17: return_function: returning to ‘chat_expect’ from ‘expect_strtok’
ppp-ppp-2.5.1/chat/chat.c:968:13: call_function: calling ‘get_string’ from ‘chat_expect’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def28]
ppp-ppp-2.5.1/contrib/pppgetpass/pppgetpass.vt.c:36:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/console", 2)’
ppp-ppp-2.5.1/contrib/pppgetpass/pppgetpass.vt.c:30:11: acquire_resource: opened here
ppp-ppp-2.5.1/contrib/pppgetpass/pppgetpass.vt.c:36:3: danger: ‘open("/dev/console", 2)’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING: [#def29]
ppp-ppp-2.5.1/ppp-watch/ppp-watch.c:247:5: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘open("/dev/null", 0)’
ppp-ppp-2.5.1/ppp-watch/ppp-watch.c:121:8: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/ppp-watch/ppp-watch.c:124:16: branch_false: ...to here
ppp-ppp-2.5.1/ppp-watch/ppp-watch.c:125:8: branch_false: following ‘false’ branch (when ‘childpid != -1’)...
ppp-ppp-2.5.1/ppp-watch/ppp-watch.c:128:8: branch_false: ...to here
ppp-ppp-2.5.1/ppp-watch/ppp-watch.c:128:8: branch_false: following ‘false’ branch (when ‘childpid == 0’)...
ppp-ppp-2.5.1/ppp-watch/ppp-watch.c:240:5: branch_false: ...to here
ppp-ppp-2.5.1/ppp-watch/ppp-watch.c:246:10: acquire_resource: opened here
ppp-ppp-2.5.1/ppp-watch/ppp-watch.c:247:5: danger: ‘open("/dev/null", 0)’ could be invalid: unchecked value from [(8)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING: [#def30]
ppp-ppp-2.5.1/ppp-watch/ppp-watch.c:251:5: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘open("/dev/null", 1)’
ppp-ppp-2.5.1/ppp-watch/ppp-watch.c:121:8: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/ppp-watch/ppp-watch.c:124:16: branch_false: ...to here
ppp-ppp-2.5.1/ppp-watch/ppp-watch.c:125:8: branch_false: following ‘false’ branch (when ‘childpid != -1’)...
ppp-ppp-2.5.1/ppp-watch/ppp-watch.c:128:8: branch_false: ...to here
ppp-ppp-2.5.1/ppp-watch/ppp-watch.c:128:8: branch_false: following ‘false’ branch (when ‘childpid == 0’)...
ppp-ppp-2.5.1/ppp-watch/ppp-watch.c:240:5: branch_false: ...to here
ppp-ppp-2.5.1/ppp-watch/ppp-watch.c:250:10: acquire_resource: opened here
ppp-ppp-2.5.1/ppp-watch/ppp-watch.c:251:5: danger: ‘open("/dev/null", 1)’ could be invalid: unchecked value from [(8)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING: [#def31]
ppp-ppp-2.5.1/ppp-watch/ppp-watch.c:252:5: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘open("/dev/null", 1)’
ppp-ppp-2.5.1/ppp-watch/ppp-watch.c:121:8: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/ppp-watch/ppp-watch.c:124:16: branch_false: ...to here
ppp-ppp-2.5.1/ppp-watch/ppp-watch.c:125:8: branch_false: following ‘false’ branch (when ‘childpid != -1’)...
ppp-ppp-2.5.1/ppp-watch/ppp-watch.c:128:8: branch_false: ...to here
ppp-ppp-2.5.1/ppp-watch/ppp-watch.c:128:8: branch_false: following ‘false’ branch (when ‘childpid == 0’)...
ppp-ppp-2.5.1/ppp-watch/ppp-watch.c:240:5: branch_false: ...to here
ppp-ppp-2.5.1/ppp-watch/ppp-watch.c:250:10: acquire_resource: opened here
ppp-ppp-2.5.1/ppp-watch/ppp-watch.c:252:5: danger: ‘open("/dev/null", 1)’ could be invalid: unchecked value from [(8)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/7)
Error: COMPILER_WARNING (CWE-252): [#def32]
ppp-ppp-2.5.1/ppp-watch/ppp-watch.c: scope_hint: In function ‘doPidFile’
ppp-ppp-2.5.1/ppp-watch/ppp-watch.c:302:17: warning[-Wunused-result]: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def33]
ppp-ppp-2.5.1/ppp-watch/ppp-watch.c: scope_hint: In function ‘relay_exitcode’
ppp-ppp-2.5.1/ppp-watch/ppp-watch.c:378:5: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def34]
ppp-ppp-2.5.1/ppp-watch/ppp-watch.c: scope_hint: In function ‘hangup’
ppp-ppp-2.5.1/ppp-watch/ppp-watch.c:544:13: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def35]
ppp-ppp-2.5.1/ppp-watch/shvar.c:361:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘f’ where non-null expected
ppp-ppp-2.5.1/ppp-watch/shvar.c:351:8: branch_true: following ‘true’ branch...
ppp-ppp-2.5.1/ppp-watch/shvar.c:352:13: branch_true: ...to here
ppp-ppp-2.5.1/ppp-watch/shvar.c:354:12: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/ppp-watch/shvar.c:356:13: branch_false: ...to here
ppp-ppp-2.5.1/ppp-watch/shvar.c:356:12: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/ppp-watch/shvar.c:359:17: branch_false: ...to here
ppp-ppp-2.5.1/ppp-watch/shvar.c:360:13: acquire_memory: this call could return NULL
ppp-ppp-2.5.1/ppp-watch/shvar.c:361:9: danger: argument 1 (‘f’) from [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6) could be NULL where non-null expected
Error: CPPCHECK_WARNING (CWE-476): [#def36]
ppp-ppp-2.5.1/pppd/auth.c:532: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: fname
Error: CPPCHECK_WARNING (CWE-682): [#def37]
ppp-ppp-2.5.1/pppd/auth.c:613: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-476): [#def38]
ppp-ppp-2.5.1/pppd/auth.c:613: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: wp
Error: CPPCHECK_WARNING (CWE-476): [#def39]
ppp-ppp-2.5.1/pppd/auth.c:614: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: wp
Error: CPPCHECK_WARNING (CWE-476): [#def40]
ppp-ppp-2.5.1/pppd/auth.c:615: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: wp
Error: CPPCHECK_WARNING (CWE-682): [#def41]
ppp-ppp-2.5.1/pppd/auth.c:634: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-476): [#def42]
ppp-ppp-2.5.1/pppd/auth.c:634: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: wp
Error: CPPCHECK_WARNING (CWE-476): [#def43]
ppp-ppp-2.5.1/pppd/auth.c:635: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: wp
Error: CPPCHECK_WARNING (CWE-476): [#def44]
ppp-ppp-2.5.1/pppd/auth.c:636: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: wp
Error: CPPCHECK_WARNING (CWE-682): [#def45]
ppp-ppp-2.5.1/pppd/auth.c:2338: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-476): [#def46]
ppp-ppp-2.5.1/pppd/auth.c:2338: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ap
Error: GCC_ANALYZER_WARNING (CWE-476): [#def47]
ppp-ppp-2.5.1/pppd/auth.c:2338:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ap’
ppp-ppp-2.5.1/pppd/auth.c:2241:8: branch_false: following ‘false’ branch (when ‘addrs’ is NULL)...
ppp-ppp-2.5.1/pppd/auth.c:2243:8: branch_false: ...to here
ppp-ppp-2.5.1/pppd/auth.c:2243:8: branch_false: following ‘false’ branch (when ‘opts’ is NULL)...
ppp-ppp-2.5.1/pppd/auth.c:2245:5: branch_false: ...to here
ppp-ppp-2.5.1/pppd/auth.c:2246:8: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/auth.c:2248:5: branch_false: ...to here
ppp-ppp-2.5.1/pppd/auth.c:2254:16: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/auth.c:2256:13: branch_false: ...to here
ppp-ppp-2.5.1/pppd/auth.c:2256:12: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/auth.c:2263:12: branch_false: ...to here
ppp-ppp-2.5.1/pppd/auth.c:2273:12: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/auth.c:2275:13: branch_false: ...to here
ppp-ppp-2.5.1/pppd/auth.c:2275:12: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/auth.c:2277:14: branch_false: ...to here
ppp-ppp-2.5.1/pppd/auth.c:2287:12: branch_false: following ‘false’ branch (when ‘got_flag > best_flag’)...
ppp-ppp-2.5.1/pppd/auth.c:2293:14: branch_false: ...to here
ppp-ppp-2.5.1/pppd/auth.c:2293:12: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/auth.c:2295:13: branch_false: ...to here
ppp-ppp-2.5.1/pppd/auth.c:2295:12: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/auth.c:2302:12: branch_false: ...to here
ppp-ppp-2.5.1/pppd/auth.c:2332:16: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/auth.c:2335:21: acquire_memory: allocated here
ppp-ppp-2.5.1/pppd/auth.c:2336:16: release_memory: assuming ‘ap’ is NULL
ppp-ppp-2.5.1/pppd/auth.c:2336:16: branch_true: following ‘true’ branch (when ‘ap’ is NULL)...
ppp-ppp-2.5.1/pppd/auth.c:2337:17: branch_true: ...to here
ppp-ppp-2.5.1/pppd/auth.c:2338:13: danger: dereference of NULL ‘ap’
Error: CPPCHECK_WARNING (CWE-476): [#def48]
ppp-ppp-2.5.1/pppd/auth.c:2339: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ap
Error: CPPCHECK_WARNING (CWE-682): [#def49]
ppp-ppp-2.5.1/pppd/auth.c:2676: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-476): [#def50]
ppp-ppp-2.5.1/pppd/auth.c:2676: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ap
Error: GCC_ANALYZER_WARNING (CWE-476): [#def51]
ppp-ppp-2.5.1/pppd/auth.c:2676:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ap’
ppp-ppp-2.5.1/pppd/auth.c:2574:8: branch_false: following ‘false’ branch (when ‘addrs’ is NULL)...
ppp-ppp-2.5.1/pppd/auth.c:2576:8: branch_false: ...to here
ppp-ppp-2.5.1/pppd/auth.c:2576:8: branch_false: following ‘false’ branch (when ‘opts’ is NULL)...
ppp-ppp-2.5.1/pppd/auth.c:2578:5: branch_false: ...to here
ppp-ppp-2.5.1/pppd/auth.c:2579:8: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/auth.c:2581:5: branch_false: ...to here
ppp-ppp-2.5.1/pppd/auth.c:2587:16: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/auth.c:2588:13: branch_false: ...to here
ppp-ppp-2.5.1/pppd/auth.c:2588:12: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/auth.c:2595:12: branch_false: ...to here
ppp-ppp-2.5.1/pppd/auth.c:2605:12: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/auth.c:2607:13: branch_false: ...to here
ppp-ppp-2.5.1/pppd/auth.c:2607:12: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/auth.c:2609:14: branch_false: ...to here
ppp-ppp-2.5.1/pppd/auth.c:2619:12: branch_false: following ‘false’ branch (when ‘got_flag > best_flag’)...
ppp-ppp-2.5.1/pppd/auth.c:2625:14: branch_false: ...to here
ppp-ppp-2.5.1/pppd/auth.c:2625:12: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/auth.c:2627:13: branch_false: ...to here
ppp-ppp-2.5.1/pppd/auth.c:2627:12: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/auth.c:2629:13: branch_false: ...to here
ppp-ppp-2.5.1/pppd/auth.c:2637:12: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/auth.c:2639:13: branch_false: ...to here
ppp-ppp-2.5.1/pppd/auth.c:2639:12: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/auth.c:2641:13: branch_false: ...to here
ppp-ppp-2.5.1/pppd/auth.c:2649:12: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/auth.c:2651:13: branch_false: ...to here
ppp-ppp-2.5.1/pppd/auth.c:2651:12: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/auth.c:2653:9: branch_false: ...to here
ppp-ppp-2.5.1/pppd/auth.c:2658:12: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/auth.c:2660:13: branch_false: ...to here
ppp-ppp-2.5.1/pppd/auth.c:2660:12: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/auth.c:2662:9: branch_false: ...to here
ppp-ppp-2.5.1/pppd/auth.c:2670:16: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/auth.c:2673:17: acquire_memory: allocated here
ppp-ppp-2.5.1/pppd/auth.c:2674:16: release_memory: assuming ‘ap’ is NULL
ppp-ppp-2.5.1/pppd/auth.c:2674:16: branch_true: following ‘true’ branch (when ‘ap’ is NULL)...
ppp-ppp-2.5.1/pppd/auth.c:2675:17: branch_true: ...to here
ppp-ppp-2.5.1/pppd/auth.c:2676:13: danger: dereference of NULL ‘ap’
Error: CPPCHECK_WARNING (CWE-476): [#def52]
ppp-ppp-2.5.1/pppd/auth.c:2677: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ap
Error: COMPILER_WARNING (CWE-563): [#def53]
ppp-ppp-2.5.1/pppd/cbcp.c: scope_hint: In function ‘cbcp_printpkt’
ppp-ppp-2.5.1/pppd/cbcp.c:270:21: warning[-Wunused-but-set-variable]: variable ‘addrt’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def54]
ppp-ppp-2.5.1/pppd/cbcp.c:298:27: warning[-Wunused-but-set-variable]: variable ‘delay’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def55]
ppp-ppp-2.5.1/pppd/cbcp.c: scope_hint: In function ‘cbcp_recvreq’
ppp-ppp-2.5.1/pppd/cbcp.c:298:34: warning[-Wunused-but-set-variable]: variable ‘addr_type’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def56]
ppp-ppp-2.5.1/pppd/cbcp.c:431:18: warning[-Wunused-but-set-variable]: variable ‘delay’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def57]
ppp-ppp-2.5.1/pppd/cbcp.c: scope_hint: In function ‘cbcp_recvack’
ppp-ppp-2.5.1/pppd/cbcp.c:431:25: warning[-Wunused-but-set-variable]: variable ‘addr_type’ set but not used
Error: COMPILER_WARNING (CWE-681): [#def58]
ppp-ppp-2.5.1/pppd/chap-md5.c: scope_hint: In function ‘chap_md5_make_response’
ppp-ppp-2.5.1/pppd/chap-md5.c:127:88: warning[-Wpointer-sign]: pointer targets in passing argument 3 of ‘PPP_DigestFinal’ differ in signedness
ppp-ppp-2.5.1/pppd/chap-md5.c:43: included_from: Included from here.
ppp-ppp-2.5.1/pppd/crypto.h:96:43: note: expected ‘unsigned int *’ but argument is of type ‘int *’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def59]
ppp-ppp-2.5.1/pppd/chap.c:431:57: warning[-Wanalyzer-null-argument]: use of NULL ‘name’ where non-null expected
ppp-ppp-2.5.1/pppd/chap.c:347:12: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/chap.c:349:19: branch_false: ...to here
ppp-ppp-2.5.1/pppd/chap.c:349:12: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/chap.c:351:12: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/chap.c:391:20: branch_false: ...to here
ppp-ppp-2.5.1/pppd/chap.c:391:19: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/chap.c:396:9: branch_false: ...to here
ppp-ppp-2.5.1/pppd/chap.c:407:12: branch_true: following ‘true’ branch...
ppp-ppp-2.5.1/pppd/chap.c:408:27: branch_true: ...to here
ppp-ppp-2.5.1/pppd/chap.c:425:20: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/chap.c:428:29: branch_false: ...to here
ppp-ppp-2.5.1/pppd/chap.c:428:28: branch_true: following ‘true’ branch...
ppp-ppp-2.5.1/pppd/chap.c:431:57: branch_true: ...to here
ppp-ppp-2.5.1/pppd/chap.c:431:57: danger: argument 1 (‘name’) NULL where non-null expected
Error: COMPILER_WARNING (CWE-563): [#def60]
ppp-ppp-2.5.1/pppd/chap_ms.c: scope_hint: In function ‘ChallengeResponse’
ppp-ppp-2.5.1/pppd/chap_ms.c:513:21: warning[-Wunused-variable]: unused variable ‘ctx’
Error: COMPILER_WARNING (CWE-681): [#def61]
ppp-ppp-2.5.1/pppd/chap_ms.c: scope_hint: In function ‘ChallengeHash’
ppp-ppp-2.5.1/pppd/chap_ms.c:562:56: warning[-Wpointer-sign]: pointer targets in passing argument 3 of ‘PPP_DigestFinal’ differ in signedness
ppp-ppp-2.5.1/pppd/chap_ms.c:102: included_from: Included from here.
ppp-ppp-2.5.1/pppd/crypto.h:96:43: note: expected ‘unsigned int *’ but argument is of type ‘int *’
Error: COMPILER_WARNING (CWE-681): [#def62]
ppp-ppp-2.5.1/pppd/chap_ms.c: scope_hint: In function ‘NTPasswordHash’
ppp-ppp-2.5.1/pppd/chap_ms.c:603:44: warning[-Wpointer-sign]: pointer targets in passing argument 3 of ‘PPP_DigestFinal’ differ in signedness
ppp-ppp-2.5.1/pppd/crypto.h:96:43: note: expected ‘unsigned int *’ but argument is of type ‘int *’
Error: COMPILER_WARNING (CWE-681): [#def63]
ppp-ppp-2.5.1/pppd/chap_ms.c: scope_hint: In function ‘GenerateAuthenticatorResponse’
ppp-ppp-2.5.1/pppd/chap_ms.c:706:54: warning[-Wpointer-sign]: pointer targets in passing argument 3 of ‘PPP_DigestFinal’ differ in signedness
ppp-ppp-2.5.1/pppd/crypto.h:96:43: note: expected ‘unsigned int *’ but argument is of type ‘int *’
Error: COMPILER_WARNING (CWE-681): [#def64]
ppp-ppp-2.5.1/pppd/chap_ms.c:728:54: warning[-Wpointer-sign]: pointer targets in passing argument 3 of ‘PPP_DigestFinal’ differ in signedness
ppp-ppp-2.5.1/pppd/crypto.h:96:43: note: expected ‘unsigned int *’ but argument is of type ‘int *’
Error: COMPILER_WARNING: [#def65]
ppp-ppp-2.5.1/pppd/chap_ms.c: scope_hint: At top level
ppp-ppp-2.5.1/pppd/chap_ms.c:842:16: warning[-Warray-parameter=]: argument 7 of type ‘u_char[]’ {aka ‘unsigned char[]’} with mismatched bound
ppp-ppp-2.5.1/pppd/chap_ms.c:99: included_from: Included from here.
ppp-ppp-2.5.1/pppd/chap_ms.h:83:25: note: previously declared as ‘u_char[41]’ {aka ‘unsigned char[41]’}
Error: COMPILER_WARNING (CWE-681): [#def66]
ppp-ppp-2.5.1/pppd/crypto_ms.c: scope_hint: In function ‘DesEncrypt’
ppp-ppp-2.5.1/pppd/crypto_ms.c:139:47: warning[-Wpointer-sign]: pointer targets in passing argument 3 of ‘PPP_CipherUpdate’ differ in signedness
ppp-ppp-2.5.1/pppd/crypto_ms.c:41: included_from: Included from here.
ppp-ppp-2.5.1/pppd/crypto.h:140:34: note: expected ‘int *’ but argument is of type ‘unsigned int *’
Error: COMPILER_WARNING (CWE-681): [#def67]
ppp-ppp-2.5.1/pppd/crypto_ms.c:141:57: warning[-Wpointer-sign]: pointer targets in passing argument 3 of ‘PPP_CipherFinal’ differ in signedness
ppp-ppp-2.5.1/pppd/crypto.h:147:34: note: expected ‘int *’ but argument is of type ‘unsigned int *’
Error: COMPILER_WARNING (CWE-681): [#def68]
ppp-ppp-2.5.1/pppd/crypto_ms.c: scope_hint: In function ‘DesDecrypt’
ppp-ppp-2.5.1/pppd/crypto_ms.c:168:46: warning[-Wpointer-sign]: pointer targets in passing argument 3 of ‘PPP_CipherUpdate’ differ in signedness
ppp-ppp-2.5.1/pppd/crypto.h:140:34: note: expected ‘int *’ but argument is of type ‘unsigned int *’
Error: COMPILER_WARNING (CWE-681): [#def69]
ppp-ppp-2.5.1/pppd/crypto_ms.c:170:56: warning[-Wpointer-sign]: pointer targets in passing argument 3 of ‘PPP_CipherFinal’ differ in signedness
ppp-ppp-2.5.1/pppd/crypto.h:147:34: note: expected ‘int *’ but argument is of type ‘unsigned int *’
Error: COMPILER_WARNING (CWE-563): [#def70]
ppp-ppp-2.5.1/pppd/eap-tls.c: scope_hint: In function ‘eaptls_gen_mppe_keys’
ppp-ppp-2.5.1/pppd/eap-tls.c:102:20: warning[-Wunused-variable]: unused variable ‘p’
Error: COMPILER_WARNING (CWE-563): [#def71]
ppp-ppp-2.5.1/pppd/eap-tls.c: scope_hint: In function ‘eaptls_init_ssl’
ppp-ppp-2.5.1/pppd/eap-tls.c:273:18: warning[-Wunused-variable]: unused variable ‘reason’
Error: CPPCHECK_WARNING (CWE-476): [#def72]
ppp-ppp-2.5.1/pppd/eap-tls.c:741: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ets
Error: COMPILER_WARNING (CWE-681): [#def73]
ppp-ppp-2.5.1/pppd/eap.c: scope_hint: In function ‘eap_request’
ppp-ppp-2.5.1/pppd/eap.c:1820:90: warning[-Wpointer-sign]: pointer targets in passing argument 3 of ‘PPP_DigestFinal’ differ in signedness
ppp-ppp-2.5.1/pppd/eap.c:69: included_from: Included from here.
ppp-ppp-2.5.1/pppd/crypto.h:96:43: note: expected ‘unsigned int *’ but argument is of type ‘int *’
Error: GCC_ANALYZER_WARNING (CWE-122): [#def74]
ppp-ppp-2.5.1/pppd/eap.c:2392:17: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
ppp-ppp-2.5.1/pppd/eap.c:2927:1: enter_function: entry to ‘eap_input’
ppp-ppp-2.5.1/pppd/eap.c:2937:12: branch_false: following ‘false’ branch (when ‘inlen > 3’)...
ppp-ppp-2.5.1/pppd/eap.c:2941:9: branch_false: ...to here
ppp-ppp-2.5.1/pppd/eap.c:2944:12: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/eap.c:2949:9: branch_false: ...to here
ppp-ppp-2.5.1/pppd/eap.c:2958:17: call_function: calling ‘eap_response’ from ‘eap_input’
Error: COMPILER_WARNING (CWE-681): [#def75]
ppp-ppp-2.5.1/pppd/eap.c: scope_hint: In function ‘eap_response’
ppp-ppp-2.5.1/pppd/eap.c:2583:90: warning[-Wpointer-sign]: pointer targets in passing argument 3 of ‘PPP_DigestFinal’ differ in signedness
ppp-ppp-2.5.1/pppd/crypto.h:96:43: note: expected ‘unsigned int *’ but argument is of type ‘int *’
Error: COMPILER_WARNING (CWE-563): [#def76]
ppp-ppp-2.5.1/pppd/eap.c: scope_hint: In function ‘eap_printpkt’
ppp-ppp-2.5.1/pppd/eap.c:2999:19: warning[-Wunused-variable]: unused variable ‘uval’
Error: COMPILER_WARNING (CWE-1023): [#def77]
ppp-ppp-2.5.1/pppd/main.c:1258:5: warning[-Wswitch]: enumeration value ‘PHASE_AUTHENTICATE’ not handled in switch
Error: COMPILER_WARNING (CWE-1023): [#def78]
ppp-ppp-2.5.1/pppd/main.c:1258:5: warning[-Wswitch]: enumeration value ‘PHASE_CALLBACK’ not handled in switch
Error: COMPILER_WARNING (CWE-1023): [#def79]
ppp-ppp-2.5.1/pppd/main.c: scope_hint: In function ‘new_phase’
ppp-ppp-2.5.1/pppd/main.c:1258:5: warning[-Wswitch]: enumeration value ‘PHASE_DEAD’ not handled in switch
Error: COMPILER_WARNING (CWE-1023): [#def80]
ppp-ppp-2.5.1/pppd/main.c:1258:5: warning[-Wswitch]: enumeration value ‘PHASE_DORMANT’ not handled in switch
Error: COMPILER_WARNING (CWE-1023): [#def81]
ppp-ppp-2.5.1/pppd/main.c:1258:5: warning[-Wswitch]: enumeration value ‘PHASE_ESTABLISH’ not handled in switch
Error: COMPILER_WARNING (CWE-1023): [#def82]
ppp-ppp-2.5.1/pppd/main.c:1258:5: warning[-Wswitch]: enumeration value ‘PHASE_HOLDOFF’ not handled in switch
Error: COMPILER_WARNING (CWE-1023): [#def83]
ppp-ppp-2.5.1/pppd/main.c:1258:5: warning[-Wswitch]: enumeration value ‘PHASE_INITIALIZE’ not handled in switch
Error: COMPILER_WARNING (CWE-1023): [#def84]
ppp-ppp-2.5.1/pppd/main.c:1258:5: warning[-Wswitch]: enumeration value ‘PHASE_MASTER’ not handled in switch
Error: COMPILER_WARNING (CWE-1023): [#def85]
ppp-ppp-2.5.1/pppd/main.c:1258:5: warning[-Wswitch]: enumeration value ‘PHASE_RUNNING’ not handled in switch
Error: COMPILER_WARNING (CWE-1023): [#def86]
ppp-ppp-2.5.1/pppd/main.c:1258:5: warning[-Wswitch]: enumeration value ‘PHASE_SERIALCONN’ not handled in switch
Error: COMPILER_WARNING (CWE-1023): [#def87]
ppp-ppp-2.5.1/pppd/main.c:1258:5: warning[-Wswitch]: enumeration value ‘PHASE_TERMINATE’ not handled in switch
Error: GCC_ANALYZER_WARNING (CWE-476): [#def88]
ppp-ppp-2.5.1/pppd/main.c:1415:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘newp’
ppp-ppp-2.5.1/pppd/main.c:1413:36: acquire_memory: allocated here
ppp-ppp-2.5.1/pppd/main.c:1413:8: release_memory: assuming ‘newp’ is NULL
ppp-ppp-2.5.1/pppd/main.c:1413:8: branch_true: following ‘true’ branch (when ‘newp’ is NULL)...
ppp-ppp-2.5.1/pppd/main.c:1414:9: branch_true: ...to here
ppp-ppp-2.5.1/pppd/main.c:1415:5: danger: dereference of NULL ‘newp’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def89]
ppp-ppp-2.5.1/pppd/main.c:1698:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘infd’
ppp-ppp-2.5.1/pppd/main.c:1693:12: branch_true: following ‘true’ branch...
ppp-ppp-2.5.1/pppd/main.c:1694:29: branch_true: ...to here
ppp-ppp-2.5.1/pppd/main.c:1696:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
ppp-ppp-2.5.1/pppd/main.c:1700:12: branch_false: ...to here
ppp-ppp-2.5.1/pppd/main.c:1700:12: branch_false: following ‘false’ branch (when ‘pid == 0’)...
ppp-ppp-2.5.1/pppd/main.c:1710:9: branch_false: ...to here
ppp-ppp-2.5.1/pppd/main.c:1717:12: branch_true: following ‘true’ branch...
ppp-ppp-2.5.1/pppd/main.c:1718:24: branch_true: ...to here
ppp-ppp-2.5.1/pppd/main.c:1718:24: acquire_resource: opened here
ppp-ppp-2.5.1/pppd/main.c:1721:12: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/main.c:1724:9: branch_false: ...to here
ppp-ppp-2.5.1/pppd/main.c:1742:12: branch_false: following ‘false’ branch (when ‘infd == 0’)...
ppp-ppp-2.5.1/pppd/main.c:1744:12: branch_false: ...to here
ppp-ppp-2.5.1/pppd/main.c:1744:12: branch_false: following ‘false’ branch (when ‘outfd == 1’)...
ppp-ppp-2.5.1/pppd/main.c:1746:12: branch_false: ...to here
ppp-ppp-2.5.1/pppd/main.c:1746:12: branch_false: following ‘false’ branch (when ‘errfd == 2’)...
ppp-ppp-2.5.1/pppd/main.c:1749:9: branch_false: ...to here
ppp-ppp-2.5.1/pppd/main.c:1698:24: danger: ‘infd’ leaks here; was opened at [(10)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def90]
ppp-ppp-2.5.1/pppd/main.c:1698:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘outfd’
ppp-ppp-2.5.1/pppd/main.c:1693:12: branch_true: following ‘true’ branch...
ppp-ppp-2.5.1/pppd/main.c:1694:29: branch_true: ...to here
ppp-ppp-2.5.1/pppd/main.c:1696:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
ppp-ppp-2.5.1/pppd/main.c:1700:12: branch_false: ...to here
ppp-ppp-2.5.1/pppd/main.c:1700:12: branch_false: following ‘false’ branch (when ‘pid == 0’)...
ppp-ppp-2.5.1/pppd/main.c:1710:9: branch_false: ...to here
ppp-ppp-2.5.1/pppd/main.c:1719:12: branch_true: following ‘true’ branch...
ppp-ppp-2.5.1/pppd/main.c:1720:25: branch_true: ...to here
ppp-ppp-2.5.1/pppd/main.c:1720:25: acquire_resource: opened here
ppp-ppp-2.5.1/pppd/main.c:1721:12: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/main.c:1724:9: branch_false: ...to here
ppp-ppp-2.5.1/pppd/main.c:1742:12: branch_false: following ‘false’ branch (when ‘infd == 0’)...
ppp-ppp-2.5.1/pppd/main.c:1744:12: branch_false: ...to here
ppp-ppp-2.5.1/pppd/main.c:1744:12: branch_false: following ‘false’ branch (when ‘outfd == 1’)...
ppp-ppp-2.5.1/pppd/main.c:1746:12: branch_false: ...to here
ppp-ppp-2.5.1/pppd/main.c:1746:12: branch_false: following ‘false’ branch (when ‘errfd == 2’)...
ppp-ppp-2.5.1/pppd/main.c:1749:9: branch_false: ...to here
ppp-ppp-2.5.1/pppd/main.c:1698:24: danger: ‘outfd’ leaks here; was opened at [(10)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def91]
ppp-ppp-2.5.1/pppd/main.c:1698:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[0]’
ppp-ppp-2.5.1/pppd/main.c:1693:12: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/main.c:1695:15: branch_false: ...to here
ppp-ppp-2.5.1/pppd/main.c:1696:12: branch_true: following ‘true’ branch (when ‘pid < 0’)...
ppp-ppp-2.5.1/pppd/main.c:1697:17: branch_true: ...to here
ppp-ppp-2.5.1/pppd/main.c:1698:24: danger: ‘pipefd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def92]
ppp-ppp-2.5.1/pppd/main.c:1698:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[1]’
ppp-ppp-2.5.1/pppd/main.c:1693:12: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/main.c:1695:15: branch_false: ...to here
ppp-ppp-2.5.1/pppd/main.c:1696:12: branch_true: following ‘true’ branch (when ‘pid < 0’)...
ppp-ppp-2.5.1/pppd/main.c:1697:17: branch_true: ...to here
ppp-ppp-2.5.1/pppd/main.c:1698:24: danger: ‘pipefd[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def93]
ppp-ppp-2.5.1/pppd/main.c:1698:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[must_exist]’
ppp-ppp-2.5.1/pppd/main.c:1256:1: enter_function: entry to ‘new_phase’
ppp-ppp-2.5.1/pppd/main.c:1260:12: branch_true: following ‘true’ branch...
ppp-ppp-2.5.1/pppd/main.c:1262:27: branch_true: ...to here
ppp-ppp-2.5.1/pppd/main.c:1263:13: call_function: calling ‘run_net_script’ from ‘new_phase’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def94]
ppp-ppp-2.5.1/pppd/main.c:1698:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[wait]’
ppp-ppp-2.5.1/pppd/main.c:1256:1: enter_function: entry to ‘new_phase’
ppp-ppp-2.5.1/pppd/main.c:1260:12: branch_true: following ‘true’ branch...
ppp-ppp-2.5.1/pppd/main.c:1262:27: branch_true: ...to here
ppp-ppp-2.5.1/pppd/main.c:1263:13: call_function: calling ‘run_net_script’ from ‘new_phase’
Error: GCC_ANALYZER_WARNING: [#def95]
ppp-ppp-2.5.1/pppd/main.c:1728:17: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘infd’
ppp-ppp-2.5.1/pppd/main.c:1693:12: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/main.c:1695:15: branch_false: ...to here
ppp-ppp-2.5.1/pppd/main.c:1696:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
ppp-ppp-2.5.1/pppd/main.c:1700:12: branch_false: ...to here
ppp-ppp-2.5.1/pppd/main.c:1700:12: branch_false: following ‘false’ branch (when ‘pid == 0’)...
ppp-ppp-2.5.1/pppd/main.c:1710:9: branch_false: ...to here
ppp-ppp-2.5.1/pppd/main.c:1717:12: branch_true: following ‘true’ branch...
ppp-ppp-2.5.1/pppd/main.c:1718:24: branch_true: ...to here
ppp-ppp-2.5.1/pppd/main.c:1718:24: acquire_resource: opened here
ppp-ppp-2.5.1/pppd/main.c:1719:12: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/main.c:1721:13: branch_false: ...to here
ppp-ppp-2.5.1/pppd/main.c:1721:12: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/main.c:1724:9: branch_false: ...to here
ppp-ppp-2.5.1/pppd/main.c:1727:12: branch_true: following ‘true’ branch (when ‘infd != 0’)...
ppp-ppp-2.5.1/pppd/main.c:1728:17: branch_true: ...to here
ppp-ppp-2.5.1/pppd/main.c:1728:17: danger: ‘infd’ could be invalid: unchecked value from [(10)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING: [#def96]
ppp-ppp-2.5.1/pppd/main.c:1730:17: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘outfd’
ppp-ppp-2.5.1/pppd/main.c:1693:12: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/main.c:1695:15: branch_false: ...to here
ppp-ppp-2.5.1/pppd/main.c:1696:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
ppp-ppp-2.5.1/pppd/main.c:1700:12: branch_false: ...to here
ppp-ppp-2.5.1/pppd/main.c:1700:12: branch_false: following ‘false’ branch (when ‘pid == 0’)...
ppp-ppp-2.5.1/pppd/main.c:1710:9: branch_false: ...to here
ppp-ppp-2.5.1/pppd/main.c:1717:12: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/main.c:1719:13: branch_false: ...to here
ppp-ppp-2.5.1/pppd/main.c:1719:12: branch_true: following ‘true’ branch...
ppp-ppp-2.5.1/pppd/main.c:1720:25: branch_true: ...to here
ppp-ppp-2.5.1/pppd/main.c:1720:25: acquire_resource: opened here
ppp-ppp-2.5.1/pppd/main.c:1721:12: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/main.c:1724:9: branch_false: ...to here
ppp-ppp-2.5.1/pppd/main.c:1729:12: branch_true: following ‘true’ branch (when ‘outfd != 1’)...
ppp-ppp-2.5.1/pppd/main.c:1730:17: branch_true: ...to here
ppp-ppp-2.5.1/pppd/main.c:1730:17: danger: ‘outfd’ could be invalid: unchecked value from [(12)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/11)
Error: CPPCHECK_WARNING (CWE-476): [#def97]
ppp-ppp-2.5.1/pppd/main.c:2114: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: np
Error: GCC_ANALYZER_WARNING (CWE-476): [#def98]
ppp-ppp-2.5.1/pppd/main.c:2114:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘np’
ppp-ppp-2.5.1/pppd/main.c:2106:1: enter_function: entry to ‘ppp_add_notify’
ppp-ppp-2.5.1/pppd/main.c:2109:8: branch_true: following ‘true’ branch...
ppp-ppp-2.5.1/pppd/main.c:2111:31: branch_true: ...to here
ppp-ppp-2.5.1/pppd/main.c:2111:31: acquire_memory: allocated here
ppp-ppp-2.5.1/pppd/main.c:2112:12: release_memory: assuming ‘np’ is NULL
ppp-ppp-2.5.1/pppd/main.c:2112:12: branch_true: following ‘true’ branch (when ‘np’ is NULL)...
ppp-ppp-2.5.1/pppd/main.c:2113:13: call_function: inlined call to ‘novm’ from ‘ppp_add_notify’
ppp-ppp-2.5.1/pppd/main.c:2114:9: danger: dereference of NULL ‘np’
Error: CPPCHECK_WARNING (CWE-476): [#def99]
ppp-ppp-2.5.1/pppd/main.c:2115: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: np
Error: CPPCHECK_WARNING (CWE-476): [#def100]
ppp-ppp-2.5.1/pppd/main.c:2116: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: np
Error: COMPILER_WARNING (CWE-681): [#def101]
ppp-ppp-2.5.1/pppd/mppe.c: scope_hint: In function ‘mppe_set_chapv1’
ppp-ppp-2.5.1/pppd/mppe.c:130:54: warning[-Wpointer-sign]: pointer targets in passing argument 3 of ‘PPP_DigestFinal’ differ in signedness
ppp-ppp-2.5.1/pppd/mppe.c:43: included_from: Included from here.
ppp-ppp-2.5.1/pppd/crypto.h:96:43: note: expected ‘unsigned int *’ but argument is of type ‘int *’
Error: COMPILER_WARNING (CWE-681): [#def102]
ppp-ppp-2.5.1/pppd/mppe.c: scope_hint: In function ‘mppe_set_chapv2’
ppp-ppp-2.5.1/pppd/mppe.c:215:57: warning[-Wpointer-sign]: pointer targets in passing argument 3 of ‘PPP_DigestFinal’ differ in signedness
ppp-ppp-2.5.1/pppd/crypto.h:96:43: note: expected ‘unsigned int *’ but argument is of type ‘int *’
Error: COMPILER_WARNING (CWE-681): [#def103]
ppp-ppp-2.5.1/pppd/mppe.c:246:59: warning[-Wpointer-sign]: pointer targets in passing argument 3 of ‘PPP_DigestFinal’ differ in signedness
ppp-ppp-2.5.1/pppd/crypto.h:96:43: note: expected ‘unsigned int *’ but argument is of type ‘int *’
Error: COMPILER_WARNING (CWE-681): [#def104]
ppp-ppp-2.5.1/pppd/mppe.c:279:59: warning[-Wpointer-sign]: pointer targets in passing argument 3 of ‘PPP_DigestFinal’ differ in signedness
ppp-ppp-2.5.1/pppd/crypto.h:96:43: note: expected ‘unsigned int *’ but argument is of type ‘int *’
Error: COMPILER_WARNING (CWE-457): [#def105]
ppp-ppp-2.5.1/pppd/options.c: scope_hint: In function ‘ppp_get_filepath’
ppp-ppp-2.5.1/pppd/options.c:508:16: warning[-Wmaybe-uninitialized]: ‘path’ may be used uninitialized
ppp-ppp-2.5.1/pppd/options.c:489:17: note: ‘path’ was declared here
Error: CPPCHECK_WARNING (CWE-476): [#def106]
ppp-ppp-2.5.1/pppd/options.c:575: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: filename
Error: CPPCHECK_WARNING (CWE-682): [#def107]
ppp-ppp-2.5.1/pppd/options.c:680: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-476): [#def108]
ppp-ppp-2.5.1/pppd/options.c:1022: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: list
Error: CPPCHECK_WARNING (CWE-476): [#def109]
ppp-ppp-2.5.1/pppd/options.c:1023: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: list
Error: GCC_ANALYZER_WARNING (CWE-688): [#def110]
ppp-ppp-2.5.1/pppd/options.c:1793:9: warning[-Wanalyzer-null-argument]: use of NULL ‘path’ where non-null expected
ppp-ppp-2.5.1/pppd/options.c:1787:8: branch_true: following ‘true’ branch...
ppp-ppp-2.5.1/pppd/options.c:1789:32: branch_true: ...to here
ppp-ppp-2.5.1/pppd/options.c:1790:16: acquire_memory: allocated here
ppp-ppp-2.5.1/pppd/options.c:1791:12: release_memory: assuming ‘path’ is NULL
ppp-ppp-2.5.1/pppd/options.c:1791:12: branch_true: following ‘true’ branch (when ‘path’ is NULL)...
ppp-ppp-2.5.1/pppd/options.c:1792:13: branch_true: ...to here
ppp-ppp-2.5.1/pppd/options.c:1793:9: danger: argument 1 (‘path’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def111]
ppp-ppp-2.5.1/pppd/options.c:1881:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ppp-ppp-2.5.1/pppd/options.c:1837:1: enter_function: entry to ‘user_setenv’
ppp-ppp-2.5.1/pppd/options.c:1843:8: branch_false: following ‘false’ branch (when ‘eqp’ is non-NULL)...
ppp-ppp-2.5.1/pppd/options.c:1847:8: branch_false: ...to here
ppp-ppp-2.5.1/pppd/options.c:1847:8: branch_false: following ‘false’ branch (when ‘arg != eqp’)...
ppp-ppp-2.5.1/pppd/options.c:1851:10: branch_false: ...to here
ppp-ppp-2.5.1/pppd/options.c:1851:30: branch_true: following ‘true’ branch (when ‘uep’ is non-NULL)...
ppp-ppp-2.5.1/pppd/options.c:1852:27: branch_true: ...to here
ppp-ppp-2.5.1/pppd/options.c:1858:8: branch_true: following ‘true’ branch (when ‘uep’ is non-NULL)...
ppp-ppp-2.5.1/pppd/options.c:1858:24: branch_true: ...to here
ppp-ppp-2.5.1/pppd/options.c:1880:12: branch_true: following ‘true’ branch (when ‘uep2’ is NULL)...
ppp-ppp-2.5.1/pppd/options.c:1880:30: branch_true: ...to here
ppp-ppp-2.5.1/pppd/options.c:1880:13: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/options.c:1881:13: branch_false: ...to here
ppp-ppp-2.5.1/pppd/options.c:1881:13: call_function: calling ‘find_option’ from ‘user_setenv’
ppp-ppp-2.5.1/pppd/options.c:1881:13: return_function: returning to ‘user_setenv’ from ‘find_option’
ppp-ppp-2.5.1/pppd/options.c:1881:13: danger: dereference of NULL ‘find_option("unset")’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def112]
ppp-ppp-2.5.1/pppd/options.c:1953:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ppp-ppp-2.5.1/pppd/options.c:1913:1: enter_function: entry to ‘user_unsetenv’
ppp-ppp-2.5.1/pppd/options.c:1918:8: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/options.c:1922:9: branch_false: ...to here
ppp-ppp-2.5.1/pppd/options.c:1922:8: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/options.c:1926:10: branch_false: ...to here
ppp-ppp-2.5.1/pppd/options.c:1926:30: branch_true: following ‘true’ branch (when ‘uep’ is non-NULL)...
ppp-ppp-2.5.1/pppd/options.c:1927:25: branch_true: ...to here
ppp-ppp-2.5.1/pppd/options.c:1931:8: branch_true: following ‘true’ branch (when ‘uep’ is non-NULL)...
ppp-ppp-2.5.1/pppd/options.c:1931:24: branch_true: ...to here
ppp-ppp-2.5.1/pppd/options.c:1952:12: branch_true: following ‘true’ branch...
ppp-ppp-2.5.1/pppd/options.c:1953:13: call_function: calling ‘find_option’ from ‘user_unsetenv’
ppp-ppp-2.5.1/pppd/options.c:1953:13: return_function: returning to ‘user_unsetenv’ from ‘find_option’
ppp-ppp-2.5.1/pppd/options.c:1953:13: danger: dereference of NULL ‘find_option("set")’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def113]
ppp-ppp-2.5.1/pppd/peap.c:129:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘buf’
ppp-ppp-2.5.1/pppd/peap.c:115:15: acquire_memory: allocated here
ppp-ppp-2.5.1/pppd/peap.c:116:12: release_memory: assuming ‘buf’ is NULL
ppp-ppp-2.5.1/pppd/peap.c:116:12: branch_true: following ‘true’ branch (when ‘buf’ is NULL)...
ppp-ppp-2.5.1/pppd/peap.c:117:17: branch_true: ...to here
ppp-ppp-2.5.1/pppd/peap.c:119:12: branch_false: following ‘false’ branch (when ‘hash’ is non-NULL)...
branch_false: ...to here
ppp-ppp-2.5.1/pppd/peap.c:122:21: branch_true: following ‘true’ branch (when ‘i < max_iter’)...
ppp-ppp-2.5.1/pppd/peap.c:126:20: branch_true: ...to here
ppp-ppp-2.5.1/pppd/peap.c:126:20: branch_false: following ‘false’ branch (when ‘i == 0’)...
ppp-ppp-2.5.1/pppd/peap.c:128:17: branch_false: ...to here
ppp-ppp-2.5.1/pppd/peap.c:128:29: branch_true: following ‘true’ branch (when ‘k < seed_len’)...
ppp-ppp-2.5.1/pppd/peap.c:129:42: branch_true: ...to here
ppp-ppp-2.5.1/pppd/peap.c:129:25: danger: dereference of NULL ‘buf + (j + k)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def114]
ppp-ppp-2.5.1/pppd/peap.c:131:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘buf’
ppp-ppp-2.5.1/pppd/peap.c:115:15: acquire_memory: allocated here
ppp-ppp-2.5.1/pppd/peap.c:116:12: release_memory: assuming ‘buf’ is NULL
ppp-ppp-2.5.1/pppd/peap.c:116:12: branch_true: following ‘true’ branch (when ‘buf’ is NULL)...
ppp-ppp-2.5.1/pppd/peap.c:117:17: branch_true: ...to here
ppp-ppp-2.5.1/pppd/peap.c:119:12: branch_false: following ‘false’ branch (when ‘hash’ is non-NULL)...
branch_false: ...to here
ppp-ppp-2.5.1/pppd/peap.c:122:21: branch_true: following ‘true’ branch (when ‘i < max_iter’)...
ppp-ppp-2.5.1/pppd/peap.c:126:20: branch_true: ...to here
ppp-ppp-2.5.1/pppd/peap.c:126:20: branch_false: following ‘false’ branch (when ‘i == 0’)...
ppp-ppp-2.5.1/pppd/peap.c:128:17: branch_false: ...to here
ppp-ppp-2.5.1/pppd/peap.c:128:29: branch_false: following ‘false’ branch (when ‘k >= seed_len’)...
ppp-ppp-2.5.1/pppd/peap.c:130:23: branch_false: ...to here
ppp-ppp-2.5.1/pppd/peap.c:131:17: danger: dereference of NULL ‘buf + (sizetype)pos’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def115]
ppp-ppp-2.5.1/pppd/peap.c:142:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘hash’
ppp-ppp-2.5.1/pppd/peap.c:116:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
ppp-ppp-2.5.1/pppd/peap.c:118:16: branch_false: ...to here
ppp-ppp-2.5.1/pppd/peap.c:119:12: branch_false: following ‘false’ branch (when ‘hash’ is non-NULL)...
branch_false: ...to here
ppp-ppp-2.5.1/pppd/peap.c:122:21: branch_false: following ‘false’ branch (when ‘i >= max_iter’)...
ppp-ppp-2.5.1/pppd/peap.c:142:9: branch_false: ...to here
ppp-ppp-2.5.1/pppd/peap.c:142:9: danger: use of uninitialized value ‘hash’ here
Error: CPPCHECK_WARNING (CWE-476): [#def116]
ppp-ppp-2.5.1/pppd/peap.c:481: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: psm
Error: GCC_ANALYZER_WARNING (CWE-476): [#def117]
ppp-ppp-2.5.1/pppd/peap.c:481:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘psm’
ppp-ppp-2.5.1/pppd/peap.c:473:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
ppp-ppp-2.5.1/pppd/peap.c:476:9: branch_false: ...to here
ppp-ppp-2.5.1/pppd/peap.c:478:34: acquire_memory: allocated here
ppp-ppp-2.5.1/pppd/peap.c:479:12: release_memory: assuming ‘psm’ is NULL
ppp-ppp-2.5.1/pppd/peap.c:479:12: branch_true: following ‘true’ branch (when ‘psm’ is NULL)...
ppp-ppp-2.5.1/pppd/peap.c:480:17: branch_true: ...to here
ppp-ppp-2.5.1/pppd/peap.c:481:9: danger: dereference of NULL ‘psm’
Error: CPPCHECK_WARNING (CWE-476): [#def118]
ppp-ppp-2.5.1/pppd/peap.c:482: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: psm
Error: GCC_ANALYZER_WARNING: [#def119]
ppp-ppp-2.5.1/pppd/plugins/pppoatm/pppoatm.c:164:13: warning[-Wanalyzer-fd-use-without-check]: 'connect' on possibly invalid file descriptor 'fd'
ppp-ppp-2.5.1/pppd/plugins/pppoatm/pppoatm.c:150:12: branch_true: following 'true' branch (when 'fd < 0')...
ppp-ppp-2.5.1/pppd/plugins/pppoatm/pppoatm.c:151:17: branch_true: ...to here
ppp-ppp-2.5.1/pppd/plugins/pppoatm/pppoatm.c:164:13: danger: 'fd' could be invalid
Error: COMPILER_WARNING: [#def120]
ppp-ppp-2.5.1/pppd/plugins/pppoe/common.c:16:19: warning[-Wunused-const-variable=]: 'RCSID' defined but not used
Error: COMPILER_WARNING: [#def121]
ppp-ppp-2.5.1/pppd/plugins/pppoe/common.c:16:19: warning[-Wunused-const-variable=]: ‘RCSID’ defined but not used
Error: COMPILER_WARNING: [#def122]
ppp-ppp-2.5.1/pppd/plugins/pppoe/discovery.c:11:19: warning[-Wunused-const-variable=]: 'RCSID' defined but not used
Error: COMPILER_WARNING: [#def123]
ppp-ppp-2.5.1/pppd/plugins/pppoe/discovery.c:11:19: warning[-Wunused-const-variable=]: ‘RCSID’ defined but not used
Error: COMPILER_WARNING: [#def124]
ppp-ppp-2.5.1/pppd/plugins/pppoe/discovery.c: scope_hint: In function 'sendPADI'
ppp-ppp-2.5.1/pppd/plugins/pppoe/discovery.c:337:12: warning[-Warray-bounds=]: array subscript 'struct PPPoETag[0]' is partly outside array bounds of 'struct PPPoEPacket[1]'
ppp-ppp-2.5.1/pppd/plugins/pppoe/discovery.c:310:17: note: at offset 20 into object 'packet' of size 1528
Error: COMPILER_WARNING: [#def125]
ppp-ppp-2.5.1/pppd/plugins/pppoe/discovery.c: scope_hint: In function ‘sendPADI’
ppp-ppp-2.5.1/pppd/plugins/pppoe/discovery.c:337:12: warning[-Warray-bounds=]: array subscript ‘struct PPPoETag[0]’ is partly outside array bounds of ‘struct PPPoEPacket[1]’
ppp-ppp-2.5.1/pppd/plugins/pppoe/discovery.c:310:17: note: at offset 20 into object ‘packet’ of size 1528
Error: COMPILER_WARNING: [#def126]
ppp-ppp-2.5.1/pppd/plugins/pppoe/discovery.c:338:12: warning[-Warray-bounds=]: array subscript 'struct PPPoETag[0]' is partly outside array bounds of 'struct PPPoEPacket[1]'
ppp-ppp-2.5.1/pppd/plugins/pppoe/discovery.c:310:17: note: at offset 20 into object 'packet' of size 1528
Error: COMPILER_WARNING: [#def127]
ppp-ppp-2.5.1/pppd/plugins/pppoe/discovery.c:338:12: warning[-Warray-bounds=]: array subscript ‘struct PPPoETag[0]’ is partly outside array bounds of ‘struct PPPoEPacket[1]’
ppp-ppp-2.5.1/pppd/plugins/pppoe/discovery.c:310:17: note: at offset 20 into object ‘packet’ of size 1528
Error: COMPILER_WARNING: [#def128]
ppp-ppp-2.5.1/pppd/plugins/pppoe/discovery.c: scope_hint: In function 'sendPADR'
ppp-ppp-2.5.1/pppd/plugins/pppoe/discovery.c:523:8: warning[-Warray-bounds=]: array subscript 'struct PPPoETag[0]' is partly outside array bounds of 'struct PPPoEPacket[1]'
ppp-ppp-2.5.1/pppd/plugins/pppoe/discovery.c:502:17: note: at offset 20 into object 'packet' of size 1528
Error: COMPILER_WARNING: [#def129]
ppp-ppp-2.5.1/pppd/plugins/pppoe/discovery.c: scope_hint: In function ‘sendPADR’
ppp-ppp-2.5.1/pppd/plugins/pppoe/discovery.c:523:8: warning[-Warray-bounds=]: array subscript ‘struct PPPoETag[0]’ is partly outside array bounds of ‘struct PPPoEPacket[1]’
ppp-ppp-2.5.1/pppd/plugins/pppoe/discovery.c:502:17: note: at offset 20 into object ‘packet’ of size 1528
Error: COMPILER_WARNING: [#def130]
ppp-ppp-2.5.1/pppd/plugins/pppoe/discovery.c:524:8: warning[-Warray-bounds=]: array subscript 'struct PPPoETag[0]' is partly outside array bounds of 'struct PPPoEPacket[1]'
ppp-ppp-2.5.1/pppd/plugins/pppoe/discovery.c:502:17: note: at offset 20 into object 'packet' of size 1528
Error: COMPILER_WARNING: [#def131]
ppp-ppp-2.5.1/pppd/plugins/pppoe/discovery.c:524:8: warning[-Warray-bounds=]: array subscript ‘struct PPPoETag[0]’ is partly outside array bounds of ‘struct PPPoEPacket[1]’
ppp-ppp-2.5.1/pppd/plugins/pppoe/discovery.c:502:17: note: at offset 20 into object ‘packet’ of size 1528
Error: COMPILER_WARNING: [#def132]
ppp-ppp-2.5.1/pppd/plugins/pppoe/if.c:16:19: warning[-Wunused-const-variable=]: 'RCSID' defined but not used
Error: COMPILER_WARNING: [#def133]
ppp-ppp-2.5.1/pppd/plugins/pppoe/if.c:16:19: warning[-Wunused-const-variable=]: ‘RCSID’ defined but not used
Error: COMPILER_WARNING: [#def134]
ppp-ppp-2.5.1/pppd/plugins/pppoe/plugin.c:25:19: warning[-Wunused-const-variable=]: 'RCSID' defined but not used
Error: GCC_ANALYZER_WARNING (CWE-401): [#def135]
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:171:13: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:148:5: enter_function: entry to ‘main’
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:157:8: branch_false: following ‘false’ branch (when ‘conn’ is non-NULL)...
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:162:5: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:168:12: branch_true: following ‘true’ branch (when ‘opt > 0’)...
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:169:9: branch_true: ...to here
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:171:33: call_function: calling ‘xstrdup’ from ‘main’
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:171:33: return_function: returning to ‘main’ from ‘xstrdup’
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:168:12: branch_true: following ‘true’ branch (when ‘opt > 0’)...
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:169:9: branch_true: ...to here
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:171:33: call_function: calling ‘xstrdup’ from ‘main’
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:171:33: return_function: returning to ‘main’ from ‘xstrdup’
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:171:13: 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): [#def136]
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:174:13: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:148:5: enter_function: entry to ‘main’
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:157:8: branch_false: following ‘false’ branch (when ‘conn’ is non-NULL)...
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:162:5: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:168:12: branch_true: following ‘true’ branch (when ‘opt > 0’)...
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:169:9: branch_true: ...to here
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:174:28: call_function: calling ‘xstrdup’ from ‘main’
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:174:28: return_function: returning to ‘main’ from ‘xstrdup’
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:168:12: branch_true: following ‘true’ branch (when ‘opt > 0’)...
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:169:9: branch_true: ...to here
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:174:28: call_function: calling ‘xstrdup’ from ‘main’
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:174:28: return_function: returning to ‘main’ from ‘xstrdup’
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:174: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-401): [#def137]
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:227:13: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:148:5: enter_function: entry to ‘main’
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:157:8: branch_false: following ‘false’ branch (when ‘conn’ is non-NULL)...
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:162:5: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:168:12: branch_true: following ‘true’ branch (when ‘opt > 0’)...
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:169:9: branch_true: ...to here
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:227:28: call_function: calling ‘xstrdup’ from ‘main’
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:227:28: return_function: returning to ‘main’ from ‘xstrdup’
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:168:12: branch_true: following ‘true’ branch (when ‘opt > 0’)...
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:169:9: branch_true: ...to here
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:227:28: call_function: calling ‘xstrdup’ from ‘main’
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:227:28: return_function: returning to ‘main’ from ‘xstrdup’
ppp-ppp-2.5.1/pppd/plugins/pppoe/pppoe-discovery.c:227:13: danger: ‘<unknown>’ leaks here; was allocated at [(10)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/9)
Error: COMPILER_WARNING (CWE-563): [#def138]
ppp-ppp-2.5.1/pppd/plugins/pppol2tp/pppol2tp.c: scope_hint: In function 'setdevname_pppol2tp'
ppp-ppp-2.5.1/pppd/plugins/pppol2tp/pppol2tp.c:135:16: warning[-Wunused-variable]: unused variable 'a'
Error: COMPILER_WARNING (CWE-563): [#def139]
ppp-ppp-2.5.1/pppd/plugins/pppol2tp/pppol2tp.c:212:22: warning[-Wunused-variable]: unused variable 'ifr'
Error: COMPILER_WARNING (CWE-563): [#def140]
ppp-ppp-2.5.1/pppd/plugins/pppol2tp/pppol2tp.c: scope_hint: In function 'send_config_pppol2tp'
ppp-ppp-2.5.1/pppd/plugins/pppol2tp/pppol2tp.c:214:13: warning[-Wunused-variable]: unused variable 'fd'
Error: COMPILER_WARNING (CWE-563): [#def141]
ppp-ppp-2.5.1/pppd/plugins/pppol2tp/pppol2tp.c: scope_hint: In function 'pppol2tp_lcp_snoop'
ppp-ppp-2.5.1/pppd/plugins/pppol2tp/pppol2tp.c:314:21: warning[-Wunused-but-set-variable]: variable 'snooping' set but not used
Error: COMPILER_WARNING (CWE-1164): [#def142]
ppp-ppp-2.5.1/pppd/plugins/pppol2tp/pppol2tp.c: scope_hint: At top level
ppp-ppp-2.5.1/pppd/plugins/pppol2tp/pppol2tp.c:493:13: warning[-Wunused-function]: 'pppol2tp_cleanup' defined but not used
Error: COMPILER_WARNING: [#def143]
ppp-ppp-2.5.1/pppd/plugins/radius/avpair.c: scope_hint: In function 'rc_avpair_tostr'
ppp-ppp-2.5.1/pppd/plugins/radius/avpair.c:729:33: warning[-Wstringop-truncation]: 'strncat' output may be truncated copying 1 byte from a string of length 253
Error: GCC_ANALYZER_WARNING (CWE-401): [#def144]
ppp-ppp-2.5.1/pppd/plugins/radius/clientid.c:45:24: warning[-Wanalyzer-malloc-leak]: leak of 'p'
ppp-ppp-2.5.1/pppd/plugins/radius/clientid.c:42:12: branch_false: following 'false' branch...
branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/clientid.c:50:16: branch_true: following 'true' branch...
ppp-ppp-2.5.1/pppd/plugins/radius/clientid.c:52:17: branch_true: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/clientid.c:69:53: acquire_memory: allocated here
ppp-ppp-2.5.1/pppd/plugins/radius/clientid.c:69:28: branch_false: following 'false' branch (when 'p' is non-NULL)...
ppp-ppp-2.5.1/pppd/plugins/radius/clientid.c:75:40: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/clientid.c:75:28: branch_true: following 'true' branch...
ppp-ppp-2.5.1/pppd/plugins/radius/clientid.c:76:33: branch_true: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/clientid.c:45:24: danger: 'p' leaks here; was allocated at [(6)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def145]
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:219:18: warning[-Wanalyzer-file-leak]: leak of FILE 'fopen(filename, "r")'
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:188:5: enter_function: entry to 'rc_read_config'
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:195:25: acquire_resource: opened here
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:195:12: branch_false: following 'false' branch...
branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:202:16: branch_true: following 'true' branch...
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:204:17: branch_true: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:213:20: branch_false: following 'false' branch (when 'pos != 0')...
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:219:18: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:221:31: call_function: calling 'find_option' from 'rc_read_config'
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:221:31: return_function: returning to 'rc_read_config' from 'find_option'
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:221:20: branch_false: following 'false' branch...
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:226:21: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:226:20: branch_false: following 'false' branch...
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:232:19: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:219:18: danger: 'fopen(filename, "r")' leaks here; was opened at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def146]
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:219:18: warning[-Wanalyzer-malloc-leak]: leak of 'fopen(filename, "r")'
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:188:5: enter_function: entry to 'rc_read_config'
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:195:25: acquire_memory: allocated here
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:195:12: branch_false: following 'false' branch...
branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:202:16: branch_true: following 'true' branch...
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:204:17: branch_true: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:213:20: branch_false: following 'false' branch (when 'pos != 0')...
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:219:18: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:221:31: call_function: calling 'find_option' from 'rc_read_config'
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:221:31: return_function: returning to 'rc_read_config' from 'find_option'
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:221:20: branch_false: following 'false' branch...
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:226:21: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:226:20: branch_false: following 'false' branch...
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:232:19: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:219:18: danger: 'fopen(filename, "r")' leaks here; was allocated at [(2)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def147]
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:287:16: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:285:12: branch_true: following 'true' branch...
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:286:17: branch_true: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:287:16: danger: dereference of NULL 'find_option(optname, 1)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def148]
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:298:25: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:296:12: branch_true: following 'true' branch...
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:297:17: branch_true: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:298:25: danger: dereference of NULL 'find_option(optname, 10)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def149]
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:309:16: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:307:12: branch_true: following 'true' branch...
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:308:17: branch_true: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:309:16: danger: dereference of NULL 'find_option(optname, 4)'
Error: COMPILER_WARNING (CWE-563): [#def150]
ppp-ppp-2.5.1/pppd/plugins/radius/config.c: scope_hint: In function 'rc_find_server'
ppp-ppp-2.5.1/pppd/plugins/radius/config.c:465:25: warning[-Wunused-variable]: unused variable 'len'
Error: COMPILER_WARNING (CWE-681): [#def151]
ppp-ppp-2.5.1/pppd/plugins/radius/md5.c: scope_hint: In function 'rc_md5_calc'
ppp-ppp-2.5.1/pppd/plugins/radius/md5.c:20:47: warning[-Wpointer-sign]: pointer targets in passing argument 3 of 'PPP_DigestFinal' differ in signedness
ppp-ppp-2.5.1/pppd/plugins/radius/md5.c:6: included_from: Included from here.
ppp-ppp-2.5.1/pppd/crypto.h:96:43: note: expected 'unsigned int *' but argument is of type 'int *'
Error: COMPILER_WARNING: [#def152]
ppp-ppp-2.5.1/pppd/plugins/radius/radattr.c:17:19: warning[-Wunused-const-variable=]: 'RCSID' defined but not used
Error: COMPILER_WARNING: [#def153]
ppp-ppp-2.5.1/pppd/plugins/radius/radius.c:26:19: warning[-Wunused-const-variable=]: 'RCSID' defined but not used
Error: CPPCHECK_WARNING (CWE-476): [#def154]
ppp-ppp-2.5.1/pppd/plugins/radius/radius.c:187: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p
Error: CPPCHECK_WARNING (CWE-476): [#def155]
ppp-ppp-2.5.1/pppd/plugins/radius/radius.c:188: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p
Error: COMPILER_WARNING: [#def156]
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:17:19: warning[-Wunused-const-variable=]: 'RCSID' defined but not used
Error: CPPCHECK_WARNING (CWE-476): [#def157]
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:59: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: auths
Error: GCC_ANALYZER_WARNING (CWE-476): [#def158]
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:59:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL 'auths'
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:58:24: acquire_memory: this call could return NULL
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:59:5: danger: 'auths' could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def159]
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:61: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: accts
Error: GCC_ANALYZER_WARNING (CWE-476): [#def160]
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:61:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL 'accts'
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:60:24: acquire_memory: this call could return NULL
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:61:5: danger: 'accts' could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def161]
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:137:17: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:76:8: branch_false: following 'false' branch...
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:82:5: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:84:12: branch_true: following 'true' branch...
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:85:9: branch_true: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:94:12: branch_false: following 'false' branch (when 'p' is non-NULL)...
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:94:27: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:105:12: branch_false: following 'false' branch...
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:108:13: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:108:12: branch_false: following 'false' branch...
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:111:18: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:111:12: branch_false: following 'false' branch (when 'p' is non-NULL)...
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:120:12: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:120:12: branch_false: following 'false' branch (when 'realm' is NULL)...
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:121:31: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:121:13: branch_true: following 'true' branch (when the strings are equal)...
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:122:13: branch_true: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:123:16: branch_false: following 'false' branch (when 'p' is non-NULL)...
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:131:21: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:131:31: acquire_memory: allocated here
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:133:16: branch_true: following 'true' branch (when 'p' is NULL)...
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:134:17: branch_true: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:137:17: danger: '<unknown>' leaks here; was allocated at [(24)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/23)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def162]
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:138:17: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:76:8: branch_false: following 'false' branch...
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:82:5: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:84:12: branch_true: following 'true' branch...
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:85:9: branch_true: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:94:12: branch_false: following 'false' branch (when 'p' is non-NULL)...
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:94:27: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:105:12: branch_true: following 'true' branch...
branch_true: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:108:12: branch_false: following 'false' branch...
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:111:18: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:111:12: branch_false: following 'false' branch (when 'p' is non-NULL)...
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:120:12: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:120:12: branch_false: following 'false' branch (when 'realm' is NULL)...
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:121:31: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:121:13: branch_true: following 'true' branch (when the strings are equal)...
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:122:13: branch_true: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:123:16: branch_false: following 'false' branch (when 'p' is non-NULL)...
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:131:21: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:131:31: acquire_memory: allocated here
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:133:16: branch_true: following 'true' branch (when 'p' is NULL)...
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:134:17: branch_true: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/radrealms.c:138:17: danger: '<unknown>' leaks here; was allocated at [(24)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/23)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def163]
ppp-ppp-2.5.1/pppd/plugins/radius/sendserver.c:112:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*(__int128 unsigned *)vector'
ppp-ppp-2.5.1/pppd/plugins/radius/sendserver.c:193:5: enter_function: entry to 'rc_send_server'
ppp-ppp-2.5.1/pppd/plugins/radius/sendserver.c:218:12: branch_false: following 'false' branch...
ppp-ppp-2.5.1/pppd/plugins/radius/sendserver.c:230:20: branch_false: following 'false' branch...
ppp-ppp-2.5.1/pppd/plugins/radius/sendserver.c:237:18: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/sendserver.c:238:12: branch_false: following 'false' branch (when 'sockfd >= 0')...
ppp-ppp-2.5.1/pppd/plugins/radius/sendserver.c:245:9: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/sendserver.c:251:12: branch_false: following 'false' branch...
ppp-ppp-2.5.1/pppd/plugins/radius/sendserver.c:252:20: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/sendserver.c:251:13: branch_false: following 'false' branch...
ppp-ppp-2.5.1/pppd/plugins/radius/sendserver.c:260:9: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/sendserver.c:268:12: branch_true: following 'true' branch...
ppp-ppp-2.5.1/pppd/plugins/radius/sendserver.c:270:32: branch_true: ...to here
ppp-ppp-2.5.1/pppd/plugins/radius/sendserver.c:270:32: call_function: calling 'rc_pack_list' from 'rc_send_server'
Error: CPPCHECK_WARNING (CWE-476): [#def164]
ppp-ppp-2.5.1/pppd/plugins/winbind.c:218: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: GCC_ANALYZER_WARNING (CWE-476): [#def165]
ppp-ppp-2.5.1/pppd/plugins/winbind.c:218:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL 'result'
ppp-ppp-2.5.1/pppd/plugins/winbind.c:513:1: enter_function: entry to 'winbind_chap_verify'
ppp-ppp-2.5.1/pppd/plugins/winbind.c:539:12: branch_false: following 'false' branch (when 'p' is NULL)...
ppp-ppp-2.5.1/pppd/plugins/winbind.c:547:17: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/winbind.c:611:20: branch_false: following 'false' branch (when 'response_len == 49')...
ppp-ppp-2.5.1/pppd/plugins/winbind.c:614:17: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/winbind.c:619:21: call_function: calling 'run_ntlm_auth' from 'winbind_chap_verify'
Error: CPPCHECK_WARNING (CWE-476): [#def166]
ppp-ppp-2.5.1/pppd/plugins/winbind.c:219: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def167]
ppp-ppp-2.5.1/pppd/plugins/winbind.c:220: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def168]
ppp-ppp-2.5.1/pppd/plugins/winbind.c:221: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: GCC_ANALYZER_WARNING (CWE-476): [#def169]
ppp-ppp-2.5.1/pppd/plugins/winbind.c:227:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL 'result'
ppp-ppp-2.5.1/pppd/plugins/winbind.c:513:1: enter_function: entry to 'winbind_chap_verify'
ppp-ppp-2.5.1/pppd/plugins/winbind.c:539:12: branch_false: following 'false' branch (when 'p' is NULL)...
ppp-ppp-2.5.1/pppd/plugins/winbind.c:547:17: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/winbind.c:611:20: branch_false: following 'false' branch (when 'response_len == 49')...
ppp-ppp-2.5.1/pppd/plugins/winbind.c:614:17: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/winbind.c:619:21: call_function: calling 'run_ntlm_auth' from 'winbind_chap_verify'
Error: CPPCHECK_WARNING (CWE-476): [#def170]
ppp-ppp-2.5.1/pppd/plugins/winbind.c:233: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: GCC_ANALYZER_WARNING (CWE-476): [#def171]
ppp-ppp-2.5.1/pppd/plugins/winbind.c:233:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL 'result'
ppp-ppp-2.5.1/pppd/plugins/winbind.c:513:1: enter_function: entry to 'winbind_chap_verify'
ppp-ppp-2.5.1/pppd/plugins/winbind.c:539:12: branch_false: following 'false' branch (when 'p' is NULL)...
ppp-ppp-2.5.1/pppd/plugins/winbind.c:547:17: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/winbind.c:611:20: branch_false: following 'false' branch (when 'response_len == 49')...
ppp-ppp-2.5.1/pppd/plugins/winbind.c:614:17: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/winbind.c:619:21: call_function: calling 'run_ntlm_auth' from 'winbind_chap_verify'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def172]
ppp-ppp-2.5.1/pppd/plugins/winbind.c:271:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'child_in[1]'
ppp-ppp-2.5.1/pppd/plugins/winbind.c:513:1: enter_function: entry to 'winbind_chap_verify'
ppp-ppp-2.5.1/pppd/plugins/winbind.c:539:12: branch_false: following 'false' branch (when 'p' is NULL)...
ppp-ppp-2.5.1/pppd/plugins/winbind.c:547:17: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/winbind.c:558:20: branch_false: following 'false' branch (when 'response_len == 49')...
ppp-ppp-2.5.1/pppd/plugins/winbind.c:562:21: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/winbind.c:562:20: branch_true: following 'true' branch...
ppp-ppp-2.5.1/pppd/plugins/winbind.c:563:25: branch_true: ...to here
ppp-ppp-2.5.1/pppd/plugins/winbind.c:578:21: call_function: calling 'run_ntlm_auth' from 'winbind_chap_verify'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def173]
ppp-ppp-2.5.1/pppd/plugins/winbind.c:271:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'child_out[0]'
ppp-ppp-2.5.1/pppd/plugins/winbind.c:513:1: enter_function: entry to 'winbind_chap_verify'
ppp-ppp-2.5.1/pppd/plugins/winbind.c:539:12: branch_false: following 'false' branch (when 'p' is NULL)...
ppp-ppp-2.5.1/pppd/plugins/winbind.c:547:17: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/winbind.c:611:20: branch_false: following 'false' branch (when 'response_len == 49')...
ppp-ppp-2.5.1/pppd/plugins/winbind.c:614:17: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/winbind.c:619:21: call_function: calling 'run_ntlm_auth' from 'winbind_chap_verify'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def174]
ppp-ppp-2.5.1/pppd/plugins/winbind.c:271:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'child_out[1]'
ppp-ppp-2.5.1/pppd/plugins/winbind.c:513:1: enter_function: entry to 'winbind_chap_verify'
ppp-ppp-2.5.1/pppd/plugins/winbind.c:539:12: branch_false: following 'false' branch (when 'p' is NULL)...
ppp-ppp-2.5.1/pppd/plugins/winbind.c:547:17: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/winbind.c:611:20: branch_false: following 'false' branch (when 'response_len == 49')...
ppp-ppp-2.5.1/pppd/plugins/winbind.c:614:17: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/winbind.c:619:21: call_function: calling 'run_ntlm_auth' from 'winbind_chap_verify'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def175]
ppp-ppp-2.5.1/pppd/plugins/winbind.c:328:17: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'pipe_in' where non-null expected
ppp-ppp-2.5.1/pppd/plugins/winbind.c:513:1: enter_function: entry to 'winbind_chap_verify'
ppp-ppp-2.5.1/pppd/plugins/winbind.c:539:12: branch_false: following 'false' branch (when 'p' is NULL)...
ppp-ppp-2.5.1/pppd/plugins/winbind.c:547:17: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/winbind.c:611:20: branch_false: following 'false' branch (when 'response_len == 49')...
ppp-ppp-2.5.1/pppd/plugins/winbind.c:614:17: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/winbind.c:619:21: call_function: calling 'run_ntlm_auth' from 'winbind_chap_verify'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def176]
ppp-ppp-2.5.1/pppd/plugins/winbind.c:334:17: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'pipe_in' where non-null expected
ppp-ppp-2.5.1/pppd/plugins/winbind.c:513:1: enter_function: entry to 'winbind_chap_verify'
ppp-ppp-2.5.1/pppd/plugins/winbind.c:539:12: branch_true: following 'true' branch (when 'p' is non-NULL)...
ppp-ppp-2.5.1/pppd/plugins/winbind.c:540:17: branch_true: ...to here
ppp-ppp-2.5.1/pppd/plugins/winbind.c:558:20: branch_false: following 'false' branch (when 'response_len == 49')...
ppp-ppp-2.5.1/pppd/plugins/winbind.c:562:21: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/winbind.c:562:20: branch_true: following 'true' branch...
ppp-ppp-2.5.1/pppd/plugins/winbind.c:563:25: branch_true: ...to here
ppp-ppp-2.5.1/pppd/plugins/winbind.c:578:21: call_function: calling 'run_ntlm_auth' from 'winbind_chap_verify'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def177]
ppp-ppp-2.5.1/pppd/plugins/winbind.c:351:17: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'pipe_in' where non-null expected
ppp-ppp-2.5.1/pppd/plugins/winbind.c:513:1: enter_function: entry to 'winbind_chap_verify'
ppp-ppp-2.5.1/pppd/plugins/winbind.c:539:12: branch_false: following 'false' branch (when 'p' is NULL)...
ppp-ppp-2.5.1/pppd/plugins/winbind.c:547:17: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/winbind.c:611:20: branch_false: following 'false' branch (when 'response_len == 49')...
ppp-ppp-2.5.1/pppd/plugins/winbind.c:614:17: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/winbind.c:619:21: call_function: calling 'run_ntlm_auth' from 'winbind_chap_verify'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def178]
ppp-ppp-2.5.1/pppd/plugins/winbind.c:356:25: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'challenge_hex' where non-null expected
ppp-ppp-2.5.1/pppd/plugins/winbind.c:513:1: enter_function: entry to 'winbind_chap_verify'
ppp-ppp-2.5.1/pppd/plugins/winbind.c:539:12: branch_false: following 'false' branch (when 'p' is NULL)...
ppp-ppp-2.5.1/pppd/plugins/winbind.c:547:17: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/winbind.c:611:20: branch_false: following 'false' branch (when 'response_len == 49')...
ppp-ppp-2.5.1/pppd/plugins/winbind.c:614:17: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/winbind.c:619:21: call_function: calling 'run_ntlm_auth' from 'winbind_chap_verify'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def179]
ppp-ppp-2.5.1/pppd/plugins/winbind.c:376:25: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'nt_hex_hash' where non-null expected
ppp-ppp-2.5.1/pppd/plugins/winbind.c:513:1: enter_function: entry to 'winbind_chap_verify'
ppp-ppp-2.5.1/pppd/plugins/winbind.c:539:12: branch_false: following 'false' branch (when 'p' is NULL)...
ppp-ppp-2.5.1/pppd/plugins/winbind.c:547:17: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/winbind.c:558:20: branch_false: following 'false' branch (when 'response_len == 49')...
ppp-ppp-2.5.1/pppd/plugins/winbind.c:562:21: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/winbind.c:562:20: branch_true: following 'true' branch...
ppp-ppp-2.5.1/pppd/plugins/winbind.c:563:25: branch_true: ...to here
ppp-ppp-2.5.1/pppd/plugins/winbind.c:578:21: call_function: calling 'run_ntlm_auth' from 'winbind_chap_verify'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def180]
ppp-ppp-2.5.1/pppd/plugins/winbind.c:378:17: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'pipe_in' where non-null expected
ppp-ppp-2.5.1/pppd/plugins/winbind.c:513:1: enter_function: entry to 'winbind_chap_verify'
ppp-ppp-2.5.1/pppd/plugins/winbind.c:539:12: branch_false: following 'false' branch (when 'p' is NULL)...
ppp-ppp-2.5.1/pppd/plugins/winbind.c:547:17: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/winbind.c:558:20: branch_false: following 'false' branch (when 'response_len == 49')...
ppp-ppp-2.5.1/pppd/plugins/winbind.c:562:21: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/winbind.c:562:20: branch_true: following 'true' branch...
ppp-ppp-2.5.1/pppd/plugins/winbind.c:563:25: branch_true: ...to here
ppp-ppp-2.5.1/pppd/plugins/winbind.c:578:21: call_function: calling 'run_ntlm_auth' from 'winbind_chap_verify'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def181]
ppp-ppp-2.5.1/pppd/plugins/winbind.c:385:16: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'pipe_out' where non-null expected
ppp-ppp-2.5.1/pppd/plugins/winbind.c:513:1: enter_function: entry to 'winbind_chap_verify'
ppp-ppp-2.5.1/pppd/plugins/winbind.c:539:12: branch_false: following 'false' branch (when 'p' is NULL)...
ppp-ppp-2.5.1/pppd/plugins/winbind.c:547:17: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/winbind.c:558:20: branch_false: following 'false' branch (when 'response_len == 49')...
ppp-ppp-2.5.1/pppd/plugins/winbind.c:562:21: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/winbind.c:562:20: branch_true: following 'true' branch...
ppp-ppp-2.5.1/pppd/plugins/winbind.c:563:25: branch_true: ...to here
ppp-ppp-2.5.1/pppd/plugins/winbind.c:578:21: call_function: calling 'run_ntlm_auth' from 'winbind_chap_verify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def182]
ppp-ppp-2.5.1/pppd/plugins/winbind.c:424:33: warning[-Wanalyzer-malloc-leak]: leak of 'error_string'
ppp-ppp-2.5.1/pppd/plugins/winbind.c:513:1: enter_function: entry to 'winbind_chap_verify'
ppp-ppp-2.5.1/pppd/plugins/winbind.c:539:12: branch_false: following 'false' branch (when 'p' is NULL)...
ppp-ppp-2.5.1/pppd/plugins/winbind.c:547:17: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/winbind.c:558:20: branch_false: following 'false' branch (when 'response_len == 49')...
ppp-ppp-2.5.1/pppd/plugins/winbind.c:562:21: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/winbind.c:562:20: branch_true: following 'true' branch...
ppp-ppp-2.5.1/pppd/plugins/winbind.c:563:25: branch_true: ...to here
ppp-ppp-2.5.1/pppd/plugins/winbind.c:578:21: call_function: calling 'run_ntlm_auth' from 'winbind_chap_verify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def183]
ppp-ppp-2.5.1/pppd/plugins/winbind.c:428:33: warning[-Wanalyzer-malloc-leak]: leak of 'error_string'
ppp-ppp-2.5.1/pppd/plugins/winbind.c:513:1: enter_function: entry to 'winbind_chap_verify'
ppp-ppp-2.5.1/pppd/plugins/winbind.c:539:12: branch_false: following 'false' branch (when 'p' is NULL)...
ppp-ppp-2.5.1/pppd/plugins/winbind.c:547:17: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/winbind.c:558:20: branch_false: following 'false' branch (when 'response_len == 49')...
ppp-ppp-2.5.1/pppd/plugins/winbind.c:562:21: branch_false: ...to here
ppp-ppp-2.5.1/pppd/plugins/winbind.c:562:20: branch_true: following 'true' branch...
ppp-ppp-2.5.1/pppd/plugins/winbind.c:563:25: branch_true: ...to here
ppp-ppp-2.5.1/pppd/plugins/winbind.c:578:21: call_function: calling 'run_ntlm_auth' from 'winbind_chap_verify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def184]
ppp-ppp-2.5.1/pppd/session.c:158:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
ppp-ppp-2.5.1/pppd/session.c:135:8: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
branch_false: ...to here
ppp-ppp-2.5.1/pppd/session.c:137:23: branch_true: following ‘true’ branch (when ‘replies < num_msg’)...
ppp-ppp-2.5.1/pppd/session.c:138:20: branch_true: ...to here
ppp-ppp-2.5.1/pppd/session.c:146:39: branch_true: following ‘true’ branch...
ppp-ppp-2.5.1/pppd/session.c:146:39: branch_true: ...to here
ppp-ppp-2.5.1/pppd/session.c:146:39: acquire_memory: allocated here
ppp-ppp-2.5.1/pppd/session.c:137:23: branch_true: following ‘true’ branch (when ‘replies < num_msg’)...
ppp-ppp-2.5.1/pppd/session.c:138:20: branch_true: ...to here
ppp-ppp-2.5.1/pppd/session.c:158:17: danger: ‘<unknown>’ leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: CPPCHECK_WARNING (CWE-457): [#def185]
ppp-ppp-2.5.1/pppd/sys-linux.c:1060: error[uninitvar]: Uninitialized variable: x
Error: CPPCHECK_WARNING (CWE-457): [#def186]
ppp-ppp-2.5.1/pppd/sys-linux.c:1737: error[uninitvar]: Uninitialized variable: data
Error: GCC_ANALYZER_WARNING (CWE-775): [#def187]
ppp-ppp-2.5.1/pppd/sys-linux.c:2053:16: warning[-Wanalyzer-file-leak]: leak of FILE
ppp-ppp-2.5.1/pppd/sys-linux.c:2033:16: acquire_resource: opened here
ppp-ppp-2.5.1/pppd/sys-linux.c:2034:8: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/sys-linux.c:2039:5: branch_false: ...to here
ppp-ppp-2.5.1/pppd/sys-linux.c:2048:8: branch_true: following ‘true’ branch...
branch_true: ...to here
ppp-ppp-2.5.1/pppd/sys-linux.c:2051:23: branch_true: following ‘true’ branch (when ‘col != 12’)...
ppp-ppp-2.5.1/pppd/sys-linux.c:2053:22: branch_true: ...to here
ppp-ppp-2.5.1/pppd/sys-linux.c:2053:16: branch_false: following ‘false’ branch (when ‘q’ is non-NULL)...
ppp-ppp-2.5.1/pppd/sys-linux.c:2055:17: branch_false: ...to here
ppp-ppp-2.5.1/pppd/sys-linux.c:2067:17: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/sys-linux.c:2051:45: branch_false: ...to here
ppp-ppp-2.5.1/pppd/sys-linux.c:2051:23: branch_true: following ‘true’ branch (when ‘col != 12’)...
ppp-ppp-2.5.1/pppd/sys-linux.c:2053:22: branch_true: ...to here
ppp-ppp-2.5.1/pppd/sys-linux.c:2053:16: branch_false: following ‘false’ branch (when ‘q’ is non-NULL)...
ppp-ppp-2.5.1/pppd/sys-linux.c:2055:17: branch_false: ...to here
ppp-ppp-2.5.1/pppd/sys-linux.c:2067:17: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/sys-linux.c:2051:45: branch_false: ...to here
ppp-ppp-2.5.1/pppd/sys-linux.c:2051:23: branch_true: following ‘true’ branch (when ‘col != 12’)...
ppp-ppp-2.5.1/pppd/sys-linux.c:2053:22: branch_true: ...to here
ppp-ppp-2.5.1/pppd/sys-linux.c:2053:16: branch_false: following ‘false’ branch (when ‘q’ is non-NULL)...
ppp-ppp-2.5.1/pppd/sys-linux.c:2055:17: branch_false: ...to here
ppp-ppp-2.5.1/pppd/sys-linux.c:2067:17: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/sys-linux.c:2051:45: branch_false: ...to here
ppp-ppp-2.5.1/pppd/sys-linux.c:2051:23: branch_true: following ‘true’ branch (when ‘col != 12’)...
ppp-ppp-2.5.1/pppd/sys-linux.c:2053:22: branch_true: ...to here
ppp-ppp-2.5.1/pppd/sys-linux.c:2053:16: danger: leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def188]
ppp-ppp-2.5.1/pppd/sys-linux.c:2053:16: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
ppp-ppp-2.5.1/pppd/sys-linux.c:2033:16: acquire_memory: allocated here
ppp-ppp-2.5.1/pppd/sys-linux.c:2034:8: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/sys-linux.c:2039:5: branch_false: ...to here
ppp-ppp-2.5.1/pppd/sys-linux.c:2048:8: branch_true: following ‘true’ branch...
branch_true: ...to here
ppp-ppp-2.5.1/pppd/sys-linux.c:2051:23: branch_true: following ‘true’ branch (when ‘col != 12’)...
ppp-ppp-2.5.1/pppd/sys-linux.c:2053:22: branch_true: ...to here
ppp-ppp-2.5.1/pppd/sys-linux.c:2053:16: branch_false: following ‘false’ branch (when ‘q’ is non-NULL)...
ppp-ppp-2.5.1/pppd/sys-linux.c:2055:17: branch_false: ...to here
ppp-ppp-2.5.1/pppd/sys-linux.c:2067:17: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/sys-linux.c:2051:45: branch_false: ...to here
ppp-ppp-2.5.1/pppd/sys-linux.c:2051:23: branch_true: following ‘true’ branch (when ‘col != 12’)...
ppp-ppp-2.5.1/pppd/sys-linux.c:2053:22: branch_true: ...to here
ppp-ppp-2.5.1/pppd/sys-linux.c:2053:16: branch_false: following ‘false’ branch (when ‘q’ is non-NULL)...
ppp-ppp-2.5.1/pppd/sys-linux.c:2055:17: branch_false: ...to here
ppp-ppp-2.5.1/pppd/sys-linux.c:2067:17: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/sys-linux.c:2051:45: branch_false: ...to here
ppp-ppp-2.5.1/pppd/sys-linux.c:2051:23: branch_true: following ‘true’ branch (when ‘col != 12’)...
ppp-ppp-2.5.1/pppd/sys-linux.c:2053:22: branch_true: ...to here
ppp-ppp-2.5.1/pppd/sys-linux.c:2053:16: branch_false: following ‘false’ branch (when ‘q’ is non-NULL)...
ppp-ppp-2.5.1/pppd/sys-linux.c:2055:17: branch_false: ...to here
ppp-ppp-2.5.1/pppd/sys-linux.c:2067:17: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/sys-linux.c:2051:45: branch_false: ...to here
ppp-ppp-2.5.1/pppd/sys-linux.c:2051:23: branch_true: following ‘true’ branch (when ‘col != 12’)...
ppp-ppp-2.5.1/pppd/sys-linux.c:2053:22: branch_true: ...to here
ppp-ppp-2.5.1/pppd/sys-linux.c:2053:16: danger: ‘<unknown>’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-457): [#def189]
ppp-ppp-2.5.1/pppd/sys-linux.c:2102: warning[uninitvar]: Uninitialized variable: cols
Error: CPPCHECK_WARNING (CWE-476): [#def190]
ppp-ppp-2.5.1/pppd/sys-linux.c:2228: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: tmp_dev
Error: GCC_ANALYZER_WARNING (CWE-775): [#def191]
ppp-ppp-2.5.1/pppd/sys-linux.c:2382:9: warning[-Wanalyzer-file-leak]: leak of FILE
ppp-ppp-2.5.1/pppd/sys-linux.c:2404:12: enter_function: entry to ‘defaultroute6_exists’
ppp-ppp-2.5.1/pppd/sys-linux.c:2408:10: call_function: calling ‘open_route6_table’ from ‘defaultroute6_exists’
ppp-ppp-2.5.1/pppd/sys-linux.c:2408:10: return_function: returning to ‘defaultroute6_exists’ from ‘open_route6_table’
ppp-ppp-2.5.1/pppd/sys-linux.c:2408:8: branch_false: following ‘false’ branch...
branch_false: ...to here
ppp-ppp-2.5.1/pppd/sys-linux.c:2411:12: call_function: calling ‘read_route6_table’ from ‘defaultroute6_exists’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def192]
ppp-ppp-2.5.1/pppd/sys-linux.c:2382:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
ppp-ppp-2.5.1/pppd/sys-linux.c:2404:12: enter_function: entry to ‘defaultroute6_exists’
ppp-ppp-2.5.1/pppd/sys-linux.c:2408:10: call_function: calling ‘open_route6_table’ from ‘defaultroute6_exists’
ppp-ppp-2.5.1/pppd/sys-linux.c:2408:10: return_function: returning to ‘defaultroute6_exists’ from ‘open_route6_table’
ppp-ppp-2.5.1/pppd/sys-linux.c:2408:8: branch_false: following ‘false’ branch...
branch_false: ...to here
ppp-ppp-2.5.1/pppd/sys-linux.c:2411:12: call_function: calling ‘read_route6_table’ from ‘defaultroute6_exists’
Error: CPPCHECK_WARNING (CWE-457): [#def193]
ppp-ppp-2.5.1/pppd/sys-linux.c:2388: warning[uninitvar]: Uninitialized variable: cols
Error: CPPCHECK_WARNING (CWE-457): [#def194]
ppp-ppp-2.5.1/pppd/sys-linux.c:2817: warning[uninitvar]: Uninitialized variable: buf
Error: CPPCHECK_WARNING (CWE-457): [#def195]
ppp-ppp-2.5.1/pppd/sys-linux.c:2931: error[uninitvar]: Uninitialized variable: ifr
Error: COMPILER_WARNING (CWE-1164): [#def196]
ppp-ppp-2.5.1/pppd/sys-linux.c:176: included_from: Included from here.
ppp-ppp-2.5.1/pppd/termios_linux.h:186:13: warning[-Wunused-function]: ‘cfmakeraw’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-688): [#def197]
ppp-ppp-2.5.1/pppd/tls.c:197:13: warning[-Wanalyzer-null-argument]: use of NULL ‘ptr2’ where non-null expected
ppp-ppp-2.5.1/pppd/tls.c:129:8: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/tls.c:134:5: branch_false: ...to here
ppp-ppp-2.5.1/pppd/tls.c:136:8: branch_true: following ‘true’ branch...
ppp-ppp-2.5.1/pppd/tls.c:139:13: branch_true: ...to here
ppp-ppp-2.5.1/pppd/tls.c:163:12: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/tls.c:177:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
ppp-ppp-2.5.1/pppd/tls.c:182:13: branch_false: ...to here
ppp-ppp-2.5.1/pppd/tls.c:182:12: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/tls.c:183:14: branch_false: ...to here
ppp-ppp-2.5.1/pppd/tls.c:182:13: branch_false: following ‘false’ branch (when the strings are non-equal)...
ppp-ppp-2.5.1/pppd/tls.c:188:14: branch_false: ...to here
ppp-ppp-2.5.1/pppd/tls.c:188:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
ppp-ppp-2.5.1/pppd/tls.c:197:13: branch_false: ...to here
ppp-ppp-2.5.1/pppd/tls.c:197:13: danger: argument 2 (‘ptr2’) NULL where non-null expected
Error: CPPCHECK_WARNING (CWE-476): [#def198]
ppp-ppp-2.5.1/pppd/tls.c:243: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: tmp
Error: GCC_ANALYZER_WARNING (CWE-476): [#def199]
ppp-ppp-2.5.1/pppd/tls.c:243:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tmp’
ppp-ppp-2.5.1/pppd/tls.c:237:8: branch_true: following ‘true’ branch (when ‘out’ is non-NULL)...
ppp-ppp-2.5.1/pppd/tls.c:238:32: branch_true: ...to here
ppp-ppp-2.5.1/pppd/tls.c:238:32: acquire_memory: allocated here
ppp-ppp-2.5.1/pppd/tls.c:239:12: release_memory: assuming ‘tmp’ is NULL
ppp-ppp-2.5.1/pppd/tls.c:239:12: branch_true: following ‘true’ branch...
ppp-ppp-2.5.1/pppd/tls.c:240:13: branch_true: ...to here
ppp-ppp-2.5.1/pppd/tls.c:243:9: danger: dereference of NULL ‘calloc(1, 24)’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def200]
ppp-ppp-2.5.1/pppd/tty.c:685:32: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ipipe[0]’
ppp-ppp-2.5.1/pppd/tty.c:677:12: branch_true: following ‘true’ branch...
ppp-ppp-2.5.1/pppd/tty.c:678:21: branch_true: ...to here
ppp-ppp-2.5.1/pppd/tty.c:678:20: branch_true: following ‘true’ branch...
ppp-ppp-2.5.1/pppd/tty.c:681:29: branch_true: ...to here
ppp-ppp-2.5.1/pppd/tty.c:681:28: branch_true: following ‘true’ branch...
ppp-ppp-2.5.1/pppd/tty.c:682:33: branch_true: ...to here
ppp-ppp-2.5.1/pppd/tty.c:685:32: danger: use of uninitialized value ‘ipipe[0]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def201]
ppp-ppp-2.5.1/pppd/tty.c:686:32: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘opipe[1]’
ppp-ppp-2.5.1/pppd/tty.c:677:12: branch_true: following ‘true’ branch...
ppp-ppp-2.5.1/pppd/tty.c:678:21: branch_true: ...to here
ppp-ppp-2.5.1/pppd/tty.c:678:20: branch_true: following ‘true’ branch...
ppp-ppp-2.5.1/pppd/tty.c:681:29: branch_true: ...to here
ppp-ppp-2.5.1/pppd/tty.c:681:28: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/tty.c:681:48: branch_false: ...to here
ppp-ppp-2.5.1/pppd/tty.c:681:29: branch_true: following ‘true’ branch...
ppp-ppp-2.5.1/pppd/tty.c:682:33: branch_true: ...to here
ppp-ppp-2.5.1/pppd/tty.c:686:32: danger: use of uninitialized value ‘opipe[1]’ here
Error: GCC_ANALYZER_WARNING (CWE-686): [#def202]
ppp-ppp-2.5.1/pppd/utils.c:182:13: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘int’ but received ‘char (*)[4096]’ for variadic argument 1 of ‘args’
ppp-ppp-2.5.1/pppd/utils.c:1007:1: enter_function: entry to ‘relock’
ppp-ppp-2.5.1/pppd/utils.c:1017:8: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/utils.c:1019:10: branch_false: ...to here
ppp-ppp-2.5.1/pppd/utils.c:1020:8: branch_true: following ‘true’ branch...
ppp-ppp-2.5.1/pppd/utils.c:1021:9: branch_true: ...to here
ppp-ppp-2.5.1/pppd/utils.c:1021:9: call_function: calling ‘error’ from ‘relock’ with 1 variadic argument
Error: GCC_ANALYZER_WARNING (CWE-686): [#def203]
ppp-ppp-2.5.1/pppd/utils.c:193:17: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘int’ but received ‘char (*)[4096]’ for variadic argument 1 of ‘args’
ppp-ppp-2.5.1/pppd/utils.c:1007:1: enter_function: entry to ‘relock’
ppp-ppp-2.5.1/pppd/utils.c:1017:8: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/utils.c:1019:10: branch_false: ...to here
ppp-ppp-2.5.1/pppd/utils.c:1020:8: branch_true: following ‘true’ branch...
ppp-ppp-2.5.1/pppd/utils.c:1021:9: branch_true: ...to here
ppp-ppp-2.5.1/pppd/utils.c:1021:9: call_function: calling ‘error’ from ‘relock’ with 1 variadic argument
Error: GCC_ANALYZER_WARNING (CWE-686): [#def204]
ppp-ppp-2.5.1/pppd/utils.c:212:17: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘long int’ but received ‘char (*)[4096]’ for variadic argument 1 of ‘args’
ppp-ppp-2.5.1/pppd/utils.c:1007:1: enter_function: entry to ‘relock’
ppp-ppp-2.5.1/pppd/utils.c:1017:8: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/utils.c:1019:10: branch_false: ...to here
ppp-ppp-2.5.1/pppd/utils.c:1020:8: branch_true: following ‘true’ branch...
ppp-ppp-2.5.1/pppd/utils.c:1021:9: branch_true: ...to here
ppp-ppp-2.5.1/pppd/utils.c:1021:9: call_function: calling ‘error’ from ‘relock’ with 1 variadic argument
Error: GCC_ANALYZER_WARNING (CWE-686): [#def205]
ppp-ppp-2.5.1/pppd/utils.c:221:17: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘long unsigned int’ but received ‘char (*)[4096]’ for variadic argument 1 of ‘args’
ppp-ppp-2.5.1/pppd/utils.c:1007:1: enter_function: entry to ‘relock’
ppp-ppp-2.5.1/pppd/utils.c:1017:8: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/utils.c:1019:10: branch_false: ...to here
ppp-ppp-2.5.1/pppd/utils.c:1020:8: branch_true: following ‘true’ branch...
ppp-ppp-2.5.1/pppd/utils.c:1021:9: branch_true: ...to here
ppp-ppp-2.5.1/pppd/utils.c:1021:9: call_function: calling ‘error’ from ‘relock’ with 1 variadic argument
Error: GCC_ANALYZER_WARNING (CWE-686): [#def206]
ppp-ppp-2.5.1/pppd/utils.c:232:13: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘int’ but received ‘char (*)[4096]’ for variadic argument 1 of ‘args’
ppp-ppp-2.5.1/pppd/utils.c:1007:1: enter_function: entry to ‘relock’
ppp-ppp-2.5.1/pppd/utils.c:1017:8: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/utils.c:1019:10: branch_false: ...to here
ppp-ppp-2.5.1/pppd/utils.c:1020:8: branch_true: following ‘true’ branch...
ppp-ppp-2.5.1/pppd/utils.c:1021:9: branch_true: ...to here
ppp-ppp-2.5.1/pppd/utils.c:1021:9: call_function: calling ‘error’ from ‘relock’ with 1 variadic argument
Error: GCC_ANALYZER_WARNING (CWE-686): [#def207]
ppp-ppp-2.5.1/pppd/utils.c:241:19: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘unsigned int’ but received ‘char (*)[4096]’ for variadic argument 1 of ‘args’
ppp-ppp-2.5.1/pppd/utils.c:1007:1: enter_function: entry to ‘relock’
ppp-ppp-2.5.1/pppd/utils.c:1017:8: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/utils.c:1019:10: branch_false: ...to here
ppp-ppp-2.5.1/pppd/utils.c:1020:8: branch_true: following ‘true’ branch...
ppp-ppp-2.5.1/pppd/utils.c:1021:9: branch_true: ...to here
ppp-ppp-2.5.1/pppd/utils.c:1021:9: call_function: calling ‘error’ from ‘relock’ with 1 variadic argument
Error: GCC_ANALYZER_WARNING (CWE-686): [#def208]
ppp-ppp-2.5.1/pppd/utils.c:245:19: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘unsigned int’ but received ‘char (*)[4096]’ for variadic argument 1 of ‘args’
ppp-ppp-2.5.1/pppd/utils.c:1007:1: enter_function: entry to ‘relock’
ppp-ppp-2.5.1/pppd/utils.c:1017:8: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/utils.c:1019:10: branch_false: ...to here
ppp-ppp-2.5.1/pppd/utils.c:1020:8: branch_true: following ‘true’ branch...
ppp-ppp-2.5.1/pppd/utils.c:1021:9: branch_true: ...to here
ppp-ppp-2.5.1/pppd/utils.c:1021:9: call_function: calling ‘error’ from ‘relock’ with 1 variadic argument
Error: GCC_ANALYZER_WARNING (CWE-686): [#def209]
ppp-ppp-2.5.1/pppd/utils.c:250:19: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘unsigned int’ but received ‘char (*)[4096]’ for variadic argument 1 of ‘args’
ppp-ppp-2.5.1/pppd/utils.c:1007:1: enter_function: entry to ‘relock’
ppp-ppp-2.5.1/pppd/utils.c:1017:8: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/utils.c:1019:10: branch_false: ...to here
ppp-ppp-2.5.1/pppd/utils.c:1020:8: branch_true: following ‘true’ branch...
ppp-ppp-2.5.1/pppd/utils.c:1021:9: branch_true: ...to here
ppp-ppp-2.5.1/pppd/utils.c:1021:9: call_function: calling ‘error’ from ‘relock’ with 1 variadic argument
Error: GCC_ANALYZER_WARNING (CWE-686): [#def210]
ppp-ppp-2.5.1/pppd/utils.c:262:22: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘int’ but received ‘char (*)[4096]’ for variadic argument 1 of ‘args’
ppp-ppp-2.5.1/pppd/utils.c:1007:1: enter_function: entry to ‘relock’
ppp-ppp-2.5.1/pppd/utils.c:1017:8: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/utils.c:1019:10: branch_false: ...to here
ppp-ppp-2.5.1/pppd/utils.c:1020:8: branch_true: following ‘true’ branch...
ppp-ppp-2.5.1/pppd/utils.c:1021:9: branch_true: ...to here
ppp-ppp-2.5.1/pppd/utils.c:1021:9: call_function: calling ‘error’ from ‘relock’ with 1 variadic argument
Error: GCC_ANALYZER_WARNING (CWE-686): [#def211]
ppp-ppp-2.5.1/pppd/utils.c:270:13: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘u_int32_t’ {{aka ‘unsigned int’}} but received ‘char (*)[4096]’ for variadic argument 1 of ‘args’
ppp-ppp-2.5.1/pppd/utils.c:1007:1: enter_function: entry to ‘relock’
ppp-ppp-2.5.1/pppd/utils.c:1017:8: branch_false: following ‘false’ branch...
ppp-ppp-2.5.1/pppd/utils.c:1019:10: branch_false: ...to here
ppp-ppp-2.5.1/pppd/utils.c:1020:8: branch_true: following ‘true’ branch...
ppp-ppp-2.5.1/pppd/utils.c:1021:9: branch_true: ...to here
ppp-ppp-2.5.1/pppd/utils.c:1021:9: call_function: calling ‘error’ from ‘relock’ with 1 variadic argument
Error: COMPILER_WARNING (CWE-563): [#def212]
ppp-ppp-2.5.1/pppd/utils.c: scope_hint: In function ‘mkdir_parent’
ppp-ppp-2.5.1/pppd/utils.c:823:9: warning[-Wunused-variable]: unused variable ‘rc’
Error: COMPILER_WARNING (CWE-563): [#def213]
ppp-ppp-2.5.1/pppdump/pppdump.c:253:17: warning[-Wunused-variable]: unused variable ‘dn’
Error: COMPILER_WARNING (CWE-563): [#def214]
ppp-ppp-2.5.1/pppdump/pppdump.c:253:21: warning[-Wunused-variable]: unused variable ‘proto’
Error: COMPILER_WARNING (CWE-563): [#def215]
ppp-ppp-2.5.1/pppdump/pppdump.c:253:28: warning[-Wunused-variable]: unused variable ‘rv’
Error: COMPILER_WARNING (CWE-563): [#def216]
ppp-ppp-2.5.1/pppdump/pppdump.c: scope_hint: In function ‘dumpppp’
ppp-ppp-2.5.1/pppdump/pppdump.c:256:20: warning[-Wunused-variable]: unused variable ‘d’
Error: COMPILER_WARNING: [#def217]
ppp-ppp-2.5.1/pppstats/pppstats.c:39:19: warning[-Wunused-const-variable=]: ‘rcsid’ defined but not used
Error: CPPCHECK_WARNING (CWE-457): [#def218]
ppp-ppp-2.5.1/pppstats/pppstats.c:166: error[uninitvar]: Uninitialized variable: stats
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-195.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 | ppp-2.5.1-5.fc43 |
store-results-to | /tmp/tmp92rsw8aw/ppp-2.5.1-5.fc43.tar.xz |
time-created | 2025-04-25 14:58:20 |
time-finished | 2025-04-25 15:00:00 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmp92rsw8aw/ppp-2.5.1-5.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp92rsw8aw/ppp-2.5.1-5.fc43.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |