2026-05-06 04:23 ftp://ftp.de.debian.org/debian/pool/main/a/ap-utils/ap-utils_1.5.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-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: 6278f6b (2026-05-05 15:01:04 +0200) count: 540 474 elapsed-time: 50.3 43.6 head-timing-info: old-timing-info: head results: ap-utils-1.5/ap-gl/ap-gl.c:41:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bridging [valueFlowBailoutIncompleteVar] ap-utils-1.5/ap-gl/ap-gl.c:62:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable upload [valueFlowBailoutIncompleteVar] ap-utils-1.5/ap-gl/ap-gl.c:80:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EthStat [valueFlowBailoutIncompleteVar] ap-utils-1.5/ap-gl/ap-gl.c:163:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLS [valueFlowBailoutIncompleteVar] ap-utils-1.5/ap-gl/auth.c:88:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OFF [valueFlowBailoutIncompleteVar] ap-utils-1.5/ap-gl/auth.c:171:13: warning: If memory allocation fails, then there is a possible null pointer dereference: AuthMac [nullPointerOutOfMemory] ap-utils-1.5/ap-gl/auth.c:169:45: note: Assuming allocation function fails ap-utils-1.5/ap-gl/auth.c:169:3: note: Assignment 'AuthMac=(struct AuthorizedMacTableString*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/ap-gl/auth.c:171:13: note: Null pointer dereference ap-utils-1.5/ap-gl/auth.c:179:9: warning: If memory allocation fails, then there is a possible null pointer dereference: AuthMac [nullPointerOutOfMemory] ap-utils-1.5/ap-gl/auth.c:169:45: note: Assuming allocation function fails ap-utils-1.5/ap-gl/auth.c:169:3: note: Assignment 'AuthMac=(struct AuthorizedMacTableString*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/ap-gl/auth.c:179:9: note: Null pointer dereference ap-utils-1.5/ap-gl/auth.c:181:7: warning: If memory allocation fails, then there is a possible null pointer dereference: AuthMac [nullPointerOutOfMemory] ap-utils-1.5/ap-gl/auth.c:169:45: note: Assuming allocation function fails ap-utils-1.5/ap-gl/auth.c:169:3: note: Assignment 'AuthMac=(struct AuthorizedMacTableString*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/ap-gl/auth.c:181:7: note: Null pointer dereference ap-utils-1.5/ap-gl/auth.c:182:20: warning: If memory allocation fails, then there is a possible null pointer dereference: AuthMac [nullPointerOutOfMemory] ap-utils-1.5/ap-gl/auth.c:169:45: note: Assuming allocation function fails ap-utils-1.5/ap-gl/auth.c:169:3: note: Assignment 'AuthMac=(struct AuthorizedMacTableString*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/ap-gl/auth.c:182:20: note: Null pointer dereference ap-utils-1.5/ap-gl/auth.c:194:13: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] ap-utils-1.5/ap-gl/auth.c:187:13: note: Assuming allocation function fails ap-utils-1.5/ap-gl/auth.c:186:11: note: Assignment 'first=(struct MacListStat*)malloc(sizeof(struct MacListStat))', assigned value is 0 ap-utils-1.5/ap-gl/auth.c:188:10: note: Assignment 'curr=first', assigned value is 0 ap-utils-1.5/ap-gl/auth.c:194:13: note: Null pointer dereference ap-utils-1.5/ap-gl/auth.c:195:6: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] ap-utils-1.5/ap-gl/auth.c:187:13: note: Assuming allocation function fails ap-utils-1.5/ap-gl/auth.c:186:11: note: Assignment 'first=(struct MacListStat*)malloc(sizeof(struct MacListStat))', assigned value is 0 ap-utils-1.5/ap-gl/auth.c:188:10: note: Assignment 'curr=first', assigned value is 0 ap-utils-1.5/ap-gl/auth.c:195:6: note: Null pointer dereference ap-utils-1.5/ap-gl/auth.c:333:6: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] ap-utils-1.5/ap-gl/auth.c:326:13: note: Assuming allocation function fails ap-utils-1.5/ap-gl/auth.c:325:11: note: Assignment 'first=(struct MacListStat*)malloc(sizeof(struct MacListStat))', assigned value is 0 ap-utils-1.5/ap-gl/auth.c:327:10: note: Assignment 'curr=first', assigned value is 0 ap-utils-1.5/ap-gl/auth.c:333:6: note: Null pointer dereference ap-utils-1.5/ap-gl/auth.c:335:14: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] ap-utils-1.5/ap-gl/auth.c:326:13: note: Assuming allocation function fails ap-utils-1.5/ap-gl/auth.c:325:11: note: Assignment 'first=(struct MacListStat*)malloc(sizeof(struct MacListStat))', assigned value is 0 ap-utils-1.5/ap-gl/auth.c:327:10: note: Assignment 'curr=first', assigned value is 0 ap-utils-1.5/ap-gl/auth.c:335:14: note: Null pointer dereference ap-utils-1.5/ap-gl/auth.c:467:2: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] ap-utils-1.5/ap-gl/bridge.c:146:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] ap-utils-1.5/ap-gl/bridge.c:487:2: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] ap-utils-1.5/ap-gl/stations.c:65:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable oid [valueFlowBailoutIncompleteVar] ap-utils-1.5/ap-gl/stations.c:128:13: warning: If memory allocation fails, then there is a possible null pointer dereference: mac [nullPointerOutOfMemory] ap-utils-1.5/ap-gl/stations.c:127:39: note: Assuming allocation function fails ap-utils-1.5/ap-gl/stations.c:127:3: note: Assignment 'mac=(struct AssociatedSTAsInfo*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/ap-gl/stations.c:128:13: note: Null pointer dereference ap-utils-1.5/ap-gl/stations.c:146:9: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] ap-utils-1.5/ap-gl/stations.c:138:32: note: Assuming allocation function fails ap-utils-1.5/ap-gl/stations.c:138:3: note: Assignment 'first=(struct MacListStat*)malloc(sizeof(struct MacListStat))', assigned value is 0 ap-utils-1.5/ap-gl/stations.c:139:13: note: Assignment 'curr=first', assigned value is 0 ap-utils-1.5/ap-gl/stations.c:146:9: note: Null pointer dereference ap-utils-1.5/ap-gl/stations.c:149:2: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] ap-utils-1.5/ap-gl/stations.c:138:32: note: Assuming allocation function fails ap-utils-1.5/ap-gl/stations.c:138:3: note: Assignment 'first=(struct MacListStat*)malloc(sizeof(struct MacListStat))', assigned value is 0 ap-utils-1.5/ap-gl/stations.c:139:13: note: Assignment 'curr=first', assigned value is 0 ap-utils-1.5/ap-gl/stations.c:149:2: note: Null pointer dereference ap-utils-1.5/ap-gl/stations.c:152:2: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] ap-utils-1.5/ap-gl/stations.c:138:32: note: Assuming allocation function fails ap-utils-1.5/ap-gl/stations.c:138:3: note: Assignment 'first=(struct MacListStat*)malloc(sizeof(struct MacListStat))', assigned value is 0 ap-utils-1.5/ap-gl/stations.c:139:13: note: Assignment 'curr=first', assigned value is 0 ap-utils-1.5/ap-gl/stations.c:152:2: note: Null pointer dereference ap-utils-1.5/ap-gl/stations.c:154:2: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] ap-utils-1.5/ap-gl/stations.c:138:32: note: Assuming allocation function fails ap-utils-1.5/ap-gl/stations.c:138:3: note: Assignment 'first=(struct MacListStat*)malloc(sizeof(struct MacListStat))', assigned value is 0 ap-utils-1.5/ap-gl/stations.c:139:13: note: Assignment 'curr=first', assigned value is 0 ap-utils-1.5/ap-gl/stations.c:154:2: note: Null pointer dereference ap-utils-1.5/ap-gl/stations.c:155:2: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] ap-utils-1.5/ap-gl/stations.c:138:32: note: Assuming allocation function fails ap-utils-1.5/ap-gl/stations.c:138:3: note: Assignment 'first=(struct MacListStat*)malloc(sizeof(struct MacListStat))', assigned value is 0 ap-utils-1.5/ap-gl/stations.c:139:13: note: Assignment 'curr=first', assigned value is 0 ap-utils-1.5/ap-gl/stations.c:155:2: note: Null pointer dereference ap-utils-1.5/ap-gl/stations.c:156:2: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] ap-utils-1.5/ap-gl/stations.c:138:32: note: Assuming allocation function fails ap-utils-1.5/ap-gl/stations.c:138:3: note: Assignment 'first=(struct MacListStat*)malloc(sizeof(struct MacListStat))', assigned value is 0 ap-utils-1.5/ap-gl/stations.c:139:13: note: Assignment 'curr=first', assigned value is 0 ap-utils-1.5/ap-gl/stations.c:156:2: note: Null pointer dereference ap-utils-1.5/intl/bindtextdom.c:228:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable domainname [valueFlowBailoutIncompleteVar] ap-utils-1.5/intl/bindtextdom.c:347:18: style:inconclusive: Function 'bindtextdomain__' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:193:31: note: Function 'bindtextdomain__' argument 1 names different: declaration '__domainname' definition 'domainname'. ap-utils-1.5/intl/bindtextdom.c:347:18: note: Function 'bindtextdomain__' argument 1 names different: declaration '__domainname' definition 'domainname'. ap-utils-1.5/intl/bindtextdom.c:348:18: style:inconclusive: Function 'bindtextdomain__' argument 2 names different: declaration '__dirname' definition 'dirname'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:193:31: note: Function 'bindtextdomain__' argument 2 names different: declaration '__dirname' definition 'dirname'. ap-utils-1.5/intl/bindtextdom.c:348:18: note: Function 'bindtextdomain__' argument 2 names different: declaration '__dirname' definition 'dirname'. ap-utils-1.5/intl/bindtextdom.c:358:18: style:inconclusive: Function 'bind_textdomain_codeset__' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:195:40: note: Function 'bind_textdomain_codeset__' argument 1 names different: declaration '__domainname' definition 'domainname'. ap-utils-1.5/intl/bindtextdom.c:358:18: note: Function 'bind_textdomain_codeset__' argument 1 names different: declaration '__domainname' definition 'domainname'. ap-utils-1.5/intl/bindtextdom.c:359:18: style:inconclusive: Function 'bind_textdomain_codeset__' argument 2 names different: declaration '__codeset' definition 'codeset'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:195:40: note: Function 'bind_textdomain_codeset__' argument 2 names different: declaration '__codeset' definition 'codeset'. ap-utils-1.5/intl/bindtextdom.c:359:18: note: Function 'bind_textdomain_codeset__' argument 2 names different: declaration '__codeset' definition 'codeset'. ap-utils-1.5/intl/bindtextdom.c:254:12: style: Local variable 'len' shadows outer variable [shadowVariable] ap-utils-1.5/intl/bindtextdom.c:226:14: note: Shadowed declaration ap-utils-1.5/intl/bindtextdom.c:254:12: note: Shadow variable ap-utils-1.5/intl/bindtextdom.c:285:15: style: Local variable 'len' shadows outer variable [shadowVariable] ap-utils-1.5/intl/bindtextdom.c:226:14: note: Shadowed declaration ap-utils-1.5/intl/bindtextdom.c:285:15: note: Shadow variable ap-utils-1.5/intl/dcgettext.c:48:18: style:inconclusive: Function 'dcgettext__' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:178:26: note: Function 'dcgettext__' argument 1 names different: declaration '__domainname' definition 'domainname'. ap-utils-1.5/intl/dcgettext.c:48:18: note: Function 'dcgettext__' argument 1 names different: declaration '__domainname' definition 'domainname'. ap-utils-1.5/intl/dcgettext.c:49:18: style:inconclusive: Function 'dcgettext__' argument 2 names different: declaration '__msgid' definition 'msgid'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:178:26: note: Function 'dcgettext__' argument 2 names different: declaration '__msgid' definition 'msgid'. ap-utils-1.5/intl/dcgettext.c:49:18: note: Function 'dcgettext__' argument 2 names different: declaration '__msgid' definition 'msgid'. ap-utils-1.5/intl/dcgettext.c:50:10: style:inconclusive: Function 'dcgettext__' argument 3 names different: declaration '__category' definition 'category'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:178:26: note: Function 'dcgettext__' argument 3 names different: declaration '__category' definition 'category'. ap-utils-1.5/intl/dcgettext.c:50:10: note: Function 'dcgettext__' argument 3 names different: declaration '__category' definition 'category'. ap-utils-1.5/intl/eval-plural.h:58:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lor [valueFlowBailoutIncompleteVar] ap-utils-1.5/intl/dcigettext.c:504:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] ap-utils-1.5/intl/dcigettext.c:503:10: style: Obsolescent function 'getwd' called. It is recommended to use 'getcwd' instead. [prohibitedgetwdCalled] ap-utils-1.5/intl/dcigettext.c:550:39: style: Redundant condition: The condition 'categoryvalue[0] != '\0'' is redundant since 'categoryvalue[0] == ':'' is sufficient. [redundantCondition] ap-utils-1.5/intl/hash-string.h:40:18: style:inconclusive: Function 'hash_string' argument 1 names different: declaration '__str_param' definition 'str_param'. [funcArgNamesDifferent] ap-utils-1.5/intl/hash-string.h:36:38: note: Function 'hash_string' argument 1 names different: declaration '__str_param' definition 'str_param'. ap-utils-1.5/intl/hash-string.h:40:18: note: Function 'hash_string' argument 1 names different: declaration '__str_param' definition 'str_param'. ap-utils-1.5/intl/dcigettext.c:392:18: style:inconclusive: Function 'dcigettext__' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:188:27: note: Function 'dcigettext__' argument 1 names different: declaration '__domainname' definition 'domainname'. ap-utils-1.5/intl/dcigettext.c:392:18: note: Function 'dcigettext__' argument 1 names different: declaration '__domainname' definition 'domainname'. ap-utils-1.5/intl/dcigettext.c:393:18: style:inconclusive: Function 'dcigettext__' argument 2 names different: declaration '__msgid1' definition 'msgid1'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:188:27: note: Function 'dcigettext__' argument 2 names different: declaration '__msgid1' definition 'msgid1'. ap-utils-1.5/intl/dcigettext.c:393:18: note: Function 'dcigettext__' argument 2 names different: declaration '__msgid1' definition 'msgid1'. ap-utils-1.5/intl/dcigettext.c:394:18: style:inconclusive: Function 'dcigettext__' argument 3 names different: declaration '__msgid2' definition 'msgid2'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:188:27: note: Function 'dcigettext__' argument 3 names different: declaration '__msgid2' definition 'msgid2'. ap-utils-1.5/intl/dcigettext.c:394:18: note: Function 'dcigettext__' argument 3 names different: declaration '__msgid2' definition 'msgid2'. ap-utils-1.5/intl/dcigettext.c:395:10: style:inconclusive: Function 'dcigettext__' argument 4 names different: declaration '__plural' definition 'plural'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:188:27: note: Function 'dcigettext__' argument 4 names different: declaration '__plural' definition 'plural'. ap-utils-1.5/intl/dcigettext.c:395:10: note: Function 'dcigettext__' argument 4 names different: declaration '__plural' definition 'plural'. ap-utils-1.5/intl/dcigettext.c:396:24: style:inconclusive: Function 'dcigettext__' argument 5 names different: declaration '__n' definition 'n'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:188:27: note: Function 'dcigettext__' argument 5 names different: declaration '__n' definition 'n'. ap-utils-1.5/intl/dcigettext.c:396:24: note: Function 'dcigettext__' argument 5 names different: declaration '__n' definition 'n'. ap-utils-1.5/intl/dcigettext.c:397:10: style:inconclusive: Function 'dcigettext__' argument 6 names different: declaration '__category' definition 'category'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:188:27: note: Function 'dcigettext__' argument 6 names different: declaration '__category' definition 'category'. ap-utils-1.5/intl/dcigettext.c:397:10: note: Function 'dcigettext__' argument 6 names different: declaration '__category' definition 'category'. ap-utils-1.5/intl/dcigettext.c:492:13: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] ap-utils-1.5/intl/dcigettext.c:201:9: style: struct member 'known_translation_t::domainname' is never used. [unusedStructMember] ap-utils-1.5/intl/dcigettext.c:204:7: style: struct member 'known_translation_t::category' is never used. [unusedStructMember] ap-utils-1.5/intl/dcigettext.c:207:7: style: struct member 'known_translation_t::counter' is never used. [unusedStructMember] ap-utils-1.5/intl/dcigettext.c:210:27: style: struct member 'known_translation_t::domain' is never used. [unusedStructMember] ap-utils-1.5/intl/dcigettext.c:213:15: style: struct member 'known_translation_t::translation' is never used. [unusedStructMember] ap-utils-1.5/intl/dcigettext.c:214:10: style: struct member 'known_translation_t::translation_length' is never used. [unusedStructMember] ap-utils-1.5/intl/dcigettext.c:217:8: style: struct member 'known_translation_t::msgid' is never used. [unusedStructMember] ap-utils-1.5/intl/dcngettext.c:48:18: style:inconclusive: Function 'dcngettext__' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:185:27: note: Function 'dcngettext__' argument 1 names different: declaration '__domainname' definition 'domainname'. ap-utils-1.5/intl/dcngettext.c:48:18: note: Function 'dcngettext__' argument 1 names different: declaration '__domainname' definition 'domainname'. ap-utils-1.5/intl/dcngettext.c:49:18: style:inconclusive: Function 'dcngettext__' argument 2 names different: declaration '__msgid1' definition 'msgid1'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:185:27: note: Function 'dcngettext__' argument 2 names different: declaration '__msgid1' definition 'msgid1'. ap-utils-1.5/intl/dcngettext.c:49:18: note: Function 'dcngettext__' argument 2 names different: declaration '__msgid1' definition 'msgid1'. ap-utils-1.5/intl/dcngettext.c:50:18: style:inconclusive: Function 'dcngettext__' argument 3 names different: declaration '__msgid2' definition 'msgid2'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:185:27: note: Function 'dcngettext__' argument 3 names different: declaration '__msgid2' definition 'msgid2'. ap-utils-1.5/intl/dcngettext.c:50:18: note: Function 'dcngettext__' argument 3 names different: declaration '__msgid2' definition 'msgid2'. ap-utils-1.5/intl/dcngettext.c:51:24: style:inconclusive: Function 'dcngettext__' argument 4 names different: declaration '__n' definition 'n'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:185:27: note: Function 'dcngettext__' argument 4 names different: declaration '__n' definition 'n'. ap-utils-1.5/intl/dcngettext.c:51:24: note: Function 'dcngettext__' argument 4 names different: declaration '__n' definition 'n'. ap-utils-1.5/intl/dcngettext.c:52:10: style:inconclusive: Function 'dcngettext__' argument 5 names different: declaration '__category' definition 'category'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:185:27: note: Function 'dcngettext__' argument 5 names different: declaration '__category' definition 'category'. ap-utils-1.5/intl/dcngettext.c:52:10: note: Function 'dcngettext__' argument 5 names different: declaration '__category' definition 'category'. ap-utils-1.5/intl/dgettext.c:50:18: style:inconclusive: Function 'dgettext__' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:176:25: note: Function 'dgettext__' argument 1 names different: declaration '__domainname' definition 'domainname'. ap-utils-1.5/intl/dgettext.c:50:18: note: Function 'dgettext__' argument 1 names different: declaration '__domainname' definition 'domainname'. ap-utils-1.5/intl/dgettext.c:51:18: style:inconclusive: Function 'dgettext__' argument 2 names different: declaration '__msgid' definition 'msgid'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:176:25: note: Function 'dgettext__' argument 2 names different: declaration '__msgid' definition 'msgid'. ap-utils-1.5/intl/dgettext.c:51:18: note: Function 'dgettext__' argument 2 names different: declaration '__msgid' definition 'msgid'. ap-utils-1.5/intl/dngettext.c:50:18: style:inconclusive: Function 'dngettext__' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:182:26: note: Function 'dngettext__' argument 1 names different: declaration '__domainname' definition 'domainname'. ap-utils-1.5/intl/dngettext.c:50:18: note: Function 'dngettext__' argument 1 names different: declaration '__domainname' definition 'domainname'. ap-utils-1.5/intl/dngettext.c:51:18: style:inconclusive: Function 'dngettext__' argument 2 names different: declaration '__msgid1' definition 'msgid1'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:182:26: note: Function 'dngettext__' argument 2 names different: declaration '__msgid1' definition 'msgid1'. ap-utils-1.5/intl/dngettext.c:51:18: note: Function 'dngettext__' argument 2 names different: declaration '__msgid1' definition 'msgid1'. ap-utils-1.5/intl/dngettext.c:52:18: style:inconclusive: Function 'dngettext__' argument 3 names different: declaration '__msgid2' definition 'msgid2'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:182:26: note: Function 'dngettext__' argument 3 names different: declaration '__msgid2' definition 'msgid2'. ap-utils-1.5/intl/dngettext.c:52:18: note: Function 'dngettext__' argument 3 names different: declaration '__msgid2' definition 'msgid2'. ap-utils-1.5/intl/dngettext.c:53:24: style:inconclusive: Function 'dngettext__' argument 4 names different: declaration '__n' definition 'n'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:182:26: note: Function 'dngettext__' argument 4 names different: declaration '__n' definition 'n'. ap-utils-1.5/intl/dngettext.c:53:24: note: Function 'dngettext__' argument 4 names different: declaration '__n' definition 'n'. ap-utils-1.5/intl/finddomain.c:51:18: style:inconclusive: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:129:41: note: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. ap-utils-1.5/intl/finddomain.c:51:18: note: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. ap-utils-1.5/intl/finddomain.c:52:12: style:inconclusive: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:129:41: note: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. ap-utils-1.5/intl/finddomain.c:52:12: note: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. ap-utils-1.5/intl/finddomain.c:53:18: style:inconclusive: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:129:41: note: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. ap-utils-1.5/intl/finddomain.c:53:18: note: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. ap-utils-1.5/intl/finddomain.c:54:22: style:inconclusive: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:129:41: note: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. ap-utils-1.5/intl/finddomain.c:54:22: note: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. ap-utils-1.5/intl/gettext.c:56:18: style:inconclusive: Function 'gettext__' argument 1 names different: declaration '__msgid' definition 'msgid'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:175:24: note: Function 'gettext__' argument 1 names different: declaration '__msgid' definition 'msgid'. ap-utils-1.5/intl/gettext.c:56:18: note: Function 'gettext__' argument 1 names different: declaration '__msgid' definition 'msgid'. ap-utils-1.5/intl/intl-compat.c:85:18: style:inconclusive: Function 'gettext' argument 1 names different: declaration '__msgid' definition 'msgid'. [funcArgNamesDifferent] ap-utils-1.5/intl/libgnuintl.h:62:22: note: Function 'gettext' argument 1 names different: declaration '__msgid' definition 'msgid'. ap-utils-1.5/intl/intl-compat.c:85:18: note: Function 'gettext' argument 1 names different: declaration '__msgid' definition 'msgid'. ap-utils-1.5/intl/intl-compat.c:93:18: style:inconclusive: Function 'dgettext' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] ap-utils-1.5/intl/libgnuintl.h:66:23: note: Function 'dgettext' argument 1 names different: declaration '__domainname' definition 'domainname'. ap-utils-1.5/intl/intl-compat.c:93:18: note: Function 'dgettext' argument 1 names different: declaration '__domainname' definition 'domainname'. ap-utils-1.5/intl/intl-compat.c:94:18: style:inconclusive: Function 'dgettext' argument 2 names different: declaration '__msgid' definition 'msgid'. [funcArgNamesDifferent] ap-utils-1.5/intl/libgnuintl.h:66:23: note: Function 'dgettext' argument 2 names different: declaration '__msgid' definition 'msgid'. ap-utils-1.5/intl/intl-compat.c:94:18: note: Function 'dgettext' argument 2 names different: declaration '__msgid' definition 'msgid'. ap-utils-1.5/intl/intl-compat.c:102:18: style:inconclusive: Function 'dcgettext' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] ap-utils-1.5/intl/libgnuintl.h:71:24: note: Function 'dcgettext' argument 1 names different: declaration '__domainname' definition 'domainname'. ap-utils-1.5/intl/intl-compat.c:102:18: note: Function 'dcgettext' argument 1 names different: declaration '__domainname' definition 'domainname'. ap-utils-1.5/intl/intl-compat.c:103:18: style:inconclusive: Function 'dcgettext' argument 2 names different: declaration '__msgid' definition 'msgid'. [funcArgNamesDifferent] ap-utils-1.5/intl/libgnuintl.h:71:24: note: Function 'dcgettext' argument 2 names different: declaration '__msgid' definition 'msgid'. ap-utils-1.5/intl/intl-compat.c:103:18: note: Function 'dcgettext' argument 2 names different: declaration '__msgid' definition 'msgid'. ap-utils-1.5/intl/intl-compat.c:104:10: style:inconclusive: Function 'dcgettext' argument 3 names different: declaration '__category' definition 'category'. [funcArgNamesDifferent] ap-utils-1.5/intl/libgnuintl.h:71:24: note: Function 'dcgettext' argument 3 names different: declaration '__category' definition 'category'. ap-utils-1.5/intl/intl-compat.c:104:10: note: Function 'dcgettext' argument 3 names different: declaration '__category' definition 'category'. ap-utils-1.5/intl/intl-compat.c:112:18: style:inconclusive: Function 'ngettext' argument 1 names different: declaration '__msgid1' definition 'msgid1'. [funcArgNamesDifferent] ap-utils-1.5/intl/libgnuintl.h:78:23: note: Function 'ngettext' argument 1 names different: declaration '__msgid1' definition 'msgid1'. ap-utils-1.5/intl/intl-compat.c:112:18: note: Function 'ngettext' argument 1 names different: declaration '__msgid1' definition 'msgid1'. ap-utils-1.5/intl/intl-compat.c:113:18: style:inconclusive: Function 'ngettext' argument 2 names different: declaration '__msgid2' definition 'msgid2'. [funcArgNamesDifferent] ap-utils-1.5/intl/libgnuintl.h:78:23: note: Function 'ngettext' argument 2 names different: declaration '__msgid2' definition 'msgid2'. ap-utils-1.5/intl/intl-compat.c:113:18: note: Function 'ngettext' argument 2 names different: declaration '__msgid2' definition 'msgid2'. ap-utils-1.5/intl/intl-compat.c:114:24: style:inconclusive: Function 'ngettext' argument 3 names different: declaration '__n' definition 'n'. [funcArgNamesDifferent] ap-utils-1.5/intl/libgnuintl.h:78:23: note: Function 'ngettext' argument 3 names different: declaration '__n' definition 'n'. ap-utils-1.5/intl/intl-compat.c:114:24: note: Function 'ngettext' argument 3 names different: declaration '__n' definition 'n'. ap-utils-1.5/intl/intl-compat.c:122:18: style:inconclusive: Function 'dngettext' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] ap-utils-1.5/intl/libgnuintl.h:84:24: note: Function 'dngettext' argument 1 names different: declaration '__domainname' definition 'domainname'. ap-utils-1.5/intl/intl-compat.c:122:18: note: Function 'dngettext' argument 1 names different: declaration '__domainname' definition 'domainname'. ap-utils-1.5/intl/intl-compat.c:123:18: style:inconclusive: Function 'dngettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. [funcArgNamesDifferent] ap-utils-1.5/intl/libgnuintl.h:84:24: note: Function 'dngettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. ap-utils-1.5/intl/intl-compat.c:123:18: note: Function 'dngettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. ap-utils-1.5/intl/intl-compat.c:124:18: style:inconclusive: Function 'dngettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. [funcArgNamesDifferent] ap-utils-1.5/intl/libgnuintl.h:84:24: note: Function 'dngettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. ap-utils-1.5/intl/intl-compat.c:124:18: note: Function 'dngettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. ap-utils-1.5/intl/intl-compat.c:125:24: style:inconclusive: Function 'dngettext' argument 4 names different: declaration '__n' definition 'n'. [funcArgNamesDifferent] ap-utils-1.5/intl/libgnuintl.h:84:24: note: Function 'dngettext' argument 4 names different: declaration '__n' definition 'n'. ap-utils-1.5/intl/intl-compat.c:125:24: note: Function 'dngettext' argument 4 names different: declaration '__n' definition 'n'. ap-utils-1.5/intl/intl-compat.c:133:18: style:inconclusive: Function 'dcngettext' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] ap-utils-1.5/intl/libgnuintl.h:91:25: note: Function 'dcngettext' argument 1 names different: declaration '__domainname' definition 'domainname'. ap-utils-1.5/intl/intl-compat.c:133:18: note: Function 'dcngettext' argument 1 names different: declaration '__domainname' definition 'domainname'. ap-utils-1.5/intl/intl-compat.c:134:18: style:inconclusive: Function 'dcngettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. [funcArgNamesDifferent] ap-utils-1.5/intl/libgnuintl.h:91:25: note: Function 'dcngettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. ap-utils-1.5/intl/intl-compat.c:134:18: note: Function 'dcngettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. ap-utils-1.5/intl/intl-compat.c:135:18: style:inconclusive: Function 'dcngettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. [funcArgNamesDifferent] ap-utils-1.5/intl/libgnuintl.h:91:25: note: Function 'dcngettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. ap-utils-1.5/intl/intl-compat.c:135:18: note: Function 'dcngettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. ap-utils-1.5/intl/intl-compat.c:136:24: style:inconclusive: Function 'dcngettext' argument 4 names different: declaration '__n' definition 'n'. [funcArgNamesDifferent] ap-utils-1.5/intl/libgnuintl.h:91:25: note: Function 'dcngettext' argument 4 names different: declaration '__n' definition 'n'. ap-utils-1.5/intl/intl-compat.c:136:24: note: Function 'dcngettext' argument 4 names different: declaration '__n' definition 'n'. ap-utils-1.5/intl/intl-compat.c:137:10: style:inconclusive: Function 'dcngettext' argument 5 names different: declaration '__category' definition 'category'. [funcArgNamesDifferent] ap-utils-1.5/intl/libgnuintl.h:91:25: note: Function 'dcngettext' argument 5 names different: declaration '__category' definition 'category'. ap-utils-1.5/intl/intl-compat.c:137:10: note: Function 'dcngettext' argument 5 names different: declaration '__category' definition 'category'. ap-utils-1.5/intl/intl-compat.c:145:18: style:inconclusive: Function 'textdomain' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] ap-utils-1.5/intl/libgnuintl.h:101:25: note: Function 'textdomain' argument 1 names different: declaration '__domainname' definition 'domainname'. ap-utils-1.5/intl/intl-compat.c:145:18: note: Function 'textdomain' argument 1 names different: declaration '__domainname' definition 'domainname'. ap-utils-1.5/intl/intl-compat.c:153:18: style:inconclusive: Function 'bindtextdomain' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] ap-utils-1.5/intl/libgnuintl.h:105:29: note: Function 'bindtextdomain' argument 1 names different: declaration '__domainname' definition 'domainname'. ap-utils-1.5/intl/intl-compat.c:153:18: note: Function 'bindtextdomain' argument 1 names different: declaration '__domainname' definition 'domainname'. ap-utils-1.5/intl/intl-compat.c:154:18: style:inconclusive: Function 'bindtextdomain' argument 2 names different: declaration '__dirname' definition 'dirname'. [funcArgNamesDifferent] ap-utils-1.5/intl/libgnuintl.h:105:29: note: Function 'bindtextdomain' argument 2 names different: declaration '__dirname' definition 'dirname'. ap-utils-1.5/intl/intl-compat.c:154:18: note: Function 'bindtextdomain' argument 2 names different: declaration '__dirname' definition 'dirname'. ap-utils-1.5/intl/intl-compat.c:162:18: style:inconclusive: Function 'bind_textdomain_codeset' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] ap-utils-1.5/intl/libgnuintl.h:110:38: note: Function 'bind_textdomain_codeset' argument 1 names different: declaration '__domainname' definition 'domainname'. ap-utils-1.5/intl/intl-compat.c:162:18: note: Function 'bind_textdomain_codeset' argument 1 names different: declaration '__domainname' definition 'domainname'. ap-utils-1.5/intl/intl-compat.c:163:18: style:inconclusive: Function 'bind_textdomain_codeset' argument 2 names different: declaration '__codeset' definition 'codeset'. [funcArgNamesDifferent] ap-utils-1.5/intl/libgnuintl.h:110:38: note: Function 'bind_textdomain_codeset' argument 2 names different: declaration '__codeset' definition 'codeset'. ap-utils-1.5/intl/intl-compat.c:163:18: note: Function 'bind_textdomain_codeset' argument 2 names different: declaration '__codeset' definition 'codeset'. ap-utils-1.5/intl/l10nflist.c:323:8: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] ap-utils-1.5/intl/loadmsgcat.c:298:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] ap-utils-1.5/intl/loadmsgcat.c:340:2: error: Resource leak: fd [resourceLeak] ap-utils-1.5/intl/loadmsgcat.c:333:12: style: The comparison 'data == (struct mo_file_header*)-1' is always true because 'data' and '(struct mo_file_header*)-1' represent the same value. [knownConditionTrueFalse] ap-utils-1.5/intl/loadmsgcat.c:278:33: note: 'data' is assigned value '(struct mo_file_header*)-1' here. ap-utils-1.5/intl/loadmsgcat.c:333:12: note: The comparison 'data == (struct mo_file_header*)-1' is always true because 'data' and '(struct mo_file_header*)-1' represent the same value. ap-utils-1.5/intl/loadmsgcat.c:132:30: style:inconclusive: Function '_nl_init_domain_conv' argument 1 names different: declaration '__domain_file' definition 'domain_file'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:139:34: note: Function '_nl_init_domain_conv' argument 1 names different: declaration '__domain_file' definition 'domain_file'. ap-utils-1.5/intl/loadmsgcat.c:132:30: note: Function '_nl_init_domain_conv' argument 1 names different: declaration '__domain_file' definition 'domain_file'. ap-utils-1.5/intl/loadmsgcat.c:133:28: style:inconclusive: Function '_nl_init_domain_conv' argument 2 names different: declaration '__domain' definition 'domain'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:139:34: note: Function '_nl_init_domain_conv' argument 2 names different: declaration '__domain' definition 'domain'. ap-utils-1.5/intl/loadmsgcat.c:133:28: note: Function '_nl_init_domain_conv' argument 2 names different: declaration '__domain' definition 'domain'. ap-utils-1.5/intl/loadmsgcat.c:134:22: style:inconclusive: Function '_nl_init_domain_conv' argument 3 names different: declaration '__domainbinding' definition 'domainbinding'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:139:34: note: Function '_nl_init_domain_conv' argument 3 names different: declaration '__domainbinding' definition 'domainbinding'. ap-utils-1.5/intl/loadmsgcat.c:134:22: note: Function '_nl_init_domain_conv' argument 3 names different: declaration '__domainbinding' definition 'domainbinding'. ap-utils-1.5/intl/loadmsgcat.c:247:28: style:inconclusive: Function '_nl_free_domain_conv' argument 1 names different: declaration '__domain' definition 'domain'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:143:27: note: Function '_nl_free_domain_conv' argument 1 names different: declaration '__domain' definition 'domain'. ap-utils-1.5/intl/loadmsgcat.c:247:28: note: Function '_nl_free_domain_conv' argument 1 names different: declaration '__domain' definition 'domain'. ap-utils-1.5/intl/loadmsgcat.c:268:30: style:inconclusive: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:134:22: note: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. ap-utils-1.5/intl/loadmsgcat.c:268:30: note: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. ap-utils-1.5/intl/loadmsgcat.c:269:22: style:inconclusive: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:134:22: note: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. ap-utils-1.5/intl/loadmsgcat.c:269:22: note: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. ap-utils-1.5/intl/localcharset.c:110:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBDIR [valueFlowBailoutIncompleteVar] ap-utils-1.5/intl/localcharset.c:248:14: style: Condition 'locale==NULL' is always true [knownConditionTrueFalse] ap-utils-1.5/intl/localcharset.c:239:24: note: Assignment 'locale=NULL', assigned value is 0 ap-utils-1.5/intl/localcharset.c:248:14: note: Condition 'locale==NULL' is always true ap-utils-1.5/intl/localcharset.c:172:5: error: Common realloc mistake: 'res_ptr' nulled but not freed upon failure [memleakOnRealloc] ap-utils-1.5/intl/localealias.c:148:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCALE_ALIAS_PATH [valueFlowBailoutIncompleteVar] ap-utils-1.5/intl/localealias.c:238:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] ap-utils-1.5/intl/localealias.c:139:21: style: Variable 'retval' can be declared as pointer to const [constVariablePointer] ap-utils-1.5/intl/localealias.c:239:13: style: Variable 'alias' can be declared as pointer to const [constVariablePointer] ap-utils-1.5/intl/localealias.c:240:13: style: Variable 'value' can be declared as pointer to const [constVariablePointer] ap-utils-1.5/intl/localealias.c:157:41: error: Uninitialized variable: &item.value [uninitvar] ap-utils-1.5/intl/ngettext.c:58:18: style:inconclusive: Function 'ngettext__' argument 1 names different: declaration '__msgid1' definition 'msgid1'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:180:25: note: Function 'ngettext__' argument 1 names different: declaration '__msgid1' definition 'msgid1'. ap-utils-1.5/intl/ngettext.c:58:18: note: Function 'ngettext__' argument 1 names different: declaration '__msgid1' definition 'msgid1'. ap-utils-1.5/intl/ngettext.c:59:18: style:inconclusive: Function 'ngettext__' argument 2 names different: declaration '__msgid2' definition 'msgid2'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:180:25: note: Function 'ngettext__' argument 2 names different: declaration '__msgid2' definition 'msgid2'. ap-utils-1.5/intl/ngettext.c:59:18: note: Function 'ngettext__' argument 2 names different: declaration '__msgid2' definition 'msgid2'. ap-utils-1.5/intl/ngettext.c:60:24: style:inconclusive: Function 'ngettext__' argument 3 names different: declaration '__n' definition 'n'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:180:25: note: Function 'ngettext__' argument 3 names different: declaration '__n' definition 'n'. ap-utils-1.5/intl/ngettext.c:60:24: note: Function 'ngettext__' argument 3 names different: declaration '__n' definition 'n'. ap-utils-1.5/intl/os2compat.c:60:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBDIR [valueFlowBailoutIncompleteVar] ap-utils-1.5/intl/os2compat.c:61:19: warning: If memory allocation fails, then there is a possible null pointer dereference: _os2_libdir [nullPointerOutOfMemory] ap-utils-1.5/intl/os2compat.c:60:41: note: Assuming allocation function fails ap-utils-1.5/intl/os2compat.c:60:25: note: Assignment '_os2_libdir=(char*)malloc(sl+strlen(LIBDIR)+1)', assigned value is 0 ap-utils-1.5/intl/os2compat.c:61:19: note: Null pointer dereference ap-utils-1.5/intl/os2compat.c:75:19: warning: If memory allocation fails, then there is a possible null pointer dereference: _os2_localealiaspath [nullPointerOutOfMemory] ap-utils-1.5/intl/os2compat.c:74:50: note: Assuming allocation function fails ap-utils-1.5/intl/os2compat.c:74:34: note: Assignment '_os2_localealiaspath=(char*)malloc(sl+strlen(LOCALE_ALIAS_PATH)+1)', assigned value is 0 ap-utils-1.5/intl/os2compat.c:75:19: note: Null pointer dereference ap-utils-1.5/intl/os2compat.c:89:19: warning: If memory allocation fails, then there is a possible null pointer dereference: _os2_localedir [nullPointerOutOfMemory] ap-utils-1.5/intl/os2compat.c:88:44: note: Assuming allocation function fails ap-utils-1.5/intl/os2compat.c:88:28: note: Assignment '_os2_localedir=(char*)malloc(sl+strlen(LOCALEDIR)+1)', assigned value is 0 ap-utils-1.5/intl/os2compat.c:89:19: note: Null pointer dereference ap-utils-1.5/intl/os2compat.c:98:17: warning: If memory allocation fails, then there is a possible null pointer dereference: _os2_localedir [nullPointerOutOfMemory] ap-utils-1.5/intl/os2compat.c:88:44: note: Assuming allocation function fails ap-utils-1.5/intl/os2compat.c:88:28: note: Assignment '_os2_localedir=(char*)malloc(sl+strlen(LOCALEDIR)+1)', assigned value is 0 ap-utils-1.5/intl/os2compat.c:98:17: note: Null pointer dereference ap-utils-1.5/intl/os2compat.c:62:31: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] ap-utils-1.5/intl/os2compat.c:60:41: note: Assuming allocation function fails ap-utils-1.5/intl/os2compat.c:60:25: note: Assignment '_os2_libdir=(char*)malloc(sl+strlen(LIBDIR)+1)', assigned value is 0 ap-utils-1.5/intl/os2compat.c:62:31: note: Null pointer addition ap-utils-1.5/intl/os2compat.c:76:40: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] ap-utils-1.5/intl/os2compat.c:74:50: note: Assuming allocation function fails ap-utils-1.5/intl/os2compat.c:74:34: note: Assignment '_os2_localealiaspath=(char*)malloc(sl+strlen(LOCALE_ALIAS_PATH)+1)', assigned value is 0 ap-utils-1.5/intl/os2compat.c:76:40: note: Null pointer addition ap-utils-1.5/intl/os2compat.c:90:34: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] ap-utils-1.5/intl/os2compat.c:88:44: note: Assuming allocation function fails ap-utils-1.5/intl/os2compat.c:88:28: note: Assignment '_os2_localedir=(char*)malloc(sl+strlen(LOCALEDIR)+1)', assigned value is 0 ap-utils-1.5/intl/os2compat.c:90:34: note: Null pointer addition ap-utils-1.5/intl/os2compat.c:97:23: style: Local variable '_nl_default_dirname__' shadows outer variable [shadowVariable] ap-utils-1.5/intl/os2compat.c:42:6: note: Shadowed declaration ap-utils-1.5/intl/os2compat.c:97:23: note: Shadow variable ap-utils-1.5/intl/os2compat.c:51:9: style: Variable 'root' can be declared as pointer to const [constVariablePointer] ap-utils-1.5/intl/plural-exp.c:115:10: style: Variable 'endp' can be declared as pointer to const [constVariablePointer] plural.y:184:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable qmop [valueFlowBailoutIncompleteVar] plural.y:303:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable equal [valueFlowBailoutIncompleteVar] /usr/local/share/bison.simple:248:6: style:inconclusive: Function 'PLURAL_PARSE' argument 1 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] plural.y:406:18: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] /usr/local/share/bison.simple:190:18: style: Variable 'f' can be declared as pointer to const [constVariablePointer] ap-utils-1.5/intl/textdomain.c:81:18: style:inconclusive: Function 'textdomain__' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] ap-utils-1.5/intl/gettextP.h:192:27: note: Function 'textdomain__' argument 1 names different: declaration '__domainname' definition 'domainname'. ap-utils-1.5/intl/textdomain.c:81:18: note: Function 'textdomain__' argument 1 names different: declaration '__domainname' definition 'domainname'. ap-utils-1.5/lib/ap_search.c:94:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] ap-utils-1.5/lib/ap_search.c:402:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIOCGIFCONF [valueFlowBailoutIncompleteVar] ap-utils-1.5/lib/ap_search.c:294:6: error: Common realloc mistake: 'fapsa' nulled but not freed upon failure [memleakOnRealloc] ap-utils-1.5/lib/ap_search.c:395:8: error: Common realloc mistake: 'ifbuf_ptr' nulled but not freed upon failure [memleakOnRealloc] ap-utils-1.5/lib/ap_search.c:69:16: style: Local variable 'atmel410_filter' shadows outer variable [shadowVariable] ap-utils-1.5/lib/ap_search.c:52:12: note: Shadowed declaration ap-utils-1.5/lib/ap_search.c:69:16: note: Shadow variable ap-utils-1.5/lib/ap_search.c:63:11: style: Parameter 'ifname' can be declared as pointer to const [constParameterPointer] ap-utils-1.5/lib/aps.c:146:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BOLD [valueFlowBailoutIncompleteVar] ap-utils-1.5/lib/aps.c:256:7: error: Array 'bssid[13]' accessed at index 13, which is out of bounds. [arrayIndexOutOfBounds] ap-utils-1.5/lib/ber.c:53:50: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] ap-utils-1.5/lib/ber.c:63:57: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] ap-utils-1.5/lib/ber.c:12:22: style: Parameter 'oid' can be declared as pointer to const [constParameterPointer] ap-utils-1.5/lib/ber.c:53:32: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] ap-utils-1.5/lib/ber.c:51:10: note: Assignment 'i=31', assigned value is 31 ap-utils-1.5/lib/ber.c:53:32: note: Shift ap-utils-1.5/lib/ber.c:16:13: style: Variable 'num_val' is assigned a value that is never used. [unreadVariable] ap-utils-1.5/lib/ber.c:18:16: style: Variable 'len' is assigned a value that is never used. [unreadVariable] ap-utils-1.5/lib/common.c:82:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINES [valueFlowBailoutIncompleteVar] ap-utils-1.5/lib/common.c:271:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BOLD [valueFlowBailoutIncompleteVar] ap-utils-1.5/lib/common.c:523:17: style: Condition '®dom_types[i]' is always true [knownConditionTrueFalse] ap-utils-1.5/lib/common.c:489:2: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/common.c:189:13: warning: If memory allocation fails, then there is a possible null pointer dereference: community [nullPointerOutOfMemory] ap-utils-1.5/lib/common.c:188:32: note: Assuming allocation function fails ap-utils-1.5/lib/common.c:188:17: note: Assignment 'community=(char*)malloc(i)', assigned value is 0 ap-utils-1.5/lib/common.c:189:13: note: Null pointer dereference ap-utils-1.5/lib/common.c:136:40: style:inconclusive: Function 'connect_options' argument 1 names different: declaration '' definition 'ip'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/common.c:136:48: style:inconclusive: Function 'connect_options' argument 2 names different: declaration '' definition 'type'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/common.c:519:21: style:inconclusive: Function 'regdom_idx' argument 1 names different: declaration '' definition 'regdom'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/common.c:523:17: style: Pointer expression '®dom_types[i]' converted to bool is always true. [knownPointerToBool] ap-utils-1.5/lib/common.c:152:11: style: Variable 'home_dir' can be declared as pointer to const [constVariablePointer] ap-utils-1.5/lib/common.c:483:11: style: Variable 'c' is assigned a value that is never used. [unreadVariable] ap-utils-1.5/lib/file.c:156:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] ap-utils-1.5/lib/file.c:290:22: style: Condition 'record_num==1' is always false [knownConditionTrueFalse] ap-utils-1.5/lib/file.c:62:2: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/file.c:83:14: warning: If memory allocation fails, then there is a possible null pointer dereference: ip [nullPointerOutOfMemory] ap-utils-1.5/lib/file.c:82:27: note: Assuming allocation function fails ap-utils-1.5/lib/file.c:82:12: note: Assignment 'ip=(char*)malloc(j+1)', assigned value is 0 ap-utils-1.5/lib/file.c:83:14: note: Null pointer dereference ap-utils-1.5/lib/file.c:84:7: warning: If memory allocation fails, then there is a possible null pointer dereference: ip [nullPointerOutOfMemory] ap-utils-1.5/lib/file.c:82:27: note: Assuming allocation function fails ap-utils-1.5/lib/file.c:82:12: note: Assignment 'ip=(char*)malloc(j+1)', assigned value is 0 ap-utils-1.5/lib/file.c:84:7: note: Null pointer dereference ap-utils-1.5/lib/file.c:88:14: warning: If memory allocation fails, then there is a possible null pointer dereference: passwd [nullPointerOutOfMemory] ap-utils-1.5/lib/file.c:87:31: note: Assuming allocation function fails ap-utils-1.5/lib/file.c:87:16: note: Assignment 'passwd=(char*)malloc(j+1)', assigned value is 0 ap-utils-1.5/lib/file.c:88:14: note: Null pointer dereference ap-utils-1.5/lib/file.c:89:7: warning: If memory allocation fails, then there is a possible null pointer dereference: passwd [nullPointerOutOfMemory] ap-utils-1.5/lib/file.c:87:31: note: Assuming allocation function fails ap-utils-1.5/lib/file.c:87:16: note: Assignment 'passwd=(char*)malloc(j+1)', assigned value is 0 ap-utils-1.5/lib/file.c:89:7: note: Null pointer dereference ap-utils-1.5/lib/file.c:93:14: warning: If memory allocation fails, then there is a possible null pointer dereference: label [nullPointerOutOfMemory] ap-utils-1.5/lib/file.c:92:30: note: Assuming allocation function fails ap-utils-1.5/lib/file.c:92:15: note: Assignment 'label=(char*)malloc(j+1)', assigned value is 0 ap-utils-1.5/lib/file.c:93:14: note: Null pointer dereference ap-utils-1.5/lib/file.c:94:7: warning: If memory allocation fails, then there is a possible null pointer dereference: label [nullPointerOutOfMemory] ap-utils-1.5/lib/file.c:92:30: note: Assuming allocation function fails ap-utils-1.5/lib/file.c:92:15: note: Assignment 'label=(char*)malloc(j+1)', assigned value is 0 ap-utils-1.5/lib/file.c:94:7: note: Null pointer dereference ap-utils-1.5/lib/file.c:98:14: warning: If memory allocation fails, then there is a possible null pointer dereference: aptype [nullPointerOutOfMemory] ap-utils-1.5/lib/file.c:97:31: note: Assuming allocation function fails ap-utils-1.5/lib/file.c:97:16: note: Assignment 'aptype=(char*)malloc(j+1)', assigned value is 0 ap-utils-1.5/lib/file.c:98:14: note: Null pointer dereference ap-utils-1.5/lib/file.c:99:7: warning: If memory allocation fails, then there is a possible null pointer dereference: aptype [nullPointerOutOfMemory] ap-utils-1.5/lib/file.c:97:31: note: Assuming allocation function fails ap-utils-1.5/lib/file.c:97:16: note: Assignment 'aptype=(char*)malloc(j+1)', assigned value is 0 ap-utils-1.5/lib/file.c:99:7: note: Null pointer dereference ap-utils-1.5/lib/file.c:114:2: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] ap-utils-1.5/lib/file.c:113:33: note: Assuming allocation function fails ap-utils-1.5/lib/file.c:113:9: note: Assignment 'curr=(struct APList*)malloc(sizeof(struct APList))', assigned value is 0 ap-utils-1.5/lib/file.c:114:2: note: Null pointer dereference ap-utils-1.5/lib/file.c:115:2: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] ap-utils-1.5/lib/file.c:113:33: note: Assuming allocation function fails ap-utils-1.5/lib/file.c:113:9: note: Assignment 'curr=(struct APList*)malloc(sizeof(struct APList))', assigned value is 0 ap-utils-1.5/lib/file.c:115:2: note: Null pointer dereference ap-utils-1.5/lib/file.c:116:2: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] ap-utils-1.5/lib/file.c:113:33: note: Assuming allocation function fails ap-utils-1.5/lib/file.c:113:9: note: Assignment 'curr=(struct APList*)malloc(sizeof(struct APList))', assigned value is 0 ap-utils-1.5/lib/file.c:116:2: note: Null pointer dereference ap-utils-1.5/lib/file.c:117:2: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] ap-utils-1.5/lib/file.c:113:33: note: Assuming allocation function fails ap-utils-1.5/lib/file.c:113:9: note: Assignment 'curr=(struct APList*)malloc(sizeof(struct APList))', assigned value is 0 ap-utils-1.5/lib/file.c:117:2: note: Null pointer dereference ap-utils-1.5/lib/file.c:118:9: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] ap-utils-1.5/lib/file.c:113:33: note: Assuming allocation function fails ap-utils-1.5/lib/file.c:113:9: note: Assignment 'curr=(struct APList*)malloc(sizeof(struct APList))', assigned value is 0 ap-utils-1.5/lib/file.c:118:9: note: Null pointer dereference ap-utils-1.5/lib/file.c:119:2: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] ap-utils-1.5/lib/file.c:113:33: note: Assuming allocation function fails ap-utils-1.5/lib/file.c:113:9: note: Assignment 'curr=(struct APList*)malloc(sizeof(struct APList))', assigned value is 0 ap-utils-1.5/lib/file.c:119:2: note: Null pointer dereference ap-utils-1.5/lib/file.c:120:9: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] ap-utils-1.5/lib/file.c:113:33: note: Assuming allocation function fails ap-utils-1.5/lib/file.c:113:9: note: Assignment 'curr=(struct APList*)malloc(sizeof(struct APList))', assigned value is 0 ap-utils-1.5/lib/file.c:120:9: note: Null pointer dereference ap-utils-1.5/lib/file.c:121:2: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] ap-utils-1.5/lib/file.c:113:33: note: Assuming allocation function fails ap-utils-1.5/lib/file.c:113:9: note: Assignment 'curr=(struct APList*)malloc(sizeof(struct APList))', assigned value is 0 ap-utils-1.5/lib/file.c:121:2: note: Null pointer dereference ap-utils-1.5/lib/file.c:122:9: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] ap-utils-1.5/lib/file.c:113:33: note: Assuming allocation function fails ap-utils-1.5/lib/file.c:113:9: note: Assignment 'curr=(struct APList*)malloc(sizeof(struct APList))', assigned value is 0 ap-utils-1.5/lib/file.c:122:9: note: Null pointer dereference ap-utils-1.5/lib/file.c:240:11: warning: If memory allocation fails, then there is a possible null pointer dereference: community [nullPointerOutOfMemory] ap-utils-1.5/lib/file.c:239:30: note: Assuming allocation function fails ap-utils-1.5/lib/file.c:239:15: note: Assignment 'community=(char*)malloc(i)', assigned value is 0 ap-utils-1.5/lib/file.c:240:11: note: Null pointer dereference ap-utils-1.5/lib/file.c:271:11: warning: If memory allocation fails, then there is a possible null pointer dereference: community [nullPointerOutOfMemory] ap-utils-1.5/lib/file.c:270:30: note: Assuming allocation function fails ap-utils-1.5/lib/file.c:270:15: note: Assignment 'community=(char*)malloc(i)', assigned value is 0 ap-utils-1.5/lib/file.c:271:11: note: Null pointer dereference ap-utils-1.5/lib/file.c:417:40: style:inconclusive: Function 'save_Stations' argument 1 names different: declaration '' definition 'curr'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/file.c:143:27: style: Local variable 'ap_ip' shadows outer variable [shadowVariable] ap-utils-1.5/lib/file.c:33:23: note: Shadowed declaration ap-utils-1.5/lib/file.c:143:27: note: Shadow variable ap-utils-1.5/lib/file.c:52:20: style: Variable 'curr' can be declared as pointer to const [constVariablePointer] ap-utils-1.5/lib/file.c:72:35: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] ap-utils-1.5/lib/file.c:145:11: style: Variable 'home_dir' can be declared as pointer to const [constVariablePointer] ap-utils-1.5/lib/file.c:417:40: style: Parameter 'curr' can be declared as pointer to const [constParameterPointer] ap-utils-1.5/lib/file.c:420:11: style: Variable 'home_dir' can be declared as pointer to const [constVariablePointer] ap-utils-1.5/lib/input.c:141:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_REVERSE [valueFlowBailoutIncompleteVar] ap-utils-1.5/lib/input.c:310:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BOLD [valueFlowBailoutIncompleteVar] ap-utils-1.5/lib/input.c:340:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ITEM [valueFlowBailoutIncompleteVar] ap-utils-1.5/lib/input.c:450:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] ap-utils-1.5/lib/input.c:66:47: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] ap-utils-1.5/lib/input.c:347:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ip++ [nullPointerOutOfMemory] ap-utils-1.5/lib/input.c:340:30: note: Assuming allocation function fails ap-utils-1.5/lib/input.c:340:30: note: Assignment 'menu_item=calloc(num,sizeof(ITEM))', assigned value is 0 ap-utils-1.5/lib/input.c:340:58: note: Assignment 'ip=menu_item', assigned value is 0 ap-utils-1.5/lib/input.c:347:5: note: Null pointer dereference ap-utils-1.5/lib/input.c:347:5: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] ap-utils-1.5/lib/input.c:340:30: note: Assuming allocation function fails ap-utils-1.5/lib/input.c:340:30: note: Assignment 'menu_item=calloc(num,sizeof(ITEM))', assigned value is 0 ap-utils-1.5/lib/input.c:340:58: note: Assignment 'ip=menu_item', assigned value is 0 ap-utils-1.5/lib/input.c:347:5: note: Null pointer addition ap-utils-1.5/lib/input.c:39:15: style:inconclusive: Function 'get_mac' argument 1 names different: declaration '' definition 'mac'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/input.c:39:24: style:inconclusive: Function 'get_mac' argument 2 names different: declaration '' definition 'row'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/input.c:39:33: style:inconclusive: Function 'get_mac' argument 3 names different: declaration '' definition 'col'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/input.c:59:24: style:inconclusive: Function 'get_ip' argument 1 names different: declaration '' definition 'ip'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/input.c:59:32: style:inconclusive: Function 'get_ip' argument 2 names different: declaration '' definition 'row'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/input.c:59:41: style:inconclusive: Function 'get_ip' argument 3 names different: declaration '' definition 'col'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/input.c:59:52: style:inconclusive: Function 'get_ip' argument 4 names different: declaration '' definition 'helpmsg'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/input.c:78:26: style:inconclusive: Function 'get_mask' argument 1 names different: declaration '' definition 'ip'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/input.c:78:34: style:inconclusive: Function 'get_mask' argument 2 names different: declaration '' definition 'row'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/input.c:78:43: style:inconclusive: Function 'get_mask' argument 3 names different: declaration '' definition 'col'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/input.c:78:54: style:inconclusive: Function 'get_mask' argument 4 names different: declaration '' definition 'helpmsg'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/input.c:126:17: style:inconclusive: Function 'get_value' argument 1 names different: declaration '' definition 'value'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/input.c:126:28: style:inconclusive: Function 'get_value' argument 2 names different: declaration '' definition 'row'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/input.c:126:37: style:inconclusive: Function 'get_value' argument 3 names different: declaration '' definition 'col'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/input.c:126:46: style:inconclusive: Function 'get_value' argument 4 names different: declaration '' definition 'len'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/input.c:127:9: style:inconclusive: Function 'get_value' argument 5 names different: declaration '' definition 'vt'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/input.c:127:26: style:inconclusive: Function 'get_value' argument 6 names different: declaration '' definition 'minv'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/input.c:127:45: style:inconclusive: Function 'get_value' argument 7 names different: declaration '' definition 'maxv'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/input.c:127:57: style:inconclusive: Function 'get_value' argument 8 names different: declaration '' definition 'helpmsg'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/input.c:283:16: style:inconclusive: Function 'get_pass' argument 1 names different: declaration '' definition 'value'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/input.c:283:27: style:inconclusive: Function 'get_pass' argument 2 names different: declaration '' definition 'row'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/input.c:283:36: style:inconclusive: Function 'get_pass' argument 3 names different: declaration '' definition 'col'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/input.c:283:45: style:inconclusive: Function 'get_pass' argument 4 names different: declaration '' definition 'len'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/input.c:322:12: style:inconclusive: Function 'yes_no' argument 1 names different: declaration '' definition 'brow'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/input.c:322:22: style:inconclusive: Function 'yes_no' argument 2 names different: declaration '' definition 'bcol'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/input.c:330:12: style:inconclusive: Function 'on_off' argument 1 names different: declaration '' definition 'brow'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/input.c:330:22: style:inconclusive: Function 'on_off' argument 2 names different: declaration '' definition 'bcol'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/input.c:337:21: style:inconclusive: Function 'menu_choose' argument 1 names different: declaration '' definition 'brow'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/input.c:337:31: style:inconclusive: Function 'menu_choose' argument 2 names different: declaration '' definition 'bcol'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/input.c:337:44: style:inconclusive: Function 'menu_choose' argument 3 names different: declaration '' definition 'names'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/input.c:337:64: style:inconclusive: Function 'menu_choose' argument 4 names different: declaration '' definition 'num'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/input.c:434:18: style:inconclusive: Function 'wait_key' argument 1 names different: declaration '' definition 'tval'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/input.c:344:20: style: Local variable 'main_sub' shadows outer variable [shadowVariable] ap-utils-1.5/lib/input.c:30:16: note: Shadowed declaration ap-utils-1.5/lib/input.c:344:20: note: Shadow variable ap-utils-1.5/lib/input.c:88:14: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] ap-utils-1.5/lib/input.c:87:19: note: Assuming that condition 'i<32' is not redundant ap-utils-1.5/lib/input.c:88:14: note: Shift ap-utils-1.5/lib/menu.c:31:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ITEM [valueFlowBailoutIncompleteVar] ap-utils-1.5/lib/menu.c:37:2: warning: If memory allocation fails, then there is a possible null pointer dereference: menu_item [nullPointerOutOfMemory] ap-utils-1.5/lib/menu.c:31:30: note: Assuming allocation function fails ap-utils-1.5/lib/menu.c:31:30: note: Assignment 'menu_item=calloc(num+1,sizeof(ITEM))', assigned value is 0 ap-utils-1.5/lib/menu.c:37:2: note: Null pointer dereference ap-utils-1.5/lib/oui.c:25:30: style:inconclusive: Function 'oui2manufacturer' argument 1 names different: declaration '' definition 'mac'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/oui.c:25:30: style: Parameter 'mac' can be declared as pointer to const [constParameterPointer] ap-utils-1.5/lib/radio.c:302:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_NORMAL [valueFlowBailoutIncompleteVar] ap-utils-1.5/lib/radio.c:291:7: error: Using pointer to local variable 'antenna_hw' that is out of scope. [invalidLifetime] ap-utils-1.5/lib/radio.c:288:33: note: Address of variable taken here. ap-utils-1.5/lib/radio.c:286:19: note: Variable created here. ap-utils-1.5/lib/radio.c:291:7: note: Using pointer to local variable 'antenna_hw' that is out of scope. ap-utils-1.5/lib/radio.c:292:7: error: Using pointer to local variable 'antenna_hw' that is out of scope. [invalidLifetime] ap-utils-1.5/lib/radio.c:288:33: note: Address of variable taken here. ap-utils-1.5/lib/radio.c:286:19: note: Variable created here. ap-utils-1.5/lib/radio.c:292:7: note: Using pointer to local variable 'antenna_hw' that is out of scope. ap-utils-1.5/lib/radio.c:298:15: error: Using pointer to local variable 'antenna_hw' that is out of scope. [invalidLifetime] ap-utils-1.5/lib/radio.c:288:33: note: Address of variable taken here. ap-utils-1.5/lib/radio.c:286:19: note: Variable created here. ap-utils-1.5/lib/radio.c:298:15: note: Using pointer to local variable 'antenna_hw' that is out of scope. ap-utils-1.5/lib/radio.c:126:2: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/radio.c:66:6: style: struct member 'twobytes_antenna_struct::reserv1' is never used. [unusedStructMember] ap-utils-1.5/lib/radio.c:69:6: style: struct member 'twobytes_antenna_struct::reserv2' is never used. [unusedStructMember] ap-utils-1.5/lib/radio.c:75:6: style: struct member 'onebyte_antenna_struct::reserv' is never used. [unusedStructMember] ap-utils-1.5/lib/scr.c:116:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLS [valueFlowBailoutIncompleteVar] ap-utils-1.5/lib/scr.c:131:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BOLD [valueFlowBailoutIncompleteVar] ap-utils-1.5/lib/scr.c:138:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BOLD [valueFlowBailoutIncompleteVar] ap-utils-1.5/lib/scr.c:160:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLS [valueFlowBailoutIncompleteVar] ap-utils-1.5/lib/scr.c:172:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLS [valueFlowBailoutIncompleteVar] ap-utils-1.5/lib/scr.c:207:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINES [valueFlowBailoutIncompleteVar] ap-utils-1.5/lib/scr.c:215:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLS [valueFlowBailoutIncompleteVar] ap-utils-1.5/lib/scr.c:48:6: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/scr.c:48:6: warning: %u in format string (no. 8) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/scr.c:48:6: warning: %u in format string (no. 9) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/scr.c:81:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/scr.c:92:6: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/scr.c:101:6: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/scr.c:33:33: style:inconclusive: Function 'scroll_rows' argument 1 names different: declaration '' definition 'first'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/scr.c:33:44: style:inconclusive: Function 'scroll_rows' argument 2 names different: declaration '' definition 'begin'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/scr.c:33:55: style:inconclusive: Function 'scroll_rows' argument 3 names different: declaration '' definition 'end'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/scr.c:33:64: style:inconclusive: Function 'scroll_rows' argument 4 names different: declaration '' definition 'row'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/scr.c:34:10: style:inconclusive: Function 'scroll_rows' argument 5 names different: declaration '' definition 'stat'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/scr.c:114:23: style:inconclusive: Function 'print_help' argument 1 names different: declaration '' definition 'mess'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/scr.c:129:26: style:inconclusive: Function 'print_helperr' argument 1 names different: declaration '' definition 'mess'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/scr.c:136:25: style:inconclusive: Function 'print_bold' argument 1 names different: declaration '' definition 'wptr'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/scr.c:136:37: style:inconclusive: Function 'print_bold' argument 2 names different: declaration '' definition 'mess'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/scr.c:144:24: style:inconclusive: Function 'print_menusel' argument 1 names different: declaration '' definition 'y'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/scr.c:144:31: style:inconclusive: Function 'print_menusel' argument 2 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/scr.c:144:40: style:inconclusive: Function 'print_menusel' argument 3 names different: declaration '' definition 'mess1'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/scr.c:144:53: style:inconclusive: Function 'print_menusel' argument 4 names different: declaration '' definition 'mess2'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/scr.c:150:25: style:inconclusive: Function 'print_bottom' argument 1 names different: declaration '' definition 'mess'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/scr.c:167:22: style:inconclusive: Function 'print_top' argument 1 names different: declaration '' definition 'title_left'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/scr.c:167:40: style:inconclusive: Function 'print_top' argument 2 names different: declaration '' definition 'title_right'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/scr.c:187:27: style:inconclusive: Function 'print_top_rssi' argument 1 names different: declaration '' definition 'message_r'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/scr.c:205:21: style:inconclusive: Function 'clear_main' argument 1 names different: declaration '' definition 'm'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/scr.c:210:25: style:inconclusive: Function 'clear_main_new' argument 1 names different: declaration '' definition 'm'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/scr.c:210:32: style:inconclusive: Function 'clear_main_new' argument 2 names different: declaration '' definition 'n'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/scr.c:220:19: style:inconclusive: Function 'conv_rssi' argument 1 names different: declaration '' definition 'raw_rssi'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/scr.c:154:18: style: Local variable 'ap_type' shadows outer variable [shadowVariable] ap-utils-1.5/lib/scr.c:28:14: note: Shadowed declaration ap-utils-1.5/lib/scr.c:154:18: note: Shadow variable ap-utils-1.5/lib/scr.c:154:27: style: Local variable 'ap_vendorext' shadows outer variable [shadowVariable] ap-utils-1.5/lib/scr.c:28:23: note: Shadowed declaration ap-utils-1.5/lib/scr.c:154:27: note: Shadow variable ap-utils-1.5/lib/scr.c:37:25: style: Variable 'curr' can be declared as pointer to const [constVariablePointer] ap-utils-1.5/lib/scr.c:150:25: style: Parameter 'mess' can be declared as pointer to const [constParameterPointer] ap-utils-1.5/lib/set_community.c:143:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_NORMAL [valueFlowBailoutIncompleteVar] ap-utils-1.5/lib/set_oeminfo.c:99:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BOLD [valueFlowBailoutIncompleteVar] ap-utils-1.5/lib/set_oeminfo.c:206:5: portability: %d in format string (no. 3) requires 'int' but the argument type is 'uint32_t {aka unsigned int}'. [invalidPrintfArgType_sint] ap-utils-1.5/lib/set_oeminfo.c:234:2: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'char'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/set_oeminfo.c:234:2: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/set_oeminfo.c:243:2: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/set_oeminfo.c:295:7: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'char'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/set_oeminfo.c:305:3: portability: %d in format string (no. 2) requires 'int' but the argument type is 'uint32_t {aka unsigned int}'. [invalidPrintfArgType_sint] ap-utils-1.5/lib/set_oeminfo.c:316:7: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'char'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/set_oeminfo.c:316:7: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/set_oeminfo.c:370:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'char'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/set_oeminfo.c:370:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/set_oeminfo.c:297:7: warning: If memory allocation fails, then there is a possible null pointer dereference: regdoms [nullPointerOutOfMemory] ap-utils-1.5/lib/set_oeminfo.c:292:19: note: Assuming allocation function fails ap-utils-1.5/lib/set_oeminfo.c:292:19: note: Assignment 'regdoms=malloc(i*sizeof(char*))', assigned value is 0 ap-utils-1.5/lib/set_oeminfo.c:297:7: note: Null pointer dereference ap-utils-1.5/lib/set_oeminfo.c:299:14: warning: If memory allocation fails, then there is a possible null pointer dereference: regdoms [nullPointerOutOfMemory] ap-utils-1.5/lib/set_oeminfo.c:292:19: note: Assuming allocation function fails ap-utils-1.5/lib/set_oeminfo.c:292:19: note: Assignment 'regdoms=malloc(i*sizeof(char*))', assigned value is 0 ap-utils-1.5/lib/set_oeminfo.c:299:14: note: Null pointer dereference ap-utils-1.5/lib/set_oeminfo.c:310:12: warning: If memory allocation fails, then there is a possible null pointer dereference: regdoms [nullPointerOutOfMemory] ap-utils-1.5/lib/set_oeminfo.c:292:19: note: Assuming allocation function fails ap-utils-1.5/lib/set_oeminfo.c:292:19: note: Assignment 'regdoms=malloc(i*sizeof(char*))', assigned value is 0 ap-utils-1.5/lib/set_oeminfo.c:310:12: note: Null pointer dereference ap-utils-1.5/lib/set_oeminfo.c:87:11: style: Variable 'PID_VID' can be declared as pointer to const [constVariablePointer] ap-utils-1.5/lib/set_oeminfo.c:89:15: style: Variable 'sysOID' can be declared as pointer to const [constVariablePointer] ap-utils-1.5/lib/set_oeminfo.c:380:26: portability: '(void*)TxPower' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] ap-utils-1.5/lib/snmp.c:51:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] ap-utils-1.5/lib/snmp.c:126:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] ap-utils-1.5/lib/snmp.c:184:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] ap-utils-1.5/lib/snmp.c:81:15: style:inconclusive: Function 'ber' argument 1 names different: declaration '' definition 'message'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/snmp.c:81:34: style:inconclusive: Function 'ber' argument 2 names different: declaration '' definition 'varbindlist'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/snmp.c:81:51: style:inconclusive: Function 'ber' argument 3 names different: declaration '' definition 'num'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/snmp.c:81:60: style:inconclusive: Function 'ber' argument 4 names different: declaration '' definition 'type'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/snmp.c:163:20: style:inconclusive: Function 'snmp' argument 1 names different: declaration '' definition 'varbindlist'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/snmp.c:163:37: style:inconclusive: Function 'snmp' argument 2 names different: declaration '' definition 'num'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/snmp.c:163:46: style:inconclusive: Function 'snmp' argument 3 names different: declaration '' definition 'type'. [funcArgNamesDifferentUnnamed] ap-utils-1.5/lib/snmp.c:81:34: style: Parameter 'varbindlist' can be declared as pointer to const [constParameterPointer] ap-utils-1.5/lib/snmp.c:84:34: style: Variable 'list' can be declared as pointer to const [constVariablePointer] ap-utils-1.5/lib/snmp.c:87:10: style: Variable 'snmp_ver' can be declared as const array [constVariable] ap-utils-1.5/lib/snmp.c:138:24: warning: Uninitialized variable: list [uninitvar] ap-utils-1.5/lib/snmp.c:84:41: note: Assignment 'list=pdu1', assigned value is ap-utils-1.5/lib/snmp.c:91:19: note: Assuming condition is false ap-utils-1.5/lib/snmp.c:138:24: note: Uninitialized variable: list ap-utils-1.5/lib/stat.c:480:2: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/stat.c:480:2: warning: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/stat.c:483:2: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/stat.c:486:2: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/stat.c:486:2: warning: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/stat.c:489:2: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/stat.c:489:2: warning: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/stat.c:492:2: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/stat.c:492:2: warning: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/stat.c:495:2: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/stat.c:498:2: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/stat.c:498:2: warning: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/stat.c:501:2: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/stat.c:504:2: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/stat.c:507:2: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/stat.c:507:2: warning: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/stat.c:96:13: warning: If memory allocation fails, then there is a possible null pointer dereference: EthRxStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:94:38: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:94:3: note: Assignment 'EthRxStat=(struct EthRxStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:96:13: note: Null pointer dereference ap-utils-1.5/lib/stat.c:109:13: warning: If memory allocation fails, then there is a possible null pointer dereference: EthTxStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:107:38: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:107:3: note: Assignment 'EthTxStat=(struct EthTxStatistics_s*)malloc(varbinds[1].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:109:13: note: Null pointer dereference ap-utils-1.5/lib/stat.c:119:3: warning: If memory allocation fails, then there is a possible null pointer dereference: EthTxStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:107:38: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:107:3: note: Assignment 'EthTxStat=(struct EthTxStatistics_s*)malloc(varbinds[1].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:119:3: note: Null pointer dereference ap-utils-1.5/lib/stat.c:123:3: warning: If memory allocation fails, then there is a possible null pointer dereference: EthTxStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:107:38: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:107:3: note: Assignment 'EthTxStat=(struct EthTxStatistics_s*)malloc(varbinds[1].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:123:3: note: Null pointer dereference ap-utils-1.5/lib/stat.c:127:3: warning: If memory allocation fails, then there is a possible null pointer dereference: EthTxStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:107:38: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:107:3: note: Assignment 'EthTxStat=(struct EthTxStatistics_s*)malloc(varbinds[1].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:127:3: note: Null pointer dereference ap-utils-1.5/lib/stat.c:135:3: warning: If memory allocation fails, then there is a possible null pointer dereference: EthTxStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:107:38: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:107:3: note: Assignment 'EthTxStat=(struct EthTxStatistics_s*)malloc(varbinds[1].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:135:3: note: Null pointer dereference ap-utils-1.5/lib/stat.c:139:3: warning: If memory allocation fails, then there is a possible null pointer dereference: EthTxStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:107:38: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:107:3: note: Assignment 'EthTxStat=(struct EthTxStatistics_s*)malloc(varbinds[1].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:139:3: note: Null pointer dereference ap-utils-1.5/lib/stat.c:144:3: warning: If memory allocation fails, then there is a possible null pointer dereference: EthTxStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:107:38: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:107:3: note: Assignment 'EthTxStat=(struct EthTxStatistics_s*)malloc(varbinds[1].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:144:3: note: Null pointer dereference ap-utils-1.5/lib/stat.c:148:3: warning: If memory allocation fails, then there is a possible null pointer dereference: EthTxStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:107:38: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:107:3: note: Assignment 'EthTxStat=(struct EthTxStatistics_s*)malloc(varbinds[1].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:148:3: note: Null pointer dereference ap-utils-1.5/lib/stat.c:153:3: warning: If memory allocation fails, then there is a possible null pointer dereference: EthTxStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:107:38: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:107:3: note: Assignment 'EthTxStat=(struct EthTxStatistics_s*)malloc(varbinds[1].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:153:3: note: Null pointer dereference ap-utils-1.5/lib/stat.c:157:3: warning: If memory allocation fails, then there is a possible null pointer dereference: EthTxStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:107:38: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:107:3: note: Assignment 'EthTxStat=(struct EthTxStatistics_s*)malloc(varbinds[1].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:157:3: note: Null pointer dereference ap-utils-1.5/lib/stat.c:164:3: warning: If memory allocation fails, then there is a possible null pointer dereference: EthTxStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:107:38: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:107:3: note: Assignment 'EthTxStat=(struct EthTxStatistics_s*)malloc(varbinds[1].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:164:3: note: Null pointer dereference ap-utils-1.5/lib/stat.c:168:3: warning: If memory allocation fails, then there is a possible null pointer dereference: EthTxStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:107:38: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:107:3: note: Assignment 'EthTxStat=(struct EthTxStatistics_s*)malloc(varbinds[1].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:168:3: note: Null pointer dereference ap-utils-1.5/lib/stat.c:172:3: warning: If memory allocation fails, then there is a possible null pointer dereference: EthTxStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:107:38: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:107:3: note: Assignment 'EthTxStat=(struct EthTxStatistics_s*)malloc(varbinds[1].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:172:3: note: Null pointer dereference ap-utils-1.5/lib/stat.c:176:3: warning: If memory allocation fails, then there is a possible null pointer dereference: EthTxStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:107:38: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:107:3: note: Assignment 'EthTxStat=(struct EthTxStatistics_s*)malloc(varbinds[1].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:176:3: note: Null pointer dereference ap-utils-1.5/lib/stat.c:180:3: warning: If memory allocation fails, then there is a possible null pointer dereference: EthTxStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:107:38: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:107:3: note: Assignment 'EthTxStat=(struct EthTxStatistics_s*)malloc(varbinds[1].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:180:3: note: Null pointer dereference ap-utils-1.5/lib/stat.c:267:13: warning: If memory allocation fails, then there is a possible null pointer dereference: WirelessStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:266:41: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:266:3: note: Assignment 'WirelessStat=(struct wirelessStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:267:13: note: Null pointer dereference ap-utils-1.5/lib/stat.c:277:3: warning: If memory allocation fails, then there is a possible null pointer dereference: WirelessStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:266:41: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:266:3: note: Assignment 'WirelessStat=(struct wirelessStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:277:3: note: Null pointer dereference ap-utils-1.5/lib/stat.c:278:3: warning: If memory allocation fails, then there is a possible null pointer dereference: WirelessStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:266:41: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:266:3: note: Assignment 'WirelessStat=(struct wirelessStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:278:3: note: Null pointer dereference ap-utils-1.5/lib/stat.c:282:3: warning: If memory allocation fails, then there is a possible null pointer dereference: WirelessStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:266:41: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:266:3: note: Assignment 'WirelessStat=(struct wirelessStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:282:3: note: Null pointer dereference ap-utils-1.5/lib/stat.c:283:3: warning: If memory allocation fails, then there is a possible null pointer dereference: WirelessStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:266:41: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:266:3: note: Assignment 'WirelessStat=(struct wirelessStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:283:3: note: Null pointer dereference ap-utils-1.5/lib/stat.c:287:3: warning: If memory allocation fails, then there is a possible null pointer dereference: WirelessStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:266:41: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:266:3: note: Assignment 'WirelessStat=(struct wirelessStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:287:3: note: Null pointer dereference ap-utils-1.5/lib/stat.c:288:3: warning: If memory allocation fails, then there is a possible null pointer dereference: WirelessStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:266:41: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:266:3: note: Assignment 'WirelessStat=(struct wirelessStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:288:3: note: Null pointer dereference ap-utils-1.5/lib/stat.c:292:3: warning: If memory allocation fails, then there is a possible null pointer dereference: WirelessStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:266:41: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:266:3: note: Assignment 'WirelessStat=(struct wirelessStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:292:3: note: Null pointer dereference ap-utils-1.5/lib/stat.c:293:3: warning: If memory allocation fails, then there is a possible null pointer dereference: WirelessStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:266:41: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:266:3: note: Assignment 'WirelessStat=(struct wirelessStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:293:3: note: Null pointer dereference ap-utils-1.5/lib/stat.c:297:3: warning: If memory allocation fails, then there is a possible null pointer dereference: WirelessStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:266:41: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:266:3: note: Assignment 'WirelessStat=(struct wirelessStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:297:3: note: Null pointer dereference ap-utils-1.5/lib/stat.c:298:3: warning: If memory allocation fails, then there is a possible null pointer dereference: WirelessStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:266:41: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:266:3: note: Assignment 'WirelessStat=(struct wirelessStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:298:3: note: Null pointer dereference ap-utils-1.5/lib/stat.c:302:3: warning: If memory allocation fails, then there is a possible null pointer dereference: WirelessStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:266:41: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:266:3: note: Assignment 'WirelessStat=(struct wirelessStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:302:3: note: Null pointer dereference ap-utils-1.5/lib/stat.c:303:3: warning: If memory allocation fails, then there is a possible null pointer dereference: WirelessStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:266:41: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:266:3: note: Assignment 'WirelessStat=(struct wirelessStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:303:3: note: Null pointer dereference ap-utils-1.5/lib/stat.c:307:3: warning: If memory allocation fails, then there is a possible null pointer dereference: WirelessStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:266:41: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:266:3: note: Assignment 'WirelessStat=(struct wirelessStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:307:3: note: Null pointer dereference ap-utils-1.5/lib/stat.c:308:3: warning: If memory allocation fails, then there is a possible null pointer dereference: WirelessStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:266:41: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:266:3: note: Assignment 'WirelessStat=(struct wirelessStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:308:3: note: Null pointer dereference ap-utils-1.5/lib/stat.c:311:3: warning: If memory allocation fails, then there is a possible null pointer dereference: WirelessStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:266:41: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:266:3: note: Assignment 'WirelessStat=(struct wirelessStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:311:3: note: Null pointer dereference ap-utils-1.5/lib/stat.c:314:3: warning: If memory allocation fails, then there is a possible null pointer dereference: WirelessStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:266:41: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:266:3: note: Assignment 'WirelessStat=(struct wirelessStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:314:3: note: Null pointer dereference ap-utils-1.5/lib/stat.c:317:3: warning: If memory allocation fails, then there is a possible null pointer dereference: WirelessStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:266:41: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:266:3: note: Assignment 'WirelessStat=(struct wirelessStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:317:3: note: Null pointer dereference ap-utils-1.5/lib/stat.c:320:3: warning: If memory allocation fails, then there is a possible null pointer dereference: WirelessStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:266:41: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:266:3: note: Assignment 'WirelessStat=(struct wirelessStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:320:3: note: Null pointer dereference ap-utils-1.5/lib/stat.c:323:3: warning: If memory allocation fails, then there is a possible null pointer dereference: WirelessStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:266:41: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:266:3: note: Assignment 'WirelessStat=(struct wirelessStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:323:3: note: Null pointer dereference ap-utils-1.5/lib/stat.c:326:3: warning: If memory allocation fails, then there is a possible null pointer dereference: WirelessStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:266:41: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:266:3: note: Assignment 'WirelessStat=(struct wirelessStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:326:3: note: Null pointer dereference ap-utils-1.5/lib/stat.c:329:3: warning: If memory allocation fails, then there is a possible null pointer dereference: WirelessStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:266:41: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:266:3: note: Assignment 'WirelessStat=(struct wirelessStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:329:3: note: Null pointer dereference ap-utils-1.5/lib/stat.c:332:3: warning: If memory allocation fails, then there is a possible null pointer dereference: WirelessStat [nullPointerOutOfMemory] ap-utils-1.5/lib/stat.c:266:41: note: Assuming allocation function fails ap-utils-1.5/lib/stat.c:266:3: note: Assignment 'WirelessStat=(struct wirelessStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/lib/stat.c:332:3: note: Null pointer dereference ap-utils-1.5/lib/sysinfo.c:463:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINES [valueFlowBailoutIncompleteVar] ap-utils-1.5/lib/sysinfo.c:200:2: portability: %d in format string (no. 2) requires 'int' but the argument type is 'uint32_t {aka unsigned int}'. [invalidPrintfArgType_sint] ap-utils-1.5/lib/sysinfo.c:488:2: portability: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/sysinfo.c:488:2: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/sysinfo.c:488:2: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/sysinfo.c:488:2: warning: %u in format string (no. 4) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/sysinfo.c:376:34: error: Expression 'main_sub,3,i+20,*(varbinds[4].value+i++)' depends on order of evaluation of side effects [unknownEvaluationOrder] ap-utils-1.5/lib/sysinfo.c:381:34: error: Expression 'main_sub,4,i+20,*(varbinds[1].value+i++)' depends on order of evaluation of side effects [unknownEvaluationOrder] ap-utils-1.5/lib/sysinfo.c:393:34: error: Expression 'main_sub,6,i+20,*(varbinds[5].value+i++)' depends on order of evaluation of side effects [unknownEvaluationOrder] ap-utils-1.5/lib/sysinfo.c:399:34: error: Expression 'main_sub,7,i+20,*(varbinds[2].value+i++)' depends on order of evaluation of side effects [unknownEvaluationOrder] ap-utils-1.5/lib/sysinfo.c:405:34: error: Expression 'main_sub,8,i+20,*(varbinds[6].value+i++)' depends on order of evaluation of side effects [unknownEvaluationOrder] ap-utils-1.5/lib/sysinfo.c:54:7: style: Local variable 'bridge_modes' shadows outer variable [shadowVariable] ap-utils-1.5/lib/sysinfo.c:35:14: note: Shadowed declaration ap-utils-1.5/lib/sysinfo.c:54:7: note: Shadow variable ap-utils-1.5/lib/sysinfo.c:54:7: style: Variable 'bridge_modes' can be declared as const array [constVariable] ap-utils-1.5/lib/sysinfo.c:311:11: style: Variable 'types' can be declared as const array [constVariable] ap-utils-1.5/lib/sysinfo.c:313:11: style: Variable 'temp' can be declared as const array [constVariable] ap-utils-1.5/lib/sysinfo.c:316:9: style: Variable 'diversity' can be declared as const array [constVariable] ap-utils-1.5/lib/test.c:109:5: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/test.c:223:6: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/test.c:191:14: warning: If memory allocation fails, then there is a possible null pointer dereference: teststat [nullPointerOutOfMemory] ap-utils-1.5/lib/test.c:189:40: note: Assuming allocation function fails ap-utils-1.5/lib/test.c:189:4: note: Assignment 'teststat=(struct TestModeStatistics*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/lib/test.c:191:14: note: Null pointer dereference ap-utils-1.5/lib/test.c:196:8: warning: If memory allocation fails, then there is a possible null pointer dereference: teststat [nullPointerOutOfMemory] ap-utils-1.5/lib/test.c:189:40: note: Assuming allocation function fails ap-utils-1.5/lib/test.c:189:4: note: Assignment 'teststat=(struct TestModeStatistics*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/lib/test.c:196:8: note: Null pointer dereference ap-utils-1.5/lib/test.c:197:8: warning: If memory allocation fails, then there is a possible null pointer dereference: teststat [nullPointerOutOfMemory] ap-utils-1.5/lib/test.c:189:40: note: Assuming allocation function fails ap-utils-1.5/lib/test.c:189:4: note: Assignment 'teststat=(struct TestModeStatistics*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/lib/test.c:197:8: note: Null pointer dereference ap-utils-1.5/lib/test.c:83:2: style:inconclusive: Statements following 'goto' will never be executed. [unreachableCode] ap-utils-1.5/lib/test.c:47:16: style: struct member 'TestModeCommandStruct_ATMEL410::Res1' is never used. [unusedStructMember] ap-utils-1.5/lib/test.c:48:16: style: struct member 'TestModeCommandStruct_ATMEL410::Res2' is never used. [unusedStructMember] ap-utils-1.5/lib/wep.c:101:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINES [valueFlowBailoutIncompleteVar] ap-utils-1.5/lib/wep.c:183:2: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] ap-utils-1.5/lib/wep.c:411:2: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] ap-utils-1.5/lib/wep.c:218:9: style: Local variable 'wep' shadows outer function [shadowFunction] ap-utils-1.5/lib/ap-utils.h:425:13: note: Shadowed declaration ap-utils-1.5/lib/wep.c:218:9: note: Shadow variable ap-utils-1.5/lib/wlan.c:560:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_NORMAL [valueFlowBailoutIncompleteVar] ap-utils-1.5/lib/wlan.c:1079:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_NORMAL [valueFlowBailoutIncompleteVar] ap-utils-1.5/lib/wlan.c:241:5: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'char'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/wlan.c:241:5: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/wlan.c:323:6: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'char'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/wlan.c:323:6: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/wlan.c:670:5: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'char'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/wlan.c:670:5: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/wlan.c:858:6: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'char'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/wlan.c:858:6: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ap-utils-1.5/lib/wlan.c:126:11: style: Variable '__rates' can be declared as const array [constVariable] ap-utils-1.5/lib/wlan.c:628:11: style: Variable '__rates' can be declared as const array [constVariable] ap-utils-1.5/src/ap-auth.c:56:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] ap-utils-1.5/src/ap-auth.c:177:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable oid [valueFlowBailoutIncompleteVar] ap-utils-1.5/src/ap-auth.c:136:44: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] ap-utils-1.5/src/ap-auth.c:144:14: warning: If memory allocation fails, then there is a possible null pointer dereference: community [nullPointerOutOfMemory] ap-utils-1.5/src/ap-auth.c:143:24: note: Assuming allocation function fails ap-utils-1.5/src/ap-auth.c:143:24: note: Assignment 'community=malloc(strlen(optarg)+1)', assigned value is 0 ap-utils-1.5/src/ap-auth.c:144:14: note: Null pointer dereference ap-utils-1.5/src/ap-auth.c:148:14: warning: If memory allocation fails, then there is a possible null pointer dereference: filename [nullPointerOutOfMemory] ap-utils-1.5/src/ap-auth.c:147:23: note: Assuming allocation function fails ap-utils-1.5/src/ap-auth.c:147:23: note: Assignment 'filename=malloc(strlen(optarg)+1)', assigned value is 0 ap-utils-1.5/src/ap-auth.c:148:14: note: Null pointer dereference ap-utils-1.5/src/ap-auth.c:153:14: warning: If memory allocation fails, then there is a possible null pointer dereference: filename [nullPointerOutOfMemory] ap-utils-1.5/src/ap-auth.c:152:23: note: Assuming allocation function fails ap-utils-1.5/src/ap-auth.c:152:23: note: Assignment 'filename=malloc(strlen(optarg)+1)', assigned value is 0 ap-utils-1.5/src/ap-auth.c:153:14: note: Null pointer dereference ap-utils-1.5/src/ap-auth.c:250:10: warning: If memory allocation fails, then there is a possible null pointer dereference: AuthMac [nullPointerOutOfMemory] ap-utils-1.5/src/ap-auth.c:248:49: note: Assuming allocation function fails ap-utils-1.5/src/ap-auth.c:248:7: note: Assignment 'AuthMac=(struct AuthorizedMacTableString*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/src/ap-auth.c:250:10: note: Null pointer dereference ap-utils-1.5/src/ap-auth.c:257:13: warning: If memory allocation fails, then there is a possible null pointer dereference: AuthMac [nullPointerOutOfMemory] ap-utils-1.5/src/ap-auth.c:248:49: note: Assuming allocation function fails ap-utils-1.5/src/ap-auth.c:248:7: note: Assignment 'AuthMac=(struct AuthorizedMacTableString*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/src/ap-auth.c:257:13: note: Null pointer dereference ap-utils-1.5/src/ap-auth.c:259:11: warning: If memory allocation fails, then there is a possible null pointer dereference: AuthMac [nullPointerOutOfMemory] ap-utils-1.5/src/ap-auth.c:248:49: note: Assuming allocation function fails ap-utils-1.5/src/ap-auth.c:248:7: note: Assignment 'AuthMac=(struct AuthorizedMacTableString*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/src/ap-auth.c:259:11: note: Null pointer dereference ap-utils-1.5/src/ap-auth.c:260:17: warning: If memory allocation fails, then there is a possible null pointer dereference: AuthMac [nullPointerOutOfMemory] ap-utils-1.5/src/ap-auth.c:248:49: note: Assuming allocation function fails ap-utils-1.5/src/ap-auth.c:248:7: note: Assignment 'AuthMac=(struct AuthorizedMacTableString*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/src/ap-auth.c:260:17: note: Null pointer dereference ap-utils-1.5/src/ap-auth.c:272:10: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] ap-utils-1.5/src/ap-auth.c:265:17: note: Assuming allocation function fails ap-utils-1.5/src/ap-auth.c:264:15: note: Assignment 'first=(struct MacListStat*)malloc(sizeof(struct MacListStat))', assigned value is 0 ap-utils-1.5/src/ap-auth.c:266:14: note: Assignment 'curr=first', assigned value is 0 ap-utils-1.5/src/ap-auth.c:272:10: note: Null pointer dereference ap-utils-1.5/src/ap-auth.c:273:3: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] ap-utils-1.5/src/ap-auth.c:265:17: note: Assuming allocation function fails ap-utils-1.5/src/ap-auth.c:264:15: note: Assignment 'first=(struct MacListStat*)malloc(sizeof(struct MacListStat))', assigned value is 0 ap-utils-1.5/src/ap-auth.c:266:14: note: Assignment 'curr=first', assigned value is 0 ap-utils-1.5/src/ap-auth.c:273:3: note: Null pointer dereference ap-utils-1.5/src/ap-auth.c:331:11: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] ap-utils-1.5/src/ap-auth.c:324:18: note: Assuming allocation function fails ap-utils-1.5/src/ap-auth.c:323:15: note: Assignment 'first=(struct MacListStat*)malloc(sizeof(struct MacListStat))', assigned value is 0 ap-utils-1.5/src/ap-auth.c:325:14: note: Assignment 'curr=first', assigned value is 0 ap-utils-1.5/src/ap-auth.c:331:11: note: Null pointer dereference ap-utils-1.5/src/ap-auth.c:332:3: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] ap-utils-1.5/src/ap-auth.c:324:18: note: Assuming allocation function fails ap-utils-1.5/src/ap-auth.c:323:15: note: Assignment 'first=(struct MacListStat*)malloc(sizeof(struct MacListStat))', assigned value is 0 ap-utils-1.5/src/ap-auth.c:325:14: note: Assignment 'curr=first', assigned value is 0 ap-utils-1.5/src/ap-auth.c:332:3: note: Null pointer dereference ap-utils-1.5/src/ap-auth.c:70:45: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] ap-utils-1.5/src/ap-config.c:43:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bridging [valueFlowBailoutIncompleteVar] ap-utils-1.5/src/ap-config.c:82:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable upload [valueFlowBailoutIncompleteVar] ap-utils-1.5/src/ap-config.c:113:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EthStat [valueFlowBailoutIncompleteVar] ap-utils-1.5/src/ap-config.c:214:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLS [valueFlowBailoutIncompleteVar] ap-utils-1.5/src/ap-mrtg.c:57:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] ap-utils-1.5/src/ap-mrtg.c:178:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable oid [valueFlowBailoutIncompleteVar] ap-utils-1.5/src/ap-mrtg.c:374:11: error: Buffer is accessed out of bounds: message [bufferAccessOutOfBounds] ap-utils-1.5/src/ap-mrtg.c:130:44: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] ap-utils-1.5/src/ap-mrtg.c:144:14: warning: If memory allocation fails, then there is a possible null pointer dereference: community [nullPointerOutOfMemory] ap-utils-1.5/src/ap-mrtg.c:143:24: note: Assuming allocation function fails ap-utils-1.5/src/ap-mrtg.c:143:24: note: Assignment 'community=malloc(strlen(optarg)+1)', assigned value is 0 ap-utils-1.5/src/ap-mrtg.c:144:14: note: Null pointer dereference ap-utils-1.5/src/ap-mrtg.c:148:14: warning: If memory allocation fails, then there is a possible null pointer dereference: bssid [nullPointerOutOfMemory] ap-utils-1.5/src/ap-mrtg.c:147:20: note: Assuming allocation function fails ap-utils-1.5/src/ap-mrtg.c:147:20: note: Assignment 'bssid=malloc(strlen(optarg)+1)', assigned value is 0 ap-utils-1.5/src/ap-mrtg.c:148:14: note: Null pointer dereference ap-utils-1.5/src/ap-mrtg.c:152:14: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] ap-utils-1.5/src/ap-mrtg.c:151:19: note: Assuming allocation function fails ap-utils-1.5/src/ap-mrtg.c:151:19: note: Assignment 'name=malloc(strlen(optarg)+1)', assigned value is 0 ap-utils-1.5/src/ap-mrtg.c:152:14: note: Null pointer dereference ap-utils-1.5/src/ap-mrtg.c:258:13: warning: If memory allocation fails, then there is a possible null pointer dereference: EthRxStat [nullPointerOutOfMemory] ap-utils-1.5/src/ap-mrtg.c:256:38: note: Assuming allocation function fails ap-utils-1.5/src/ap-mrtg.c:256:3: note: Assignment 'EthRxStat=(struct EthRxStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/src/ap-mrtg.c:258:13: note: Null pointer dereference ap-utils-1.5/src/ap-mrtg.c:270:13: warning: If memory allocation fails, then there is a possible null pointer dereference: EthTxStat [nullPointerOutOfMemory] ap-utils-1.5/src/ap-mrtg.c:268:38: note: Assuming allocation function fails ap-utils-1.5/src/ap-mrtg.c:268:3: note: Assignment 'EthTxStat=(struct EthTxStatistics_s*)malloc(varbinds[1].len_val)', assigned value is 0 ap-utils-1.5/src/ap-mrtg.c:270:13: note: Null pointer dereference ap-utils-1.5/src/ap-mrtg.c:275:27: warning: Either the condition 'EthRxStat' is redundant or there is possible null pointer dereference: EthRxStat. [nullPointerRedundantCheck] ap-utils-1.5/src/ap-mrtg.c:277:6: note: Assuming that condition 'EthRxStat' is not redundant ap-utils-1.5/src/ap-mrtg.c:275:27: note: Null pointer dereference ap-utils-1.5/src/ap-mrtg.c:276:15: warning: If memory allocation fails, then there is a possible null pointer dereference: EthTxStat [nullPointerOutOfMemory] ap-utils-1.5/src/ap-mrtg.c:268:38: note: Assuming allocation function fails ap-utils-1.5/src/ap-mrtg.c:268:3: note: Assignment 'EthTxStat=(struct EthTxStatistics_s*)malloc(varbinds[1].len_val)', assigned value is 0 ap-utils-1.5/src/ap-mrtg.c:276:15: note: Null pointer dereference ap-utils-1.5/src/ap-mrtg.c:303:13: warning: If memory allocation fails, then there is a possible null pointer dereference: WirelessStat [nullPointerOutOfMemory] ap-utils-1.5/src/ap-mrtg.c:302:41: note: Assuming allocation function fails ap-utils-1.5/src/ap-mrtg.c:302:3: note: Assignment 'WirelessStat=(struct wirelessStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/src/ap-mrtg.c:303:13: note: Null pointer dereference ap-utils-1.5/src/ap-mrtg.c:309:15: warning: If memory allocation fails, then there is a possible null pointer dereference: WirelessStat [nullPointerOutOfMemory] ap-utils-1.5/src/ap-mrtg.c:302:41: note: Assuming allocation function fails ap-utils-1.5/src/ap-mrtg.c:302:3: note: Assignment 'WirelessStat=(struct wirelessStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/src/ap-mrtg.c:309:15: note: Null pointer dereference ap-utils-1.5/src/ap-mrtg.c:310:15: warning: If memory allocation fails, then there is a possible null pointer dereference: WirelessStat [nullPointerOutOfMemory] ap-utils-1.5/src/ap-mrtg.c:302:41: note: Assuming allocation function fails ap-utils-1.5/src/ap-mrtg.c:302:3: note: Assignment 'WirelessStat=(struct wirelessStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/src/ap-mrtg.c:310:15: note: Null pointer dereference ap-utils-1.5/src/ap-mrtg.c:311:15: warning: If memory allocation fails, then there is a possible null pointer dereference: WirelessStat [nullPointerOutOfMemory] ap-utils-1.5/src/ap-mrtg.c:302:41: note: Assuming allocation function fails ap-utils-1.5/src/ap-mrtg.c:302:3: note: Assignment 'WirelessStat=(struct wirelessStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/src/ap-mrtg.c:311:15: note: Null pointer dereference ap-utils-1.5/src/ap-mrtg.c:312:15: warning: If memory allocation fails, then there is a possible null pointer dereference: WirelessStat [nullPointerOutOfMemory] ap-utils-1.5/src/ap-mrtg.c:302:41: note: Assuming allocation function fails ap-utils-1.5/src/ap-mrtg.c:302:3: note: Assignment 'WirelessStat=(struct wirelessStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/src/ap-mrtg.c:312:15: note: Null pointer dereference ap-utils-1.5/src/ap-mrtg.c:313:15: warning: If memory allocation fails, then there is a possible null pointer dereference: WirelessStat [nullPointerOutOfMemory] ap-utils-1.5/src/ap-mrtg.c:302:41: note: Assuming allocation function fails ap-utils-1.5/src/ap-mrtg.c:302:3: note: Assignment 'WirelessStat=(struct wirelessStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/src/ap-mrtg.c:313:15: note: Null pointer dereference ap-utils-1.5/src/ap-mrtg.c:314:15: warning: If memory allocation fails, then there is a possible null pointer dereference: WirelessStat [nullPointerOutOfMemory] ap-utils-1.5/src/ap-mrtg.c:302:41: note: Assuming allocation function fails ap-utils-1.5/src/ap-mrtg.c:302:3: note: Assignment 'WirelessStat=(struct wirelessStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/src/ap-mrtg.c:314:15: note: Null pointer dereference ap-utils-1.5/src/ap-mrtg.c:370:13: warning: If memory allocation fails, then there is a possible null pointer dereference: app [nullPointerOutOfMemory] ap-utils-1.5/src/ap-mrtg.c:369:32: note: Assuming allocation function fails ap-utils-1.5/src/ap-mrtg.c:369:12: note: Assignment 'app=(struct ap*)malloc(48)', assigned value is 0 ap-utils-1.5/src/ap-mrtg.c:370:13: note: Null pointer dereference ap-utils-1.5/src/ap-mrtg.c:371:11: warning: If memory allocation fails, then there is a possible null pointer dereference: app [nullPointerOutOfMemory] ap-utils-1.5/src/ap-mrtg.c:369:32: note: Assuming allocation function fails ap-utils-1.5/src/ap-mrtg.c:369:12: note: Assignment 'app=(struct ap*)malloc(48)', assigned value is 0 ap-utils-1.5/src/ap-mrtg.c:371:11: note: Null pointer dereference ap-utils-1.5/src/ap-mrtg.c:112:52: style: Variable 'ERR_STR' can be declared as pointer to const [constVariablePointer] ap-utils-1.5/src/ap-rrd.c:57:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] ap-utils-1.5/src/ap-rrd.c:200:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable oid [valueFlowBailoutIncompleteVar] ap-utils-1.5/src/ap-rrd.c:337:11: error: Buffer is accessed out of bounds: message [bufferAccessOutOfBounds] ap-utils-1.5/src/ap-rrd.c:344:2: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ap-utils-1.5/src/ap-rrd.c:142:14: warning: If memory allocation fails, then there is a possible null pointer dereference: community [nullPointerOutOfMemory] ap-utils-1.5/src/ap-rrd.c:141:24: note: Assuming allocation function fails ap-utils-1.5/src/ap-rrd.c:141:24: note: Assignment 'community=malloc(strlen(optarg)+1)', assigned value is 0 ap-utils-1.5/src/ap-rrd.c:142:14: note: Null pointer dereference ap-utils-1.5/src/ap-rrd.c:146:14: warning: If memory allocation fails, then there is a possible null pointer dereference: bssid [nullPointerOutOfMemory] ap-utils-1.5/src/ap-rrd.c:145:20: note: Assuming allocation function fails ap-utils-1.5/src/ap-rrd.c:145:20: note: Assignment 'bssid=malloc(strlen(optarg)+1)', assigned value is 0 ap-utils-1.5/src/ap-rrd.c:146:14: note: Null pointer dereference ap-utils-1.5/src/ap-rrd.c:150:14: warning: If memory allocation fails, then there is a possible null pointer dereference: rrd_file [nullPointerOutOfMemory] ap-utils-1.5/src/ap-rrd.c:149:23: note: Assuming allocation function fails ap-utils-1.5/src/ap-rrd.c:149:23: note: Assignment 'rrd_file=malloc(strlen(optarg)+1)', assigned value is 0 ap-utils-1.5/src/ap-rrd.c:150:14: note: Null pointer dereference ap-utils-1.5/src/ap-rrd.c:154:14: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] ap-utils-1.5/src/ap-rrd.c:153:19: note: Assuming allocation function fails ap-utils-1.5/src/ap-rrd.c:153:19: note: Assignment 'name=malloc(strlen(optarg)+1)', assigned value is 0 ap-utils-1.5/src/ap-rrd.c:154:14: note: Null pointer dereference ap-utils-1.5/src/ap-rrd.c:222:13: warning: If memory allocation fails, then there is a possible null pointer dereference: EthRxStat [nullPointerOutOfMemory] ap-utils-1.5/src/ap-rrd.c:220:38: note: Assuming allocation function fails ap-utils-1.5/src/ap-rrd.c:220:3: note: Assignment 'EthRxStat=(struct EthRxStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/src/ap-rrd.c:222:13: note: Null pointer dereference ap-utils-1.5/src/ap-rrd.c:234:13: warning: If memory allocation fails, then there is a possible null pointer dereference: EthTxStat [nullPointerOutOfMemory] ap-utils-1.5/src/ap-rrd.c:232:38: note: Assuming allocation function fails ap-utils-1.5/src/ap-rrd.c:232:3: note: Assignment 'EthTxStat=(struct EthTxStatistics_s*)malloc(varbinds[1].len_val)', assigned value is 0 ap-utils-1.5/src/ap-rrd.c:234:13: note: Null pointer dereference ap-utils-1.5/src/ap-rrd.c:239:60: warning: Either the condition 'EthRxStat' is redundant or there is possible null pointer dereference: EthRxStat. [nullPointerRedundantCheck] ap-utils-1.5/src/ap-rrd.c:241:6: note: Assuming that condition 'EthRxStat' is not redundant ap-utils-1.5/src/ap-rrd.c:239:60: note: Null pointer dereference ap-utils-1.5/src/ap-rrd.c:239:92: warning: If memory allocation fails, then there is a possible null pointer dereference: EthTxStat [nullPointerOutOfMemory] ap-utils-1.5/src/ap-rrd.c:232:38: note: Assuming allocation function fails ap-utils-1.5/src/ap-rrd.c:232:3: note: Assignment 'EthTxStat=(struct EthTxStatistics_s*)malloc(varbinds[1].len_val)', assigned value is 0 ap-utils-1.5/src/ap-rrd.c:239:92: note: Null pointer dereference ap-utils-1.5/src/ap-rrd.c:263:13: warning: If memory allocation fails, then there is a possible null pointer dereference: WirelessStat [nullPointerOutOfMemory] ap-utils-1.5/src/ap-rrd.c:262:41: note: Assuming allocation function fails ap-utils-1.5/src/ap-rrd.c:262:3: note: Assignment 'WirelessStat=(struct wirelessStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/src/ap-rrd.c:263:13: note: Null pointer dereference ap-utils-1.5/src/ap-rrd.c:269:15: warning: If memory allocation fails, then there is a possible null pointer dereference: WirelessStat [nullPointerOutOfMemory] ap-utils-1.5/src/ap-rrd.c:262:41: note: Assuming allocation function fails ap-utils-1.5/src/ap-rrd.c:262:3: note: Assignment 'WirelessStat=(struct wirelessStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/src/ap-rrd.c:269:15: note: Null pointer dereference ap-utils-1.5/src/ap-rrd.c:270:15: warning: If memory allocation fails, then there is a possible null pointer dereference: WirelessStat [nullPointerOutOfMemory] ap-utils-1.5/src/ap-rrd.c:262:41: note: Assuming allocation function fails ap-utils-1.5/src/ap-rrd.c:262:3: note: Assignment 'WirelessStat=(struct wirelessStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/src/ap-rrd.c:270:15: note: Null pointer dereference ap-utils-1.5/src/ap-rrd.c:271:15: warning: If memory allocation fails, then there is a possible null pointer dereference: WirelessStat [nullPointerOutOfMemory] ap-utils-1.5/src/ap-rrd.c:262:41: note: Assuming allocation function fails ap-utils-1.5/src/ap-rrd.c:262:3: note: Assignment 'WirelessStat=(struct wirelessStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/src/ap-rrd.c:271:15: note: Null pointer dereference ap-utils-1.5/src/ap-rrd.c:272:15: warning: If memory allocation fails, then there is a possible null pointer dereference: WirelessStat [nullPointerOutOfMemory] ap-utils-1.5/src/ap-rrd.c:262:41: note: Assuming allocation function fails ap-utils-1.5/src/ap-rrd.c:262:3: note: Assignment 'WirelessStat=(struct wirelessStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/src/ap-rrd.c:272:15: note: Null pointer dereference ap-utils-1.5/src/ap-rrd.c:273:15: warning: If memory allocation fails, then there is a possible null pointer dereference: WirelessStat [nullPointerOutOfMemory] ap-utils-1.5/src/ap-rrd.c:262:41: note: Assuming allocation function fails ap-utils-1.5/src/ap-rrd.c:262:3: note: Assignment 'WirelessStat=(struct wirelessStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/src/ap-rrd.c:273:15: note: Null pointer dereference ap-utils-1.5/src/ap-rrd.c:274:15: warning: If memory allocation fails, then there is a possible null pointer dereference: WirelessStat [nullPointerOutOfMemory] ap-utils-1.5/src/ap-rrd.c:262:41: note: Assuming allocation function fails ap-utils-1.5/src/ap-rrd.c:262:3: note: Assignment 'WirelessStat=(struct wirelessStatistics_s*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/src/ap-rrd.c:274:15: note: Null pointer dereference ap-utils-1.5/src/ap-rrd.c:333:13: warning: If memory allocation fails, then there is a possible null pointer dereference: app [nullPointerOutOfMemory] ap-utils-1.5/src/ap-rrd.c:332:32: note: Assuming allocation function fails ap-utils-1.5/src/ap-rrd.c:332:12: note: Assignment 'app=(struct ap*)malloc(48)', assigned value is 0 ap-utils-1.5/src/ap-rrd.c:333:13: note: Null pointer dereference ap-utils-1.5/src/ap-rrd.c:334:11: warning: If memory allocation fails, then there is a possible null pointer dereference: app [nullPointerOutOfMemory] ap-utils-1.5/src/ap-rrd.c:332:32: note: Assuming allocation function fails ap-utils-1.5/src/ap-rrd.c:332:12: note: Assignment 'app=(struct ap*)malloc(48)', assigned value is 0 ap-utils-1.5/src/ap-rrd.c:334:11: note: Null pointer dereference ap-utils-1.5/src/ap-tftp.c:140:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] ap-utils-1.5/src/ap-tftp.c:377:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] ap-utils-1.5/src/ap-tftp.c:377:41: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] ap-utils-1.5/src/ap-tftp.c:133:2: error: Memory leak: buf [memleak] ap-utils-1.5/src/ap-tftp.c:150:4: warning: If memory allocation fails, then there is a possible null pointer dereference: (unsigned short*)cp [nullPointerOutOfMemory] ap-utils-1.5/src/ap-tftp.c:126:23: note: Assuming allocation function fails ap-utils-1.5/src/ap-tftp.c:126:23: note: Assignment 'buf=malloc(tftp_bufsize)', assigned value is 0 ap-utils-1.5/src/ap-tftp.c:131:53: note: Assuming condition is false ap-utils-1.5/src/ap-tftp.c:146:5: note: cp is assigned 'buf' here. ap-utils-1.5/src/ap-tftp.c:150:4: note: Null pointer dereference ap-utils-1.5/src/ap-tftp.c:151:5: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] ap-utils-1.5/src/ap-tftp.c:126:23: note: Assuming allocation function fails ap-utils-1.5/src/ap-tftp.c:126:23: note: Assignment 'buf=malloc(tftp_bufsize)', assigned value is 0 ap-utils-1.5/src/ap-tftp.c:131:53: note: Assuming condition is false ap-utils-1.5/src/ap-tftp.c:146:5: note: cp is assigned 'buf' here. ap-utils-1.5/src/ap-tftp.c:151:5: note: Null pointer addition ap-utils-1.5/src/ap-tftp.c:124:11: style: Variable 'nl' can be declared as pointer to const [constVariablePointer] ap-utils-1.5/src/ap-tftp.c:345:11: style: Variable 'remotefile' can be declared as pointer to const [constVariablePointer] ap-utils-1.5/src/ap-tftp.c:527:18: style: Variable 'wp' can be declared as pointer to const [constVariablePointer] ap-utils-1.5/src/ap-trapd.c:49:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE [valueFlowBailoutIncompleteVar] ap-utils-1.5/src/ap-trapd.c:184:16: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] ap-utils-1.5/src/ap-trapd.c:136:14: warning: If memory allocation fails, then there is a possible null pointer dereference: device [nullPointerOutOfMemory] ap-utils-1.5/src/ap-trapd.c:135:21: note: Assuming allocation function fails ap-utils-1.5/src/ap-trapd.c:135:21: note: Assignment 'device=malloc(strlen(optarg)+1)', assigned value is 0 ap-utils-1.5/src/ap-trapd.c:136:14: note: Null pointer dereference ap-utils-1.5/src/ap-trapd.c:140:14: warning: If memory allocation fails, then there is a possible null pointer dereference: user [nullPointerOutOfMemory] ap-utils-1.5/src/ap-trapd.c:139:19: note: Assuming allocation function fails ap-utils-1.5/src/ap-trapd.c:139:19: note: Assignment 'user=malloc(strlen(optarg)+1)', assigned value is 0 ap-utils-1.5/src/ap-trapd.c:140:14: note: Null pointer dereference ap-utils-1.5/src/ap-trapd.c:213:9: warning: If memory allocation fails, then there is a possible null pointer dereference: community [nullPointerOutOfMemory] ap-utils-1.5/src/ap-trapd.c:212:20: note: Assuming allocation function fails ap-utils-1.5/src/ap-trapd.c:212:20: note: Assignment 'community=malloc(start[4]+1)', assigned value is 0 ap-utils-1.5/src/ap-trapd.c:213:9: note: Null pointer dereference ap-utils-1.5/src/ap-trapd.c:214:2: warning: If memory allocation fails, then there is a possible null pointer dereference: community [nullPointerOutOfMemory] ap-utils-1.5/src/ap-trapd.c:212:20: note: Assuming allocation function fails ap-utils-1.5/src/ap-trapd.c:212:20: note: Assignment 'community=malloc(start[4]+1)', assigned value is 0 ap-utils-1.5/src/ap-trapd.c:214:2: note: Null pointer dereference ap-utils-1.5/src/ap-trapd.c:230:9: warning: If memory allocation fails, then there is a possible null pointer dereference: enterprise_oid [nullPointerOutOfMemory] ap-utils-1.5/src/ap-trapd.c:229:25: note: Assuming allocation function fails ap-utils-1.5/src/ap-trapd.c:229:25: note: Assignment 'enterprise_oid=malloc(start[1]+1)', assigned value is 0 ap-utils-1.5/src/ap-trapd.c:230:9: note: Null pointer dereference ap-utils-1.5/src/ap-trapd.c:231:2: warning: If memory allocation fails, then there is a possible null pointer dereference: enterprise_oid [nullPointerOutOfMemory] ap-utils-1.5/src/ap-trapd.c:229:25: note: Assuming allocation function fails ap-utils-1.5/src/ap-trapd.c:229:25: note: Assignment 'enterprise_oid=malloc(start[1]+1)', assigned value is 0 ap-utils-1.5/src/ap-trapd.c:231:2: note: Null pointer dereference ap-utils-1.5/src/ap-trapd.c:234:13: warning: If memory allocation fails, then there is a possible null pointer dereference: enterprise_oid [nullPointerOutOfMemory] ap-utils-1.5/src/ap-trapd.c:229:25: note: Assuming allocation function fails ap-utils-1.5/src/ap-trapd.c:229:25: note: Assignment 'enterprise_oid=malloc(start[1]+1)', assigned value is 0 ap-utils-1.5/src/ap-trapd.c:234:13: note: Null pointer dereference ap-utils-1.5/src/ap-trapd.c:277:7: style: Variable 'len' is assigned a value that is never used. [unreadVariable] ap-utils-1.5/src/ap-trapd.c:280:7: style: Variable 'len' is assigned a value that is never used. [unreadVariable] ap-utils-1.5/src/ap-trapd.c:286:11: style: Variable 'len' is assigned a value that is never used. [unreadVariable] ap-utils-1.5/src/ap-trapd.c:289:11: style: Variable 'len' is assigned a value that is never used. [unreadVariable] ap-utils-1.5/src/aplink.c:96:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATMEL12350 [valueFlowBailoutIncompleteVar] ap-utils-1.5/src/aplink.c:266:6: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ap-utils-1.5/src/aplink.c:285:6: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ap-utils-1.5/src/aplink.c:285:6: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ap-utils-1.5/src/aplink.c:308:6: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ap-utils-1.5/src/aplink.c:308:6: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ap-utils-1.5/src/aplink.c:331:6: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ap-utils-1.5/src/aplink.c:331:6: portability: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] ap-utils-1.5/src/aplink.c:339:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ap-utils-1.5/src/aplink.c:339:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ap-utils-1.5/src/auth.c:145:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATMEL12350 [valueFlowBailoutIncompleteVar] ap-utils-1.5/src/auth.c:821:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WAIT_RET [valueFlowBailoutIncompleteVar] ap-utils-1.5/src/auth.c:627:3: error: Using pointer to local variable 'c' that is out of scope. [invalidLifetime] ap-utils-1.5/src/auth.c:620:32: note: Address of variable taken here. ap-utils-1.5/src/auth.c:616:7: note: Variable created here. ap-utils-1.5/src/auth.c:627:3: note: Using pointer to local variable 'c' that is out of scope. ap-utils-1.5/src/auth.c:628:3: error: Using pointer to local variable 'c' that is out of scope. [invalidLifetime] ap-utils-1.5/src/auth.c:620:32: note: Address of variable taken here. ap-utils-1.5/src/auth.c:616:7: note: Variable created here. ap-utils-1.5/src/auth.c:628:3: note: Using pointer to local variable 'c' that is out of scope. ap-utils-1.5/src/auth.c:630:3: error: Using pointer to local variable 'c' that is out of scope. [invalidLifetime] ap-utils-1.5/src/auth.c:620:32: note: Address of variable taken here. ap-utils-1.5/src/auth.c:616:7: note: Variable created here. ap-utils-1.5/src/auth.c:630:3: note: Using pointer to local variable 'c' that is out of scope. ap-utils-1.5/src/auth.c:631:3: error: Using pointer to local variable 'c' that is out of scope. [invalidLifetime] ap-utils-1.5/src/auth.c:620:32: note: Address of variable taken here. ap-utils-1.5/src/auth.c:616:7: note: Variable created here. ap-utils-1.5/src/auth.c:631:3: note: Using pointer to local variable 'c' that is out of scope. ap-utils-1.5/src/auth.c:632:3: error: Using pointer to local variable 'c' that is out of scope. [invalidLifetime] ap-utils-1.5/src/auth.c:620:32: note: Address of variable taken here. ap-utils-1.5/src/auth.c:616:7: note: Variable created here. ap-utils-1.5/src/auth.c:632:3: note: Using pointer to local variable 'c' that is out of scope. ap-utils-1.5/src/auth.c:656:3: error: Using pointer to local variable 'c' that is out of scope. [invalidLifetime] ap-utils-1.5/src/auth.c:620:32: note: Address of variable taken here. ap-utils-1.5/src/auth.c:616:7: note: Variable created here. ap-utils-1.5/src/auth.c:656:3: note: Using pointer to local variable 'c' that is out of scope. ap-utils-1.5/src/auth.c:657:3: error: Using pointer to local variable 'c' that is out of scope. [invalidLifetime] ap-utils-1.5/src/auth.c:620:32: note: Address of variable taken here. ap-utils-1.5/src/auth.c:616:7: note: Variable created here. ap-utils-1.5/src/auth.c:657:3: note: Using pointer to local variable 'c' that is out of scope. ap-utils-1.5/src/auth.c:659:3: error: Using pointer to local variable 'c' that is out of scope. [invalidLifetime] ap-utils-1.5/src/auth.c:620:32: note: Address of variable taken here. ap-utils-1.5/src/auth.c:616:7: note: Variable created here. ap-utils-1.5/src/auth.c:659:3: note: Using pointer to local variable 'c' that is out of scope. ap-utils-1.5/src/auth.c:660:3: error: Using pointer to local variable 'c' that is out of scope. [invalidLifetime] ap-utils-1.5/src/auth.c:620:32: note: Address of variable taken here. ap-utils-1.5/src/auth.c:616:7: note: Variable created here. ap-utils-1.5/src/auth.c:660:3: note: Using pointer to local variable 'c' that is out of scope. ap-utils-1.5/src/auth.c:661:3: error: Using pointer to local variable 'c' that is out of scope. [invalidLifetime] ap-utils-1.5/src/auth.c:620:32: note: Address of variable taken here. ap-utils-1.5/src/auth.c:616:7: note: Variable created here. ap-utils-1.5/src/auth.c:661:3: note: Using pointer to local variable 'c' that is out of scope. ap-utils-1.5/src/auth.c:666:3: error: Using pointer to local variable 'c' that is out of scope. [invalidLifetime] ap-utils-1.5/src/auth.c:620:32: note: Address of variable taken here. ap-utils-1.5/src/auth.c:616:7: note: Variable created here. ap-utils-1.5/src/auth.c:666:3: note: Using pointer to local variable 'c' that is out of scope. ap-utils-1.5/src/auth.c:667:3: error: Using pointer to local variable 'c' that is out of scope. [invalidLifetime] ap-utils-1.5/src/auth.c:620:32: note: Address of variable taken here. ap-utils-1.5/src/auth.c:616:7: note: Variable created here. ap-utils-1.5/src/auth.c:667:3: note: Using pointer to local variable 'c' that is out of scope. ap-utils-1.5/src/auth.c:669:3: error: Using pointer to local variable 'c' that is out of scope. [invalidLifetime] ap-utils-1.5/src/auth.c:620:32: note: Address of variable taken here. ap-utils-1.5/src/auth.c:616:7: note: Variable created here. ap-utils-1.5/src/auth.c:669:3: note: Using pointer to local variable 'c' that is out of scope. ap-utils-1.5/src/auth.c:670:3: error: Using pointer to local variable 'c' that is out of scope. [invalidLifetime] ap-utils-1.5/src/auth.c:620:32: note: Address of variable taken here. ap-utils-1.5/src/auth.c:616:7: note: Variable created here. ap-utils-1.5/src/auth.c:670:3: note: Using pointer to local variable 'c' that is out of scope. ap-utils-1.5/src/auth.c:671:3: error: Using pointer to local variable 'c' that is out of scope. [invalidLifetime] ap-utils-1.5/src/auth.c:620:32: note: Address of variable taken here. ap-utils-1.5/src/auth.c:616:7: note: Variable created here. ap-utils-1.5/src/auth.c:671:3: note: Using pointer to local variable 'c' that is out of scope. ap-utils-1.5/src/auth.c:312:13: warning: If memory allocation fails, then there is a possible null pointer dereference: AuthMac [nullPointerOutOfMemory] ap-utils-1.5/src/auth.c:310:45: note: Assuming allocation function fails ap-utils-1.5/src/auth.c:310:3: note: Assignment 'AuthMac=(struct AuthorizedMacTableString*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/src/auth.c:312:13: note: Null pointer dereference ap-utils-1.5/src/auth.c:320:9: warning: If memory allocation fails, then there is a possible null pointer dereference: AuthMac [nullPointerOutOfMemory] ap-utils-1.5/src/auth.c:310:45: note: Assuming allocation function fails ap-utils-1.5/src/auth.c:310:3: note: Assignment 'AuthMac=(struct AuthorizedMacTableString*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/src/auth.c:320:9: note: Null pointer dereference ap-utils-1.5/src/auth.c:322:7: warning: If memory allocation fails, then there is a possible null pointer dereference: AuthMac [nullPointerOutOfMemory] ap-utils-1.5/src/auth.c:310:45: note: Assuming allocation function fails ap-utils-1.5/src/auth.c:310:3: note: Assignment 'AuthMac=(struct AuthorizedMacTableString*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/src/auth.c:322:7: note: Null pointer dereference ap-utils-1.5/src/auth.c:323:20: warning: If memory allocation fails, then there is a possible null pointer dereference: AuthMac [nullPointerOutOfMemory] ap-utils-1.5/src/auth.c:310:45: note: Assuming allocation function fails ap-utils-1.5/src/auth.c:310:3: note: Assignment 'AuthMac=(struct AuthorizedMacTableString*)malloc(varbinds[0].len_val)', assigned value is 0 ap-utils-1.5/src/auth.c:323:20: note: Null pointer dereference ap-utils-1.5/src/auth.c:335:13: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] ap-utils-1.5/src/auth.c:328:13: note: Assuming allocation function fails ap-utils-1.5/src/auth.c:327:11: note: Assignment 'first=(struct MacListStat*)malloc(sizeof(struct MacListStat))', assigned value is 0 ap-utils-1.5/src/auth.c:329:10: note: Assignment 'curr=first', assigned value is 0 ap-utils-1.5/src/auth.c:335:13: note: Null pointer dereference ap-utils-1.5/src/auth.c:336:6: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] ap-utils-1.5/src/auth.c:328:13: note: Assuming allocation function fails ap-utils-1.5/src/auth.c:327:11: note: Assignment 'first=(struct MacListStat*)malloc(sizeof(struct MacListStat))', assigned value is 0 ap-utils-1.5/src/auth.c:329:10: note: Assignment 'curr=first', assigned value is 0 ap-utils-1.5/src/auth.c:336:6: note: Null pointer dereference ap-utils-1.5/src/auth.c:500:6: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] ap-utils-1.5/src/auth.c:493:13: note: Assuming allocation function fails ap-utils-1.5/src/auth.c:492:11: note: Assignment 'first=(struct MacListStat*)malloc(sizeof(struct MacListStat))', assigned value is 0 ap-utils-1.5/src/auth.c:494:10: note: Assignment 'curr=first', assigned value is 0 ap-utils-1.5/src/auth.c:500:6: note: Null pointer dereference ap-utils-1.5/src/auth.c:501:13: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] ap-utils-1.5/src/auth.c:493:13: note: Assuming allocation function fails ap-utils-1.5/src/auth.c:492:11: note: Assignment 'first=(struct MacListStat*)malloc(sizeof(struct MacListStat))', assigned value is 0 ap-utils-1.5/src/auth.c:494:10: note: Assignment 'curr=first', assigned value is 0 ap-utils-1.5/src/auth.c:501:13: note: Null pointer dereference ap-utils-1.5/src/auth.c:870:13: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] ap-utils-1.5/src/auth.c:863:13: note: Assuming allocation function fails ap-utils-1.5/src/auth.c:862:11: note: Assignment 'first=(struct MacListStat*)malloc(sizeof(struct MacListStat))', assigned value is 0 ap-utils-1.5/src/auth.c:864:10: note: Assignment 'curr=first', assigned value is 0 ap-utils-1.5/src/auth.c:870:13: note: Null pointer dereference ap-utils-1.5/src/auth.c:871:6: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] ap-utils-1.5/src/auth.c:863:13: note: Assuming allocation function fails ap-utils-1.5/src/auth.c:862:11: note: Assignment 'first=(struct MacListStat*)malloc(sizeof(struct MacListStat))', assigned value is 0 ap-utils-1.5/src/auth.c:864:10: note: Assignment 'curr=first', assigned value is 0 ap-utils-1.5/src/auth.c:871:6: note: Null pointer dereference ap-utils-1.5/src/auth.c:947:6: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] ap-utils-1.5/src/auth.c:940:13: note: Assuming allocation function fails ap-utils-1.5/src/auth.c:939:11: note: Assignment 'first=(struct MacListStat*)malloc(sizeof(struct MacListStat))', assigned value is 0 ap-utils-1.5/src/auth.c:941:10: note: Assignment 'curr=first', assigned value is 0 ap-utils-1.5/src/auth.c:947:6: note: Null pointer dereference ap-utils-1.5/src/auth.c:949:14: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] ap-utils-1.5/src/auth.c:940:13: note: Assuming allocation function fails ap-utils-1.5/src/auth.c:939:11: note: Assignment 'first=(struct MacListStat*)malloc(sizeof(struct MacListStat))', assigned value is 0 ap-utils-1.5/src/auth.c:941:10: note: Assignment 'curr=first', assigned value is 0 ap-utils-1.5/src/auth.c:949:14: note: Null pointer dereference ap-utils-1.5/src/auth.c:780:2: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] ap-utils-1.5/src/auth.c:1085:2: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] ap-utils-1.5/src/bridge.c:134:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATMEL12350 [valueFlowBailoutIncompleteVar] ap-utils-1.5/src/bridge.c:573:2: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] ap-utils-1.5/src/nwn_advanced.c:40:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable len_val [valueFlowBailoutIncompleteVar] ap-utils-1.5/src/nwn_latest.c:59:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WAIT_RET [valueFlowBailoutIncompleteVar] ap-utils-1.5/src/nwn_latest.c:113:31: error: Expression 'main_sub,11,i+15,*(varbinds[6].value+i++)' depends on order of evaluation of side effects [unknownEvaluationOrder] ap-utils-1.5/src/stations.c:59:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATMEL12350 [valueFlowBailoutIncompleteVar] ap-utils-1.5/src/stations.c:277:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WAIT_RET [valueFlowBailoutIncompleteVar] ap-utils-1.5/src/stations.c:337:13: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] ap-utils-1.5/src/stations.c:329:13: note: Assuming allocation function fails ap-utils-1.5/src/stations.c:328:7: note: Assignment 'first=(struct MacListStat*)malloc(sizeof(struct MacListStat))', assigned value is 0 ap-utils-1.5/src/stations.c:330:10: note: Assignment 'curr=first', assigned value is 0 ap-utils-1.5/src/stations.c:337:13: note: Null pointer dereference ap-utils-1.5/src/stations.c:338:6: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] ap-utils-1.5/src/stations.c:329:13: note: Assuming allocation function fails ap-utils-1.5/src/stations.c:328:7: note: Assignment 'first=(struct MacListStat*)malloc(sizeof(struct MacListStat))', assigned value is 0 ap-utils-1.5/src/stations.c:330:10: note: Assignment 'curr=first', assigned value is 0 ap-utils-1.5/src/stations.c:338:6: note: Null pointer dereference ap-utils-1.5/src/stations.c:339:6: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] ap-utils-1.5/src/stations.c:329:13: note: Assuming allocation function fails ap-utils-1.5/src/stations.c:328:7: note: Assignment 'first=(struct MacListStat*)malloc(sizeof(struct MacListStat))', assigned value is 0 ap-utils-1.5/src/stations.c:330:10: note: Assignment 'curr=first', assigned value is 0 ap-utils-1.5/src/stations.c:339:6: note: Null pointer dereference ap-utils-1.5/src/stations.c:340:6: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] ap-utils-1.5/src/stations.c:329:13: note: Assuming allocation function fails ap-utils-1.5/src/stations.c:328:7: note: Assignment 'first=(struct MacListStat*)malloc(sizeof(struct MacListStat))', assigned value is 0 ap-utils-1.5/src/stations.c:330:10: note: Assignment 'curr=first', assigned value is 0 ap-utils-1.5/src/stations.c:340:6: note: Null pointer dereference ap-utils-1.5/src/stations.c:341:6: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] ap-utils-1.5/src/stations.c:329:13: note: Assuming allocation function fails ap-utils-1.5/src/stations.c:328:7: note: Assignment 'first=(struct MacListStat*)malloc(sizeof(struct MacListStat))', assigned value is 0 ap-utils-1.5/src/stations.c:330:10: note: Assignment 'curr=first', assigned value is 0 ap-utils-1.5/src/stations.c:341:6: note: Null pointer dereference ap-utils-1.5/src/stations.c:266:10: style: Variable 'null' can be declared as const array [constVariable] diff: head /usr/local/share/bison.simple:248:6: style:inconclusive: Function 'PLURAL_PARSE' argument 1 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/common.c:136:40: style:inconclusive: Function 'connect_options' argument 1 names different: declaration '' definition 'ip'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/common.c:136:48: style:inconclusive: Function 'connect_options' argument 2 names different: declaration '' definition 'type'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/common.c:519:21: style:inconclusive: Function 'regdom_idx' argument 1 names different: declaration '' definition 'regdom'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/file.c:417:40: style:inconclusive: Function 'save_Stations' argument 1 names different: declaration '' definition 'curr'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/input.c:126:17: style:inconclusive: Function 'get_value' argument 1 names different: declaration '' definition 'value'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/input.c:126:28: style:inconclusive: Function 'get_value' argument 2 names different: declaration '' definition 'row'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/input.c:126:37: style:inconclusive: Function 'get_value' argument 3 names different: declaration '' definition 'col'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/input.c:126:46: style:inconclusive: Function 'get_value' argument 4 names different: declaration '' definition 'len'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/input.c:127:26: style:inconclusive: Function 'get_value' argument 6 names different: declaration '' definition 'minv'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/input.c:127:45: style:inconclusive: Function 'get_value' argument 7 names different: declaration '' definition 'maxv'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/input.c:127:57: style:inconclusive: Function 'get_value' argument 8 names different: declaration '' definition 'helpmsg'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/input.c:127:9: style:inconclusive: Function 'get_value' argument 5 names different: declaration '' definition 'vt'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/input.c:283:16: style:inconclusive: Function 'get_pass' argument 1 names different: declaration '' definition 'value'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/input.c:283:27: style:inconclusive: Function 'get_pass' argument 2 names different: declaration '' definition 'row'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/input.c:283:36: style:inconclusive: Function 'get_pass' argument 3 names different: declaration '' definition 'col'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/input.c:283:45: style:inconclusive: Function 'get_pass' argument 4 names different: declaration '' definition 'len'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/input.c:322:12: style:inconclusive: Function 'yes_no' argument 1 names different: declaration '' definition 'brow'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/input.c:322:22: style:inconclusive: Function 'yes_no' argument 2 names different: declaration '' definition 'bcol'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/input.c:330:12: style:inconclusive: Function 'on_off' argument 1 names different: declaration '' definition 'brow'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/input.c:330:22: style:inconclusive: Function 'on_off' argument 2 names different: declaration '' definition 'bcol'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/input.c:337:21: style:inconclusive: Function 'menu_choose' argument 1 names different: declaration '' definition 'brow'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/input.c:337:31: style:inconclusive: Function 'menu_choose' argument 2 names different: declaration '' definition 'bcol'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/input.c:337:44: style:inconclusive: Function 'menu_choose' argument 3 names different: declaration '' definition 'names'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/input.c:337:64: style:inconclusive: Function 'menu_choose' argument 4 names different: declaration '' definition 'num'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/input.c:39:15: style:inconclusive: Function 'get_mac' argument 1 names different: declaration '' definition 'mac'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/input.c:39:24: style:inconclusive: Function 'get_mac' argument 2 names different: declaration '' definition 'row'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/input.c:39:33: style:inconclusive: Function 'get_mac' argument 3 names different: declaration '' definition 'col'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/input.c:434:18: style:inconclusive: Function 'wait_key' argument 1 names different: declaration '' definition 'tval'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/input.c:59:24: style:inconclusive: Function 'get_ip' argument 1 names different: declaration '' definition 'ip'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/input.c:59:32: style:inconclusive: Function 'get_ip' argument 2 names different: declaration '' definition 'row'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/input.c:59:41: style:inconclusive: Function 'get_ip' argument 3 names different: declaration '' definition 'col'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/input.c:59:52: style:inconclusive: Function 'get_ip' argument 4 names different: declaration '' definition 'helpmsg'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/input.c:78:26: style:inconclusive: Function 'get_mask' argument 1 names different: declaration '' definition 'ip'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/input.c:78:34: style:inconclusive: Function 'get_mask' argument 2 names different: declaration '' definition 'row'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/input.c:78:43: style:inconclusive: Function 'get_mask' argument 3 names different: declaration '' definition 'col'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/input.c:78:54: style:inconclusive: Function 'get_mask' argument 4 names different: declaration '' definition 'helpmsg'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/oui.c:25:30: style:inconclusive: Function 'oui2manufacturer' argument 1 names different: declaration '' definition 'mac'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/scr.c:114:23: style:inconclusive: Function 'print_help' argument 1 names different: declaration '' definition 'mess'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/scr.c:129:26: style:inconclusive: Function 'print_helperr' argument 1 names different: declaration '' definition 'mess'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/scr.c:136:25: style:inconclusive: Function 'print_bold' argument 1 names different: declaration '' definition 'wptr'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/scr.c:136:37: style:inconclusive: Function 'print_bold' argument 2 names different: declaration '' definition 'mess'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/scr.c:144:24: style:inconclusive: Function 'print_menusel' argument 1 names different: declaration '' definition 'y'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/scr.c:144:31: style:inconclusive: Function 'print_menusel' argument 2 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/scr.c:144:40: style:inconclusive: Function 'print_menusel' argument 3 names different: declaration '' definition 'mess1'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/scr.c:144:53: style:inconclusive: Function 'print_menusel' argument 4 names different: declaration '' definition 'mess2'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/scr.c:150:25: style:inconclusive: Function 'print_bottom' argument 1 names different: declaration '' definition 'mess'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/scr.c:167:22: style:inconclusive: Function 'print_top' argument 1 names different: declaration '' definition 'title_left'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/scr.c:167:40: style:inconclusive: Function 'print_top' argument 2 names different: declaration '' definition 'title_right'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/scr.c:187:27: style:inconclusive: Function 'print_top_rssi' argument 1 names different: declaration '' definition 'message_r'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/scr.c:205:21: style:inconclusive: Function 'clear_main' argument 1 names different: declaration '' definition 'm'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/scr.c:210:25: style:inconclusive: Function 'clear_main_new' argument 1 names different: declaration '' definition 'm'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/scr.c:210:32: style:inconclusive: Function 'clear_main_new' argument 2 names different: declaration '' definition 'n'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/scr.c:220:19: style:inconclusive: Function 'conv_rssi' argument 1 names different: declaration '' definition 'raw_rssi'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/scr.c:33:33: style:inconclusive: Function 'scroll_rows' argument 1 names different: declaration '' definition 'first'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/scr.c:33:44: style:inconclusive: Function 'scroll_rows' argument 2 names different: declaration '' definition 'begin'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/scr.c:33:55: style:inconclusive: Function 'scroll_rows' argument 3 names different: declaration '' definition 'end'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/scr.c:33:64: style:inconclusive: Function 'scroll_rows' argument 4 names different: declaration '' definition 'row'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/scr.c:34:10: style:inconclusive: Function 'scroll_rows' argument 5 names different: declaration '' definition 'stat'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/snmp.c:163:20: style:inconclusive: Function 'snmp' argument 1 names different: declaration '' definition 'varbindlist'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/snmp.c:163:37: style:inconclusive: Function 'snmp' argument 2 names different: declaration '' definition 'num'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/snmp.c:163:46: style:inconclusive: Function 'snmp' argument 3 names different: declaration '' definition 'type'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/snmp.c:81:15: style:inconclusive: Function 'ber' argument 1 names different: declaration '' definition 'message'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/snmp.c:81:34: style:inconclusive: Function 'ber' argument 2 names different: declaration '' definition 'varbindlist'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/snmp.c:81:51: style:inconclusive: Function 'ber' argument 3 names different: declaration '' definition 'num'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/lib/snmp.c:81:60: style:inconclusive: Function 'ber' argument 4 names different: declaration '' definition 'type'. [funcArgNamesDifferentUnnamed] head ap-utils-1.5/src/ap-tftp.c:150:4: warning: If memory allocation fails, then there is a possible null pointer dereference: (unsigned short*)cp [nullPointerOutOfMemory] ap-utils-1.5/src/ap-tftp.c:126:23: note: Assuming allocation function fails ap-utils-1.5/src/ap-tftp.c:126:23: note: Assignment 'buf=malloc(tftp_bufsize)', assigned value is 0 ap-utils-1.5/src/ap-tftp.c:131:53: note: Assuming condition is false ap-utils-1.5/src/ap-tftp.c:146:5: note: cp is assigned 'buf' here. ap-utils-1.5/src/ap-tftp.c:150:4: note: Null pointer dereference 2.20.0 ap-utils-1.5/src/ap-tftp.c:150:4: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: (unsigned short*)cp [nullPointerOutOfMemory] ap-utils-1.5/src/ap-tftp.c:126:23: note: Assuming allocation function fails ap-utils-1.5/src/ap-tftp.c:126:23: note: Assignment 'buf=malloc(tftp_bufsize)', assigned value is 0 ap-utils-1.5/src/ap-tftp.c:131:53: note: Assuming condition is false ap-utils-1.5/src/ap-tftp.c:146:5: note: cp is assigned 'buf' here. ap-utils-1.5/src/ap-tftp.c:150:4: note: Null pointer dereference head ap-utils-1.5/src/ap-tftp.c:151:5: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] ap-utils-1.5/src/ap-tftp.c:126:23: note: Assuming allocation function fails ap-utils-1.5/src/ap-tftp.c:126:23: note: Assignment 'buf=malloc(tftp_bufsize)', assigned value is 0 ap-utils-1.5/src/ap-tftp.c:131:53: note: Assuming condition is false ap-utils-1.5/src/ap-tftp.c:146:5: note: cp is assigned 'buf' here. ap-utils-1.5/src/ap-tftp.c:151:5: note: Null pointer addition 2.20.0 ap-utils-1.5/src/ap-tftp.c:151:5: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] ap-utils-1.5/src/ap-tftp.c:126:23: note: Assuming allocation function fails ap-utils-1.5/src/ap-tftp.c:126:23: note: Assignment 'buf=malloc(tftp_bufsize)', assigned value is 0 ap-utils-1.5/src/ap-tftp.c:131:53: note: Assuming condition is false ap-utils-1.5/src/ap-tftp.c:146:5: note: cp is assigned 'buf' here. ap-utils-1.5/src/ap-tftp.c:151:5: note: Null pointer addition DONE