2025-05-09 03:03 ftp://ftp.de.debian.org/debian/pool/main/z/zephyr/zephyr_3.1.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=motif --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: 66c9938 (2025-05-08 13:55:11 +0200) count: 760 754 elapsed-time: 5.5 5.8 head-timing-info: old-timing-info: head results: zephyr-3.1.2/clients/zaway/zaway.c:52:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zaway/zaway.c:220:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zleave/zleave.c:77:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zleave/zleave.c:187:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zleave/zleave.c:278:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zleave/zleave.c:328:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zaway/zaway.c:116:15: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] zephyr-3.1.2/clients/zaway/zaway.c:255:6: error: Common realloc mistake: 'ptr' nulled but not freed upon failure [memleakOnRealloc] zephyr-3.1.2/clients/zaway/zaway.c:252:7: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] zephyr-3.1.2/clients/zaway/zaway.c:251:18: note: Assuming allocation function fails zephyr-3.1.2/clients/zaway/zaway.c:251:18: note: Assignment 'ptr=malloc((unsigned int)(strlen(bfr)+1))', assigned value is 0 zephyr-3.1.2/clients/zaway/zaway.c:252:7: note: Null pointer dereference zephyr-3.1.2/clients/zaway/zaway.c:256:19: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] zephyr-3.1.2/clients/zaway/zaway.c:251:18: note: Assuming allocation function fails zephyr-3.1.2/clients/zaway/zaway.c:251:18: note: Assignment 'ptr=malloc((unsigned int)(strlen(bfr)+1))', assigned value is 0 zephyr-3.1.2/clients/zaway/zaway.c:256:19: note: Null pointer dereference zephyr-3.1.2/clients/zaway/zaway.c:32:13: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/clients/zaway/zaway.c:50:17: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/clients/zaway/zaway.c:52:33: style: Variable 'envptr' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/clients/zaway/zaway.c:54:8: style: Variable 'cmdline_msg' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/clients/zaway/zaway.c:216:25: style: Parameter 'notice' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/clients/zctl/zctl.c:97:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zctl/zctl.c:205:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zctl/zctl.c:222:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zctl/zctl.c:242:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zctl/zctl.c:263:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zctl/zctl.c:319:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zctl/zctl.c:355:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zctl/zctl.c:374:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zctl/zctl.c:455:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zctl/zctl.c:474:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zctl/zctl.c:493:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zctl/zctl.c:514:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zctl/zctl.c:545:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zctl/zctl.c:598:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zctl/zctl.c:631:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zctl/zctl.c:648:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zctl/zctl.c:732:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zctl/zctl.c:974:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zctl/zctl.c:1068:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zctl/zctl.c:1088:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zsub_class [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zlocate/zlocate.c:27:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zlocate/zlocate.c:52:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zlocate/zlocate.c:74:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zlocate/zlocate.c:39:18: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/clients/zleave/zleave.c:167:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] zephyr-3.1.2/clients/zleave/zleave.c:102:28: style: Condition '(cp=getlogin())==NULL' is always false [knownConditionTrueFalse] zephyr-3.1.2/clients/zleave/zleave.c:403:13: style: Condition 'l==NULL' is always false [knownConditionTrueFalse] zephyr-3.1.2/clients/zleave/zleave.c:193:13: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/clients/zleave/zleave.c:315:14: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/clients/zleave/zleave.c:392:17: style: Variable 'l' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/clients/znol/znol.c:35:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zshutdown_notify/zshutdown_notify.c:52:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NS_MAXDNAME [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zshutdown_notify/zshutdown_notify.c:68:15: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] zephyr-3.1.2/clients/zshutdown_notify/zshutdown_notify.c:50:21: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/clients/zstat/zstat.c:69:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NS_MAXDNAME [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zstat/zstat.c:124:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NS_MAXDNAME [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zstat/zstat.c:154:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zstat/zstat.c:213:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zstat/zstat.c:314:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/znol/znol.c:113:17: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] zephyr-3.1.2/clients/znol/znol.c:30:8: style: Variable 'realm' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/clients/znol/znol.c:34:17: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/clients/znol/znol.c:35:58: style: Variable 'envptr' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/clients/zstat/zstat.c:103:7: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] zephyr-3.1.2/clients/zstat/zstat.c:153:16: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] zephyr-3.1.2/clients/zstat/zstat.c:182:10: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] zephyr-3.1.2/clients/zstat/zstat.c:225:16: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] zephyr-3.1.2/clients/zstat/zstat.c:292:10: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] zephyr-3.1.2/clients/zstat/zstat.c:131:13: style: Condition 'hm_stat(host,srv_host)' is always false [knownConditionTrueFalse] zephyr-3.1.2/clients/zstat/zstat.c:131:13: note: Calling function 'hm_stat' returns 0 zephyr-3.1.2/clients/zstat/zstat.c:131:13: note: Condition 'hm_stat(host,srv_host)' is always false zephyr-3.1.2/clients/zstat/zstat.c:271:3: error: Resource leak: sock [resourceLeak] zephyr-3.1.2/clients/zstat/zstat.c:276:3: error: Resource leak: sock [resourceLeak] zephyr-3.1.2/clients/zstat/zstat.c:139:15: style: Parameter 'host' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/clients/zstat/zstat.c:147:18: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/clients/zstat/zstat.c:149:13: style: Variable 'tim' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/clients/zstat/zstat.c:200:16: style: Parameter 'host' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/clients/zstat/zstat.c:204:18: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/clients/zstat/zstat.c:208:13: style: Variable 'tim' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/clients/zstat/zstat.c:312:13: style: Parameter 's' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/clients/zstat/zstat.c:152:7: error: Uninitialized variable: inaddr [uninitvar] zephyr-3.1.2/clients/zstat/zstat.c:175:23: warning: Uninitialized variable: line [uninitvar] zephyr-3.1.2/clients/zstat/zstat.c:170:14: note: Assuming condition is false zephyr-3.1.2/clients/zstat/zstat.c:175:23: note: Uninitialized variable: line zephyr-3.1.2/lib/ZAsyncLocate.c:29:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZAsyncLocate.c:76:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_VERS [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zwrite/zwrite.c:46:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zwrite/zwrite.c:360:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zwrite/zwrite.c:462:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zwrite/zwrite.c:483:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZAsyncLocate.c:61:37: style: Parameter 'notice' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/lib/ZAsyncLocate.c:62:32: style: Parameter 'zald' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/lib/ZAsyncLocate.c:66:17: style: Variable 'end' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/lib/ZCkIfNot.c:30:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zctl/zctl.c:125:16: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] zephyr-3.1.2/clients/zctl/zctl.c:153:15: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] zephyr-3.1.2/clients/zctl/zctl.c:95:17: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/clients/zctl/zctl.c:96:18: style: Variable 'hent' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/clients/zctl/zctl.c:97:43: style: Variable 'envptr' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/lib/ZCkZAut.c:178:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZAUTH_UNSET [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zctl/zctl.c:202:9: style: Parameter 'argv' can be declared as const array [constParameter] zephyr-3.1.2/clients/zctl/zctl.c:253:12: style: Parameter 'argv' can be declared as const array. However it seems that 'wgc_control' is a callback function, if 'argv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] zephyr-3.1.2/clients/zctl/zctl.c:1318:5: note: You might need to cast the function pointer here zephyr-3.1.2/clients/zctl/zctl.c:253:12: note: Parameter 'argv' can be declared as const array zephyr-3.1.2/clients/zctl/zctl.c:313:11: style: Parameter 'argv' can be declared as const array. However it seems that 'hm_control' is a callback function, if 'argv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] zephyr-3.1.2/clients/zctl/zctl.c:1322:5: note: You might need to cast the function pointer here zephyr-3.1.2/clients/zctl/zctl.c:313:11: note: Parameter 'argv' can be declared as const array zephyr-3.1.2/clients/zctl/zctl.c:352:8: style: Variable 'value' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/clients/zctl/zctl.c:449:8: style: Parameter 'argv' can be declared as const array. However it seems that 'do_hide' is a callback function, if 'argv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] zephyr-3.1.2/clients/zctl/zctl.c:1330:5: note: You might need to cast the function pointer here zephyr-3.1.2/clients/zctl/zctl.c:449:8: note: Parameter 'argv' can be declared as const array zephyr-3.1.2/clients/zctl/zctl.c:487:12: style: Parameter 'argv' can be declared as const array. However it seems that 'cancel_subs' is a callback function, if 'argv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] zephyr-3.1.2/clients/zctl/zctl.c:1280:5: note: You might need to cast the function pointer here zephyr-3.1.2/clients/zctl/zctl.c:487:12: note: Parameter 'argv' can be declared as const array zephyr-3.1.2/clients/zctl/zctl.c:644:38: style: Parameter 'subs' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/clients/zctl/zctl.c:732:23: style: Variable 'file' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/clients/zctl/zctl.c:1095:19: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/clients/zctl/zctl.c:1110:25: style: Parameter 'argv' can be declared as const array [constParameter] zephyr-3.1.2/clients/zctl/zctl.c:1202:28: style: Parameter 'argv' can be declared as const array [constParameter] zephyr-3.1.2/clients/zctl/zctl.c:1348:31: style: Parameter 'argv' can be declared as const array. However it seems that 'show_commands' is a callback function, if 'argv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] zephyr-3.1.2/clients/zctl/zctl.c:1332:5: note: You might need to cast the function pointer here zephyr-3.1.2/clients/zctl/zctl.c:1348:31: note: Parameter 'argv' can be declared as const array zephyr-3.1.2/lib/ZCkZAut.c:230:19: style: Condition 'notice->z_auth' is always true [knownConditionTrueFalse] zephyr-3.1.2/lib/ZCkZAut.c:169:26: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/lib/ZClosePort.c:22:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __Zephyr_fd [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zctl/zctl.c:97:7: style: Unused variable: ssline [unusedVariable] zephyr-3.1.2/clients/zctl/zctl.c:98:13: style: Unused variable: code [unusedVariable] zephyr-3.1.2/clients/zctl/zctl.c:98:18: style: Unused variable: i [unusedVariable] zephyr-3.1.2/clients/zctl/zctl.c:1350:17: style: Unused variable: len [unusedVariable] zephyr-3.1.2/lib/ZCmpUID.c:20:27: style: Parameter 'uid1' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/lib/ZCmpUID.c:21:20: style: Parameter 'uid2' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/lib/ZDumpSession.c:51:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZDumpSession.c:81:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZExpnRlm.c:9:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REALM_SZ [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZDumpSession.c:87:43: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] zephyr-3.1.2/lib/ZExpnRlm.c:32:14: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] zephyr-3.1.2/lib/ZExpnRlm.c:8:21: style: Variable 'cp2' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/lib/ZExpnRlm.c:30:25: style: Variable 'he' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/lib/ZDumpSession.c:55:52: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] zephyr-3.1.2/lib/ZDumpSession.c:87:50: style: Variable 'buffer' is assigned a value that is never used. [unreadVariable] zephyr-3.1.2/lib/ZFlsLocs.c:24:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __locate_list [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZFlsSubs.c:24:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __subscriptions_list [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZFmtList.c:28:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_MAXHEADERLEN [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZFmtNotice.c:25:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_MAXHEADERLEN [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZFmtNotice.c:51:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_MAXHEADERLEN [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZFmtRaw.c:24:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_MAXHEADERLEN [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZFmtRawLst.c:26:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_MAXHEADERLEN [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZFmtSmRLst.c:30:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_MAXHEADERLEN [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZFmtSmRaw.c:27:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_MAXHEADERLEN [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZFmtSmRaw.c:49:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_MAXHEADERLEN [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZGetLocs.c:27:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __locate_list [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZGetSender.c:73:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __Zephyr_realm [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZGetSender.c:70:10: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] zephyr-3.1.2/lib/ZGetSender.c:25:20: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/clients/zwrite/zwrite.c:368:6: error: Address of local auto-variable assigned to a function parameter. [autoVariables] zephyr-3.1.2/lib/ZGetSubs.c:29:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __subscriptions_list [valueFlowBailoutIncompleteVar] zephyr-3.1.2/clients/zwrite/zwrite.c:224:8: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] zephyr-3.1.2/clients/zwrite/zwrite.c:491:7: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] zephyr-3.1.2/clients/zwrite/zwrite.c:282:2: error: Common realloc mistake: 'message' nulled but not freed upon failure [memleakOnRealloc] zephyr-3.1.2/clients/zwrite/zwrite.c:302:2: error: Common realloc mistake: 'message' nulled but not freed upon failure [memleakOnRealloc] zephyr-3.1.2/clients/zwrite/zwrite.c:323:3: error: Common realloc mistake: 'message' nulled but not freed upon failure [memleakOnRealloc] zephyr-3.1.2/clients/zwrite/zwrite.c:329:6: error: Common realloc mistake: 'message' nulled but not freed upon failure [memleakOnRealloc] zephyr-3.1.2/clients/zwrite/zwrite.c:337:3: error: Common realloc mistake: 'message' nulled but not freed upon failure [memleakOnRealloc] zephyr-3.1.2/clients/zwrite/zwrite.c:342:6: error: Common realloc mistake: 'message' nulled but not freed upon failure [memleakOnRealloc] zephyr-3.1.2/clients/zwrite/zwrite.c:269:16: warning: If memory allocation fails, then there is a possible null pointer dereference: message [nullPointerOutOfMemory] zephyr-3.1.2/clients/zwrite/zwrite.c:268:18: note: Assuming allocation function fails zephyr-3.1.2/clients/zwrite/zwrite.c:268:18: note: Assignment 'message=malloc((unsigned int)(strlen(signature)+2))', assigned value is 0 zephyr-3.1.2/clients/zwrite/zwrite.c:269:16: note: Null pointer dereference zephyr-3.1.2/clients/zwrite/zwrite.c:270:19: warning: If memory allocation fails, then there is a possible null pointer dereference: message [nullPointerOutOfMemory] zephyr-3.1.2/clients/zwrite/zwrite.c:268:18: note: Assuming allocation function fails zephyr-3.1.2/clients/zwrite/zwrite.c:268:18: note: Assignment 'message=malloc((unsigned int)(strlen(signature)+2))', assigned value is 0 zephyr-3.1.2/clients/zwrite/zwrite.c:270:19: note: Null pointer dereference zephyr-3.1.2/clients/zwrite/zwrite.c:271:2: warning: If memory allocation fails, then there is a possible null pointer dereference: message [nullPointerOutOfMemory] zephyr-3.1.2/clients/zwrite/zwrite.c:268:18: note: Assuming allocation function fails zephyr-3.1.2/clients/zwrite/zwrite.c:268:18: note: Assignment 'message=malloc((unsigned int)(strlen(signature)+2))', assigned value is 0 zephyr-3.1.2/clients/zwrite/zwrite.c:271:2: note: Null pointer dereference zephyr-3.1.2/clients/zwrite/zwrite.c:274:2: warning: If memory allocation fails, then there is a possible null pointer dereference: message [nullPointerOutOfMemory] zephyr-3.1.2/clients/zwrite/zwrite.c:273:18: note: Assuming allocation function fails zephyr-3.1.2/clients/zwrite/zwrite.c:273:18: note: Assignment 'message=malloc(1)', assigned value is 0 zephyr-3.1.2/clients/zwrite/zwrite.c:274:2: note: Null pointer dereference zephyr-3.1.2/lib/ZGetWGPort.c:22:11: style: Variable 'envptr' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/clients/zwrite/zwrite.c:45:21: style: Variable 'signature' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/clients/zwrite/zwrite.c:220:26: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/clients/zwrite/zwrite.c:460:13: style: Parameter 's' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/clients/zwrite/zwrite.c:485:18: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/lib/ZIfNotice.c:30:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZInit.c:51:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NS_MAXDNAME [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZInit.c:222:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __Zephyr_realm [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZInit.c:226:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __Zephyr_fd [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZInit.c:230:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __Q_CompleteLength [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZInit.c:234:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __HM_addr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZMakeAscii.c:34:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_FIELDLEN [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZMakeAscii.c:61:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_FIELDLEN [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZMakeAscii.c:82:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_FIELDLEN [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZMakeAscii.c:25:20: style: Parameter 'field' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/lib/ZLocations.c:37:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZLocations.c:64:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGIN_CLASS [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZLocations.c:72:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZNOAUTH [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZLocations.c:79:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZAUTH [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZLocations.c:85:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZAUTH [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZLocations.c:91:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXPOSE_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZLocations.c:111:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SERVACK [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZLocations.c:132:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACKED [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZMakeZcode.c:49:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_FIELDLEN [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZInit.c:95:32: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] zephyr-3.1.2/lib/ZInit.c:142:18: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] zephyr-3.1.2/lib/ZInit.c:205:16: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] zephyr-3.1.2/lib/ZInit.c:212:26: style: The if condition is the same as the previous if condition [duplicateCondition] zephyr-3.1.2/lib/ZInit.c:199:26: note: First condition zephyr-3.1.2/lib/ZInit.c:212:26: note: Second condition zephyr-3.1.2/lib/ZInit.c:50:21: style: Variable 'hostent' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/lib/ZMakeZcode.c:36:20: style: Parameter 'field' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/lib/ZLocations.c:38:9: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] zephyr-3.1.2/lib/ZLocations.c:47:9: portability: Non reentrant function 'ttyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'ttyname_r'. [prohibitedttynameCalled] zephyr-3.1.2/lib/ZLocations.c:27:25: style: Parameter 'hostname' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/lib/ZLocations.c:28:11: style: Parameter 'tty' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/lib/ZLocations.c:30:11: style: Variable 'ttyp' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/lib/ZLocations.c:30:18: style: Variable 'p' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/lib/ZLocations.c:31:21: style: Variable 'hent' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/lib/ZLocations.c:89:27: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/lib/ZNewLocU.c:32:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNACKED [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZMkAuth.c:30:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZMkAuth.c:176:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __Zephyr_realm [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZMkAuth.c:198:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_INTERNAL [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZMkAuth.c:180:51: style: Parameter 'notice' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/lib/ZMkAuth.c:181:16: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/lib/ZMkAuth.c:183:15: style: Parameter 'phdr_len' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/lib/ZMkAuth.c:184:16: style: Parameter 'realm' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/lib/ZOpenPort.c:29:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __Zephyr_fd [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZPeekIfNot.c:30:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZPeekNot.c:27:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZParseNot.c:26:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __Zephyr_server [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZParseNot.c:65:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZNotice_t [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZPeekPkt.c:27:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZPeekPkt.c:25:23: style: Variable 'nextq' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/lib/ZPending.c:25:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZReadAscii.c:43:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_BADFIELD [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZReadAscii.c:68:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZReadAscii.c:83:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZReadZcode.c:30:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_BADFIELD [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZReadZcode.c:22:27: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/lib/ZRecvNot.c:28:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZRecvPkt.c:27:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZSendList.c:24:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_XmitFragment [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZSendList.c:40:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZRetSubs.c:33:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __Zephyr_port [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZRetSubs.c:55:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLIENT_GIMMEDEFS [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZRetSubs.c:70:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __subscriptions_list [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZSendNot.c:23:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_XmitFragment [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZSendNot.c:38:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZParseNot.c:42:11: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/lib/ZSendPkt.c:33:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_ILLVAL [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZSendPkt.c:67:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HMACK [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZSendRLst.c:23:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_XmitFragment [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZSendRLst.c:37:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZSendRaw.c:28:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZSetDest.c:22:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __HM_addr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZRetSubs.c:69:13: style: Variable 'end' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/lib/ZRetSubs.c:69:18: style: Variable 'ptr2' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/lib/ZSetDest.c:20:34: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/lib/ZSetFD.c:24:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __Zephyr_fd [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZSetSrv.c:22:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __Zephyr_server [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZWait4Not.c:25:9: debug: Function::addArguments found argument 'pred' with varid 0. [varid0] zephyr-3.1.2/lib/ZWait4Not.c:34:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pred [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZSubs.c:84:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_MAXHEADERLEN [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZSubs.c:198:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZSubs.c:228:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACKED [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZVariables.c:37:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZVariables.c:62:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZVariables.c:100:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZVariables.c:132:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZhmStat.c:31:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/ZhmStat.c:33:10: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] zephyr-3.1.2/lib/ZhmStat.c:21:25: style: Parameter 'hostaddr' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/lib/ZVariables.c:131:18: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] zephyr-3.1.2/lib/ZVariables.c:143:28: style:inconclusive: Function 'get_varval' argument 2 names different: declaration 'val' definition 'var'. [funcArgNamesDifferent] zephyr-3.1.2/lib/ZVariables.c:24:41: note: Function 'get_varval' argument 2 names different: declaration 'val' definition 'var'. zephyr-3.1.2/lib/ZVariables.c:143:28: note: Function 'get_varval' argument 2 names different: declaration 'val' definition 'var'. zephyr-3.1.2/lib/ZVariables.c:45:31: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/lib/ZVariables.c:120:11: style: Variable 'envptr' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/lib/ZVariables.c:121:20: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/lib/ZVariables.c:143:18: style: Parameter 'fn' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/lib/ZVariables.c:168:26: style: Parameter 'var' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/lib/ZVariables.c:170:20: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/lib/charset.c:37:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/charset.c:61:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZCHARSET_UNKNOWN [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/charset.c:78:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZCHARSET_UNKNOWN [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/charset.c:100:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/charset.c:48:24: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] zephyr-3.1.2/lib/charset.c:46:21: note: Assuming allocation function fails zephyr-3.1.2/lib/charset.c:46:21: note: Assignment 'charset=strdup(charset)', assigned value is 0 zephyr-3.1.2/lib/charset.c:48:14: note: Assignment 'p=charset', assigned value is 0 zephyr-3.1.2/lib/charset.c:48:24: note: Null pointer dereference zephyr-3.1.2/lib/charset.c:88:56: style: Parameter 'outset' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/lib/smwgc.c:6:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] zephyr-3.1.2/lib/smwgc.c:16:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/smwgc.c:9:20: style: Unused variable: ptr [unusedVariable] zephyr-3.1.2/server/timer.h:38:1: debug: Failed to parse 'typedef void ( * timer_proc ) __P ( ( void * ) ) ;'. The checking continues anyway. [simplifyTypedef] zephyr-3.1.2/server/access.c:92:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/access.c:124:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/access.c:163:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/access.c:195:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/Zinternal.c:144:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_INITFILTERSIZE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/Zinternal.c:221:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/Zinternal.c:236:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NOPORT [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/Zinternal.c:268:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_NOTICETIMELIMIT [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/Zinternal.c:300:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NOPORT [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/Zinternal.c:554:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable z_message_len [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/Zinternal.c:649:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/Zinternal.c:699:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/Zinternal.c:750:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/Zinternal.c:836:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/Zinternal.c:1001:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] zephyr-3.1.2/lib/Zinternal.c:1120:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_MAXPKTLEN [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/acl_files.c:69:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/acl_files.c:133:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/acl_files.c:225:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/acl_files.c:302:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/access.c:147:11: style: Variable 'prefix' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/server/bdump.c:123:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPORT_RESERVED [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/bdump.c:253:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/bdump.c:527:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPORT_RESERVED [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/bdump.c:805:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/bdump.c:828:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/bdump.c:928:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/bdump.c:985:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/bdump.c:1181:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_MAXPKTLEN [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/bdump.c:1412:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/bdump.c:1434:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SERVACK [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/bdump.c:1472:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZNOAUTH [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/bdump.c:1520:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/bdump.c:1548:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/bdump.c:1590:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZSRV_PKSHORT [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/bdump.c:1610:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/bdump.c:1649:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/acl_files.c:108:22: warning: If memory allocation fails, then there is a possible null pointer dereference: princ [nullPointerOutOfMemory] zephyr-3.1.2/server/acl_files.c:357:22: note: Assuming allocation function fails zephyr-3.1.2/server/acl_files.c:357:22: note: Assignment 'name=strdup(princ)', assigned value is 0 zephyr-3.1.2/server/acl_files.c:358:28: note: Calling function 'split_name', 1st argument 'name' value is 0 zephyr-3.1.2/server/acl_files.c:108:22: note: Null pointer dereference zephyr-3.1.2/server/acl_files.c:110:28: warning: If memory allocation fails, then there is a possible null pointer dereference: princ [nullPointerOutOfMemory] zephyr-3.1.2/server/acl_files.c:357:22: note: Assuming allocation function fails zephyr-3.1.2/server/acl_files.c:357:22: note: Assignment 'name=strdup(princ)', assigned value is 0 zephyr-3.1.2/server/acl_files.c:358:28: note: Calling function 'split_name', 1st argument 'name' value is 0 zephyr-3.1.2/server/acl_files.c:110:28: note: Null pointer dereference zephyr-3.1.2/server/acl_files.c:111:13: warning: If memory allocation fails, then there is a possible null pointer dereference: princ [nullPointerOutOfMemory] zephyr-3.1.2/server/acl_files.c:357:22: note: Assuming allocation function fails zephyr-3.1.2/server/acl_files.c:357:22: note: Assignment 'name=strdup(princ)', assigned value is 0 zephyr-3.1.2/server/acl_files.c:358:28: note: Calling function 'split_name', 1st argument 'name' value is 0 zephyr-3.1.2/server/acl_files.c:111:13: note: Null pointer dereference zephyr-3.1.2/server/acl_files.c:129:11: style: Variable 'realm' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/server/acl_files.c:169:41: style: Parameter 'princ' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/acl_files.c:169:54: style: Parameter 'realm' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/acl_files.c:350:28: style: Parameter 'princ' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/acl_files.c:350:55: style: Parameter 'who' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/class.c:150:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/class.c:221:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZSRV_CLASSRESTRICTED [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/class.c:252:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZSRV_CLASSXISTS [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/class.c:304:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZSRV_CLASSXISTS [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/class.c:347:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/bdump.c:915:21: warning: Either the condition 'addr' is redundant or there is possible null pointer dereference: addr. [nullPointerRedundantCheck] zephyr-3.1.2/server/bdump.c:923:9: note: Assuming that condition 'addr' is not redundant zephyr-3.1.2/server/bdump.c:915:21: note: Null pointer dereference zephyr-3.1.2/server/bdump.c:1539:32: style:inconclusive: Function 'get_packet' argument 2 names different: declaration 'len' definition 'buflen'. [funcArgNamesDifferent] zephyr-3.1.2/server/bdump.c:55:46: note: Function 'get_packet' argument 2 names different: declaration 'len' definition 'buflen'. zephyr-3.1.2/server/bdump.c:1539:32: note: Function 'get_packet' argument 2 names different: declaration 'len' definition 'buflen'. zephyr-3.1.2/server/bdump.c:897:27: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/bdump.c:1405:25: style: Parameter 'server' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/bdump.c:1583:24: style: Parameter 'notice' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/bdump.c:1586:11: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/server/class.c:103:23: style: Parameter 'd1' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/class.c:104:16: style: Parameter 'd2' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/class.c:185:23: style: Parameter 'class_name' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/class.c:295:16: style: Parameter 'realm' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/class.c:338:16: style: Parameter 'client' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/class.c:339:16: style: Parameter 'realm' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/client.c:75:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZSRV_BADSUBPORT [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/client.c:186:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/common.c:34:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_CRIT [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/common.c:113:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/common.c:28:22: style:inconclusive: Function 'strsave' argument 1 names different: declaration 'str' definition 'sp'. [funcArgNamesDifferent] zephyr-3.1.2/server/zserver.h:309:27: note: Function 'strsave' argument 1 names different: declaration 'str' definition 'sp'. zephyr-3.1.2/server/common.c:28:22: note: Function 'strsave' argument 1 names different: declaration 'str' definition 'sp'. zephyr-3.1.2/server/client.c:220:29: style: Parameter 'host' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/lib/Zinternal.c:125:34: style: Parameter 'uid' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/lib/Zinternal.c:293:11: style: Variable 'slash' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/lib/Zinternal.c:542:17: style: Parameter 'notice' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/lib/Zinternal.c:1011:11: style: Parameter 'field' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/lib/Zinternal.c:1012:11: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/lib/Zinternal.c:1152:48: error: Uninitialized variable: buffer [uninitvar] zephyr-3.1.2/server/kstuff.c:615:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZAUTH_NO [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/kstuff.c:245:24: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/kstuff.c:246:10: style: Parameter 'realm' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/main.c:107:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSCONFDIR [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/main.c:375:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZEPHYR_CTL_CLASS [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/main.c:397:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NS_MAXDNAME [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/main.c:473:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/main.c:491:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/main.c:498:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/main.c:505:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/main.c:516:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/main.c:548:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/main.c:591:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/main.c:631:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/main.c:688:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/dispatch.c:161:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/dispatch.c:238:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZAUTH_YES [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/dispatch.c:309:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PRINCIPAL_SIZE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/dispatch.c:481:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/dispatch.c:535:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZPacket_t [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/dispatch.c:714:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/dispatch.c:785:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SERVACK [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/dispatch.c:888:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HMACK [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/dispatch.c:983:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZEPHYR_CTL_HM [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/dispatch.c:1142:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/dispatch.c:1194:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HMCTL [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/main.c:415:10: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] zephyr-3.1.2/server/main.c:428:10: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] zephyr-3.1.2/server/main.c:431:10: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] zephyr-3.1.2/server/main.c:434:10: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] zephyr-3.1.2/server/main.c:396:21: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/server/main.c:700:22: style: Parameter 'dumpfile' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/main.c:532:12: style: Variable 'oerrno' is assigned a value that is never used. [unreadVariable] zephyr-3.1.2/server/realm.c:95:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REALM_SZ [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/realm.c:146:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_addr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/realm.c:232:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/realm.c:337:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REALM_SZ [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/realm.c:433:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/realm.c:540:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/realm.c:581:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/realm.c:607:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/realm.c:670:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PRINCIPAL_SIZE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/realm.c:840:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REALM_SZ [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/realm.c:901:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/realm.c:936:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/realm.c:1014:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZSRV_NORLM [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/realm.c:1052:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZSRV_NORLM [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/realm.c:1113:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/realm.c:1179:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/realm.c:1231:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/realm.c:1271:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sin_addr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/server.c:138:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/server.c:240:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/server.c:450:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/server.c:476:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SERVACK [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/server.c:543:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACKED [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/server.c:585:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/server.c:616:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/server.c:666:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/server.c:718:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/server.c:731:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/server.c:819:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_addr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/server.c:848:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NS_MAXDNAME [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/server.c:890:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NS_MAXDNAME [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/server.c:934:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/server.c:1011:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/server.c:1078:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACKED [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/server.c:1134:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNSAFE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/server.c:1190:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZPacket_t [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/server.c:1220:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/server.c:1266:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/server.c:1292:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/server.c:1327:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/server.c:1385:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/server.c:1408:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_CRIT [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/server.c:1466:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/realm.c:635:13: error: Address of local auto-variable assigned to a function parameter. [autoVariables] zephyr-3.1.2/server/realm.c:645:6: error: Address of local auto-variable assigned to a function parameter. [autoVariables] zephyr-3.1.2/server/realm.c:228:10: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] zephyr-3.1.2/server/realm.c:354:6: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] zephyr-3.1.2/server/realm.c:110:25: style: Variable 'snotice.z_recipient' is reassigned a value before the old one has been used. [redundantAssignment] zephyr-3.1.2/server/realm.c:104:25: note: snotice.z_recipient is assigned zephyr-3.1.2/server/realm.c:110:25: note: snotice.z_recipient is overwritten zephyr-3.1.2/server/realm.c:111:30: style: Variable 'snotice.z_default_format' is reassigned a value before the old one has been used. [redundantAssignment] zephyr-3.1.2/server/realm.c:107:30: note: snotice.z_default_format is assigned zephyr-3.1.2/server/realm.c:111:30: note: snotice.z_default_format is overwritten zephyr-3.1.2/server/realm.c:856:27: style: Variable 'snotice.z_default_format' is reassigned a value before the old one has been used. [redundantAssignment] zephyr-3.1.2/server/realm.c:854:27: note: snotice.z_default_format is assigned zephyr-3.1.2/server/realm.c:856:27: note: snotice.z_default_format is overwritten zephyr-3.1.2/server/server.c:823:7: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] zephyr-3.1.2/server/realm.c:78:26: style: Parameter 'srvr' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/realm.c:84:28: style: Parameter 'srvr' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/realm.c:239:29: style: Parameter 'who' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/realm.c:440:48: style: Parameter 'recip' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/realm.c:458:48: style: Parameter 'sender' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/realm.c:460:11: style: Variable 'rlm' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/server/realm.c:476:39: style: Parameter 'who' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/realm.c:499:31: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/realm.c:517:40: style: Parameter 'namestr' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/realm.c:566:20: style: Parameter 'notice' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/realm.c:610:13: style: Variable 'notice_class' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/server/realm.c:1005:15: style: Parameter 'notice' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/realm.c:1101:27: style: Parameter 'who' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/server.c:1094:54: style: Condition 'auth' is always false [knownConditionTrueFalse] zephyr-3.1.2/server/server.c:1092:12: note: Assignment 'auth=0', assigned value is 0 zephyr-3.1.2/server/server.c:1094:54: note: Condition 'auth' is always false zephyr-3.1.2/server/server.c:1150:11: style: Condition 'auth' is always false [knownConditionTrueFalse] zephyr-3.1.2/server/server.c:1147:12: note: Assignment 'auth=0', assigned value is 0 zephyr-3.1.2/server/server.c:1150:11: note: Condition 'auth' is always false zephyr-3.1.2/server/server.c:860:6: error: Resource leak: fp [resourceLeak] zephyr-3.1.2/server/server.c:873:6: error: Common realloc mistake: 'ret_list' nulled but not freed upon failure [memleakOnRealloc] zephyr-3.1.2/server/server.c:310:13: warning: If memory allocation fails, then there is a possible null pointer dereference: srv [nullPointerOutOfMemory] zephyr-3.1.2/server/server.c:309:26: note: Assuming allocation function fails zephyr-3.1.2/server/server.c:309:12: note: Assignment 'srv=(int*)malloc(nservers*sizeof(int))', assigned value is 0 zephyr-3.1.2/server/server.c:310:13: note: Null pointer dereference zephyr-3.1.2/server/server.c:752:5: warning: If memory allocation fails, then there is a possible null pointer dereference: responses [nullPointerOutOfMemory] zephyr-3.1.2/server/server.c:750:33: note: Assuming allocation function fails zephyr-3.1.2/server/server.c:750:17: note: Assignment 'responses=(char**)malloc((3+nservers+extrafields)*sizeof(char*))', assigned value is 0 zephyr-3.1.2/server/server.c:752:5: note: Null pointer dereference zephyr-3.1.2/server/server.c:753:5: warning: If memory allocation fails, then there is a possible null pointer dereference: responses [nullPointerOutOfMemory] zephyr-3.1.2/server/server.c:750:33: note: Assuming allocation function fails zephyr-3.1.2/server/server.c:750:17: note: Assignment 'responses=(char**)malloc((3+nservers+extrafields)*sizeof(char*))', assigned value is 0 zephyr-3.1.2/server/server.c:753:5: note: Null pointer dereference zephyr-3.1.2/server/server.c:754:5: warning: If memory allocation fails, then there is a possible null pointer dereference: responses [nullPointerOutOfMemory] zephyr-3.1.2/server/server.c:750:33: note: Assuming allocation function fails zephyr-3.1.2/server/server.c:750:17: note: Assignment 'responses=(char**)malloc((3+nservers+extrafields)*sizeof(char*))', assigned value is 0 zephyr-3.1.2/server/server.c:754:5: note: Null pointer dereference zephyr-3.1.2/server/server.c:762:2: warning: If memory allocation fails, then there is a possible null pointer dereference: responses [nullPointerOutOfMemory] zephyr-3.1.2/server/server.c:750:33: note: Assuming allocation function fails zephyr-3.1.2/server/server.c:750:17: note: Assignment 'responses=(char**)malloc((3+nservers+extrafields)*sizeof(char*))', assigned value is 0 zephyr-3.1.2/server/server.c:762:2: note: Null pointer dereference zephyr-3.1.2/server/server.c:769:7: warning: If memory allocation fails, then there is a possible null pointer dereference: responses [nullPointerOutOfMemory] zephyr-3.1.2/server/server.c:750:33: note: Assuming allocation function fails zephyr-3.1.2/server/server.c:750:17: note: Assignment 'responses=(char**)malloc((3+nservers+extrafields)*sizeof(char*))', assigned value is 0 zephyr-3.1.2/server/server.c:769:7: note: Null pointer dereference zephyr-3.1.2/server/server.c:776:7: warning: If memory allocation fails, then there is a possible null pointer dereference: responses [nullPointerOutOfMemory] zephyr-3.1.2/server/server.c:750:33: note: Assuming allocation function fails zephyr-3.1.2/server/server.c:750:17: note: Assignment 'responses=(char**)malloc((3+nservers+extrafields)*sizeof(char*))', assigned value is 0 zephyr-3.1.2/server/server.c:776:7: note: Null pointer dereference zephyr-3.1.2/server/server.c:1383:12: warning: If memory allocation fails, then there is a possible null pointer dereference: new_idx [nullPointerOutOfMemory] zephyr-3.1.2/server/server.c:309:26: note: Assuming allocation function fails zephyr-3.1.2/server/server.c:309:12: note: Assignment 'srv=(int*)malloc(nservers*sizeof(int))', assigned value is 0 zephyr-3.1.2/server/server.c:327:24: note: Calling function 'srv_nack_renumber', 1st argument 'srv' value is 0 zephyr-3.1.2/server/server.c:1383:12: note: Null pointer dereference zephyr-3.1.2/server/realm.c:954:14: style: Variable 'status' is assigned a value that is never used. [unreadVariable] zephyr-3.1.2/server/realm.c:962:14: style: Variable 'status' is assigned a value that is never used. [unreadVariable] zephyr-3.1.2/server/realm.c:987:14: style: Variable 'status' is assigned a value that is never used. [unreadVariable] zephyr-3.1.2/server/server.c:419:19: style:inconclusive: Function 'server_timo' argument 1 names different: declaration 'which' definition 'arg'. [funcArgNamesDifferent] zephyr-3.1.2/server/zserver.h:347:24: note: Function 'server_timo' argument 1 names different: declaration 'which' definition 'arg'. zephyr-3.1.2/server/server.c:419:19: note: Function 'server_timo' argument 1 names different: declaration 'which' definition 'arg'. zephyr-3.1.2/server/server.c:706:29: style: Parameter 'notice' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/server.c:735:13: style: Variable 'realm' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/server/server.c:800:21: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/server/server.c:845:23: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/server.c:929:23: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/server.c:985:41: style: Parameter 'who' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/server.c:1213:19: style: Parameter 'notice' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/server.c:1287:13: style: Variable 'server' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/server/server.c:1349:26: style: Parameter 'server' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/server.c:1373:25: style: Parameter 'new_idx' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/server.c:1402:27: style: Parameter 'who' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/subscr.c:127:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/subscr.c:226:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/subscr.c:307:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZSRV_NOCLT [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/subscr.c:357:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZSRV_NORLM [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/subscr.c:438:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/subscr.c:485:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLIENT_GIMMESUBS [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/subscr.c:572:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACKED [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/subscr.c:658:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SERVACK [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/subscr.c:724:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/subscr.c:798:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/subscr.c:878:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/subscr.c:921:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/subscr.c:954:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/subscr.c:1004:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SERVACK [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/subscr.c:1031:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/subscr.c:1117:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/subscr.c:1245:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REALM_SZ [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/test_server.c:86:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_USER [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/test_server.c:109:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/test_server.c:222:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INADDR_LOOPBACK [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/test_server.c:103:13: style: Variable 's1' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/server/test_server.c:103:18: style: Variable 's2' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/server/test_server.c:103:23: style: Variable 's0' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/server/test_server.c:103:28: style: Variable 's4' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/server/test_server.c:145:21: style: Variable 'who3.sin_family' is assigned a value that is never used. [unreadVariable] zephyr-3.1.2/server/test_server.c:146:19: style: Variable 'who3.sin_port' is assigned a value that is never used. [unreadVariable] zephyr-3.1.2/server/test_server.c:213:9: style: Unused variable: result [unusedVariable] zephyr-3.1.2/server/dispatch.c:931:3: error: Common realloc mistake: 'hosts' nulled but not freed upon failure [memleakOnRealloc] zephyr-3.1.2/server/dispatch.c:1236:13: warning: If memory allocation fails, then there is a possible null pointer dereference: recipient [nullPointerOutOfMemory] zephyr-3.1.2/server/dispatch.c:1235:32: note: Assuming allocation function fails zephyr-3.1.2/server/dispatch.c:1235:17: note: Assignment 'recipient=(char*)malloc(strlen(realm)+4)', assigned value is 0 zephyr-3.1.2/server/dispatch.c:1236:13: note: Null pointer dereference zephyr-3.1.2/server/dispatch.c:1237:13: warning: If memory allocation fails, then there is a possible null pointer dereference: recipient [nullPointerOutOfMemory] zephyr-3.1.2/server/dispatch.c:1235:32: note: Assuming allocation function fails zephyr-3.1.2/server/dispatch.c:1235:17: note: Assignment 'recipient=(char*)malloc(strlen(realm)+4)', assigned value is 0 zephyr-3.1.2/server/dispatch.c:1237:13: note: Null pointer dereference zephyr-3.1.2/server/dispatch.c:819:26: style: Variable 'acknotice.z_opcode' is reassigned a value before the old one has been used. [redundantAssignment] zephyr-3.1.2/server/dispatch.c:816:26: note: acknotice.z_opcode is assigned zephyr-3.1.2/server/dispatch.c:819:26: note: acknotice.z_opcode is overwritten zephyr-3.1.2/server/dispatch.c:443:22: style: Parameter 'client' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/dispatch.c:469:22: style: Parameter 'notice' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/dispatch.c:769:20: style: Parameter 'notice' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/dispatch.c:851:26: style: Parameter 'who' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/dispatch.c:883:17: style: Parameter 'server' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/dispatch.c:1227:11: style: Variable 'realm' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/server/timer.c:153:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable heap_pos [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/timer.c:198:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable heap_pos [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/timer.c:247:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_CRIT [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/timer.c:188:2: error: Common realloc mistake: 'heap' nulled but not freed upon failure [memleakOnRealloc] zephyr-3.1.2/server/timer.c:245:19: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'timer_botch' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] zephyr-3.1.2/server/timer.c:222:15: note: You might need to cast the function pointer here zephyr-3.1.2/server/timer.c:245:19: note: Parameter 'arg' can be declared as pointer to const zephyr-3.1.2/server/subscr.c:447:5: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] zephyr-3.1.2/server/subscr.c:659:10: style: Condition 'num>1' is always false [knownConditionTrueFalse] zephyr-3.1.2/server/subscr.c:610:15: note: Assignment 'num=0', assigned value is 0 zephyr-3.1.2/server/subscr.c:615:10: note: num is incremented', new value is 1 zephyr-3.1.2/server/subscr.c:659:10: note: Condition 'num>1' is always false zephyr-3.1.2/server/subscr.c:247:6: error: Memory leak: def_sub_area [memleak] zephyr-3.1.2/server/subscr.c:808:7: error: Memory leak: text [memleak] zephyr-3.1.2/server/subscr.c:832:23: style: Variable 'snotice.z_recipient' is reassigned a value before the old one has been used. [redundantAssignment] zephyr-3.1.2/server/subscr.c:828:23: note: snotice.z_recipient is assigned zephyr-3.1.2/server/subscr.c:832:23: note: snotice.z_recipient is overwritten zephyr-3.1.2/server/subscr.c:116:15: style:inconclusive: Function 'add_subscriptions' argument 2 names different: declaration 'subs_queue' definition 'subs'. [funcArgNamesDifferent] zephyr-3.1.2/server/subscr.c:73:56: note: Function 'add_subscriptions' argument 2 names different: declaration 'subs_queue' definition 'subs'. zephyr-3.1.2/server/subscr.c:116:15: note: Function 'add_subscriptions' argument 2 names different: declaration 'subs_queue' definition 'subs'. zephyr-3.1.2/server/subscr.c:713:34: style: Parameter 'notice' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/subscr.c:786:18: style: Parameter 'notice' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/subscr.c:1099:14: style: Parameter 'server' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/subscr.c:1241:14: style: Variable 'tp0' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/server/subscr.c:447:10: style: Variable 'auth' is assigned a value that is never used. [unreadVariable] zephyr-3.1.2/server/subscr.c:1022:22: style: Variable 'num' is assigned a value that is never used. [unreadVariable] zephyr-3.1.2/server/uloc.c:107:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGIN_USER_LOGOUT [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/uloc.c:253:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGIN_USER_LOGIN [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/uloc.c:270:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCATE_LOCATE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/uloc.c:297:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/uloc.c:326:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_addr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/uloc.c:343:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_addr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/uloc.c:375:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXPOSE_OPSTAFF [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/uloc.c:469:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/uloc.c:487:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/uloc.c:533:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_addr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/uloc.c:672:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/uloc.c:737:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/uloc.c:820:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sin_addr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/uloc.c:870:97: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/uloc.c:906:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/server/uloc.c:743:6: error: Common realloc mistake: 'matches' nulled but not freed upon failure [memleakOnRealloc] zephyr-3.1.2/server/uloc.c:102:11: style: Parameter 'server' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/uloc.c:240:25: style: Parameter 'notice' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/uloc.c:265:12: style: Parameter 'server' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/uloc.c:318:29: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/uloc.c:335:39: style: Parameter 'sin' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/uloc.c:519:22: style: Parameter 'host' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/uloc.c:658:28: style: Parameter 'who' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/uloc.c:836:34: style: Parameter 'notice' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/zstring.c:94:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new_z [nullPointerOutOfMemory] zephyr-3.1.2/server/zstring.c:93:30: note: Assuming allocation function fails zephyr-3.1.2/server/zstring.c:93:13: note: Assignment 'new_z=(struct String*)malloc(sizeof(struct String))', assigned value is 0 zephyr-3.1.2/server/zstring.c:94:5: note: Null pointer dereference zephyr-3.1.2/server/zstring.c:95:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new_z [nullPointerOutOfMemory] zephyr-3.1.2/server/zstring.c:93:30: note: Assuming allocation function fails zephyr-3.1.2/server/zstring.c:93:13: note: Assignment 'new_z=(struct String*)malloc(sizeof(struct String))', assigned value is 0 zephyr-3.1.2/server/zstring.c:95:5: note: Null pointer dereference zephyr-3.1.2/server/zstring.c:98:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new_z [nullPointerOutOfMemory] zephyr-3.1.2/server/zstring.c:93:30: note: Assuming allocation function fails zephyr-3.1.2/server/zstring.c:93:13: note: Assignment 'new_z=(struct String*)malloc(sizeof(struct String))', assigned value is 0 zephyr-3.1.2/server/zstring.c:98:5: note: Null pointer dereference zephyr-3.1.2/server/zstring.c:99:9: warning: If memory allocation fails, then there is a possible null pointer dereference: new_z [nullPointerOutOfMemory] zephyr-3.1.2/server/zstring.c:93:30: note: Assuming allocation function fails zephyr-3.1.2/server/zstring.c:93:13: note: Assignment 'new_z=(struct String*)malloc(sizeof(struct String))', assigned value is 0 zephyr-3.1.2/server/zstring.c:99:9: note: Null pointer dereference zephyr-3.1.2/server/zstring.c:101:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new_z [nullPointerOutOfMemory] zephyr-3.1.2/server/zstring.c:93:30: note: Assuming allocation function fails zephyr-3.1.2/server/zstring.c:93:13: note: Assignment 'new_z=(struct String*)malloc(sizeof(struct String))', assigned value is 0 zephyr-3.1.2/server/zstring.c:101:5: note: Null pointer dereference zephyr-3.1.2/server/zstring.c:104:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new_z [nullPointerOutOfMemory] zephyr-3.1.2/server/zstring.c:93:30: note: Assuming allocation function fails zephyr-3.1.2/server/zstring.c:93:13: note: Assignment 'new_z=(struct String*)malloc(sizeof(struct String))', assigned value is 0 zephyr-3.1.2/server/zstring.c:104:5: note: Null pointer dereference zephyr-3.1.2/server/zstring.c:160:21: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/server/zstring.c:161:14: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/zhm/timer.h:38:1: debug: Failed to parse 'typedef void ( * timer_proc ) __P ( ( void * ) ) ;'. The checking continues anyway. [simplifyTypedef] zephyr-3.1.2/zhm/queue.c:72:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONOTICE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zhm/queue.c:110:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONOTICE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zhm/queue.c:136:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zhm/queue.c:239:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zhm/queue.c:88:22: style: Redundant pointer operation on 'hm_queue' - it's already a variable. [redundantPointerOp] zephyr-3.1.2/zhm/queue.c:89:10: style: Redundant pointer operation on 'hm_queue' - it's already a variable. [redundantPointerOp] zephyr-3.1.2/zhm/queue.c:89:24: style: Redundant pointer operation on 'hm_queue' - it's already a variable. [redundantPointerOp] zephyr-3.1.2/zhm/queue.c:90:7: style: Redundant pointer operation on 'hm_queue' - it's already a variable. [redundantPointerOp] zephyr-3.1.2/zhm/queue.c:62:13: style: Parameter 'packet' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/zhm/queue.c:63:27: style: Parameter 'repl' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/zhm/timer.c:154:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable heap_pos [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zhm/timer.c:199:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable heap_pos [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zhm/timer.c:248:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_CRIT [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zhm/timer.c:189:2: error: Common realloc mistake: 'heap' nulled but not freed upon failure [memleakOnRealloc] zephyr-3.1.2/zhm/timer.c:246:19: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'timer_botch' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] zephyr-3.1.2/zhm/timer.c:223:15: note: You might need to cast the function pointer here zephyr-3.1.2/zhm/timer.c:246:19: note: Parameter 'arg' can be declared as pointer to const zephyr-3.1.2/server/utf8proc.c:388:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zhm/zhm.c:85:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zhm/zhm.c:377:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zhm/zhm.c:488:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zhm/zhm.c:536:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zhm/zhm.c:608:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zhm/zhm.c:128:12: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] zephyr-3.1.2/zhm/zhm.c:143:16: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] zephyr-3.1.2/zhm/zhm.c:399:8: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] zephyr-3.1.2/zhm/zhm.c:410:11: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] zephyr-3.1.2/zhm/zhm.c:436:16: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] zephyr-3.1.2/zhm/zhm.c:577:6: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] zephyr-3.1.2/zhm/zhm.c:523:23: style: Parameter 'notice' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/zhm/zhm_client.c:30:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HMCTL [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zhm/zhm_client.c:89:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZPacket_t [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zhm/zhm_server.c:41:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZNotice_t [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zhm/zhm_server.c:73:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZNotice_t [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zhm/zhm_server.c:114:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NS_MAXDNAME [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zhm/zhm_server.c:175:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zhm/zhm_server.c:206:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NS_MAXDNAME [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zhm/zhm_server.c:250:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HM_BOOT [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zhm/zhm_server.c:285:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zhm/zhm_server.c:112:14: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] zephyr-3.1.2/zhm/zhm_server.c:125:17: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] zephyr-3.1.2/zhm/zhm_server.c:136:17: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] zephyr-3.1.2/zhm/zhm_server.c:155:17: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] zephyr-3.1.2/zhm/zhm_server.c:213:11: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] zephyr-3.1.2/zhm/zhm_server.c:112:28: warning: Possible null pointer dereference: sugg_serv [nullPointer] zephyr-3.1.2/zhm/zhm_server.c:301:16: note: Calling function 'new_server', 1st argument 'NULL' value is 0 zephyr-3.1.2/zhm/zhm_server.c:287:22: note: Calling function 'find_next_server', 1st argument 'sugg_serv' value is 0 zephyr-3.1.2/zhm/zhm_server.c:112:28: note: Null pointer dereference zephyr-3.1.2/zhm/zhm_server.c:100:22: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/zhm/zhm_server.c:103:12: style: Variable 'new_serv' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/zhm/zhm_server.c:205:21: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/zhm/zhm_server.c:129:9: style: Variable 'done' is assigned a value that is never used. [unreadVariable] zephyr-3.1.2/zwgc/X_driver.c:196:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/X_driver.c:273:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DATADIR [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/X_driver.c:329:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/X_driver.c:356:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/X_driver.c:251:22: style: Unused variable: res [unusedVariable] zephyr-3.1.2/zwgc/X_fonts.c:247:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/X_gram.c:110:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/X_gram.c:182:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XC_sailboat [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/X_gram.c:289:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NorthEastGravity [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/X_gram.c:351:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USPosition [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/X_gram.c:424:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCForeground [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/X_gram.c:463:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RectangleOut [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/X_gram.c:532:29: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/zwgc/browser.c:36:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/browser.c:31:10: style: Variable 'temp' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/zwgc/dictionary.c:75:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _TYPE_T_dictionary [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/dictionary.c:230:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TYPE_T_dictionary_binding [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/dictionary.c:83:5: error: Memory leak: result.slots [memleak] zephyr-3.1.2/zwgc/dictionary.c:231:5: warning: If memory allocation fails, then there is a possible null pointer dereference: binding_ptr [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/dictionary.c:229:54: note: Assuming allocation function fails zephyr-3.1.2/zwgc/dictionary.c:229:19: note: Assignment 'binding_ptr=(TYPE_T_dictionary_binding*)malloc(sizeof(TYPE_T_dictionary_binding))', assigned value is 0 zephyr-3.1.2/zwgc/dictionary.c:231:5: note: Null pointer dereference zephyr-3.1.2/zwgc/dictionary.c:232:5: warning: If memory allocation fails, then there is a possible null pointer dereference: binding_ptr [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/dictionary.c:229:54: note: Assuming allocation function fails zephyr-3.1.2/zwgc/dictionary.c:229:19: note: Assignment 'binding_ptr=(TYPE_T_dictionary_binding*)malloc(sizeof(TYPE_T_dictionary_binding))', assigned value is 0 zephyr-3.1.2/zwgc/dictionary.c:232:5: note: Null pointer dereference zephyr-3.1.2/zwgc/dictionary.c:152:24: style: Parameter 's' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/zwgc/eval.c:70:20: debug: Function::addArguments found argument 'bool' with varid 0. [varid0] zephyr-3.1.2/zwgc/exec.c:344:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/exec.c:80:2: error: Common realloc mistake: 'result' nulled but not freed upon failure [memleakOnRealloc] zephyr-3.1.2/zwgc/exec.c:78:2: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/exec.c:74:36: note: Assuming allocation function fails zephyr-3.1.2/zwgc/exec.c:74:21: note: Assignment 'result=(char**)malloc(sizeof(char*))', assigned value is 0 zephyr-3.1.2/zwgc/exec.c:78:2: note: Null pointer dereference zephyr-3.1.2/zwgc/exec.c:83:5: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/exec.c:74:36: note: Assuming allocation function fails zephyr-3.1.2/zwgc/exec.c:74:21: note: Assignment 'result=(char**)malloc(sizeof(char*))', assigned value is 0 zephyr-3.1.2/zwgc/exec.c:77:12: note: Assuming condition is false zephyr-3.1.2/zwgc/exec.c:83:5: note: Null pointer dereference zephyr-3.1.2/zwgc/exec.c:111:17: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/zwgc/exec.c:118:18: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/zwgc/exec.c:125:17: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/zwgc/exec.c:270:21: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/zwgc/exec.c:325:15: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/zwgc/exec.c:457:18: style: Parameter 'notice' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/zwgc/exec.c:422:16: style: Variable 'retval' is assigned a value that is never used. [unreadVariable] zephyr-3.1.2/zwgc/file.c:69:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/file.c:52:26: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] zephyr-3.1.2/zwgc/file.c:76:15: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] zephyr-3.1.2/zwgc/file.c:75:9: note: result is assigned zephyr-3.1.2/zwgc/file.c:76:15: note: result is overwritten zephyr-3.1.2/zwgc/file.c:46:20: style: Variable 'passwd_entry' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/zwgc/file.c:62:25: style: Parameter 'override_filename' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/zwgc/file.c:64:11: style: Parameter 'fallback_filename' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/zwgc/lexer.c:83:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/lexer.c:195:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/lexer.c:473:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable text [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/lexer.c:526:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/formatter.c:329:3: error: Common realloc mistake: 'temp' nulled but not freed upon failure [memleakOnRealloc] zephyr-3.1.2/zwgc/formatter.c:369:7: error: Common realloc mistake: 'temp' nulled but not freed upon failure [memleakOnRealloc] zephyr-3.1.2/zwgc/formatter.c:250:3: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/formatter.c:249:23: note: Assuming allocation function fails zephyr-3.1.2/zwgc/formatter.c:249:8: note: Assignment 'temp=(char*)malloc((len=strlen(str))+4)', assigned value is 0 zephyr-3.1.2/zwgc/formatter.c:250:3: note: Null pointer dereference zephyr-3.1.2/zwgc/formatter.c:251:3: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/formatter.c:249:23: note: Assuming allocation function fails zephyr-3.1.2/zwgc/formatter.c:249:8: note: Assignment 'temp=(char*)malloc((len=strlen(str))+4)', assigned value is 0 zephyr-3.1.2/zwgc/formatter.c:251:3: note: Null pointer dereference zephyr-3.1.2/zwgc/formatter.c:253:3: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/formatter.c:249:23: note: Assuming allocation function fails zephyr-3.1.2/zwgc/formatter.c:249:8: note: Assignment 'temp=(char*)malloc((len=strlen(str))+4)', assigned value is 0 zephyr-3.1.2/zwgc/formatter.c:253:3: note: Null pointer dereference zephyr-3.1.2/zwgc/formatter.c:254:3: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/formatter.c:249:23: note: Assuming allocation function fails zephyr-3.1.2/zwgc/formatter.c:249:8: note: Assignment 'temp=(char*)malloc((len=strlen(str))+4)', assigned value is 0 zephyr-3.1.2/zwgc/formatter.c:254:3: note: Null pointer dereference zephyr-3.1.2/zwgc/formatter.c:260:3: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/formatter.c:259:23: note: Assuming allocation function fails zephyr-3.1.2/zwgc/formatter.c:259:8: note: Assignment 'temp=(char*)malloc((len=strlen(str))+4)', assigned value is 0 zephyr-3.1.2/zwgc/formatter.c:260:3: note: Null pointer dereference zephyr-3.1.2/zwgc/formatter.c:261:3: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/formatter.c:259:23: note: Assuming allocation function fails zephyr-3.1.2/zwgc/formatter.c:259:8: note: Assignment 'temp=(char*)malloc((len=strlen(str))+4)', assigned value is 0 zephyr-3.1.2/zwgc/formatter.c:261:3: note: Null pointer dereference zephyr-3.1.2/zwgc/formatter.c:263:3: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/formatter.c:259:23: note: Assuming allocation function fails zephyr-3.1.2/zwgc/formatter.c:259:8: note: Assignment 'temp=(char*)malloc((len=strlen(str))+4)', assigned value is 0 zephyr-3.1.2/zwgc/formatter.c:263:3: note: Null pointer dereference zephyr-3.1.2/zwgc/formatter.c:264:3: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/formatter.c:259:23: note: Assuming allocation function fails zephyr-3.1.2/zwgc/formatter.c:259:8: note: Assignment 'temp=(char*)malloc((len=strlen(str))+4)', assigned value is 0 zephyr-3.1.2/zwgc/formatter.c:264:3: note: Null pointer dereference zephyr-3.1.2/zwgc/formatter.c:270:3: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/formatter.c:269:23: note: Assuming allocation function fails zephyr-3.1.2/zwgc/formatter.c:269:8: note: Assignment 'temp=(char*)malloc((len=strlen(str))+4)', assigned value is 0 zephyr-3.1.2/zwgc/formatter.c:270:3: note: Null pointer dereference zephyr-3.1.2/zwgc/formatter.c:271:3: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/formatter.c:269:23: note: Assuming allocation function fails zephyr-3.1.2/zwgc/formatter.c:269:8: note: Assignment 'temp=(char*)malloc((len=strlen(str))+4)', assigned value is 0 zephyr-3.1.2/zwgc/formatter.c:271:3: note: Null pointer dereference zephyr-3.1.2/zwgc/formatter.c:273:3: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/formatter.c:269:23: note: Assuming allocation function fails zephyr-3.1.2/zwgc/formatter.c:269:8: note: Assignment 'temp=(char*)malloc((len=strlen(str))+4)', assigned value is 0 zephyr-3.1.2/zwgc/formatter.c:273:3: note: Null pointer dereference zephyr-3.1.2/zwgc/formatter.c:274:3: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/formatter.c:269:23: note: Assuming allocation function fails zephyr-3.1.2/zwgc/formatter.c:269:8: note: Assignment 'temp=(char*)malloc((len=strlen(str))+4)', assigned value is 0 zephyr-3.1.2/zwgc/formatter.c:274:3: note: Null pointer dereference zephyr-3.1.2/zwgc/formatter.c:280:3: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/formatter.c:279:23: note: Assuming allocation function fails zephyr-3.1.2/zwgc/formatter.c:279:8: note: Assignment 'temp=(char*)malloc((len=strlen(str))+4)', assigned value is 0 zephyr-3.1.2/zwgc/formatter.c:280:3: note: Null pointer dereference zephyr-3.1.2/zwgc/formatter.c:281:3: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/formatter.c:279:23: note: Assuming allocation function fails zephyr-3.1.2/zwgc/formatter.c:279:8: note: Assignment 'temp=(char*)malloc((len=strlen(str))+4)', assigned value is 0 zephyr-3.1.2/zwgc/formatter.c:281:3: note: Null pointer dereference zephyr-3.1.2/zwgc/formatter.c:283:3: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/formatter.c:279:23: note: Assuming allocation function fails zephyr-3.1.2/zwgc/formatter.c:279:8: note: Assignment 'temp=(char*)malloc((len=strlen(str))+4)', assigned value is 0 zephyr-3.1.2/zwgc/formatter.c:283:3: note: Null pointer dereference zephyr-3.1.2/zwgc/formatter.c:284:3: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/formatter.c:279:23: note: Assuming allocation function fails zephyr-3.1.2/zwgc/formatter.c:279:8: note: Assignment 'temp=(char*)malloc((len=strlen(str))+4)', assigned value is 0 zephyr-3.1.2/zwgc/formatter.c:284:3: note: Null pointer dereference zephyr-3.1.2/zwgc/formatter.c:252:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] zephyr-3.1.2/zwgc/formatter.c:249:23: note: Assuming allocation function fails zephyr-3.1.2/zwgc/formatter.c:249:8: note: Assignment 'temp=(char*)malloc((len=strlen(str))+4)', assigned value is 0 zephyr-3.1.2/zwgc/formatter.c:252:21: note: Null pointer addition zephyr-3.1.2/zwgc/formatter.c:262:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] zephyr-3.1.2/zwgc/formatter.c:259:23: note: Assuming allocation function fails zephyr-3.1.2/zwgc/formatter.c:259:8: note: Assignment 'temp=(char*)malloc((len=strlen(str))+4)', assigned value is 0 zephyr-3.1.2/zwgc/formatter.c:262:21: note: Null pointer addition zephyr-3.1.2/zwgc/formatter.c:272:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] zephyr-3.1.2/zwgc/formatter.c:269:23: note: Assuming allocation function fails zephyr-3.1.2/zwgc/formatter.c:269:8: note: Assignment 'temp=(char*)malloc((len=strlen(str))+4)', assigned value is 0 zephyr-3.1.2/zwgc/formatter.c:272:21: note: Null pointer addition zephyr-3.1.2/zwgc/formatter.c:282:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] zephyr-3.1.2/zwgc/formatter.c:279:23: note: Assuming allocation function fails zephyr-3.1.2/zwgc/formatter.c:279:8: note: Assignment 'temp=(char*)malloc((len=strlen(str))+4)', assigned value is 0 zephyr-3.1.2/zwgc/formatter.c:282:21: note: Null pointer addition zephyr-3.1.2/zwgc/formatter.c:440:18: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/zwgc/formatter.c:537:18: style: Variable 'terminator' is assigned a value that is never used. [unreadVariable] zephyr-3.1.2/zwgc/main.c:126:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZNotice_t [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/main.c:172:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DATADIR [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/main.c:204:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/main.c:234:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/main.c:257:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/main.c:400:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NS_MAXDNAME [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/main.c:481:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USER_REREAD [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/main.c:622:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/main.c:679:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/mux.c:188:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/mux.c:227:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/main.c:133:19: warning: If memory allocation fails, then there is a possible null pointer dereference: notice [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/main.c:126:44: note: Assuming allocation function fails zephyr-3.1.2/zwgc/main.c:126:25: note: Assignment 'notice=(ZNotice_t*)malloc(sizeof(ZNotice_t))', assigned value is 0 zephyr-3.1.2/zwgc/main.c:133:19: note: Null pointer dereference zephyr-3.1.2/zwgc/main.c:135:5: warning: If memory allocation fails, then there is a possible null pointer dereference: notice [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/main.c:126:44: note: Assuming allocation function fails zephyr-3.1.2/zwgc/main.c:126:25: note: Assignment 'notice=(ZNotice_t*)malloc(sizeof(ZNotice_t))', assigned value is 0 zephyr-3.1.2/zwgc/main.c:135:5: note: Null pointer dereference zephyr-3.1.2/zwgc/main.c:136:5: warning: If memory allocation fails, then there is a possible null pointer dereference: notice [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/main.c:126:44: note: Assuming allocation function fails zephyr-3.1.2/zwgc/main.c:126:25: note: Assignment 'notice=(ZNotice_t*)malloc(sizeof(ZNotice_t))', assigned value is 0 zephyr-3.1.2/zwgc/main.c:136:5: note: Null pointer dereference zephyr-3.1.2/zwgc/main.c:137:5: warning: If memory allocation fails, then there is a possible null pointer dereference: notice [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/main.c:126:44: note: Assuming allocation function fails zephyr-3.1.2/zwgc/main.c:126:25: note: Assignment 'notice=(ZNotice_t*)malloc(sizeof(ZNotice_t))', assigned value is 0 zephyr-3.1.2/zwgc/main.c:137:5: note: Null pointer dereference zephyr-3.1.2/zwgc/main.c:138:5: warning: If memory allocation fails, then there is a possible null pointer dereference: notice [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/main.c:126:44: note: Assuming allocation function fails zephyr-3.1.2/zwgc/main.c:126:25: note: Assignment 'notice=(ZNotice_t*)malloc(sizeof(ZNotice_t))', assigned value is 0 zephyr-3.1.2/zwgc/main.c:138:5: note: Null pointer dereference zephyr-3.1.2/zwgc/main.c:139:5: warning: If memory allocation fails, then there is a possible null pointer dereference: notice [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/main.c:126:44: note: Assuming allocation function fails zephyr-3.1.2/zwgc/main.c:126:25: note: Assignment 'notice=(ZNotice_t*)malloc(sizeof(ZNotice_t))', assigned value is 0 zephyr-3.1.2/zwgc/main.c:139:5: note: Null pointer dereference zephyr-3.1.2/zwgc/main.c:140:5: warning: If memory allocation fails, then there is a possible null pointer dereference: notice [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/main.c:126:44: note: Assuming allocation function fails zephyr-3.1.2/zwgc/main.c:126:25: note: Assignment 'notice=(ZNotice_t*)malloc(sizeof(ZNotice_t))', assigned value is 0 zephyr-3.1.2/zwgc/main.c:140:5: note: Null pointer dereference zephyr-3.1.2/zwgc/main.c:141:5: warning: If memory allocation fails, then there is a possible null pointer dereference: notice [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/main.c:126:44: note: Assuming allocation function fails zephyr-3.1.2/zwgc/main.c:126:25: note: Assignment 'notice=(ZNotice_t*)malloc(sizeof(ZNotice_t))', assigned value is 0 zephyr-3.1.2/zwgc/main.c:141:5: note: Null pointer dereference zephyr-3.1.2/zwgc/main.c:143:5: warning: If memory allocation fails, then there is a possible null pointer dereference: notice [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/main.c:126:44: note: Assuming allocation function fails zephyr-3.1.2/zwgc/main.c:126:25: note: Assignment 'notice=(ZNotice_t*)malloc(sizeof(ZNotice_t))', assigned value is 0 zephyr-3.1.2/zwgc/main.c:143:5: note: Null pointer dereference zephyr-3.1.2/zwgc/main.c:144:5: warning: If memory allocation fails, then there is a possible null pointer dereference: notice [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/main.c:126:44: note: Assuming allocation function fails zephyr-3.1.2/zwgc/main.c:126:25: note: Assignment 'notice=(ZNotice_t*)malloc(sizeof(ZNotice_t))', assigned value is 0 zephyr-3.1.2/zwgc/main.c:144:5: note: Null pointer dereference zephyr-3.1.2/zwgc/main.c:145:5: warning: If memory allocation fails, then there is a possible null pointer dereference: notice [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/main.c:126:44: note: Assuming allocation function fails zephyr-3.1.2/zwgc/main.c:126:25: note: Assignment 'notice=(ZNotice_t*)malloc(sizeof(ZNotice_t))', assigned value is 0 zephyr-3.1.2/zwgc/main.c:145:5: note: Null pointer dereference zephyr-3.1.2/zwgc/main.c:146:5: warning: If memory allocation fails, then there is a possible null pointer dereference: notice [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/main.c:126:44: note: Assuming allocation function fails zephyr-3.1.2/zwgc/main.c:126:25: note: Assignment 'notice=(ZNotice_t*)malloc(sizeof(ZNotice_t))', assigned value is 0 zephyr-3.1.2/zwgc/main.c:146:5: note: Null pointer dereference zephyr-3.1.2/zwgc/main.c:149:5: warning: If memory allocation fails, then there is a possible null pointer dereference: notice [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/main.c:126:44: note: Assuming allocation function fails zephyr-3.1.2/zwgc/main.c:126:25: note: Assignment 'notice=(ZNotice_t*)malloc(sizeof(ZNotice_t))', assigned value is 0 zephyr-3.1.2/zwgc/main.c:149:5: note: Null pointer dereference zephyr-3.1.2/zwgc/main.c:150:5: warning: If memory allocation fails, then there is a possible null pointer dereference: notice [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/main.c:126:44: note: Assuming allocation function fails zephyr-3.1.2/zwgc/main.c:126:25: note: Assignment 'notice=(ZNotice_t*)malloc(sizeof(ZNotice_t))', assigned value is 0 zephyr-3.1.2/zwgc/main.c:150:5: note: Null pointer dereference zephyr-3.1.2/zwgc/main.c:150:36: warning: If memory allocation fails, then there is a possible null pointer dereference: notice [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/main.c:126:44: note: Assuming allocation function fails zephyr-3.1.2/zwgc/main.c:126:25: note: Assignment 'notice=(ZNotice_t*)malloc(sizeof(ZNotice_t))', assigned value is 0 zephyr-3.1.2/zwgc/main.c:150:36: note: Null pointer dereference zephyr-3.1.2/zwgc/main.c:226:11: style: Variable 'iprogname' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/zwgc/main.c:472:11: style: Variable 'control_opcode' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/zwgc/new_string.c:66:19: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/new_string.c:63:28: note: Assuming allocation function fails zephyr-3.1.2/zwgc/new_string.c:63:14: note: Assignment 'result=(charstring)malloc(length+1)', assigned value is 0 zephyr-3.1.2/zwgc/new_string.c:66:19: note: Null pointer dereference zephyr-3.1.2/zwgc/new_string.c:67:5: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/new_string.c:63:28: note: Assuming allocation function fails zephyr-3.1.2/zwgc/new_string.c:63:14: note: Assignment 'result=(charstring)malloc(length+1)', assigned value is 0 zephyr-3.1.2/zwgc/new_string.c:67:5: note: Null pointer dereference zephyr-3.1.2/zwgc/new_string.c:90:19: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/new_string.c:87:28: note: Assuming allocation function fails zephyr-3.1.2/zwgc/new_string.c:87:14: note: Assignment 'result=(charstring)malloc(length)', assigned value is 0 zephyr-3.1.2/zwgc/new_string.c:90:19: note: Null pointer dereference zephyr-3.1.2/zwgc/new_string.c:115:19: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/new_string.c:112:28: note: Assuming allocation function fails zephyr-3.1.2/zwgc/new_string.c:112:14: note: Assignment 'result=(charstring)malloc(result_size)', assigned value is 0 zephyr-3.1.2/zwgc/new_string.c:115:19: note: Null pointer dereference zephyr-3.1.2/zwgc/new_string.c:116:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] zephyr-3.1.2/zwgc/new_string.c:112:28: note: Assuming allocation function fails zephyr-3.1.2/zwgc/new_string.c:112:14: note: Assignment 'result=(charstring)malloc(result_size)', assigned value is 0 zephyr-3.1.2/zwgc/new_string.c:116:25: note: Null pointer addition zephyr-3.1.2/zwgc/new_string.c:57:37: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/zwgc/node.c:86:2: warning: If memory allocation fails, then there is a possible null pointer dereference: current_bunch [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/node.c:84:10: note: Assuming allocation function fails zephyr-3.1.2/zwgc/node.c:83:30: note: Assignment 'current_bunch->next_bunch=(struct _bunch_of_nodes*)malloc(sizeof(struct _bunch_of_nodes))', assigned value is 0 zephyr-3.1.2/zwgc/node.c:85:31: note: Assignment 'current_bunch=current_bunch->next_bunch', assigned value is 0 zephyr-3.1.2/zwgc/node.c:86:2: note: Null pointer dereference zephyr-3.1.2/zwgc/notice.c:347:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WG_CTL_CLASS [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/notice.c:146:5: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/notice.c:145:29: note: Assuming allocation function fails zephyr-3.1.2/zwgc/notice.c:145:14: note: Assignment 'result=(char*)malloc(length+1)', assigned value is 0 zephyr-3.1.2/zwgc/notice.c:146:5: note: Null pointer dereference zephyr-3.1.2/zwgc/regexp.c:31:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOSUB [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/port.c:344:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/port.c:366:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/port.c:379:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/port.c:394:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/port.c:455:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/port.c:489:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/port.c:508:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/port.c:525:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/port.c:65:14: error: Returning pointer to local variable 'error' that will be invalid when returning. [returnDanglingLifetime] zephyr-3.1.2/zwgc/port.c:60:26: note: Address of variable taken here. zephyr-3.1.2/zwgc/port.c:60:26: note: Passed to initializer list. zephyr-3.1.2/zwgc/port.c:44:11: note: Variable created here. zephyr-3.1.2/zwgc/port.c:65:14: note: Returning pointer to local variable 'error' that will be invalid when returning. zephyr-3.1.2/zwgc/standard_ports.c:54:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/standard_ports.c:69:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/standard_ports.c:297:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/port.c:589:27: style: Parameter 'p' can be declared as pointer to const. However it seems that 'close_filter_output' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] zephyr-3.1.2/zwgc/port.c:603:23: note: You might need to cast the function pointer here zephyr-3.1.2/zwgc/port.c:589:27: note: Parameter 'p' can be declared as pointer to const zephyr-3.1.2/zwgc/port.c:631:20: style: Parameter 'p' can be declared as pointer to const. However it seems that 'close_output' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] zephyr-3.1.2/zwgc/port.c:653:23: note: You might need to cast the function pointer here zephyr-3.1.2/zwgc/port.c:631:20: note: Parameter 'p' can be declared as pointer to const zephyr-3.1.2/zwgc/string_dictionary_aux.c:75:32: style: Variable 'binding' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/zwgc/subscriptions.c:169:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zsub_class [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/subscriptions.c:201:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zsub_class [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/subscriptions.c:214:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zsub_class [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/subscriptions.c:242:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/subscriptions.c:278:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/subscriptions.c:374:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZSubscription_t [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/subscriptions.c:246:18: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] zephyr-3.1.2/zwgc/subscriptions.c:293:28: style: Redundant condition: The condition '*temp' is redundant since '*temp == ' '' is sufficient. [redundantCondition] zephyr-3.1.2/zwgc/subscriptions.c:297:6: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] zephyr-3.1.2/zwgc/subscriptions.c:240:21: style: Variable 'hent' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/zwgc/substitute.c:77:14: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] zephyr-3.1.2/zwgc/substitute.c:66:4: note: c is assigned zephyr-3.1.2/zwgc/substitute.c:77:14: note: c is overwritten zephyr-3.1.2/zwgc/substitute.c:77:14: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] zephyr-3.1.2/zwgc/substitute.c:69:4: note: c is assigned zephyr-3.1.2/zwgc/substitute.c:77:14: note: c is overwritten zephyr-3.1.2/zwgc/substitute.c:89:6: style: Variable 'c' is assigned a value that is never used. [unreadVariable] zephyr-3.1.2/zwgc/tty_filter.c:127:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/xcut.c:301:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button4 [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/xerror.c:32:21: style: Parameter 'dpy' can be declared as pointer to const. However it seems that 'xerrortrap' is a callback function, if 'dpy' is declared with const you might also need to cast function pointer(s). [constParameterCallback] zephyr-3.1.2/zwgc/xerror.c:44:21: note: You might need to cast the function pointer here zephyr-3.1.2/zwgc/xerror.c:32:21: note: Parameter 'dpy' can be declared as pointer to const zephyr-3.1.2/zwgc/xerror.c:33:18: style: Parameter 'xerrev' can be declared as pointer to const. However it seems that 'xerrortrap' is a callback function, if 'xerrev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] zephyr-3.1.2/zwgc/xerror.c:44:21: note: You might need to cast the function pointer here zephyr-3.1.2/zwgc/xerror.c:33:18: note: Parameter 'xerrev' can be declared as pointer to const zephyr-3.1.2/zwgc/tty_filter.c:352:7: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/tty_filter.c:351:35: note: Assuming allocation function fails zephyr-3.1.2/zwgc/tty_filter.c:351:13: note: Assignment 'temp=(struct tty_str_info*)malloc(sizeof(struct _tty_str_info))', assigned value is 0 zephyr-3.1.2/zwgc/tty_filter.c:352:7: note: Null pointer dereference zephyr-3.1.2/zwgc/tty_filter.c:368:3: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/tty_filter.c:367:31: note: Assuming allocation function fails zephyr-3.1.2/zwgc/tty_filter.c:367:9: note: Assignment 'temp=(struct tty_str_info*)malloc(sizeof(struct _tty_str_info))', assigned value is 0 zephyr-3.1.2/zwgc/tty_filter.c:368:3: note: Null pointer dereference zephyr-3.1.2/zwgc/tty_filter.c:106:23: style: Parameter 'drivername' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/zwgc/tty_filter.c:114:32: style: Variable 'b' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/zwgc/tty_filter.c:224:9: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/zwgc/tty_filter.c:379:33: style: Variable 'b' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/zwgc/xmark.c:127:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XRectangle [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/xmark.c:208:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Expose [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/xrevstack.c:50:21: style: Parameter 'gram' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/zwgc/xrevstack.c:56:24: style: Parameter 'gram' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/zwgc/xselect.c:62:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SelectionNotify [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/xselect.c:94:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/xselect.c:149:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Atom [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/xselect.c:161:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XA_PRIMARY [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/xselect.c:183:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CurrentTime [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/xselect.c:57:29: style: Parameter 'selreq' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/zwgc/xshow.c:611:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Expose [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/xmark.c:137:28: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: logical [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/xmark.c:128:26: note: Assuming allocation function fails zephyr-3.1.2/zwgc/xmark.c:128:26: note: Assignment 'logical=malloc(num_chars*sizeof(XRectangle))', assigned value is 0 zephyr-3.1.2/zwgc/xmark.c:137:28: note: Null pointer dereference zephyr-3.1.2/zwgc/xmark.c:137:43: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: logical [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/xmark.c:128:26: note: Assuming allocation function fails zephyr-3.1.2/zwgc/xmark.c:128:26: note: Assignment 'logical=malloc(num_chars*sizeof(XRectangle))', assigned value is 0 zephyr-3.1.2/zwgc/xmark.c:137:43: note: Null pointer dereference zephyr-3.1.2/zwgc/xmark.c:379:18: warning: Either the condition 'markgram' is redundant or there is possible null pointer dereference: markgram. [nullPointerRedundantCheck] zephyr-3.1.2/zwgc/xmark.c:382:9: note: Assuming that condition 'markgram' is not redundant zephyr-3.1.2/zwgc/xmark.c:379:18: note: Null pointer dereference zephyr-3.1.2/zwgc/zephyr.c:94:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/zephyr.c:115:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/zephyr.c:156:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/zephyr.c:241:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zephyr-3.1.2/zwgc/zephyr.c:86:11: style: Variable 'name' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/zwgc/zephyr.c:149:11: style: Variable 'port_file' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/zwgc/xshow.c:321:5: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] zephyr-3.1.2/zwgc/xshow.c:345:9: warning: Either the condition 'bgstr' is redundant or there is possible null pointer dereference: bgstr. [nullPointerRedundantCheck] zephyr-3.1.2/zwgc/xshow.c:348:9: note: Assuming that condition 'bgstr' is not redundant zephyr-3.1.2/zwgc/xshow.c:345:9: note: Null pointer dereference zephyr-3.1.2/zwgc/xshow.c:152:19: style: Variable 'geometry' can be declared as pointer to const [constVariablePointer] zephyr-3.1.2/zwgc/xshow.c:387:20: style: Parameter 'desc' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/zwgc/xshow.c:387:32: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] zephyr-3.1.2/zwgc/xshow.c:584:13: style: Variable 'font' is assigned a value that is never used. [unreadVariable] diff: head zephyr-3.1.2/clients/zleave/zleave.c:102:28: style: Condition '(cp=getlogin())==NULL' is always false [knownConditionTrueFalse] head zephyr-3.1.2/clients/zleave/zleave.c:403:13: style: Condition 'l==NULL' is always false [knownConditionTrueFalse] head zephyr-3.1.2/clients/zstat/zstat.c:152:7: error: Uninitialized variable: inaddr [uninitvar] head zephyr-3.1.2/zhm/queue.c:89:24: style: Redundant pointer operation on 'hm_queue' - it's already a variable. [redundantPointerOp] 2.17.0 zephyr-3.1.2/zwgc/formatter.c:252:21: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] zephyr-3.1.2/zwgc/formatter.c:249:23: note: Assuming allocation function fails zephyr-3.1.2/zwgc/formatter.c:249:8: note: Assignment 'temp=(char*)malloc((len=strlen(str))+4)', assigned value is 0 zephyr-3.1.2/zwgc/formatter.c:252:21: note: Null pointer addition head zephyr-3.1.2/zwgc/formatter.c:252:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] zephyr-3.1.2/zwgc/formatter.c:249:23: note: Assuming allocation function fails zephyr-3.1.2/zwgc/formatter.c:249:8: note: Assignment 'temp=(char*)malloc((len=strlen(str))+4)', assigned value is 0 zephyr-3.1.2/zwgc/formatter.c:252:21: note: Null pointer addition 2.17.0 zephyr-3.1.2/zwgc/formatter.c:262:21: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] zephyr-3.1.2/zwgc/formatter.c:259:23: note: Assuming allocation function fails zephyr-3.1.2/zwgc/formatter.c:259:8: note: Assignment 'temp=(char*)malloc((len=strlen(str))+4)', assigned value is 0 zephyr-3.1.2/zwgc/formatter.c:262:21: note: Null pointer addition head zephyr-3.1.2/zwgc/formatter.c:262:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] zephyr-3.1.2/zwgc/formatter.c:259:23: note: Assuming allocation function fails zephyr-3.1.2/zwgc/formatter.c:259:8: note: Assignment 'temp=(char*)malloc((len=strlen(str))+4)', assigned value is 0 zephyr-3.1.2/zwgc/formatter.c:262:21: note: Null pointer addition 2.17.0 zephyr-3.1.2/zwgc/formatter.c:272:21: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] zephyr-3.1.2/zwgc/formatter.c:269:23: note: Assuming allocation function fails zephyr-3.1.2/zwgc/formatter.c:269:8: note: Assignment 'temp=(char*)malloc((len=strlen(str))+4)', assigned value is 0 zephyr-3.1.2/zwgc/formatter.c:272:21: note: Null pointer addition head zephyr-3.1.2/zwgc/formatter.c:272:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] zephyr-3.1.2/zwgc/formatter.c:269:23: note: Assuming allocation function fails zephyr-3.1.2/zwgc/formatter.c:269:8: note: Assignment 'temp=(char*)malloc((len=strlen(str))+4)', assigned value is 0 zephyr-3.1.2/zwgc/formatter.c:272:21: note: Null pointer addition 2.17.0 zephyr-3.1.2/zwgc/formatter.c:282:21: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] zephyr-3.1.2/zwgc/formatter.c:279:23: note: Assuming allocation function fails zephyr-3.1.2/zwgc/formatter.c:279:8: note: Assignment 'temp=(char*)malloc((len=strlen(str))+4)', assigned value is 0 zephyr-3.1.2/zwgc/formatter.c:282:21: note: Null pointer addition head zephyr-3.1.2/zwgc/formatter.c:282:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] zephyr-3.1.2/zwgc/formatter.c:279:23: note: Assuming allocation function fails zephyr-3.1.2/zwgc/formatter.c:279:8: note: Assignment 'temp=(char*)malloc((len=strlen(str))+4)', assigned value is 0 zephyr-3.1.2/zwgc/formatter.c:282:21: note: Null pointer addition head zephyr-3.1.2/zwgc/main.c:150:36: warning: If memory allocation fails, then there is a possible null pointer dereference: notice [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/main.c:126:44: note: Assuming allocation function fails zephyr-3.1.2/zwgc/main.c:126:25: note: Assignment 'notice=(ZNotice_t*)malloc(sizeof(ZNotice_t))', assigned value is 0 zephyr-3.1.2/zwgc/main.c:150:36: note: Null pointer dereference 2.17.0 zephyr-3.1.2/zwgc/new_string.c:116:25: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] zephyr-3.1.2/zwgc/new_string.c:112:28: note: Assuming allocation function fails zephyr-3.1.2/zwgc/new_string.c:112:14: note: Assignment 'result=(charstring)malloc(result_size)', assigned value is 0 zephyr-3.1.2/zwgc/new_string.c:116:25: note: Null pointer addition head zephyr-3.1.2/zwgc/new_string.c:116:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] zephyr-3.1.2/zwgc/new_string.c:112:28: note: Assuming allocation function fails zephyr-3.1.2/zwgc/new_string.c:112:14: note: Assignment 'result=(charstring)malloc(result_size)', assigned value is 0 zephyr-3.1.2/zwgc/new_string.c:116:25: note: Null pointer addition head zephyr-3.1.2/zwgc/xmark.c:137:43: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: logical [nullPointerOutOfMemory] zephyr-3.1.2/zwgc/xmark.c:128:26: note: Assuming allocation function fails zephyr-3.1.2/zwgc/xmark.c:128:26: note: Assignment 'logical=malloc(num_chars*sizeof(XRectangle))', assigned value is 0 zephyr-3.1.2/zwgc/xmark.c:137:43: note: Null pointer dereference DONE