2026-05-04 09:33 ftp://ftp.de.debian.org/debian/pool/main/p/pptpd/pptpd_1.5.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --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 -j1 platform: Linux-6.8.0-1047-aws-aarch64-with-glibc2.35 python: 3.10.12 client-version: 1.4.0 compiler: g++ (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 150 121 elapsed-time: 2.1 1.9 head-timing-info: old-timing-info: head results: pptpd-1.5.0/bcrelay.c:235:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] pptpd-1.5.0/bcrelay.c:257:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] pptpd-1.5.0/bcrelay.c:278:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] pptpd-1.5.0/bcrelay.c:334:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pptpd-1.5.0/bcrelay.c:464:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_ll [valueFlowBailoutIncompleteVar] pptpd-1.5.0/bcrelay.c:885:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ICASE [valueFlowBailoutIncompleteVar] pptpd-1.5.0/bcrelay.c:1083:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_PACKET [valueFlowBailoutIncompleteVar] pptpd-1.5.0/bcrelay.c:293:14: style: Obsolescent function 'vfork' called. It is recommended to use 'fork' instead. [prohibitedvforkCalled] pptpd-1.5.0/bcrelay.c:974:32: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] pptpd-1.5.0/bcrelay.c:706:47: style: Condition 'prepare_ipp==0' is always true [knownConditionTrueFalse] pptpd-1.5.0/bcrelay.c:679:45: note: Assignment 'prepare_ipp=0', assigned value is 0 pptpd-1.5.0/bcrelay.c:706:47: note: Condition 'prepare_ipp==0' is always true pptpd-1.5.0/bcrelay.c:1049:3: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] pptpd-1.5.0/bcrelay.c:1049:3: warning: %ld in format string (no. 4) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] pptpd-1.5.0/bcrelay.c:1049:3: warning: %ld in format string (no. 5) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] pptpd-1.5.0/bcrelay.c:1049:3: warning: %ld in format string (no. 6) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] pptpd-1.5.0/bcrelay.c:1049:3: warning: %ld in format string (no. 7) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] pptpd-1.5.0/bcrelay.c:1049:3: warning: %ld in format string (no. 8) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] pptpd-1.5.0/bcrelay.c:1049:3: warning: %ld in format string (no. 9) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] pptpd-1.5.0/bcrelay.c:1049:3: warning: %ld in format string (no. 10) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] pptpd-1.5.0/bcrelay.c:279:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_argv [nullPointerOutOfMemory] pptpd-1.5.0/bcrelay.c:277:20: note: Assuming allocation function fails pptpd-1.5.0/bcrelay.c:277:20: note: Assignment 'new_argv=malloc((argc)*sizeof(char**))', assigned value is 0 pptpd-1.5.0/bcrelay.c:279:3: note: Null pointer dereference pptpd-1.5.0/bcrelay.c:286:7: warning: If memory allocation fails, then there is a possible null pointer dereference: new_argv [nullPointerOutOfMemory] pptpd-1.5.0/bcrelay.c:277:20: note: Assuming allocation function fails pptpd-1.5.0/bcrelay.c:277:20: note: Assignment 'new_argv=malloc((argc)*sizeof(char**))', assigned value is 0 pptpd-1.5.0/bcrelay.c:286:7: note: Null pointer dereference pptpd-1.5.0/bcrelay.c:288:7: warning: If memory allocation fails, then there is a possible null pointer dereference: new_argv [nullPointerOutOfMemory] pptpd-1.5.0/bcrelay.c:277:20: note: Assuming allocation function fails pptpd-1.5.0/bcrelay.c:277:20: note: Assignment 'new_argv=malloc((argc)*sizeof(char**))', assigned value is 0 pptpd-1.5.0/bcrelay.c:288:7: note: Null pointer dereference pptpd-1.5.0/bcrelay.c:388:26: warning: If memory allocation fails, then there is a possible null pointer dereference: ipsec [nullPointerOutOfMemory] pptpd-1.5.0/bcrelay.c:385:21: note: Assuming allocation function fails pptpd-1.5.0/bcrelay.c:385:21: note: Assignment 'ipsec=strdup(optarg)', assigned value is 0 pptpd-1.5.0/bcrelay.c:388:26: note: Null pointer dereference pptpd-1.5.0/bcrelay.c:341:3: style:inconclusive: Statements following noreturn function 'exit()' will never be executed. [unreachableCode] pptpd-1.5.0/bcrelay.c:233:29: style: Parameter 'prog' can be declared as pointer to const [constParameterPointer] pptpd-1.5.0/bcrelay.c:329:9: style: Variable 'ifout' can be declared as pointer to const [constVariablePointer] pptpd-1.5.0/bcrelay.c:330:9: style: Variable 'ifin' can be declared as pointer to const [constVariablePointer] pptpd-1.5.0/bcrelay.c:346:26: style: Variable 'long_options' can be declared as const array [constVariable] pptpd-1.5.0/bcrelay.c:878:23: style: Variable 'sin' can be declared as pointer to const [constVariablePointer] pptpd-1.5.0/bcrelay.c:974:27: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] pptpd-1.5.0/bcrelay.c:1045:45: style: Parameter 'ifp' can be declared as pointer to const [constParameterPointer] pptpd-1.5.0/bcrelay.c:1063:49: style: Parameter 'ifp' can be declared as pointer to const [constParameterPointer] pptpd-1.5.0/bcrelay.c:1070:49: style: Parameter 'ifp' can be declared as pointer to const [constParameterPointer] pptpd-1.5.0/bcrelay.c:1070:77: style: Parameter 'ifnr' can be declared as pointer to const [constParameterPointer] pptpd-1.5.0/bcrelay.c:164:8: style: struct member 'packet::data' is never used. [unusedStructMember] pptpd-1.5.0/bcrelay.c:738:45: style: Variable 'prepare_ipp' is assigned a value that is never used. [unreadVariable] pptpd-1.5.0/compat.c:64:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] pptpd-1.5.0/compat.c:157:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] pptpd-1.5.0/compat.c:169:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pptpd-1.5.0/compat.c:195:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pptpd-1.5.0/compat.c:29:9: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] pptpd-1.5.0/compat.c:58:18: style:inconclusive: Function 'openpty' argument 1 names different: declaration '' definition 'master'. [funcArgNamesDifferentUnnamed] pptpd-1.5.0/compat.c:58:31: style:inconclusive: Function 'openpty' argument 2 names different: declaration '' definition 'slave'. [funcArgNamesDifferentUnnamed] pptpd-1.5.0/compat.c:58:44: style:inconclusive: Function 'openpty' argument 3 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] pptpd-1.5.0/compat.c:58:56: style:inconclusive: Function 'openpty' argument 4 names different: declaration '' definition 'unused1'. [funcArgNamesDifferentUnnamed] pptpd-1.5.0/compat.c:58:71: style:inconclusive: Function 'openpty' argument 5 names different: declaration '' definition 'unused2'. [funcArgNamesDifferentUnnamed] pptpd-1.5.0/compat.c:99:20: style:inconclusive: Function 'strerror' argument 1 names different: declaration '' definition 'errnum'. [funcArgNamesDifferentUnnamed] pptpd-1.5.0/configfile.c:59:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pptpd-1.5.0/configfile.c:159:38: style:inconclusive: Function 'close_config_file' argument 1 names different: declaration 'file' definition 'in'. [funcArgNamesDifferent] pptpd-1.5.0/configfile.c:22:38: note: Function 'close_config_file' argument 1 names different: declaration 'file' definition 'in'. pptpd-1.5.0/configfile.c:159:38: note: Function 'close_config_file' argument 1 names different: declaration 'file' definition 'in'. pptpd-1.5.0/configfile.c:37:44: style: Parameter 'keyword' can be declared as pointer to const [constParameterPointer] pptpd-1.5.0/configfile.c:60:39: style: Variable 'p' can be declared as pointer to const [constVariablePointer] pptpd-1.5.0/configfile.c:137:37: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] pptpd-1.5.0/configfile.c:40:17: style: Variable 'len' is assigned a value that is never used. [unreadVariable] pptpd-1.5.0/ctrlpacket.c:76:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pptpd-1.5.0/ctrlpacket.c:141:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pptpd-1.5.0/ctrlpacket.c:220:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] pptpd-1.5.0/ctrlpacket.c:380:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] pptpd-1.5.0/ctrlpacket.c:398:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] pptpd-1.5.0/ctrlpacket.c:424:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pptpd-1.5.0/ctrlpacket.c:479:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] pptpd-1.5.0/ctrlpacket.c:506:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pptpd-1.5.0/ctrlpacket.c:547:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] pptpd-1.5.0/ctrlpacket.c:559:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] pptpd-1.5.0/ctrlpacket.c:571:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] pptpd-1.5.0/ctrlpacket.c:585:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pptpd-1.5.0/ctrlpacket.c:679:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pptpd-1.5.0/ctrlpacket.c:702:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pptpd-1.5.0/ctrlpacket.c:200:68: style:inconclusive: Function 'read_pptp_header' argument 3 names different: declaration 'ctrl_message_type' definition 'pptp_ctrl_type'. [funcArgNamesDifferent] pptpd-1.5.0/ctrlpacket.c:37:75: note: Function 'read_pptp_header' argument 3 names different: declaration 'ctrl_message_type' definition 'pptp_ctrl_type'. pptpd-1.5.0/ctrlpacket.c:200:68: note: Function 'read_pptp_header' argument 3 names different: declaration 'ctrl_message_type' definition 'pptp_ctrl_type'. pptpd-1.5.0/ctrlpacket.c:134:46: style: Parameter 'packet' can be declared as pointer to const [constParameterPointer] pptpd-1.5.0/ctrlpacket.c:205:29: style: Variable 'header' can be declared as pointer to const [constVariablePointer] pptpd-1.5.0/ctrlpacket.c:417:36: style: Variable 'out_call_rqst' can be declared as pointer to const [constVariablePointer] pptpd-1.5.0/ctrlpacket.c:468:32: style: Variable 'echo_rqst' can be declared as pointer to const [constVariablePointer] pptpd-1.5.0/ctrlpacket.c:536:36: style: Variable 'set_link_info' can be declared as pointer to const [constVariablePointer] pptpd-1.5.0/getopt.c:688:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pptpd-1.5.0/getopt.c:524:10: style:inconclusive: Function '_getopt_internal' argument 1 names different: declaration '' definition 'argc'. [funcArgNamesDifferentUnnamed] pptpd-1.5.0/getopt.c:525:19: style:inconclusive: Function '_getopt_internal' argument 2 names different: declaration '' definition 'argv'. [funcArgNamesDifferentUnnamed] pptpd-1.5.0/getopt.c:526:18: style:inconclusive: Function '_getopt_internal' argument 3 names different: declaration '' definition 'optstring'. [funcArgNamesDifferentUnnamed] pptpd-1.5.0/getopt.c:527:27: style:inconclusive: Function '_getopt_internal' argument 4 names different: declaration '' definition 'longopts'. [funcArgNamesDifferentUnnamed] pptpd-1.5.0/getopt.c:528:11: style:inconclusive: Function '_getopt_internal' argument 5 names different: declaration '' definition 'longind'. [funcArgNamesDifferentUnnamed] pptpd-1.5.0/getopt.c:529:10: style:inconclusive: Function '_getopt_internal' argument 6 names different: declaration '' definition 'long_only'. [funcArgNamesDifferentUnnamed] pptpd-1.5.0/getopt.c:980:10: style:inconclusive: Function 'getopt' argument 1 names different: declaration '' definition 'argc'. [funcArgNamesDifferentUnnamed] pptpd-1.5.0/getopt.c:981:19: style:inconclusive: Function 'getopt' argument 2 names different: declaration '' definition 'argv'. [funcArgNamesDifferentUnnamed] pptpd-1.5.0/getopt.c:982:18: style:inconclusive: Function 'getopt' argument 3 names different: declaration '' definition 'optstring'. [funcArgNamesDifferentUnnamed] pptpd-1.5.0/getopt.c:783:11: style: Variable 'temp' can be declared as pointer to const [constVariablePointer] pptpd-1.5.0/getopt1.c:77:10: style:inconclusive: Function 'getopt_long' argument 1 names different: declaration '' definition 'argc'. [funcArgNamesDifferentUnnamed] pptpd-1.5.0/getopt1.c:78:19: style:inconclusive: Function 'getopt_long' argument 2 names different: declaration '' definition 'argv'. [funcArgNamesDifferentUnnamed] pptpd-1.5.0/getopt1.c:79:18: style:inconclusive: Function 'getopt_long' argument 3 names different: declaration '' definition 'options'. [funcArgNamesDifferentUnnamed] pptpd-1.5.0/getopt1.c:80:27: style:inconclusive: Function 'getopt_long' argument 4 names different: declaration '' definition 'long_options'. [funcArgNamesDifferentUnnamed] pptpd-1.5.0/getopt1.c:81:11: style:inconclusive: Function 'getopt_long' argument 5 names different: declaration '' definition 'opt_index'. [funcArgNamesDifferentUnnamed] pptpd-1.5.0/getopt1.c:93:10: style:inconclusive: Function 'getopt_long_only' argument 1 names different: declaration '' definition 'argc'. [funcArgNamesDifferentUnnamed] pptpd-1.5.0/getopt1.c:94:19: style:inconclusive: Function 'getopt_long_only' argument 2 names different: declaration '' definition 'argv'. [funcArgNamesDifferentUnnamed] pptpd-1.5.0/getopt1.c:95:18: style:inconclusive: Function 'getopt_long_only' argument 3 names different: declaration '' definition 'options'. [funcArgNamesDifferentUnnamed] pptpd-1.5.0/getopt1.c:96:27: style:inconclusive: Function 'getopt_long_only' argument 4 names different: declaration '' definition 'long_options'. [funcArgNamesDifferentUnnamed] pptpd-1.5.0/getopt1.c:97:11: style:inconclusive: Function 'getopt_long_only' argument 5 names different: declaration '' definition 'opt_index'. [funcArgNamesDifferentUnnamed] pptpd-1.5.0/inststr.c:18:43: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] pptpd-1.5.0/plugins/pptpd-logwtmp.c:48:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IFNAMSIZ [valueFlowBailoutIncompleteVar] pptpd-1.5.0/plugins/pptpd-logwtmp.c:59:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IFNAMSIZ [valueFlowBailoutIncompleteVar] pptpd-1.5.0/pptpctrl.c:97:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pptpd-1.5.0/pptpctrl.c:142:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] pptpd-1.5.0/pptpctrl.c:295:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pptpd-1.5.0/pptpctrl.c:490:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] pptpd-1.5.0/pptpctrl.c:596:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pptpd-1.5.0/pptpctrl.c:692:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] pptpd-1.5.0/pptpctrl.c:268:41: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] pptpd-1.5.0/pptpctrl.c:269:50: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] pptpd-1.5.0/pptpctrl.c:498:58: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] pptpd-1.5.0/pptpctrl.c:624:24: style: Obsolescent function 'vfork' called. It is recommended to use 'fork' instead. [prohibitedvforkCalled] pptpd-1.5.0/pptpctrl.c:407:45: style: Variable 'gre_fd' is reassigned a value before the old one has been used. [redundantAssignment] pptpd-1.5.0/pptpctrl.c:389:56: note: gre_fd is assigned pptpd-1.5.0/pptpctrl.c:407:45: note: gre_fd is overwritten pptpd-1.5.0/pptpctrl.c:405:40: style: Variable 'pty_fd' is reassigned a value before the old one has been used. [redundantAssignment] pptpd-1.5.0/pptpctrl.c:394:56: note: pty_fd is assigned pptpd-1.5.0/pptpctrl.c:405:40: note: pty_fd is overwritten pptpd-1.5.0/pptpctrl.c:682:58: style: Parameter 'inetaddrs' can be declared as pointer to const [constParameterPointer] pptpd-1.5.0/pptpd.c:87:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] pptpd-1.5.0/pptpd.c:139:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] pptpd-1.5.0/pptpd.c:209:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pptpd-1.5.0/pptpd.c:482:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pptpd-1.5.0/pptpd.c:501:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] pptpd-1.5.0/pptpd.c:653:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pptpd-1.5.0/pptpd.c:504:20: style: Obsolescent function 'vfork' called. It is recommended to use 'fork' instead. [prohibitedvforkCalled] pptpd-1.5.0/pptpd.c:554:20: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] pptpd-1.5.0/pptpd.c:393:20: warning: If memory allocation fails, then there is a possible null pointer dereference: ppp_binary [nullPointerOutOfMemory] pptpd-1.5.0/pptpd.c:391:45: note: Assuming allocation function fails pptpd-1.5.0/pptpd.c:391:45: note: Assignment 'ppp_binary=strdup(PPP_BINARY)', assigned value is 0 pptpd-1.5.0/pptpd.c:393:20: note: Null pointer dereference pptpd-1.5.0/pptpd.c:544:27: style:inconclusive: Function 'lookup' argument 1 names different: declaration '' definition 'hostname'. [funcArgNamesDifferentUnnamed] pptpd-1.5.0/pptpd.c:85:29: style: Parameter 'prog' can be declared as pointer to const [constParameterPointer] pptpd-1.5.0/pptpd.c:155:44: style: Variable 'tmpstr' can be declared as pointer to const [constVariablePointer] pptpd-1.5.0/pptpd.c:163:23: style: Variable 'optstring' can be declared as pointer to const [constVariablePointer] pptpd-1.5.0/pptpd.c:165:38: style: Variable 'long_options' can be declared as const array [constVariable] pptpd-1.5.0/pptpd.c:546:25: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] pptpd-1.5.0/pptpd.c:575:28: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] pptpd-1.5.0/pptpd.c:609:15: style: Variable 'tmpstr3' can be declared as pointer to const [constVariablePointer] pptpd-1.5.0/pptpd.c:611:15: style: Variable 'tmpstr6' can be declared as pointer to const [constVariablePointer] pptpd-1.5.0/pptpgre.c:76:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pptpd-1.5.0/pptpgre.c:131:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pptpd-1.5.0/pptpgre.c:282:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pptpd-1.5.0/pptpgre.c:325:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] pptpd-1.5.0/pptpgre.c:350:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pptpd-1.5.0/pptpgre.c:491:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] pptpd-1.5.0/pptpgre.c:190:46: style: Array index 'start' is used before limits check. [arrayIndexThenCheck] pptpd-1.5.0/pptpgre.c:282:17: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pptpd-1.5.0/pptpgre.c:491:17: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pptpd-1.5.0/pptpgre.c:111:75: style:inconclusive: Function 'decaps_hdlc' argument 3 names different: declaration '' definition 'cl'. [funcArgNamesDifferentUnnamed] pptpd-1.5.0/pptpgre.c:342:74: style:inconclusive: Function 'decaps_gre' argument 3 names different: declaration '' definition 'cl'. [funcArgNamesDifferentUnnamed] pptpd-1.5.0/pptpgre.c:68:71: style: Parameter 'inetaddrs' can be declared as pointer to const [constParameterPointer] pptpd-1.5.0/pptpgre.c:269:24: style: Variable 'source' can be declared as pointer to const [constVariablePointer] pptpd-1.5.0/pptpgre.c:345:33: style: Variable 'header' can be declared as pointer to const [constVariablePointer] pptpd-1.5.0/pptpgre.c:443:30: style: Parameter 'pack' can be declared as pointer to const [constParameterPointer] pptpd-1.5.0/pptpmanager.c:377:89: error: There is an unknown macro here somewhere. Configuration is required. If SBINDIR is a macro then please configure it. [unknownMacro] pptpd-1.5.0/pqueue.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] pptpd-1.5.0/pqueue.c:138:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] pptpd-1.5.0/pqueue.c:185:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] pptpd-1.5.0/pqueue.c:201:3: style: Local variable 'point' shadows outer argument [shadowArgument] pptpd-1.5.0/pqueue.c:183:27: note: Shadowed declaration pptpd-1.5.0/pqueue.c:201:3: note: Shadow variable pptpd-1.5.0/pqueue.c:31:49: style: Parameter 'packet' can be declared as pointer to const [constParameterPointer] pptpd-1.5.0/pqueue.c:201:3: style: Variable 'point' can be declared as pointer to const [constVariablePointer] pptpd-1.5.0/configfile.c:142:25: warning: Null pointer dereference: filename [ctunullpointer] pptpd-1.5.0/pptpd.c:304:36: note: Assuming allocation function fails pptpd-1.5.0/pptpd.c:304:36: note: Assignment 'configFile=strdup("/etc/pptpd.conf")', assigned value is 0 pptpd-1.5.0/pptpd.c:306:29: note: Calling function read_config_file, 1st argument is null pptpd-1.5.0/configfile.c:50:14: note: Calling function open_config_file, 1st argument is null pptpd-1.5.0/configfile.c:142:25: note: Dereferencing argument filename that is null diff: head pptpd-1.5.0/compat.c:58:18: style:inconclusive: Function 'openpty' argument 1 names different: declaration '' definition 'master'. [funcArgNamesDifferentUnnamed] head pptpd-1.5.0/compat.c:58:31: style:inconclusive: Function 'openpty' argument 2 names different: declaration '' definition 'slave'. [funcArgNamesDifferentUnnamed] head pptpd-1.5.0/compat.c:58:44: style:inconclusive: Function 'openpty' argument 3 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] head pptpd-1.5.0/compat.c:58:56: style:inconclusive: Function 'openpty' argument 4 names different: declaration '' definition 'unused1'. [funcArgNamesDifferentUnnamed] head pptpd-1.5.0/compat.c:58:71: style:inconclusive: Function 'openpty' argument 5 names different: declaration '' definition 'unused2'. [funcArgNamesDifferentUnnamed] head pptpd-1.5.0/compat.c:99:20: style:inconclusive: Function 'strerror' argument 1 names different: declaration '' definition 'errnum'. [funcArgNamesDifferentUnnamed] head pptpd-1.5.0/getopt.c:524:10: style:inconclusive: Function '_getopt_internal' argument 1 names different: declaration '' definition 'argc'. [funcArgNamesDifferentUnnamed] head pptpd-1.5.0/getopt.c:525:19: style:inconclusive: Function '_getopt_internal' argument 2 names different: declaration '' definition 'argv'. [funcArgNamesDifferentUnnamed] head pptpd-1.5.0/getopt.c:526:18: style:inconclusive: Function '_getopt_internal' argument 3 names different: declaration '' definition 'optstring'. [funcArgNamesDifferentUnnamed] head pptpd-1.5.0/getopt.c:527:27: style:inconclusive: Function '_getopt_internal' argument 4 names different: declaration '' definition 'longopts'. [funcArgNamesDifferentUnnamed] head pptpd-1.5.0/getopt.c:528:11: style:inconclusive: Function '_getopt_internal' argument 5 names different: declaration '' definition 'longind'. [funcArgNamesDifferentUnnamed] head pptpd-1.5.0/getopt.c:529:10: style:inconclusive: Function '_getopt_internal' argument 6 names different: declaration '' definition 'long_only'. [funcArgNamesDifferentUnnamed] head pptpd-1.5.0/getopt.c:980:10: style:inconclusive: Function 'getopt' argument 1 names different: declaration '' definition 'argc'. [funcArgNamesDifferentUnnamed] head pptpd-1.5.0/getopt.c:981:19: style:inconclusive: Function 'getopt' argument 2 names different: declaration '' definition 'argv'. [funcArgNamesDifferentUnnamed] head pptpd-1.5.0/getopt.c:982:18: style:inconclusive: Function 'getopt' argument 3 names different: declaration '' definition 'optstring'. [funcArgNamesDifferentUnnamed] head pptpd-1.5.0/getopt1.c:77:10: style:inconclusive: Function 'getopt_long' argument 1 names different: declaration '' definition 'argc'. [funcArgNamesDifferentUnnamed] head pptpd-1.5.0/getopt1.c:78:19: style:inconclusive: Function 'getopt_long' argument 2 names different: declaration '' definition 'argv'. [funcArgNamesDifferentUnnamed] head pptpd-1.5.0/getopt1.c:79:18: style:inconclusive: Function 'getopt_long' argument 3 names different: declaration '' definition 'options'. [funcArgNamesDifferentUnnamed] head pptpd-1.5.0/getopt1.c:80:27: style:inconclusive: Function 'getopt_long' argument 4 names different: declaration '' definition 'long_options'. [funcArgNamesDifferentUnnamed] head pptpd-1.5.0/getopt1.c:81:11: style:inconclusive: Function 'getopt_long' argument 5 names different: declaration '' definition 'opt_index'. [funcArgNamesDifferentUnnamed] head pptpd-1.5.0/getopt1.c:93:10: style:inconclusive: Function 'getopt_long_only' argument 1 names different: declaration '' definition 'argc'. [funcArgNamesDifferentUnnamed] head pptpd-1.5.0/getopt1.c:94:19: style:inconclusive: Function 'getopt_long_only' argument 2 names different: declaration '' definition 'argv'. [funcArgNamesDifferentUnnamed] head pptpd-1.5.0/getopt1.c:95:18: style:inconclusive: Function 'getopt_long_only' argument 3 names different: declaration '' definition 'options'. [funcArgNamesDifferentUnnamed] head pptpd-1.5.0/getopt1.c:96:27: style:inconclusive: Function 'getopt_long_only' argument 4 names different: declaration '' definition 'long_options'. [funcArgNamesDifferentUnnamed] head pptpd-1.5.0/getopt1.c:97:11: style:inconclusive: Function 'getopt_long_only' argument 5 names different: declaration '' definition 'opt_index'. [funcArgNamesDifferentUnnamed] head pptpd-1.5.0/pptpd.c:544:27: style:inconclusive: Function 'lookup' argument 1 names different: declaration '' definition 'hostname'. [funcArgNamesDifferentUnnamed] head pptpd-1.5.0/pptpgre.c:111:75: style:inconclusive: Function 'decaps_hdlc' argument 3 names different: declaration '' definition 'cl'. [funcArgNamesDifferentUnnamed] head pptpd-1.5.0/pptpgre.c:342:74: style:inconclusive: Function 'decaps_gre' argument 3 names different: declaration '' definition 'cl'. [funcArgNamesDifferentUnnamed] head pptpd-1.5.0/pptpgre.c:345:33: style: Variable 'header' can be declared as pointer to const [constVariablePointer] DONE