2025-01-25 04:42 ftp://ftp.de.debian.org/debian/pool/main/p/pptp-linux/pptp-linux_1.10.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-29-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.64 compiler: g++ (Debian 12.2.0-14) 12.2.0 cppcheck: head 2.16.0 head-info: a1a415d (2025-01-23 15:05:36 +0100) count: 109 97 elapsed-time: 656.1 629.1 head-timing-info: old-timing-info: head results: pptp-1.10.0/dirutil.c:40:22: warning: If memory allocation fails, then there is a possible null pointer dereference: pathname [nullPointerOutOfMemory] pptp-1.10.0/dirutil.c:50:48: note: Assuming allocation function fails pptp-1.10.0/dirutil.c:50:48: note: Calling function 'stripslash', 1st argument 'strdup(dir)' value is 0 pptp-1.10.0/dirutil.c:40:22: note: Null pointer dereference pptp-1.10.0/dirutil.c:41:23: warning: If memory allocation fails, then there is a possible null pointer dereference: pathname [nullPointerOutOfMemory] pptp-1.10.0/dirutil.c:50:48: note: Assuming allocation function fails pptp-1.10.0/dirutil.c:50:48: note: Calling function 'stripslash', 1st argument 'strdup(dir)' value is 0 pptp-1.10.0/dirutil.c:41:23: note: Null pointer dereference pptp-1.10.0/dirutil.c:42:9: warning: If memory allocation fails, then there is a possible null pointer dereference: pathname [nullPointerOutOfMemory] pptp-1.10.0/dirutil.c:50:48: note: Assuming allocation function fails pptp-1.10.0/dirutil.c:50:48: note: Calling function 'stripslash', 1st argument 'strdup(dir)' value is 0 pptp-1.10.0/dirutil.c:42:9: note: Null pointer dereference pptp-1.10.0/dirutil.c:47:27: style:inconclusive: Function 'make_valid_path' argument 1 names different: declaration 'dirname' definition 'dir'. [funcArgNamesDifferent] pptp-1.10.0/dirutil.h:14:27: note: Function 'make_valid_path' argument 1 names different: declaration 'dirname' definition 'dir'. pptp-1.10.0/dirutil.c:47:27: note: Function 'make_valid_path' argument 1 names different: declaration 'dirname' definition 'dir'. pptp-1.10.0/dirutil.c:15:23: style: Parameter 'pathname' can be declared as pointer to const [constParameterPointer] pptp-1.10.0/dirutil.c:26:21: style: Parameter 'pathname' can be declared as pointer to const [constParameterPointer] pptp-1.10.0/dirutil.c:47:27: style: Parameter 'dir' can be declared as pointer to const [constParameterPointer] pptp-1.10.0/ppp_fcs.c:80:29: style:inconclusive: Function 'pppfcs16' argument 2 names different: declaration 'cp' definition '_cp'. [funcArgNamesDifferent] pptp-1.10.0/ppp_fcs.h:12:41: note: Function 'pppfcs16' argument 2 names different: declaration 'cp' definition '_cp'. pptp-1.10.0/ppp_fcs.c:80:29: note: Function 'pppfcs16' argument 2 names different: declaration 'cp' definition '_cp'. pptp-1.10.0/ppp_fcs.c:82:29: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] pptp-1.10.0/pptp.c:93:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pptp-1.10.0/pptp.c:164:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] pptp-1.10.0/pptp.c:193:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] pptp-1.10.0/pptp.c:466:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pptp-1.10.0/pptp.c:500:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pptp-1.10.0/pptp_callmgr.c:84:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pptp-1.10.0/pptp_callmgr.c:124:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pptp-1.10.0/pptp_callmgr.c:327:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pptp-1.10.0/pptp_callmgr.c:369:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pptp-1.10.0/pptp_callmgr.c:412:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] pptp-1.10.0/pptp_gre.c:102:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pptp-1.10.0/pptp_gre.c:225:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pptp-1.10.0/pptp_gre.c:352:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pptp-1.10.0/pptp_gre.c:471:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pptp-1.10.0/pptp_gre.c:512:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pptp-1.10.0/pptp_callmgr.c:343:9: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] pptp-1.10.0/pptp_callmgr.c:303:13: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] pptp-1.10.0/pptp_callmgr.c:291:11: note: outer condition: rc>0 pptp-1.10.0/pptp_callmgr.c:303:13: note: identical inner condition: rc>0 pptp-1.10.0/pptp_callmgr.c:66:28: style: Variable 'lci' can be declared as pointer to const [constVariablePointer] pptp-1.10.0/pptp_callmgr.c:268:36: style: Variable 'lci' can be declared as pointer to const [constVariablePointer] pptp-1.10.0/pqueue.c:48:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pptp-1.10.0/pqueue.c:151:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pptp-1.10.0/pqueue.c:198:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pptp-1.10.0/pqueue.c:44:55: style: Parameter 'packet' can be declared as pointer to const [constParameterPointer] pptp-1.10.0/routing.c:74:25: style: Parameter 'ip' can be declared as pointer to const [constParameterPointer] pptp-1.10.0/test-redirections.c:46:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pptp-1.10.0/test-redirections.c:90:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pptp-1.10.0/test-redirections.c:136:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pptp-1.10.0/test-redirections.c:45:14: warning: If memory allocation fails, then there is a possible null pointer dereference: pocket_buf [nullPointerOutOfMemory] pptp-1.10.0/test-redirections.c:44:26: note: Assuming allocation function fails pptp-1.10.0/test-redirections.c:44:26: note: Assignment 'pocket_buf=malloc(count)', assigned value is 0 pptp-1.10.0/test-redirections.c:45:14: note: Null pointer dereference pptp-1.10.0/test-redirections.c:180:3: warning: If memory allocation fails, then there is a possible null pointer dereference: my [nullPointerOutOfMemory] pptp-1.10.0/test-redirections.c:178:30: note: Assuming allocation function fails pptp-1.10.0/test-redirections.c:178:30: note: Assignment 'my=malloc(sizeof(struct test_redirections))', assigned value is 0 pptp-1.10.0/test-redirections.c:180:3: note: Null pointer dereference pptp-1.10.0/test-redirections.c:57:12: style: Variable 'stat' is assigned a value that is never used. [unreadVariable] pptp-1.10.0/test-redirections.c:102:12: style: Variable 'stat' is assigned a value that is never used. [unreadVariable] pptp-1.10.0/test-redirections.c:148:12: style: Variable 'stat' is assigned a value that is never used. [unreadVariable] pptp-1.10.0/util.c:48:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] pptp-1.10.0/util.c:55:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pptp-1.10.0/util.c:63:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pptp-1.10.0/util.c:110:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] pptp-1.10.0/pptp_gre.c:112:9: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] pptp-1.10.0/pptp_gre.c:486:31: style: Parameter 'pack' can be declared as pointer to const. However it seems that 'encaps_gre' is a callback function, if 'pack' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pptp-1.10.0/pptp_gre.c:189:37: note: You might need to cast the function pointer here pptp-1.10.0/pptp_gre.c:486:31: note: Parameter 'pack' can be declared as pointer to const pptp-1.10.0/vector.c:66:25: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] pptp-1.10.0/pptp.c:431:16: portability: Non reentrant function 'ttyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'ttyname_r'. [prohibitedttynameCalled] pptp-1.10.0/vector_test.c:30:10: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] pptp-1.10.0/vector_test.c:29:19: note: Assuming allocation function fails pptp-1.10.0/vector_test.c:29:19: note: Assignment 'd=malloc(sizeof(int))', assigned value is 0 pptp-1.10.0/vector_test.c:30:10: note: Null pointer dereference pptp-1.10.0/vector_test.c:74:10: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] pptp-1.10.0/vector_test.c:73:19: note: Assuming allocation function fails pptp-1.10.0/vector_test.c:73:19: note: Assignment 'd=malloc(sizeof(int))', assigned value is 0 pptp-1.10.0/vector_test.c:74:10: note: Null pointer dereference pptp-1.10.0/pptp.c:166:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pptp-1.10.0/pptp.c:167:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pptp-1.10.0/pptp.c:168:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pptp-1.10.0/pptp.c:169:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pptp-1.10.0/pptp.c:170:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pptp-1.10.0/pptp.c:171:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pptp-1.10.0/pptp.c:172:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pptp-1.10.0/pptp.c:173:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pptp-1.10.0/pptp.c:174:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pptp-1.10.0/pptp.c:175:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pptp-1.10.0/pptp.c:176:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pptp-1.10.0/pptp.c:177:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pptp-1.10.0/pptp.c:178:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pptp-1.10.0/pptp.c:179:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pptp-1.10.0/pptp.c:194:11: style: Variable 'pty_name' can be declared as pointer to const [constVariablePointer] pptp-1.10.0/pptp.c:208:30: style: Variable 'long_options' can be declared as const array [constVariable] pptp-1.10.0/pptp_ctrl.c:205:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pptp-1.10.0/pptp_ctrl.c:258:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pptp-1.10.0/pptp_ctrl.c:274:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONN_IDLE [valueFlowBailoutIncompleteVar] pptp-1.10.0/pptp_ctrl.c:326:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONN_ESTABLISHED [valueFlowBailoutIncompleteVar] pptp-1.10.0/pptp_ctrl.c:334:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] pptp-1.10.0/pptp_ctrl.c:367:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONN_ESTABLISHED [valueFlowBailoutIncompleteVar] pptp-1.10.0/pptp_ctrl.c:420:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PPTP_CALL_PNS [valueFlowBailoutIncompleteVar] pptp-1.10.0/pptp_ctrl.c:455:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONN_IDLE [valueFlowBailoutIncompleteVar] pptp-1.10.0/pptp_ctrl.c:483:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONN_DEAD [valueFlowBailoutIncompleteVar] pptp-1.10.0/pptp_ctrl.c:488:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONN_DEAD [valueFlowBailoutIncompleteVar] pptp-1.10.0/pptp_ctrl.c:555:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pptp-1.10.0/pptp_ctrl.c:578:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pptp-1.10.0/pptp_ctrl.c:614:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pptp-1.10.0/pptp_ctrl.c:660:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pptp-1.10.0/pptp_ctrl.c:703:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pptp-1.10.0/pptp_ctrl.c:719:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pptp-1.10.0/pptp_ctrl.c:735:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pptp-1.10.0/pptp_ctrl.c:1036:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pptp-1.10.0/pptp_ctrl.c:1086:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ITIMER_REAL [valueFlowBailoutIncompleteVar] pptp-1.10.0/pptp_ctrl.c:1095:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONN_ESTABLISHED [valueFlowBailoutIncompleteVar] pptp-1.10.0/pptp_ctrl.c:695:12: warning: Assert statement calls a function which may have desired side effects: 'ntohl'. [assertWithSideEffect] pptp-1.10.0/pptp_ctrl.c:696:12: warning: Assert statement calls a function which may have desired side effects: 'ntohs'. [assertWithSideEffect] pptp-1.10.0/pptp_ctrl.c:731:12: warning: Assert statement calls a function which may have desired side effects: 'ntohl'. [assertWithSideEffect] pptp-1.10.0/pptp_ctrl.c:732:12: warning: Assert statement calls a function which may have desired side effects: 'ntohs'. [assertWithSideEffect] pptp-1.10.0/pptp_ctrl.c:733:12: warning: Assert statement calls a function which may have desired side effects: 'ntohs'. [assertWithSideEffect] pptp-1.10.0/pptp_ctrl.c:257:15: warning: Identical condition 'type==5', second condition is always false [identicalConditionAfterEarlyExit] pptp-1.10.0/pptp_ctrl.c:255:14: note: If condition 'type==5' is true, the function will return/exit pptp-1.10.0/pptp_ctrl.c:257:15: note: Testing identical condition 'type==5' pptp-1.10.0/pptp_ctrl.c:671:18: style: Checking if unsigned expression 'size' is less than zero. [unsignedLessThanZero] pptp-1.10.0/pptp_ctrl.c:325:38: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] pptp-1.10.0/pptp_ctrl.c:353:15: style: Parameter 'phonenr' can be declared as pointer to const [constParameterPointer] pptp-1.10.0/pptp_ctrl.c:486:35: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] pptp-1.10.0/pptp_ctrl.c:605:25: style: Variable 'header' can be declared as pointer to const [constVariablePointer] pptp-1.10.0/pptp_ctrl.c:693:25: style: Variable 'header' can be declared as pointer to const [constVariablePointer] pptp-1.10.0/pptp_ctrl.c:728:25: style: Variable 'header' can be declared as pointer to const [constVariablePointer] pptp-1.10.0/pptp_ctrl.c:743:42: style: Variable 'packet' can be declared as pointer to const [constVariablePointer] pptp-1.10.0/pptp_ctrl.c:852:36: style: Variable 'packet' can be declared as pointer to const [constVariablePointer] pptp-1.10.0/pptp_ctrl.c:1001:40: style: Variable 'packet' can be declared as pointer to const [constVariablePointer] pptp-1.10.0/pptp_ctrl.c:1045:36: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] pptp-1.10.0/pptp_ctrl.c:1045:54: style: Parameter 'call' can be declared as pointer to const [constParameterPointer] pptp-1.10.0/pptp_ctrl.c:1054:42: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] pptp-1.10.0/pptp_ctrl.c:1061:42: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] pptp-1.10.0/pptp_ctrl.c:1061:60: style: Parameter 'call' can be declared as pointer to const [constParameterPointer] pptp-1.10.0/pptp_ctrl.c:1075:42: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] diff: head pptp-1.10.0/dirutil.c:40:22: warning: If memory allocation fails, then there is a possible null pointer dereference: pathname [nullPointerOutOfMemory] pptp-1.10.0/dirutil.c:50:48: note: Assuming allocation function fails pptp-1.10.0/dirutil.c:50:48: note: Calling function 'stripslash', 1st argument 'strdup(dir)' value is 0 pptp-1.10.0/dirutil.c:40:22: note: Null pointer dereference head pptp-1.10.0/dirutil.c:41:23: warning: If memory allocation fails, then there is a possible null pointer dereference: pathname [nullPointerOutOfMemory] pptp-1.10.0/dirutil.c:50:48: note: Assuming allocation function fails pptp-1.10.0/dirutil.c:50:48: note: Calling function 'stripslash', 1st argument 'strdup(dir)' value is 0 pptp-1.10.0/dirutil.c:41:23: note: Null pointer dereference head pptp-1.10.0/dirutil.c:42:9: warning: If memory allocation fails, then there is a possible null pointer dereference: pathname [nullPointerOutOfMemory] pptp-1.10.0/dirutil.c:50:48: note: Assuming allocation function fails pptp-1.10.0/dirutil.c:50:48: note: Calling function 'stripslash', 1st argument 'strdup(dir)' value is 0 pptp-1.10.0/dirutil.c:42:9: note: Null pointer dereference head pptp-1.10.0/ppp_fcs.c:82:29: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] 2.16.0 pptp-1.10.0/pptp.c:164:12: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp.c:164:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/pptp.c:193:17: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp.c:193:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/pptp.c:466:23: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp.c:466:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/pptp.c:500:9: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp.c:500:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/pptp.c:93:13: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp.c:93:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/pptp_callmgr.c:124:9: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp_callmgr.c:124:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/pptp_callmgr.c:327:25: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp_callmgr.c:327:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/pptp_callmgr.c:369:9: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp_callmgr.c:369:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/pptp_callmgr.c:412:25: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp_callmgr.c:412:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/pptp_callmgr.c:84:13: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp_callmgr.c:84:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp_ctrl.c:1001:40: style: Variable 'packet' can be declared as pointer to const [constVariablePointer] 2.16.0 pptp-1.10.0/pptp_ctrl.c:1036:13: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp_ctrl.c:1036:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/pptp_ctrl.c:1086:30: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable ITIMER_REAL [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp_ctrl.c:1086:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ITIMER_REAL [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/pptp_ctrl.c:1095:36: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable CONN_ESTABLISHED [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp_ctrl.c:1095:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONN_ESTABLISHED [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/pptp_ctrl.c:205:9: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp_ctrl.c:205:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/pptp_ctrl.c:258:5: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp_ctrl.c:258:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/pptp_ctrl.c:274:24: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable CONN_IDLE [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp_ctrl.c:274:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONN_IDLE [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/pptp_ctrl.c:326:31: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable CONN_ESTABLISHED [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp_ctrl.c:326:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONN_ESTABLISHED [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/pptp_ctrl.c:334:27: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp_ctrl.c:334:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/pptp_ctrl.c:367:32: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable CONN_ESTABLISHED [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp_ctrl.c:367:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONN_ESTABLISHED [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/pptp_ctrl.c:420:31: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable PPTP_CALL_PNS [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp_ctrl.c:420:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PPTP_CALL_PNS [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/pptp_ctrl.c:455:29: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable CONN_IDLE [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp_ctrl.c:455:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONN_IDLE [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/pptp_ctrl.c:483:24: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable CONN_DEAD [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp_ctrl.c:483:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONN_DEAD [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/pptp_ctrl.c:488:32: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable CONN_DEAD [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp_ctrl.c:488:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONN_DEAD [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/pptp_ctrl.c:555:13: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp_ctrl.c:555:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/pptp_ctrl.c:578:13: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp_ctrl.c:578:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp_ctrl.c:605:25: style: Variable 'header' can be declared as pointer to const [constVariablePointer] 2.16.0 pptp-1.10.0/pptp_ctrl.c:614:13: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp_ctrl.c:614:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/pptp_ctrl.c:660:17: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp_ctrl.c:660:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp_ctrl.c:693:25: style: Variable 'header' can be declared as pointer to const [constVariablePointer] 2.16.0 pptp-1.10.0/pptp_ctrl.c:703:13: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp_ctrl.c:703:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/pptp_ctrl.c:719:9: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp_ctrl.c:719:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp_ctrl.c:728:25: style: Variable 'header' can be declared as pointer to const [constVariablePointer] 2.16.0 pptp-1.10.0/pptp_ctrl.c:735:9: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp_ctrl.c:735:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/pptp_gre.c:102:18: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp_gre.c:102:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/pptp_gre.c:225:27: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp_gre.c:225:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/pptp_gre.c:352:9: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp_gre.c:352:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/pptp_gre.c:471:17: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp_gre.c:471:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/pptp_gre.c:512:21: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pptp_gre.c:512:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/pqueue.c:151:7: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pqueue.c:151:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/pqueue.c:198:3: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pqueue.c:198:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/pqueue.c:48:3: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head pptp-1.10.0/pqueue.c:48:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/test-redirections.c:136:5: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head pptp-1.10.0/test-redirections.c:136:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head pptp-1.10.0/test-redirections.c:180:3: warning: If memory allocation fails, then there is a possible null pointer dereference: my [nullPointerOutOfMemory] pptp-1.10.0/test-redirections.c:178:30: note: Assuming allocation function fails pptp-1.10.0/test-redirections.c:178:30: note: Assignment 'my=malloc(sizeof(struct test_redirections))', assigned value is 0 pptp-1.10.0/test-redirections.c:180:3: note: Null pointer dereference head pptp-1.10.0/test-redirections.c:45:14: warning: If memory allocation fails, then there is a possible null pointer dereference: pocket_buf [nullPointerOutOfMemory] pptp-1.10.0/test-redirections.c:44:26: note: Assuming allocation function fails pptp-1.10.0/test-redirections.c:44:26: note: Assignment 'pocket_buf=malloc(count)', assigned value is 0 pptp-1.10.0/test-redirections.c:45:14: note: Null pointer dereference 2.16.0 pptp-1.10.0/test-redirections.c:46:7: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head pptp-1.10.0/test-redirections.c:46:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/test-redirections.c:90:5: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head pptp-1.10.0/test-redirections.c:90:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/util.c:110:26: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] head pptp-1.10.0/util.c:110:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/util.c:48:12: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] head pptp-1.10.0/util.c:48:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/util.c:55:13: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head pptp-1.10.0/util.c:55:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.16.0 pptp-1.10.0/util.c:63:13: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head pptp-1.10.0/util.c:63:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head pptp-1.10.0/vector_test.c:30:10: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] pptp-1.10.0/vector_test.c:29:19: note: Assuming allocation function fails pptp-1.10.0/vector_test.c:29:19: note: Assignment 'd=malloc(sizeof(int))', assigned value is 0 pptp-1.10.0/vector_test.c:30:10: note: Null pointer dereference head pptp-1.10.0/vector_test.c:74:10: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] pptp-1.10.0/vector_test.c:73:19: note: Assuming allocation function fails pptp-1.10.0/vector_test.c:73:19: note: Assignment 'd=malloc(sizeof(int))', assigned value is 0 pptp-1.10.0/vector_test.c:74:10: note: Null pointer dereference DONE