2025-05-08 14:11 ftp://ftp.de.debian.org/debian/pool/main/t/tzc/tzc_2.6.15.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: 66c9938 (2025-05-08 13:55:11 +0200) count: 99 95 elapsed-time: 0.6 0.6 head-timing-info: old-timing-info: head results: tzc-2.6.15/lread.c:554:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tzc-2.6.15/lread.c:615:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tzc-2.6.15/lread.c:36:4: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:35:15: note: Assuming allocation function fails tzc-2.6.15/lread.c:35:15: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:36:4: note: Null pointer dereference tzc-2.6.15/lread.c:37:4: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:35:15: note: Assuming allocation function fails tzc-2.6.15/lread.c:35:15: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:37:4: note: Null pointer dereference tzc-2.6.15/lread.c:38:4: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:35:15: note: Assuming allocation function fails tzc-2.6.15/lread.c:35:15: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:38:4: note: Null pointer dereference tzc-2.6.15/lread.c:46:4: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:45:15: note: Assuming allocation function fails tzc-2.6.15/lread.c:45:15: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:46:4: note: Null pointer dereference tzc-2.6.15/lread.c:47:4: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:45:15: note: Assuming allocation function fails tzc-2.6.15/lread.c:45:15: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:47:4: note: Null pointer dereference tzc-2.6.15/lread.c:48:4: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:45:15: note: Assuming allocation function fails tzc-2.6.15/lread.c:45:15: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:48:4: note: Null pointer dereference tzc-2.6.15/lread.c:56:4: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:55:15: note: Assuming allocation function fails tzc-2.6.15/lread.c:55:15: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:56:4: note: Null pointer dereference tzc-2.6.15/lread.c:57:4: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:55:15: note: Assuming allocation function fails tzc-2.6.15/lread.c:55:15: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:57:4: note: Null pointer dereference tzc-2.6.15/lread.c:58:4: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:55:15: note: Assuming allocation function fails tzc-2.6.15/lread.c:55:15: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:58:4: note: Null pointer dereference tzc-2.6.15/lread.c:66:4: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:65:15: note: Assuming allocation function fails tzc-2.6.15/lread.c:65:15: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:66:4: note: Null pointer dereference tzc-2.6.15/lread.c:67:4: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:65:15: note: Assuming allocation function fails tzc-2.6.15/lread.c:65:15: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:67:4: note: Null pointer dereference tzc-2.6.15/lread.c:68:4: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:65:15: note: Assuming allocation function fails tzc-2.6.15/lread.c:65:15: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:68:4: note: Null pointer dereference tzc-2.6.15/lread.c:76:4: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:75:15: note: Assuming allocation function fails tzc-2.6.15/lread.c:75:15: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:76:4: note: Null pointer dereference tzc-2.6.15/lread.c:77:4: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:75:15: note: Assuming allocation function fails tzc-2.6.15/lread.c:75:15: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:77:4: note: Null pointer dereference tzc-2.6.15/lread.c:78:4: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:75:15: note: Assuming allocation function fails tzc-2.6.15/lread.c:75:15: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:78:4: note: Null pointer dereference tzc-2.6.15/lread.c:86:11: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] tzc-2.6.15/lread.c:85:29: note: Assuming allocation function fails tzc-2.6.15/lread.c:85:14: note: Assignment 's=(char*)malloc((v->value.s.length)+1)', assigned value is 0 tzc-2.6.15/lread.c:86:11: note: Null pointer dereference tzc-2.6.15/lread.c:87:4: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] tzc-2.6.15/lread.c:85:29: note: Assuming allocation function fails tzc-2.6.15/lread.c:85:14: note: Assignment 's=(char*)malloc((v->value.s.length)+1)', assigned value is 0 tzc-2.6.15/lread.c:87:4: note: Null pointer dereference tzc-2.6.15/lread.c:95:4: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:94:15: note: Assuming allocation function fails tzc-2.6.15/lread.c:94:15: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:95:4: note: Null pointer dereference tzc-2.6.15/lread.c:96:4: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:94:15: note: Assuming allocation function fails tzc-2.6.15/lread.c:94:15: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:96:4: note: Null pointer dereference tzc-2.6.15/lread.c:104:4: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:103:15: note: Assuming allocation function fails tzc-2.6.15/lread.c:103:15: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:104:4: note: Null pointer dereference tzc-2.6.15/lread.c:105:4: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:103:15: note: Assuming allocation function fails tzc-2.6.15/lread.c:103:15: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:105:4: note: Null pointer dereference tzc-2.6.15/lread.c:106:4: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:103:15: note: Assuming allocation function fails tzc-2.6.15/lread.c:103:15: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:106:4: note: Null pointer dereference tzc-2.6.15/lread.c:155:14: warning: If memory allocation fails, then there is a possible null pointer dereference: newbuf [nullPointerOutOfMemory] tzc-2.6.15/lread.c:154:37: note: Assuming allocation function fails tzc-2.6.15/lread.c:154:22: note: Assignment 'newbuf=(char*)malloc(newbuflen)', assigned value is 0 tzc-2.6.15/lread.c:155:14: note: Null pointer dereference tzc-2.6.15/lread.c:244:3: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:243:7: note: Assuming allocation function fails tzc-2.6.15/lread.c:243:7: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:244:3: note: Null pointer dereference tzc-2.6.15/lread.c:245:3: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:243:7: note: Assuming allocation function fails tzc-2.6.15/lread.c:243:7: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:245:3: note: Null pointer dereference tzc-2.6.15/lread.c:246:3: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:243:7: note: Assuming allocation function fails tzc-2.6.15/lread.c:243:7: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:246:3: note: Null pointer dereference tzc-2.6.15/lread.c:246:39: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:243:7: note: Assuming allocation function fails tzc-2.6.15/lread.c:243:7: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:246:39: note: Null pointer dereference tzc-2.6.15/lread.c:247:10: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:243:7: note: Assuming allocation function fails tzc-2.6.15/lread.c:243:7: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:247:10: note: Null pointer dereference tzc-2.6.15/lread.c:247:40: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:243:7: note: Assuming allocation function fails tzc-2.6.15/lread.c:243:7: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:247:40: note: Null pointer dereference tzc-2.6.15/lread.c:340:7: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:339:11: note: Assuming allocation function fails tzc-2.6.15/lread.c:339:11: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:340:7: note: Null pointer dereference tzc-2.6.15/lread.c:342:7: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:339:11: note: Assuming allocation function fails tzc-2.6.15/lread.c:339:11: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:342:7: note: Null pointer dereference tzc-2.6.15/lread.c:351:3: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:350:7: note: Assuming allocation function fails tzc-2.6.15/lread.c:350:7: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:351:3: note: Null pointer dereference tzc-2.6.15/lread.c:352:3: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:350:7: note: Assuming allocation function fails tzc-2.6.15/lread.c:350:7: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:352:3: note: Null pointer dereference tzc-2.6.15/lread.c:353:3: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:350:7: note: Assuming allocation function fails tzc-2.6.15/lread.c:350:7: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:353:3: note: Null pointer dereference tzc-2.6.15/lread.c:353:39: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:350:7: note: Assuming allocation function fails tzc-2.6.15/lread.c:350:7: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:353:39: note: Null pointer dereference tzc-2.6.15/lread.c:354:10: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:350:7: note: Assuming allocation function fails tzc-2.6.15/lread.c:350:7: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:354:10: note: Null pointer dereference tzc-2.6.15/lread.c:354:40: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:350:7: note: Assuming allocation function fails tzc-2.6.15/lread.c:350:7: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:354:40: note: Null pointer dereference tzc-2.6.15/lread.c:433:4: warning: If memory allocation fails, then there is a possible null pointer dereference: *tail [nullPointerOutOfMemory] tzc-2.6.15/lread.c:432:11: note: Assuming allocation function fails tzc-2.6.15/lread.c:432:11: note: Assignment '*tail=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:433:4: note: Null pointer dereference tzc-2.6.15/lread.c:178:12: error: Uninitialized struct member: g.strbuf [uninitStructMember] tzc-2.6.15/lread.c:167:21: style: Variable 'jmpret' is assigned a value that is never used. [unreadVariable] tzc-2.6.15/lread.c:394:11: style: Variable 'list' is not assigned a value. [unassignedVariable] tzc-2.6.15/tzc.c:257:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tzc-2.6.15/tzc.c:316:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_SETFL [valueFlowBailoutIncompleteVar] tzc-2.6.15/tzc.c:335:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_UNBLOCK [valueFlowBailoutIncompleteVar] tzc-2.6.15/tzc.c:388:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tzc-2.6.15/tzc.c:421:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] tzc-2.6.15/tzc.c:479:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tzc-2.6.15/tzc.c:555:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tzc-2.6.15/tzc.c:561:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tzc-2.6.15/tzc.c:570:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tzc-2.6.15/tzc.c:578:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tzc-2.6.15/tzc.c:584:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tzc-2.6.15/tzc.c:597:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tzc-2.6.15/tzc.c:607:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tzc-2.6.15/tzc.c:617:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tzc-2.6.15/tzc.c:691:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] tzc-2.6.15/tzc.c:776:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZAUTH [valueFlowBailoutIncompleteVar] tzc-2.6.15/tzc.c:1001:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZSubscription_t [valueFlowBailoutIncompleteVar] tzc-2.6.15/tzc.c:1059:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] tzc-2.6.15/tzc.c:1160:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERR_NONE [valueFlowBailoutIncompleteVar] tzc-2.6.15/tzc.c:1208:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tzc-2.6.15/tzc.c:1254:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tzc-2.6.15/tzc.c:1303:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tzc-2.6.15/tzc.c:1308:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HB_ENABLED [valueFlowBailoutIncompleteVar] tzc-2.6.15/tzc.c:1328:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] tzc-2.6.15/tzc.c:1412:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HB_ENABLED [valueFlowBailoutIncompleteVar] tzc-2.6.15/tzc.c:1573:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] tzc-2.6.15/tzc.c:1799:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZSRVACK_SENT [valueFlowBailoutIncompleteVar] tzc-2.6.15/tzc.c:1859:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACKED [valueFlowBailoutIncompleteVar] tzc-2.6.15/tzc.c:1898:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZNOAUTH [valueFlowBailoutIncompleteVar] tzc-2.6.15/tzc.c:1906:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HB_TESTING [valueFlowBailoutIncompleteVar] tzc-2.6.15/tzc.c:1937:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ITIMER_REAL [valueFlowBailoutIncompleteVar] tzc-2.6.15/tzc.c:1960:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HB_ENABLED [valueFlowBailoutIncompleteVar] tzc-2.6.15/tzc.c:1572:13: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] tzc-2.6.15/tzc.c:515:18: warning: If memory allocation fails, then there is a possible null pointer dereference: s++ [nullPointerOutOfMemory] tzc-2.6.15/tzc.c:1643:29: note: Assuming allocation function fails tzc-2.6.15/tzc.c:1643:14: note: Assignment 'instance=(char*)malloc(strlen(notice->z_class_inst)+1)', assigned value is 0 tzc-2.6.15/tzc.c:1663:33: note: Calling function 'emacs_put_str', 2nd argument 'instance' value is 0 tzc-2.6.15/tzc.c:600:11: note: Calling function 'fputqs', 1st argument 'str' value is 0 tzc-2.6.15/tzc.c:515:18: note: Null pointer dereference tzc-2.6.15/tzc.c:718:7: warning: If memory allocation fails, then there is a possible null pointer dereference: reply [nullPointerOutOfMemory] tzc-2.6.15/tzc.c:717:52: note: Assuming allocation function fails tzc-2.6.15/tzc.c:717:29: note: Assignment 'reply=(struct PendingReply*)malloc(sizeof(struct PendingReply))', assigned value is 0 tzc-2.6.15/tzc.c:718:7: note: Null pointer dereference tzc-2.6.15/tzc.c:719:7: warning: If memory allocation fails, then there is a possible null pointer dereference: reply [nullPointerOutOfMemory] tzc-2.6.15/tzc.c:717:52: note: Assuming allocation function fails tzc-2.6.15/tzc.c:717:29: note: Assignment 'reply=(struct PendingReply*)malloc(sizeof(struct PendingReply))', assigned value is 0 tzc-2.6.15/tzc.c:719:7: note: Null pointer dereference tzc-2.6.15/tzc.c:720:7: warning: If memory allocation fails, then there is a possible null pointer dereference: reply [nullPointerOutOfMemory] tzc-2.6.15/tzc.c:717:52: note: Assuming allocation function fails tzc-2.6.15/tzc.c:717:29: note: Assignment 'reply=(struct PendingReply*)malloc(sizeof(struct PendingReply))', assigned value is 0 tzc-2.6.15/tzc.c:720:7: note: Null pointer dereference tzc-2.6.15/tzc.c:722:7: warning: If memory allocation fails, then there is a possible null pointer dereference: reply [nullPointerOutOfMemory] tzc-2.6.15/tzc.c:717:52: note: Assuming allocation function fails tzc-2.6.15/tzc.c:717:29: note: Assignment 'reply=(struct PendingReply*)malloc(sizeof(struct PendingReply))', assigned value is 0 tzc-2.6.15/tzc.c:722:7: note: Null pointer dereference tzc-2.6.15/tzc.c:1200:23: warning: Either the condition 'key' is redundant or there is possible null pointer dereference: key. [nullPointerRedundantCheck] tzc-2.6.15/tzc.c:1202:15: note: Assuming that condition 'key' is not redundant tzc-2.6.15/tzc.c:1200:23: note: Null pointer dereference tzc-2.6.15/tzc.c:1242:14: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buf [nullPointerOutOfMemory] tzc-2.6.15/tzc.c:1241:32: note: Assuming allocation function fails tzc-2.6.15/tzc.c:1241:17: note: Assignment 'new_buf=(char*)malloc(globals->ebufsiz)', assigned value is 0 tzc-2.6.15/tzc.c:1242:14: note: Null pointer dereference tzc-2.6.15/tzc.c:1644:10: warning: If memory allocation fails, then there is a possible null pointer dereference: instance [nullPointerOutOfMemory] tzc-2.6.15/tzc.c:1643:29: note: Assuming allocation function fails tzc-2.6.15/tzc.c:1643:14: note: Assignment 'instance=(char*)malloc(strlen(notice->z_class_inst)+1)', assigned value is 0 tzc-2.6.15/tzc.c:1644:10: note: Null pointer dereference tzc-2.6.15/tzc.c:1646:10: warning: If memory allocation fails, then there is a possible null pointer dereference: recipient [nullPointerOutOfMemory] tzc-2.6.15/tzc.c:1645:30: note: Assuming allocation function fails tzc-2.6.15/tzc.c:1645:15: note: Assignment 'recipient=(char*)malloc(strlen(notice->z_recipient)+1)', assigned value is 0 tzc-2.6.15/tzc.c:1646:10: note: Null pointer dereference tzc-2.6.15/tzc.c:1715:10: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tzc-2.6.15/tzc.c:1714:22: note: Assuming allocation function fails tzc-2.6.15/tzc.c:1714:7: note: Assignment 'p=(char*)malloc(len+1)', assigned value is 0 tzc-2.6.15/tzc.c:1715:10: note: Null pointer dereference tzc-2.6.15/tzc.c:1716:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tzc-2.6.15/tzc.c:1714:22: note: Assuming allocation function fails tzc-2.6.15/tzc.c:1714:7: note: Assignment 'p=(char*)malloc(len+1)', assigned value is 0 tzc-2.6.15/tzc.c:1716:3: note: Null pointer dereference tzc-2.6.15/tzc.c:1890:11: warning: If memory allocation fails, then there is a possible null pointer dereference: instance [nullPointerOutOfMemory] tzc-2.6.15/tzc.c:1889:21: note: Assuming allocation function fails tzc-2.6.15/tzc.c:1889:21: note: Assignment 'instance=malloc(sizeof("heartbeat"))', assigned value is 0 tzc-2.6.15/tzc.c:1890:11: note: Null pointer dereference tzc-2.6.15/tzc.c:515:18: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tzc-2.6.15/tzc.c:1643:29: note: Assuming allocation function fails tzc-2.6.15/tzc.c:1643:14: note: Assignment 'instance=(char*)malloc(strlen(notice->z_class_inst)+1)', assigned value is 0 tzc-2.6.15/tzc.c:1663:33: note: Calling function 'emacs_put_str', 2nd argument 'instance' value is 0 tzc-2.6.15/tzc.c:600:11: note: Calling function 'fputqs', 1st argument 'str' value is 0 tzc-2.6.15/tzc.c:515:18: note: Null pointer addition tzc-2.6.15/tzc.c:1243:34: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tzc-2.6.15/tzc.c:1241:32: note: Assuming allocation function fails tzc-2.6.15/tzc.c:1241:17: note: Assignment 'new_buf=(char*)malloc(globals->ebufsiz)', assigned value is 0 tzc-2.6.15/tzc.c:1243:34: note: Null pointer addition tzc-2.6.15/tzc.c:341:7: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] tzc-2.6.15/tzc.c:469:9: style: Variable 'portfile' can be declared as pointer to const [constVariablePointer] tzc-2.6.15/tzc.c:582:38: style: Parameter 'sym' can be declared as pointer to const [constParameterPointer] tzc-2.6.15/tzc.c:627:19: style: Parameter 'err' can be declared as pointer to const [constParameterPointer] tzc-2.6.15/tzc.c:857:19: style: Parameter 'ayt_cmd' can be declared as pointer to const [constParameterPointer] tzc-2.6.15/tzc.c:932:9: style: Variable 'errmsg' can be declared as pointer to const [constVariablePointer] tzc-2.6.15/tzc.c:1096:28: style: Parameter 'getloc_cmd' can be declared as pointer to const [constParameterPointer] tzc-2.6.15/tzc.c:1174:11: style: Variable 'pair' can be declared as pointer to const [constVariablePointer] tzc-2.6.15/lread.c:85:30: warning: Null pointer dereference: v [ctunullpointer] tzc-2.6.15/tzc.c:1202:15: note: Assuming that condition 'key' is not redundant tzc-2.6.15/tzc.c:1201:37: note: Calling function vextract_string_c, 1st argument is null tzc-2.6.15/lread.c:85:30: note: Dereferencing argument v that is null diff: head tzc-2.6.15/lread.c:246:39: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:243:7: note: Assuming allocation function fails tzc-2.6.15/lread.c:243:7: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:246:39: note: Null pointer dereference head tzc-2.6.15/lread.c:247:40: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:243:7: note: Assuming allocation function fails tzc-2.6.15/lread.c:243:7: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:247:40: note: Null pointer dereference head tzc-2.6.15/lread.c:353:39: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:350:7: note: Assuming allocation function fails tzc-2.6.15/lread.c:350:7: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:353:39: note: Null pointer dereference head tzc-2.6.15/lread.c:354:40: warning: If memory allocation fails, then there is a possible null pointer dereference: v [nullPointerOutOfMemory] tzc-2.6.15/lread.c:350:7: note: Assuming allocation function fails tzc-2.6.15/lread.c:350:7: note: Assignment 'v=(struct Value*)malloc(sizeof(struct Value))', assigned value is 0 tzc-2.6.15/lread.c:354:40: note: Null pointer dereference 2.17.0 tzc-2.6.15/tzc.c:1243:34: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tzc-2.6.15/tzc.c:1241:32: note: Assuming allocation function fails tzc-2.6.15/tzc.c:1241:17: note: Assignment 'new_buf=(char*)malloc(globals->ebufsiz)', assigned value is 0 tzc-2.6.15/tzc.c:1243:34: note: Null pointer addition head tzc-2.6.15/tzc.c:1243:34: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tzc-2.6.15/tzc.c:1241:32: note: Assuming allocation function fails tzc-2.6.15/tzc.c:1241:17: note: Assignment 'new_buf=(char*)malloc(globals->ebufsiz)', assigned value is 0 tzc-2.6.15/tzc.c:1243:34: note: Null pointer addition 2.17.0 tzc-2.6.15/tzc.c:515:18: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tzc-2.6.15/tzc.c:1643:29: note: Assuming allocation function fails tzc-2.6.15/tzc.c:1643:14: note: Assignment 'instance=(char*)malloc(strlen(notice->z_class_inst)+1)', assigned value is 0 tzc-2.6.15/tzc.c:1663:33: note: Calling function 'emacs_put_str', 2nd argument 'instance' value is 0 tzc-2.6.15/tzc.c:600:11: note: Calling function 'fputqs', 1st argument 'str' value is 0 tzc-2.6.15/tzc.c:515:18: note: Null pointer addition head tzc-2.6.15/tzc.c:515:18: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tzc-2.6.15/tzc.c:1643:29: note: Assuming allocation function fails tzc-2.6.15/tzc.c:1643:14: note: Assignment 'instance=(char*)malloc(strlen(notice->z_class_inst)+1)', assigned value is 0 tzc-2.6.15/tzc.c:1663:33: note: Calling function 'emacs_put_str', 2nd argument 'instance' value is 0 tzc-2.6.15/tzc.c:600:11: note: Calling function 'fputqs', 1st argument 'str' value is 0 tzc-2.6.15/tzc.c:515:18: note: Null pointer addition DONE