2025-05-06 14:48 ftp://ftp.de.debian.org/debian/pool/main/n/nis/nis_3.17.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --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 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 3ed376a (2025-05-06 16:30:48 +0200) count: 405 410 elapsed-time: 1.6 1.8 head-timing-info: old-timing-info: head results: nis-3.17.1.orig/yp-tools-2.9/lib/getline.c:117:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/lib/nicknames.c:64:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/lib/nicknames.c:153:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/lib/nicknames.c:109:7: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] nis-3.17.1.orig/yp-tools-2.9/lib/nicknames.c:108:20: note: Assuming allocation function fails nis-3.17.1.orig/yp-tools-2.9/lib/nicknames.c:108:20: note: Assignment 'ptr=calloc(1,sizeof(struct ypalias))', assigned value is 0 nis-3.17.1.orig/yp-tools-2.9/lib/nicknames.c:109:7: note: Null pointer dereference nis-3.17.1.orig/yp-tools-2.9/lib/nicknames.c:110:7: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] nis-3.17.1.orig/yp-tools-2.9/lib/nicknames.c:108:20: note: Assuming allocation function fails nis-3.17.1.orig/yp-tools-2.9/lib/nicknames.c:108:20: note: Assignment 'ptr=calloc(1,sizeof(struct ypalias))', assigned value is 0 nis-3.17.1.orig/yp-tools-2.9/lib/nicknames.c:110:7: note: Null pointer dereference nis-3.17.1.orig/yp-tools-2.9/lib/nicknames.c:111:7: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] nis-3.17.1.orig/yp-tools-2.9/lib/nicknames.c:108:20: note: Assuming allocation function fails nis-3.17.1.orig/yp-tools-2.9/lib/nicknames.c:108:20: note: Assignment 'ptr=calloc(1,sizeof(struct ypalias))', assigned value is 0 nis-3.17.1.orig/yp-tools-2.9/lib/nicknames.c:111:7: note: Null pointer dereference nis-3.17.1.orig/yp-tools-2.9/lib/yp_all_host.c:47:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ypresp_all [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/lib/yp_all_host.c:112:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YPERR_BADARGS [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/lib/yp_all_host.c:120:31: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] nis-3.17.1.orig/yp-tools-2.9/lib/yp_all_host.c:111:30: style: Condition 'inmap=='\0'' is always false [knownConditionTrueFalse] nis-3.17.1.orig/yp-tools-2.9/lib/yp_all_host.c:144:9: style: Variable 'res' is reassigned a value before the old one has been used. [redundantAssignment] nis-3.17.1.orig/yp-tools-2.9/lib/yp_all_host.c:114:7: note: res is assigned nis-3.17.1.orig/yp-tools-2.9/lib/yp_all_host.c:144:9: note: res is overwritten nis-3.17.1.orig/yp-tools-2.9/lib/yp_all_host.c:120:23: style: Variable 'host' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/yp-tools-2.9/lib/yp_all_host.c:111:30: warning: Char literal compared with pointer 'inmap'. Did you intend to dereference it? [charLiteralWithCharPtrCompare] nis-3.17.1.orig/yp-tools-2.9/lib/getopt.c:683:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/domainname.c:44:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/domainname.c:62:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/domainname.c:73:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/domainname.c:86:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/domainname.c:98:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/domainname.c:95:9: style: Variable 'progname' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/yp-tools-2.9/src/domainname.c:116:28: style: Variable 'long_options' can be declared as const array [constVariable] nis-3.17.1.orig/yp-tools-2.9/src/ypcat.c:43:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/ypcat.c:62:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/ypcat.c:83:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/ypcat.c:95:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YP_TRUE [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/ypcat.c:123:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/ypmatch.c:45:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/ypmatch.c:64:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/ypmatch.c:83:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/ypmatch.c:96:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/ypcat.c:92:31: style: Parameter 'inkey' can be declared as pointer to const. However it seems that 'print_data' is a callback function, if 'inkey' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nis-3.17.1.orig/yp-tools-2.9/src/ypcat.c:220:22: note: You might need to cast the function pointer here nis-3.17.1.orig/yp-tools-2.9/src/ypcat.c:92:31: note: Parameter 'inkey' can be declared as pointer to const nis-3.17.1.orig/yp-tools-2.9/src/ypcat.c:92:58: style: Parameter 'inval' can be declared as pointer to const. However it seems that 'print_data' is a callback function, if 'inval' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nis-3.17.1.orig/yp-tools-2.9/src/ypcat.c:220:22: note: You might need to cast the function pointer here nis-3.17.1.orig/yp-tools-2.9/src/ypcat.c:92:58: note: Parameter 'inval' can be declared as pointer to const nis-3.17.1.orig/yp-tools-2.9/src/ypcat.c:132:28: style: Variable 'long_options' can be declared as const array [constVariable] nis-3.17.1.orig/yp-tools-2.9/src/ypmatch.c:105:28: style: Variable 'long_options' can be declared as const array [constVariable] nis-3.17.1.orig/yp-tools-2.9/src/yppoll.c:47:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/yppoll.c:66:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/yppoll.c:83:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/yppoll.c:105:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/yppasswd.c:84:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/yppasswd.c:114:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/yppasswd.c:128:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/yppasswd.c:139:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/yppasswd.c:152:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/yppasswd.c:171:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/yppasswd.c:273:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ypresp_val [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/yppasswd.c:335:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/yppasswd.c:385:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/yppasswd.c:449:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/yppoll.c:219:14: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] nis-3.17.1.orig/yp-tools-2.9/src/yppoll.c:227:14: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] nis-3.17.1.orig/yp-tools-2.9/src/yppoll.c:323:7: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] nis-3.17.1.orig/yp-tools-2.9/src/yppoll.c:321:24: note: Assuming allocation function fails nis-3.17.1.orig/yp-tools-2.9/src/yppoll.c:321:24: note: Assignment 'c=strdup(ctime(&order))', assigned value is 0 nis-3.17.1.orig/yp-tools-2.9/src/yppoll.c:323:7: note: Null pointer dereference nis-3.17.1.orig/yp-tools-2.9/src/yppoll.c:323:16: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] nis-3.17.1.orig/yp-tools-2.9/src/yppoll.c:321:24: note: Assuming allocation function fails nis-3.17.1.orig/yp-tools-2.9/src/yppoll.c:321:24: note: Assignment 'c=strdup(ctime(&order))', assigned value is 0 nis-3.17.1.orig/yp-tools-2.9/src/yppoll.c:323:16: note: Null pointer dereference nis-3.17.1.orig/yp-tools-2.9/src/yppoll.c:94:9: style: Variable 'hostname' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/yp-tools-2.9/src/yppoll.c:94:47: style: Variable 'master' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/yp-tools-2.9/src/yppoll.c:114:28: style: Variable 'long_options' can be declared as const array [constVariable] nis-3.17.1.orig/yp-tools-2.9/src/yppoll.c:172:23: style: Variable 'hent' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/yp-tools-2.9/src/yppoll.c:225:23: style: Variable 'hent' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/yp-tools-2.9/src/yppoll.c:190:19: error: Uninitialized variable: ypbr [uninitvar] nis-3.17.1.orig/yp-tools-2.9/src/yppoll.c:270:20: error: Uninitialized variable: clnt_res [uninitvar] nis-3.17.1.orig/yp-tools-2.9/src/ypserv_test.c:59:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/ypserv_test.c:78:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/ypserv_test.c:97:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/ypserv_test.c:106:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YPPROC_NULL [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/ypserv_test.c:128:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RPC_SUCCESS [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/ypserv_test.c:141:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YPPROC_DOMAIN [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/ypserv_test.c:169:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RPC_SUCCESS [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/ypserv_test.c:214:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YPPROC_DOMAIN_NONACK [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/ypserv_test.c:242:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RPC_SUCCESS [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/ypserv_test.c:287:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YPPROC_MATCH [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/ypserv_test.c:318:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RPC_SUCCESS [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/ypserv_test.c:400:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YPPROC_FIRST [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/ypserv_test.c:430:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RPC_SUCCESS [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/ypserv_test.c:512:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YPPROC_NEXT [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/ypserv_test.c:545:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RPC_SUCCESS [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/ypserv_test.c:662:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/ypserv_test.c:715:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] nis-3.17.1.orig/yp-tools-2.9/lib/getopt.c:776:11: style: Variable 'temp' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/yp-tools-2.9/src/ypserv_test.c:659:9: style: Variable 'map' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/yp-tools-2.9/src/ypserv_test.c:671:28: style: Variable 'long_options' can be declared as const array [constVariable] nis-3.17.1.orig/yp-tools-2.9/src/ypset.c:52:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/ypset.c:70:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/ypset.c:86:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/ypset.c:108:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/ypset.c:162:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/ypset.c:114:13: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] nis-3.17.1.orig/yp-tools-2.9/src/ypset.c:237:31: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] nis-3.17.1.orig/yp-tools-2.9/src/ypset.c:95:13: style: Parameter 'host' can be declared as pointer to const [constParameterPointer] nis-3.17.1.orig/yp-tools-2.9/src/ypset.c:99:19: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/yp-tools-2.9/src/ypset.c:171:28: style: Variable 'long_options' can be declared as const array [constVariable] nis-3.17.1.orig/yp-tools-2.9/src/ypset.c:237:24: style: Variable 'hent' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/yp-tools-2.9/src/yptest.c:55:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/yptest.c:74:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/yptest.c:95:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/yptest.c:113:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RPC_ANYSOCK [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/yptest.c:173:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YP_TRUE [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/yptest.c:213:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/ypwhich.c:52:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/ypwhich.c:71:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/ypwhich.c:92:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/ypwhich.c:110:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RPC_ANYSOCK [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/ypwhich.c:167:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/yptest.c:157:10: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] nis-3.17.1.orig/yp-tools-2.9/src/yptest.c:311:11: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] nis-3.17.1.orig/yp-tools-2.9/src/yptest.c:106:19: style: Variable 'host' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/yp-tools-2.9/src/yptest.c:170:31: style: Parameter 'inkey' can be declared as pointer to const. However it seems that 'print_data' is a callback function, if 'inkey' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nis-3.17.1.orig/yp-tools-2.9/src/yptest.c:477:22: note: You might need to cast the function pointer here nis-3.17.1.orig/yp-tools-2.9/src/yptest.c:170:31: note: Parameter 'inkey' can be declared as pointer to const nis-3.17.1.orig/yp-tools-2.9/src/yptest.c:170:58: style: Parameter 'inval' can be declared as pointer to const. However it seems that 'print_data' is a callback function, if 'inval' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nis-3.17.1.orig/yp-tools-2.9/src/yptest.c:477:22: note: You might need to cast the function pointer here nis-3.17.1.orig/yp-tools-2.9/src/yptest.c:170:58: note: Parameter 'inval' can be declared as pointer to const nis-3.17.1.orig/yp-tools-2.9/src/yptest.c:222:28: style: Variable 'long_options' can be declared as const array [constVariable] nis-3.17.1.orig/yp-tools-2.9/src/yptest.c:304:23: style: Variable 'host' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/yp-tools-2.9/src/yptest.c:130:33: error: Uninitialized variable: yp_r [uninitvar] nis-3.17.1.orig/ypbind-mt-1.38/lib/clnt_udp.c:141:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLIENT [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypbind-mt-1.38/lib/clnt_udp.c:283:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDR_ENCODE [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypbind-mt-1.38/lib/clnt_udp.c:442:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDR_FREE [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypbind-mt-1.38/lib/clnt_udp.c:490:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLIENT [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/ypwhich.c:151:10: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] nis-3.17.1.orig/yp-tools-2.9/src/ypwhich.c:350:12: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] nis-3.17.1.orig/yp-tools-2.9/src/ypwhich.c:103:19: style: Variable 'host' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/yp-tools-2.9/src/ypwhich.c:176:28: style: Variable 'long_options' can be declared as const array [constVariable] nis-3.17.1.orig/yp-tools-2.9/src/ypwhich.c:342:20: style: Variable 'host' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/yp-tools-2.9/src/ypwhich.c:126:19: error: Uninitialized variable: yp_r [uninitvar] nis-3.17.1.orig/ypbind-mt-1.38/lib/clnt_udp.c:430:19: style: Variable 'cu' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypbind-mt-1.38/src/log_msg.c:62:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypbind-mt-1.38/src/log_msg.c:100:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypbind-mt-1.38/src/log_msg.c:122:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] nis-3.17.1.orig/ypbind-mt-1.38/src/log_msg.c:113:14: style: Variable 't' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:157:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:268:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_addr [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:333:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_addr [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:541:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable h_errno [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:639:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:709:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_bool [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:1017:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RPC_ANYSOCK [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:1115:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:1181:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RPC_SUCCESS [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind-mt.c:92:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind-mt.c:124:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind-mt.c:316:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind-mt.c:337:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind-mt.c:446:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINTR [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind-mt.c:511:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind-mt.c:538:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_UDP [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind-mt.c:557:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind-mt.c:681:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/yp-tools-2.9/src/yppasswd.c:298:12: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] nis-3.17.1.orig/yp-tools-2.9/src/yppasswd.c:405:36: portability: Non reentrant function 'crypt' called. For threadsafe applications it is recommended to use the reentrant replacement function 'crypt_r'. [prohibitedcryptCalled] nis-3.17.1.orig/yp-tools-2.9/src/yppasswd.c:641:18: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] nis-3.17.1.orig/yp-tools-2.9/src/yppasswd.c:665:18: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] nis-3.17.1.orig/yp-tools-2.9/src/yppasswd.c:668:16: portability: Non reentrant function 'crypt' called. For threadsafe applications it is recommended to use the reentrant replacement function 'crypt_r'. [prohibitedcryptCalled] nis-3.17.1.orig/yp-tools-2.9/src/yppasswd.c:740:39: portability: Non reentrant function 'crypt' called. For threadsafe applications it is recommended to use the reentrant replacement function 'crypt_r'. [prohibitedcryptCalled] nis-3.17.1.orig/yp-tools-2.9/src/yppasswd.c:289:7: error: Memory leak: key.domain [memleak] nis-3.17.1.orig/yp-tools-2.9/src/yppasswd.c:277:35: warning: If memory allocation fails, then there is a possible null pointer dereference: keyval [nullPointerOutOfMemory] nis-3.17.1.orig/yp-tools-2.9/src/yppasswd.c:263:23: note: Assuming allocation function fails nis-3.17.1.orig/yp-tools-2.9/src/yppasswd.c:263:23: note: Assignment 'keyval=strdup(uidbuf)', assigned value is 0 nis-3.17.1.orig/yp-tools-2.9/src/yppasswd.c:277:35: note: Null pointer dereference nis-3.17.1.orig/yp-tools-2.9/src/yppasswd.c:692:7: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] nis-3.17.1.orig/yp-tools-2.9/src/yppasswd.c:687:29: note: Assuming allocation function fails nis-3.17.1.orig/yp-tools-2.9/src/yppasswd.c:687:13: note: Assignment 'buf=(char*)malloc(129)', assigned value is 0 nis-3.17.1.orig/yp-tools-2.9/src/yppasswd.c:692:7: note: Null pointer dereference nis-3.17.1.orig/yp-tools-2.9/src/yppasswd.c:245:30: style: Parameter 'domainname' can be declared as pointer to const [constParameterPointer] nis-3.17.1.orig/yp-tools-2.9/src/yppasswd.c:245:48: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] nis-3.17.1.orig/yp-tools-2.9/src/yppasswd.c:378:32: style: Parameter 'pwd' can be declared as pointer to const [constParameterPointer] nis-3.17.1.orig/yp-tools-2.9/src/yppasswd.c:442:13: style: Variable 'progname' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/yp-tools-2.9/src/yppasswd.c:470:28: style: Variable 'long_options' can be declared as const array [constVariable] nis-3.17.1.orig/yp-tools-2.9/src/yppasswd.c:683:28: style: Variable 'p' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind_server.c:83:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind_server.c:106:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind_server.c:124:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind_server.c:143:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind_server.c:183:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind_server.c:216:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind_server.c:188:26: style: Local variable 'port' shadows outer variable [shadowVariable] nis-3.17.1.orig/ypbind-mt-1.38/src/local.h:7:12: note: Shadowed declaration nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind_server.c:188:26: note: Shadow variable nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind_server.c:221:26: style: Local variable 'port' shadows outer variable [shadowVariable] nis-3.17.1.orig/ypbind-mt-1.38/src/local.h:7:12: note: Shadowed declaration nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind_server.c:221:26: note: Shadow variable nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind_server.c:139:26: style: Parameter 'fromhost' can be declared as pointer to const [constParameterPointer] nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:1006:22: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:537:14: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:638:18: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:250:29: style:inconclusive: Function 'change_binding' argument 1 names different: declaration '__domain' definition 'domain'. [funcArgNamesDifferent] nis-3.17.1.orig/ypbind-mt-1.38/src/local.h:18:41: note: Function 'change_binding' argument 1 names different: declaration '__domain' definition 'domain'. nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:250:29: note: Function 'change_binding' argument 1 names different: declaration '__domain' definition 'domain'. nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:460:25: style:inconclusive: Function 'add_server' argument 1 names different: declaration '__domain' definition 'domain'. [funcArgNamesDifferent] nis-3.17.1.orig/ypbind-mt-1.38/src/local.h:16:37: note: Function 'add_server' argument 1 names different: declaration '__domain' definition 'domain'. nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:460:25: note: Function 'add_server' argument 1 names different: declaration '__domain' definition 'domain'. nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:460:45: style:inconclusive: Function 'add_server' argument 2 names different: declaration '__host' definition 'host'. [funcArgNamesDifferent] nis-3.17.1.orig/ypbind-mt-1.38/src/local.h:16:59: note: Function 'add_server' argument 2 names different: declaration '__host' definition 'host'. nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:460:45: note: Function 'add_server' argument 2 names different: declaration '__host' definition 'host'. nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:460:55: style:inconclusive: Function 'add_server' argument 3 names different: declaration '__check_syntax' definition 'check_syntax'. [funcArgNamesDifferent] nis-3.17.1.orig/ypbind-mt-1.38/src/local.h:17:8: note: Function 'add_server' argument 3 names different: declaration '__check_syntax' definition 'check_syntax'. nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:460:55: note: Function 'add_server' argument 3 names different: declaration '__check_syntax' definition 'check_syntax'. nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:1160:48: style:inconclusive: Function 'test_bindings_once' argument 2 names different: declaration 'domain' definition 'req_domain'. [funcArgNamesDifferent] nis-3.17.1.orig/ypbind-mt-1.38/src/local.h:24:59: note: Function 'test_bindings_once' argument 2 names different: declaration 'domain' definition 'req_domain'. nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:1160:48: note: Function 'test_bindings_once' argument 2 names different: declaration 'domain' definition 'req_domain'. nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:677:9: style: Local variable 'domain' shadows outer variable [shadowVariable] nis-3.17.1.orig/ypbind-mt-1.38/src/local.h:11:14: note: Shadowed declaration nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:677:9: note: Shadow variable nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:989:9: style: Local variable 'domain' shadows outer variable [shadowVariable] nis-3.17.1.orig/ypbind-mt-1.38/src/local.h:11:14: note: Shadowed declaration nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:989:9: note: Shadow variable nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:1179:13: style: Local variable 'domain' shadows outer variable [shadowVariable] nis-3.17.1.orig/ypbind-mt-1.38/src/local.h:11:14: note: Shadowed declaration nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:1179:13: note: Shadow variable nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:250:53: style: Parameter 'binding' can be declared as pointer to const [constParameterPointer] nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:489:23: style: Variable 'hent' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:600:21: style: Parameter 'out' can be declared as pointer to const. However it seems that 'eachresult' is a callback function, if 'out' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:710:22: note: You might need to cast the function pointer here nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:600:21: note: Parameter 'out' can be declared as pointer to const nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:600:46: style: Parameter 'addr' can be declared as pointer to const. However it seems that 'eachresult' is a callback function, if 'addr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:710:22: note: You might need to cast the function pointer here nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:600:46: note: Parameter 'addr' can be declared as pointer to const nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:1039:59: error: Uninitialized variable: out [uninitvar] nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:1025:24: note: Assuming condition is false nis-3.17.1.orig/ypbind-mt-1.38/src/serv_list.c:1039:59: note: Uninitialized variable: out nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind_svc.c:45:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_void [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind_svc.c:128:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_void [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind_svc.c:29:18: style: union member 'Anonymous1::ypbindproc_olddomain_1_arg' is never used. [unusedStructMember] nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind_svc.c:30:24: style: union member 'Anonymous1::ypbindproc_oldsetdom_1_arg' is never used. [unusedStructMember] nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind_svc.c:35:19: style: union member 'Anonymous2::ypbindproc_olddomain_1_res' is never used. [unusedStructMember] nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind_svc.c:112:16: style: union member 'Anonymous3::ypbindproc_domain_2_arg' is never used. [unusedStructMember] nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind_svc.c:113:19: style: union member 'Anonymous3::ypbindproc_setdom_2_arg' is never used. [unusedStructMember] nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind_svc.c:118:19: style: union member 'Anonymous4::ypbindproc_domain_2_res' is never used. [unusedStructMember] nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind_xdr.c:55:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_char [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/lib/yp_db.h:37:0: error: #error "No database found or selected !" [preprocessorErrorDirective] nis-3.17.1.orig/ypserv-2.19/lib/yp_db.h:37:2: error: #error "No database found or selected !" [preprocessorErrorDirective] nis-3.17.1.orig/ypserv-2.19/lib/compat.c:227:0: error: #error "Missing both svc_getcaller() and svc_getrpccaller()" [preprocessorErrorDirective] nis-3.17.1.orig/ypserv-2.19/lib/compat.c:227:6: error: #error "Missing both svc_getcaller() and svc_getrpccaller()" [preprocessorErrorDirective] nis-3.17.1.orig/ypserv-2.19/lib/log_msg.c:25:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/lib/securenets.c:92:11: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] nis-3.17.1.orig/ypserv-2.19/lib/ypserv_conf.c:191:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/makedbm/makedbm.c:70:0: error: #error "No database found or selected!" [preprocessorErrorDirective] nis-3.17.1.orig/ypserv-2.19/makedbm/makedbm.c:70:2: error: #error "No database found or selected!" [preprocessorErrorDirective] nis-3.17.1.orig/ypserv-2.19/mknetid/mknetid.c:71:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/mknetid/mknetid.c:107:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/mknetid/mknetid.c:49:8: warning: Possible null pointer dereference: str [nullPointer] nis-3.17.1.orig/ypserv-2.19/mknetid/mknetid.c:44:22: note: Assignment 'str=NULL', assigned value is 0 nis-3.17.1.orig/ypserv-2.19/mknetid/mknetid.c:46:7: note: Assuming condition is false nis-3.17.1.orig/ypserv-2.19/mknetid/mknetid.c:49:8: note: Null pointer dereference nis-3.17.1.orig/ypserv-2.19/mknetid/mknetid.c:205:10: style: Local variable 'grpname' shadows outer variable [shadowVariable] nis-3.17.1.orig/ypserv-2.19/mknetid/mknetid.c:82:9: note: Shadowed declaration nis-3.17.1.orig/ypserv-2.19/mknetid/mknetid.c:205:10: note: Shadow variable nis-3.17.1.orig/ypserv-2.19/mknetid/mknetid.c:81:9: style: Variable 'pwname' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypserv-2.19/mknetid/mknetid.c:82:9: style: Variable 'grpname' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypserv-2.19/mknetid/mknetid.c:83:9: style: Variable 'hostname' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypserv-2.19/mknetid/mknetid.c:84:9: style: Variable 'netidname' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypserv-2.19/mknetid/mknetid.c:92:28: style: Variable 'long_options' can be declared as const array [constVariable] nis-3.17.1.orig/ypserv-2.19/mknetid/mknetid.c:173:10: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypserv-2.19/mknetid/mknetid.c:173:16: style: Variable 'key' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypserv-2.19/mknetid/mknetid.c:173:22: style: Variable 'uid' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypserv-2.19/mknetid/mknetid.c:173:28: style: Variable 'gid' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypserv-2.19/mknetid/mknetid.c:205:10: style: Variable 'grpname' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypserv-2.19/mknetid/mknetid.c:205:20: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypserv-2.19/mknetid/mknetid.c:205:26: style: Variable 'gid' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypserv-2.19/mknetid/mknetid.c:205:32: style: Variable 'user' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypserv-2.19/mknetid/mknetid.c:240:10: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypserv-2.19/mknetid/mknetid.c:240:16: style: Variable 'host' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypserv-2.19/mknetid/mknetid.c:176:8: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] nis-3.17.1.orig/ypserv-2.19/mknetid/mknetid.c:211:8: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] nis-3.17.1.orig/ypserv-2.19/mknetid/mknetid.c:242:8: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] nis-3.17.1.orig/ypserv-2.19/lib/ypserv_conf.c:67:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nis-3.17.1.orig/ypserv-2.19/lib/ypserv_conf.c:113:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nis-3.17.1.orig/ypserv-2.19/lib/ypserv_conf.c:180:20: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] nis-3.17.1.orig/ypserv-2.19/lib/ypserv_conf.c:510:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nis-3.17.1.orig/ypserv-2.19/lib/ypserv_conf.c:516:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nis-3.17.1.orig/ypserv-2.19/lib/ypserv_conf.c:522:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nis-3.17.1.orig/ypserv-2.19/lib/ypserv_conf.c:529:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nis-3.17.1.orig/ypserv-2.19/lib/ypserv_conf.c:535:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nis-3.17.1.orig/ypserv-2.19/lib/ypserv_conf.c:537:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nis-3.17.1.orig/ypserv-2.19/lib/ypserv_conf.c:69:3: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] nis-3.17.1.orig/ypserv-2.19/lib/ypserv_conf.c:117:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] nis-3.17.1.orig/ypserv-2.19/lib/ypserv_conf.c:284:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] nis-3.17.1.orig/ypserv-2.19/lib/ypserv_conf.c:434:3: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] nis-3.17.1.orig/ypserv-2.19/lib/ypserv_conf.c:479:3: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] nis-3.17.1.orig/ypserv-2.19/lib/ypserv_conf.c:575:6: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] nis-3.17.1.orig/ypserv-2.19/lib/ypserv_conf.c:577:6: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] nis-3.17.1.orig/ypserv-2.19/lib/ypserv_conf.c:580:6: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] nis-3.17.1.orig/ypserv-2.19/lib/ypserv_conf.c:60:9: style: Variable 'm' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypserv-2.19/lib/ypserv_conf.c:500:16: style: Variable 'd' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypserv-2.19/lib/ypserv_conf.c:500:20: style: Variable 'm' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypserv-2.19/lib/ypserv_conf.c:500:24: style: Variable 's' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypserv-2.19/lib/ypserv_conf.c:500:28: style: Variable 'p' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:74:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/revnetgroup/getnetgrent.c:163:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/revnetgroup/getnetgrent.c:237:13: style: Condition 'start>end' is always false [knownConditionTrueFalse] nis-3.17.1.orig/ypserv-2.19/revnetgroup/getnetgrent.c:233:30: note: Assuming that condition 'start>=end' is not redundant nis-3.17.1.orig/ypserv-2.19/revnetgroup/getnetgrent.c:237:13: note: Condition 'start>end' is always false nis-3.17.1.orig/ypserv-2.19/revnetgroup/getnetgrent.c:147:9: style: Variable 'outptr' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypserv-2.19/revnetgroup/getnetgrent.c:150:9: style: Variable 'realend' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypserv-2.19/revnetgroup/getnetgrent.c:223:23: style: Variable 'domain' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:48:10: warning: Possible null pointer dereference: str [nullPointer] nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:43:24: note: Assignment 'str=NULL', assigned value is 0 nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:45:9: note: Assuming condition is false nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:48:10: note: Null pointer dereference nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:192:18: style: Variable 'ptr' is reassigned a value before the old one has been used. [redundantAssignment] nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:190:11: note: ptr is assigned nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:192:18: note: ptr is overwritten nis-3.17.1.orig/ypserv-2.19/revnetgroup/hash.c:52:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/revnetgroup/hash.c:115:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/revnetgroup/hash.c:142:27: style:inconclusive: Function 'hash_free' argument 1 names different: declaration 'table' definition 'UNUSED'. [funcArgNamesDifferent] nis-3.17.1.orig/ypserv-2.19/revnetgroup/hash.h:34:32: note: Function 'hash_free' argument 1 names different: declaration 'table' definition 'UNUSED'. nis-3.17.1.orig/ypserv-2.19/revnetgroup/hash.c:142:27: note: Function 'hash_free' argument 1 names different: declaration 'table' definition 'UNUSED'. nis-3.17.1.orig/ypserv-2.19/revnetgroup/revnetgroup.c:83:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/revnetgroup/revnetgroup.c:335:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/rpc.yppasswdd/update.c:693:0: error: #error "Missing setenv(). Need porting." [preprocessorErrorDirective] nis-3.17.1.orig/ypserv-2.19/rpc.yppasswdd/update.c:693:4: error: #error "Missing setenv(). Need porting." [preprocessorErrorDirective] nis-3.17.1.orig/ypserv-2.19/rpc.yppasswdd/yppasswdd.c:84:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_void [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/rpc.yppasswdd/yppasswdd.c:124:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/rpc.yppasswdd/yppasswdd.c:193:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/rpc.yppasswdd/yppasswdd.c:216:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/rpc.yppasswdd/yppasswdd.c:279:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/rpc.yppasswdd/yppasswdd.c:266:28: style: Variable 'long_options' can be declared as const array [constVariable] nis-3.17.1.orig/ypserv-2.19/revnetgroup/revnetgroup.c:233:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nis-3.17.1.orig/ypserv-2.19/revnetgroup/revnetgroup.c:238:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nis-3.17.1.orig/ypserv-2.19/revnetgroup/revnetgroup.c:270:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nis-3.17.1.orig/ypserv-2.19/revnetgroup/revnetgroup.c:275:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nis-3.17.1.orig/ypserv-2.19/revnetgroup/revnetgroup.c:346:3: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] nis-3.17.1.orig/ypserv-2.19/revnetgroup/revnetgroup.c:345:17: note: Assuming allocation function fails nis-3.17.1.orig/ypserv-2.19/revnetgroup/revnetgroup.c:345:17: note: Assignment 'work=malloc(sizeof(struct hash_t))', assigned value is 0 nis-3.17.1.orig/ypserv-2.19/revnetgroup/revnetgroup.c:346:3: note: Null pointer dereference nis-3.17.1.orig/ypserv-2.19/revnetgroup/revnetgroup.c:347:3: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] nis-3.17.1.orig/ypserv-2.19/revnetgroup/revnetgroup.c:345:17: note: Assuming allocation function fails nis-3.17.1.orig/ypserv-2.19/revnetgroup/revnetgroup.c:345:17: note: Assignment 'work=malloc(sizeof(struct hash_t))', assigned value is 0 nis-3.17.1.orig/ypserv-2.19/revnetgroup/revnetgroup.c:347:3: note: Null pointer dereference nis-3.17.1.orig/ypserv-2.19/revnetgroup/revnetgroup.c:348:3: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] nis-3.17.1.orig/ypserv-2.19/revnetgroup/revnetgroup.c:345:17: note: Assuming allocation function fails nis-3.17.1.orig/ypserv-2.19/revnetgroup/revnetgroup.c:345:17: note: Assignment 'work=malloc(sizeof(struct hash_t))', assigned value is 0 nis-3.17.1.orig/ypserv-2.19/revnetgroup/revnetgroup.c:348:3: note: Null pointer dereference nis-3.17.1.orig/ypserv-2.19/revnetgroup/revnetgroup.c:349:11: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] nis-3.17.1.orig/ypserv-2.19/revnetgroup/revnetgroup.c:345:17: note: Assuming allocation function fails nis-3.17.1.orig/ypserv-2.19/revnetgroup/revnetgroup.c:345:17: note: Assignment 'work=malloc(sizeof(struct hash_t))', assigned value is 0 nis-3.17.1.orig/ypserv-2.19/revnetgroup/revnetgroup.c:349:11: note: Null pointer dereference nis-3.17.1.orig/ypserv-2.19/revnetgroup/revnetgroup.c:350:11: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] nis-3.17.1.orig/ypserv-2.19/revnetgroup/revnetgroup.c:345:17: note: Assuming allocation function fails nis-3.17.1.orig/ypserv-2.19/revnetgroup/revnetgroup.c:345:17: note: Assignment 'work=malloc(sizeof(struct hash_t))', assigned value is 0 nis-3.17.1.orig/ypserv-2.19/revnetgroup/revnetgroup.c:350:11: note: Null pointer dereference nis-3.17.1.orig/ypserv-2.19/revnetgroup/revnetgroup.c:190:10: style: Local variable 'key' shadows outer variable [shadowVariable] nis-3.17.1.orig/ypserv-2.19/revnetgroup/revnetgroup.c:52:32: note: Shadowed declaration nis-3.17.1.orig/ypserv-2.19/revnetgroup/revnetgroup.c:190:10: note: Shadow variable nis-3.17.1.orig/ypserv-2.19/revnetgroup/revnetgroup.c:52:32: style: Variable 'key' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypserv-2.19/revnetgroup/revnetgroup.c:72:28: style: Variable 'long_options' can be declared as const array [constVariable] nis-3.17.1.orig/ypserv-2.19/revnetgroup/revnetgroup.c:137:10: style: Variable 's' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypserv-2.19/revnetgroup/revnetgroup.c:191:10: style: Variable 'dat' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypserv-2.19/revnetgroup/revnetgroup.c:223:11: style: Variable 'val' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypserv-2.19/revnetgroup/revnetgroup.c:260:11: style: Variable 'val' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypserv-2.19/rpc.ypxfrd/ypxfrd.c:91:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/rpc.ypxfrd/ypxfrd.c:109:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/rpc.ypxfrd/ypxfrd.c:133:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cached_filehandles [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/rpc.ypxfrd/ypxfrd.c:139:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/rpc.ypxfrd/ypxfrd.c:185:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/rpc.ypxfrd/ypxfrd_server.c:51:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XFRBLOCKSIZE [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/rpc.ypxfrd/ypxfrd_server.c:100:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/rpc.ypxfrd/ypxfrd.c:172:28: style: Variable 'long_options' can be declared as const array [constVariable] nis-3.17.1.orig/ypserv-2.19/rpc.ypxfrd/ypxfrd_svc.c:80:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_ypxfr_mapname [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:83:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YPERR_BADARGS [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:129:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YPERR_BADARGS [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:169:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXHOSTNAMELEN [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:219:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:292:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:406:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:484:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:549:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:595:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:631:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/yppush/yppush.c:128:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable resp [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/yppush/yppush.c:151:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/yppush/yppush.c:181:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_void [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/yppush/yppush.c:235:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable svc_fdset [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/yppush/yppush.c:260:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/yppush/yppush.c:357:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YPMAXPEER [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/yppush/yppush.c:415:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YPMAXPEER [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/yppush/yppush.c:549:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/yppush/yppush.c:576:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug_flag [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/yppush/yppush.c:150:8: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] nis-3.17.1.orig/ypserv-2.19/yppush/yppush.c:300:16: warning: If memory allocation fails, then there is a possible null pointer dereference: val [nullPointerOutOfMemory] nis-3.17.1.orig/ypserv-2.19/yppush/yppush.c:299:20: note: Assuming allocation function fails nis-3.17.1.orig/ypserv-2.19/yppush/yppush.c:299:20: note: Assignment 'val=malloc(dval.dsize+1)', assigned value is 0 nis-3.17.1.orig/ypserv-2.19/yppush/yppush.c:300:16: note: Null pointer dereference nis-3.17.1.orig/ypserv-2.19/yppush/yppush.c:301:7: warning: If memory allocation fails, then there is a possible null pointer dereference: val [nullPointerOutOfMemory] nis-3.17.1.orig/ypserv-2.19/yppush/yppush.c:299:20: note: Assuming allocation function fails nis-3.17.1.orig/ypserv-2.19/yppush/yppush.c:299:20: note: Assignment 'val=malloc(dval.dsize+1)', assigned value is 0 nis-3.17.1.orig/ypserv-2.19/yppush/yppush.c:301:7: note: Null pointer dereference nis-3.17.1.orig/ypserv-2.19/yppush/yppush.c:124:34: style: Parameter 'UNUSED' can be declared as pointer to const. However it seems that 'yppushproc_null_1_svc' is a callback function, if 'UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nis-3.17.1.orig/ypserv-2.19/yppush/yppush.c:183:61: note: You might need to cast the function pointer here nis-3.17.1.orig/ypserv-2.19/yppush/yppush.c:124:34: note: Parameter 'UNUSED' can be declared as pointer to const nis-3.17.1.orig/ypserv-2.19/yppush/yppush.c:125:21: style: Parameter 'UNUSED' can be declared as pointer to const. However it seems that 'yppushproc_null_1_svc' is a callback function, if 'UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nis-3.17.1.orig/ypserv-2.19/yppush/yppush.c:183:61: note: You might need to cast the function pointer here nis-3.17.1.orig/ypserv-2.19/yppush/yppush.c:125:21: note: Parameter 'UNUSED' can be declared as pointer to const nis-3.17.1.orig/ypserv-2.19/yppush/yppush.c:126:32: style: Parameter 'UNUSED' can be declared as pointer to const. However it seems that 'yppushproc_null_1_svc' is a callback function, if 'UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nis-3.17.1.orig/ypserv-2.19/yppush/yppush.c:183:61: note: You might need to cast the function pointer here nis-3.17.1.orig/ypserv-2.19/yppush/yppush.c:126:32: note: Parameter 'UNUSED' can be declared as pointer to const nis-3.17.1.orig/ypserv-2.19/yppush/yppush.c:138:43: style: Parameter 'req' can be declared as pointer to const. However it seems that 'yppushproc_xfrresp_1_svc' is a callback function, if 'req' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nis-3.17.1.orig/ypserv-2.19/yppush/yppush.c:189:61: note: You might need to cast the function pointer here nis-3.17.1.orig/ypserv-2.19/yppush/yppush.c:138:43: note: Parameter 'req' can be declared as pointer to const nis-3.17.1.orig/ypserv-2.19/yppush/yppush.c:141:23: style: Variable 'sin' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypserv-2.19/yppush/yppush.c:591:28: style: Variable 'long_options' can be declared as const array [constVariable] nis-3.17.1.orig/ypserv-2.19/yppush/yppush.c:295:7: error: Uninitialized variable: dval [uninitvar] nis-3.17.1.orig/ypserv-2.19/yppush/yppush.c:289:14: style: Variable 'dkey.dsize' is assigned a value that is never used. [unreadVariable] nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind-mt.c:98:22: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind-mt.c:184:16: warning:inconclusive: Width 64 given in format string (no. 1) is smaller than destination buffer 'tmpdomain[257]'. [invalidScanfFormatWidth_smaller] nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind-mt.c:201:16: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind-mt.c:576:4: error: Resource leak: sock [resourceLeak] nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind-mt.c:143:7: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind-mt.c:141:24: note: Assuming allocation function fails nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind-mt.c:141:24: note: Assignment 'buf=malloc(buflen)', assigned value is 0 nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind-mt.c:143:7: note: Null pointer dereference nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind-mt.c:144:14: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind-mt.c:141:24: note: Assuming allocation function fails nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind-mt.c:141:24: note: Assignment 'buf=malloc(buflen)', assigned value is 0 nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind-mt.c:144:14: note: Null pointer dereference nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:92:30: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:95:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:142:30: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:145:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:304:17: portability: Non reentrant function 'fgetpwent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'fgetpwent_r'. [prohibitedfgetpwentCalled] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:418:17: portability: Non reentrant function 'fgetgrent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'fgetgrent_r'. [prohibitedfgetgrentCalled] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:345:13: style: Condition 'pass==NULL' is always true [knownConditionTrueFalse] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:324:11: note: Assignment 'pass=NULL', assigned value is 0 nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:345:13: note: Condition 'pass==NULL' is always true nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:458:13: style: Condition 'pass==NULL' is always true [knownConditionTrueFalse] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:437:11: note: Assignment 'pass=NULL', assigned value is 0 nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:458:13: note: Condition 'pass==NULL' is always true nis-3.17.1.orig/ypbind-mt-1.38/src/ypbind-mt.c:93:18: style: Variable 'dirp' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:583:5: error: Allocation with get_dbm_entry, strcasecmp doesn't release it. [leakNoVarFunctionCall] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:524:16: warning: If memory allocation fails, then there is a possible null pointer dereference: val [nullPointerOutOfMemory] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:523:20: note: Assuming allocation function fails nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:523:20: note: Assignment 'val=malloc(dval.dsize+1)', assigned value is 0 nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:524:16: note: Null pointer dereference nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:525:7: warning: If memory allocation fails, then there is a possible null pointer dereference: val [nullPointerOutOfMemory] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:523:20: note: Assuming allocation function fails nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:523:20: note: Assignment 'val=malloc(dval.dsize+1)', assigned value is 0 nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:525:7: note: Null pointer dereference nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:582:19: warning: If memory allocation fails, then there is a possible null pointer dereference: hostname [nullPointerOutOfMemory] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:565:25: note: Assuming allocation function fails nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:565:25: note: Assignment 'hostname=strdup(h_tmp)', assigned value is 0 nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:582:19: note: Null pointer dereference nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:92:23: style: Variable 'hent' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:142:23: style: Variable 'hent' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:167:23: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:205:19: style: Parameter 'server' can be declared as pointer to const [constParameterPointer] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:283:21: style: Parameter 'passwd' can be declared as pointer to const [constParameterPointer] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:283:35: style: Parameter 'shadow' can be declared as pointer to const [constParameterPointer] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:286:18: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:306:13: style: Variable 'pass' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:396:20: style: Parameter 'group' can be declared as pointer to const [constParameterPointer] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:396:33: style: Parameter 'gshadow' can be declared as pointer to const [constParameterPointer] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:399:17: style: Variable 'grp' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:420:13: style: Variable 'pass' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:482:33: style: Parameter 'map' can be declared as pointer to const [constParameterPointer] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:482:44: style: Parameter 'domainname' can be declared as pointer to const [constParameterPointer] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:615:28: style: Variable 'long_options' can be declared as const array [constVariable] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:519:7: error: Uninitialized variable: dval [uninitvar] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:287:16: style: Unused variable: spd [unusedVariable] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:400:18: style: Unused variable: spd [unusedVariable] nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:513:14: style: Variable 'dkey.dsize' is assigned a value that is never used. [unreadVariable] nis-3.17.1.orig/ypserv-2.19/ypserv/ypserv_xdr.c:10:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDR_ENCODE [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/ypserv/ypserv.c:102:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_void [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/ypserv/ypserv.c:257:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/ypserv/ypserv.c:334:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/ypserv/ypserv.c:357:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YPPROG [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/ypserv/ypserv.c:371:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/ypserv/ypserv.c:387:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/ypserv/ypserv.c:397:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/ypserv/ypserv.c:431:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug_flag [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/ypserv/server.c:50:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug_flag [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/ypserv/server.c:69:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug_flag [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/ypserv/server.c:109:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug_flag [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/ypserv/server.c:153:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug_flag [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/ypserv/server.c:246:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug_flag [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/ypserv/server.c:347:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug_flag [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/ypserv/server.c:454:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug_flag [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/ypserv/server.c:665:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug_flag [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/ypserv/server.c:742:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YP_NOMORE [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/ypserv/server.c:767:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug_flag [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/ypserv/server.c:911:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug_flag [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/ypserv/server.c:1024:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug_flag [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/ypserv/server.c:1153:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug_flag [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/ypserv/ypserv.c:416:28: style: Variable 'long_options' can be declared as const array [constVariable] nis-3.17.1.orig/ypserv-2.19/ypxfr/ypxfr_clnt.c:36:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ypresp_order [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/ypxfr/ypxfr_clnt.c:46:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ypresp_master [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/ypxfr/ypxfr.c:81:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/ypxfr/ypxfr.c:150:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/ypxfr/ypxfr.c:212:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug_flag [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/ypxfr/ypxfr.c:301:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug_flag [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/ypxfr/ypxfr.c:350:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/ypxfr/ypxfr.c:753:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/ypserv/server.c:544:20: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] nis-3.17.1.orig/ypserv-2.19/ypserv/server.c:614:31: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] nis-3.17.1.orig/ypserv-2.19/ypserv/server.c:972:20: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] nis-3.17.1.orig/ypserv-2.19/ypserv/server.c:1004:15: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] nis-3.17.1.orig/ypserv-2.19/ypserv/server.c:1087:16: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] nis-3.17.1.orig/ypserv-2.19/ypserv/server.c:1203:21: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] nis-3.17.1.orig/ypserv-2.19/ypserv/server.c:1107:38: style: Parameter 'map' can be declared as pointer to const [constParameterPointer] nis-3.17.1.orig/ypserv-2.19/ypxfr/ypxfr_xdr.c:129:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDR_DECODE [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/ypxfr/ypxfr_xdr.c:205:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ypresp_all [valueFlowBailoutIncompleteVar] nis-3.17.1.orig/ypserv-2.19/ypxfr/ypxfr.c:391:11: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] nis-3.17.1.orig/ypserv-2.19/ypxfr/ypxfr.c:403:11: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] nis-3.17.1.orig/ypserv-2.19/ypxfr/ypxfr.c:454:21: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] nis-3.17.1.orig/ypserv-2.19/ypxfr/ypxfr.c:535:12: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] nis-3.17.1.orig/ypserv-2.19/ypxfr/ypxfr.c:346:25: style: Parameter 'source_host' can be declared as pointer to const [constParameterPointer] nis-3.17.1.orig/ypserv-2.19/ypxfr/ypxfr.c:364:19: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nis-3.17.1.orig/ypserv-2.19/ypxfr/ypxfr.c:764:28: style: Variable 'long_options' can be declared as const array [constVariable] diff: head nis-3.17.1.orig/yp-tools-2.9/src/yppoll.c:323:16: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] nis-3.17.1.orig/yp-tools-2.9/src/yppoll.c:321:24: note: Assuming allocation function fails nis-3.17.1.orig/yp-tools-2.9/src/yppoll.c:321:24: note: Assignment 'c=strdup(ctime(&order))', assigned value is 0 nis-3.17.1.orig/yp-tools-2.9/src/yppoll.c:323:16: note: Null pointer dereference head nis-3.17.1.orig/ypserv-2.19/lib/compat.c:227:6: error: #error "Missing both svc_getcaller() and svc_getrpccaller()" [preprocessorErrorDirective] head nis-3.17.1.orig/ypserv-2.19/lib/yp_db.h:37:2: error: #error "No database found or selected !" [preprocessorErrorDirective] head nis-3.17.1.orig/ypserv-2.19/makedbm/makedbm.c:70:2: error: #error "No database found or selected!" [preprocessorErrorDirective] 2.17.0 nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:133:7: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:131:26: note: Assuming allocation function fails nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:131:26: note: Assignment 'ptr->next=xmalloc(sizeof(struct hash_liste_t))', assigned value is 0 nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:132:12: note: work is assigned 'ptr->next' here. nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:133:7: note: Null pointer dereference 2.17.0 nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:134:7: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:131:26: note: Assuming allocation function fails nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:131:26: note: Assignment 'ptr->next=xmalloc(sizeof(struct hash_liste_t))', assigned value is 0 nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:132:12: note: work is assigned 'ptr->next' here. nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:134:7: note: Null pointer dereference 2.17.0 nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:135:14: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:131:26: note: Assuming allocation function fails nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:131:26: note: Assignment 'ptr->next=xmalloc(sizeof(struct hash_liste_t))', assigned value is 0 nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:132:12: note: work is assigned 'ptr->next' here. nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:135:14: note: Null pointer dereference 2.17.0 nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:136:7: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:131:26: note: Assuming allocation function fails nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:131:26: note: Assignment 'ptr->next=xmalloc(sizeof(struct hash_liste_t))', assigned value is 0 nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:132:12: note: work is assigned 'ptr->next' here. nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:136:7: note: Null pointer dereference 2.17.0 nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:137:15: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:131:26: note: Assuming allocation function fails nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:131:26: note: Assignment 'ptr->next=xmalloc(sizeof(struct hash_liste_t))', assigned value is 0 nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:132:12: note: work is assigned 'ptr->next' here. nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:137:15: note: Null pointer dereference 2.17.0 nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:196:14: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:195:20: note: Assuming allocation function fails nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:195:20: note: Assignment 'ptr=xmalloc(strlen(work->val)+strlen(grp)+5)', assigned value is 0 nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:196:14: note: Null pointer dereference 2.17.0 nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:197:14: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:195:20: note: Assuming allocation function fails nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:195:20: note: Assignment 'ptr=xmalloc(strlen(work->val)+strlen(grp)+5)', assigned value is 0 nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:197:14: note: Null pointer dereference 2.17.0 nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:198:14: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:195:20: note: Assuming allocation function fails nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:195:20: note: Assignment 'ptr=xmalloc(strlen(work->val)+strlen(grp)+5)', assigned value is 0 nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:198:14: note: Null pointer dereference 2.17.0 nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:241:4: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:239:23: note: Assuming allocation function fails nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:239:23: note: Assignment 'ptr->next=xmalloc(sizeof(struct hash_liste_t))', assigned value is 0 nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:240:9: note: work is assigned 'ptr->next' here. nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:241:4: note: Null pointer dereference 2.17.0 nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:242:4: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:239:23: note: Assuming allocation function fails nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:239:23: note: Assignment 'ptr->next=xmalloc(sizeof(struct hash_liste_t))', assigned value is 0 nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:240:9: note: work is assigned 'ptr->next' here. nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:242:4: note: Null pointer dereference 2.17.0 nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:243:4: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:239:23: note: Assuming allocation function fails nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:239:23: note: Assignment 'ptr->next=xmalloc(sizeof(struct hash_liste_t))', assigned value is 0 nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:240:9: note: work is assigned 'ptr->next' here. nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:243:4: note: Null pointer dereference 2.17.0 nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:244:12: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:239:23: note: Assuming allocation function fails nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:239:23: note: Assignment 'ptr->next=xmalloc(sizeof(struct hash_liste_t))', assigned value is 0 nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:240:9: note: work is assigned 'ptr->next' here. nis-3.17.1.orig/ypserv-2.19/mknetid/netid_hash.c:244:12: note: Null pointer dereference head nis-3.17.1.orig/ypserv-2.19/rpc.yppasswdd/update.c:693:4: error: #error "Missing setenv(). Need porting." [preprocessorErrorDirective] head nis-3.17.1.orig/ypserv-2.19/yphelper/yphelper.c:519:7: error: Uninitialized variable: dval [uninitvar] head nis-3.17.1.orig/ypserv-2.19/yppush/yppush.c:295:7: error: Uninitialized variable: dval [uninitvar] DONE