2025-07-14 22:28 ftp://ftp.de.debian.org/debian/pool/main/m/mongrel2/mongrel2_1.12.2.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=bsd --library=sqlite3 --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j3 platform: Linux-6.8.0-63-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: a2600d0 (2025-07-14 12:39:20 +0200) count: 1210 1194 elapsed-time: 3.8 4.1 head-timing-info: old-timing-info: head results: mongrel2-1.12.2/examples/kegogi/lempar.c:7:1: error: syntax error [syntaxError] mongrel2-1.12.2/examples/kegogi/src/fuzzrnd.c:84:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/fuzzrnd.c:74:13: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/fuzzrnd.c:74:13: note: Assignment 'p=malloc(len)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/fuzzrnd.c:84:5: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/fuzzrnd.c:103:25: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/examples/kegogi/src/httpclient.c:46:5: warning: If memory allocation fails, then there is a possible null pointer dereference: req [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/httpclient.c:45:26: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/httpclient.c:45:26: note: Assignment 'req=malloc(sizeof(*req))', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/httpclient.c:46:5: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/httpclient.c:47:5: warning: If memory allocation fails, then there is a possible null pointer dereference: req [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/httpclient.c:45:26: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/httpclient.c:45:26: note: Assignment 'req=malloc(sizeof(*req))', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/httpclient.c:47:5: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/httpclient.c:48:5: warning: If memory allocation fails, then there is a possible null pointer dereference: req [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/httpclient.c:45:26: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/httpclient.c:45:26: note: Assignment 'req=malloc(sizeof(*req))', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/httpclient.c:48:5: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/httpclient.c:49:5: warning: If memory allocation fails, then there is a possible null pointer dereference: req [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/httpclient.c:45:26: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/httpclient.c:45:26: note: Assignment 'req=malloc(sizeof(*req))', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/httpclient.c:49:5: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/httpclient.c:51:5: warning: If memory allocation fails, then there is a possible null pointer dereference: req [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/httpclient.c:45:26: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/httpclient.c:45:26: note: Assignment 'req=malloc(sizeof(*req))', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/httpclient.c:51:5: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/httpclient.c:180:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: rsp [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/httpclient.c:176:27: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/httpclient.c:176:27: note: Assignment 'rsp=calloc(sizeof(*rsp),1)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/httpclient.c:180:5: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/httpclient.c:181:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: rsp [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/httpclient.c:176:27: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/httpclient.c:176:27: note: Assignment 'rsp=calloc(sizeof(*rsp),1)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/httpclient.c:181:5: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/httpclient.c:182:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: rsp [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/httpclient.c:176:27: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/httpclient.c:176:27: note: Assignment 'rsp=calloc(sizeof(*rsp),1)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/httpclient.c:182:5: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/httpclient.c:183:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: rsp [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/httpclient.c:176:27: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/httpclient.c:176:27: note: Assignment 'rsp=calloc(sizeof(*rsp),1)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/httpclient.c:183:5: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/httpclient.c:184:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: rsp [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/httpclient.c:176:27: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/httpclient.c:176:27: note: Assignment 'rsp=calloc(sizeof(*rsp),1)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/httpclient.c:184:5: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/httpclient.c:185:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: rsp [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/httpclient.c:176:27: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/httpclient.c:176:27: note: Assignment 'rsp=calloc(sizeof(*rsp),1)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/httpclient.c:185:5: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/httpclient.c:186:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: rsp [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/httpclient.c:176:27: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/httpclient.c:176:27: note: Assignment 'rsp=calloc(sizeof(*rsp),1)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/httpclient.c:186:5: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/httpclient.c:71:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/examples/kegogi/src/httpclient.c:145:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/examples/kegogi/src/httpclient.c:170:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/examples/kegogi/src/httpclient.c:189:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/examples/kegogi/src/httpclient.c:209:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/examples/kegogi/src/httpclient.c:266:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/examples/kegogi/src/httpclient.c:91:31: style: Parameter '_' can be declared as pointer to const. However it seems that 'element_nop' is a callback function, if '_' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mongrel2-1.12.2/examples/kegogi/src/httpclient.c:205:26: note: You might need to cast the function pointer here mongrel2-1.12.2/examples/kegogi/src/httpclient.c:91:31: note: Parameter '_' can be declared as pointer to const mongrel2-1.12.2/examples/kegogi/src/httpclient.c:165:19: style: Variable 'remaining' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/examples/kegogi/src/kegogi.c:206:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] src/kegogi_lexer.rl:88:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TKSTRING [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/src/kegogi.c:71:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: testArgs [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/kegogi.c:68:38: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/kegogi.c:68:38: note: Assignment 'testArgs=calloc(sizeof(*testArgs),1)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/kegogi.c:71:5: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/kegogi.c:72:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: testArgs [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/kegogi.c:68:38: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/kegogi.c:68:38: note: Assignment 'testArgs=calloc(sizeof(*testArgs),1)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/kegogi.c:72:5: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/kegogi.c:76:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: testArgs [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/kegogi.c:68:38: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/kegogi.c:68:38: note: Assignment 'testArgs=calloc(sizeof(*testArgs),1)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/kegogi.c:76:5: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/kegogi.c:78:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: testArgs [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/kegogi.c:68:38: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/kegogi.c:68:38: note: Assignment 'testArgs=calloc(sizeof(*testArgs),1)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/kegogi.c:78:5: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/kegogi.c:79:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: testArgs [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/kegogi.c:68:38: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/kegogi.c:68:38: note: Assignment 'testArgs=calloc(sizeof(*testArgs),1)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/kegogi.c:79:5: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/kegogi.c:80:15: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: testArgs [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/kegogi.c:68:38: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/kegogi.c:68:38: note: Assignment 'testArgs=calloc(sizeof(*testArgs),1)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/kegogi.c:80:15: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/kegogi.c:82:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: testArgs [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/kegogi.c:68:38: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/kegogi.c:68:38: note: Assignment 'testArgs=calloc(sizeof(*testArgs),1)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/kegogi.c:82:5: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/kegogi.c:83:48: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: testArgs [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/kegogi.c:68:38: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/kegogi.c:68:38: note: Assignment 'testArgs=calloc(sizeof(*testArgs),1)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/kegogi.c:83:48: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/kegogi.c:86:11: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: testArgs [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/kegogi.c:68:38: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/kegogi.c:68:38: note: Assignment 'testArgs=calloc(sizeof(*testArgs),1)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/kegogi.c:86:11: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/kegogi.c:87:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: testArgs [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/kegogi.c:68:38: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/kegogi.c:68:38: note: Assignment 'testArgs=calloc(sizeof(*testArgs),1)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/kegogi.c:87:5: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/kegogi.c:88:42: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: testArgs [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/kegogi.c:68:38: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/kegogi.c:68:38: note: Assignment 'testArgs=calloc(sizeof(*testArgs),1)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/kegogi.c:88:42: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/kegogi.c:94:11: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: testArgs [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/kegogi.c:68:38: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/kegogi.c:68:38: note: Assignment 'testArgs=calloc(sizeof(*testArgs),1)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/kegogi.c:94:11: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/kegogi.c:95:19: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: testArgs [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/kegogi.c:68:38: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/kegogi.c:68:38: note: Assignment 'testArgs=calloc(sizeof(*testArgs),1)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/kegogi.c:95:19: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/kegogi.c:97:33: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: testArgs [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/kegogi.c:68:38: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/kegogi.c:68:38: note: Assignment 'testArgs=calloc(sizeof(*testArgs),1)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/kegogi.c:97:33: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/kegogi.c:98:12: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: testArgs [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/kegogi.c:68:38: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/kegogi.c:68:38: note: Assignment 'testArgs=calloc(sizeof(*testArgs),1)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/kegogi.c:98:12: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/kegogi.c:98:31: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: testArgs [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/kegogi.c:68:38: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/kegogi.c:68:38: note: Assignment 'testArgs=calloc(sizeof(*testArgs),1)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/kegogi.c:98:31: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/kegogi.c:103:18: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: testArgs [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/kegogi.c:68:38: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/kegogi.c:68:38: note: Assignment 'testArgs=calloc(sizeof(*testArgs),1)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/kegogi.c:103:18: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/kegogi.c:209:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/kegogi.c:207:33: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/kegogi.c:207:33: note: Assignment 'args=calloc(sizeof(*args),1)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/kegogi.c:209:5: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/kegogi.c:210:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/kegogi.c:207:33: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/kegogi.c:207:33: note: Assignment 'args=calloc(sizeof(*args),1)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/kegogi.c:210:5: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/kegogi.c:211:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/kegogi.c:207:33: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/kegogi.c:207:33: note: Assignment 'args=calloc(sizeof(*args),1)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/kegogi.c:211:5: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/kegogi.c:109:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/examples/kegogi/src/kegogi.c:150:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/examples/kegogi/src/kegogi.c:200:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/examples/kegogi/src/kegogi.c:243:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/examples/kegogi/src/kegogi.c:116:38: style: Parameter 'send' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/examples/kegogi/src/kegogi.c:213:19: style: Variable 'long_options' can be declared as const array [constVariable] src/kegogi_parser.y:64:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s1 [valueFlowBailoutIncompleteVar] src/kegogi_parser.c:1051:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] src/kegogi_lexer.rl:143:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] src/kegogi_lexer.rl:111:1: style: Label 'error' is not used. [unusedLabel] src/kegogi_lexer.rl:96:11: style: Variable 'eof' can be declared as pointer to const [constVariablePointer] src/kegogi_lexer.rl:99:11: style: Variable 'ts' can be declared as pointer to const [constVariablePointer] src/kegogi_lexer.rl:100:11: style: Variable 'te' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/examples/kegogi/src/kegogi_parser_extra.c:37:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/src/kegogi_parser_extra.c:23:12: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: script [nullPointerOutOfResources] mongrel2-1.12.2/examples/kegogi/src/kegogi_parser_extra.c:17:19: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/kegogi_parser_extra.c:17:19: note: Assignment 'script=fopen(path,"r")', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/kegogi_parser_extra.c:23:12: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/kegogi_parser_extra.c:48:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/examples/kegogi/src/kegogi_tokens.c:28:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/examples/kegogi/src/kegogi_tokens.c:78:1: style: Label 'error' is not used. [unusedLabel] src/kegogi_parser.c:407:36: style: Condition 'pParser->yyidx>=0' is always true [knownConditionTrueFalse] src/kegogi_parser.c:405:21: note: Assuming that condition 'pParser->yyidx<0' is not redundant src/kegogi_parser.c:407:36: note: Condition 'pParser->yyidx>=0' is always true src/kegogi_parser.y:80:23: warning: If memory allocation fails, then there is a possible null pointer dereference: yygotominor.yy30 [nullPointerOutOfMemory] src/kegogi_parser.y:79:37: note: Assuming allocation function fails src/kegogi_parser.y:79:37: note: Assignment 'yygotominor.yy30=calloc(sizeof(Command),1)', assigned value is 0 src/kegogi_parser.y:80:23: note: Null pointer dereference src/kegogi_parser.c:1037:12: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: script [nullPointerOutOfResources] src/kegogi_parser.c:1031:19: note: Assuming allocation function fails src/kegogi_parser.c:1031:19: note: Assignment 'script=fopen(path,"r")', assigned value is 0 src/kegogi_parser.c:1037:12: note: Null pointer dereference src/kegogi_parser.c:1062:1: style: Label 'error' is not used. [unusedLabel] src/kegogi_parser.c:370:3: style: Variable 'commandList' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/examples/kegogi/src/param.c:83:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dnode_t [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/src/param.c:95:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bstricmp [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/src/param.c:13:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/param.c:11:22: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/param.c:11:22: note: Assignment 'p=calloc(sizeof(*p),1)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/param.c:13:5: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/param.c:14:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/param.c:11:22: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/param.c:11:22: note: Assignment 'p=calloc(sizeof(*p),1)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/param.c:14:5: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/param.c:15:12: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/param.c:11:22: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/param.c:11:22: note: Assignment 'p=calloc(sizeof(*p),1)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/param.c:15:12: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/param.c:38:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: p2 [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/param.c:35:23: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/param.c:35:23: note: Assignment 'p2=calloc(sizeof(*p2),1)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/param.c:38:5: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/param.c:39:15: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: p2 [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/param.c:35:23: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/param.c:35:23: note: Assignment 'p2=calloc(sizeof(*p2),1)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/param.c:39:15: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/param.c:40:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: p2 [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/param.c:35:23: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/param.c:35:23: note: Assignment 'p2=calloc(sizeof(*p2),1)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/param.c:40:5: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/param.c:95:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pd [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/param.c:93:27: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/param.c:93:27: note: Assignment 'pd=calloc(sizeof(*pd),1)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/param.c:95:5: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/param.c:96:15: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pd [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/param.c:93:27: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/param.c:93:27: note: Assignment 'pd=calloc(sizeof(*pd),1)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/param.c:96:15: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/param.c:98:24: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pd [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/param.c:93:27: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/param.c:93:27: note: Assignment 'pd=calloc(sizeof(*pd),1)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/param.c:98:24: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/src/param.c:28:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/examples/kegogi/src/param.c:59:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/examples/kegogi/src/param.c:103:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/examples/kegogi/src/param.c:124:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/examples/kegogi/src/param.c:82:37: style: Parameter 'notused' can be declared as pointer to const. However it seems that 'pd_alloc_dict' is a callback function, if 'notused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mongrel2-1.12.2/examples/kegogi/src/param.c:98:34: note: You might need to cast the function pointer here mongrel2-1.12.2/examples/kegogi/src/param.c:82:37: note: Parameter 'notused' can be declared as pointer to const mongrel2-1.12.2/src/adt/darray.c:42:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable darray_t [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/adt/darray.c:57:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/adt/darray.c:81:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/adt/darray.c:95:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/adt/darray.c:142:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/adt/darray.c:64:11: style: Variable 'i' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/src/adt/hash.c:700:25: style: Parameter 'hash' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/adt/hash.c:735:25: style: Parameter 'hash' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/adt/hash.c:746:26: style: Parameter 'hash' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/adt/hash.c:805:26: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/adt/hash.c:811:35: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/adt/hash.c:817:32: style: Parameter 'hash' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/adt/hash.c:823:31: style: Parameter 'hash' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/adt/hash.c:830:26: style: Variable 'randbox' can be declared as const array [constVariable] mongrel2-1.12.2/examples/kegogi/lemon.c:345:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:369:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDUCE [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:396:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHIFT [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:447:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:462:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:504:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:590:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MULTITERMINAL [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:632:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TERMINAL [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:785:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MULTITERMINAL [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:810:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INCOMPLETE [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:899:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INCOMPLETE [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:946:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDUCE [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:1017:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHIFT [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:1092:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:1203:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NONTERMINAL [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:1350:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:1363:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:1378:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:1407:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPT_FLAG [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:1720:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPT_FLAG [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:2002:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WAITING_FOR_DECL_KEYWORD [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:2484:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:2510:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INITIALIZE [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:2656:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:2725:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:2749:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:2790:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MULTITERMINAL [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:2818:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MULTITERMINAL [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:2947:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NONTERMINAL [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:3089:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:3153:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TERMINAL [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:3193:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TERMINAL [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:3293:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MULTITERMINAL [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:3407:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:3539:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MULTITERMINAL [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:3668:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:4048:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDUCE [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:4374:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NONTERMINAL [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/adt/list.c:498:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable compare [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/adt/list.c:538:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable compare [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/adt/list.c:105:46: style: Variable 'nil' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/adt/list.c:125:52: style: Variable 'nil' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/adt/list.c:213:52: style: Variable 'nil' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/adt/list.c:312:36: style: Parameter 'list_pool' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/adt/list.c:312:51: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/adt/list.c:374:42: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/adt/list.c:376:18: style: Variable 'nil' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/adt/list.c:488:14: style: Variable 'd_nil' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/adt/list.c:488:39: style: Variable 's_nil' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/adt/list.c:564:28: style: Variable 'nil' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/adt/list.c:604:26: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/adt/list.c:614:25: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/adt/list.c:623:37: style: Parameter 'list_pool' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/adt/list.c:672:32: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/adt/list.c:709:26: style: Parameter 'lnode' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/adt/list.c:745:33: style: Parameter 'lnode' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/adt/list.c:753:45: style: Variable 'nil' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/adt/dict.c:1069:23: style: The comparison 'dnode_red == 0' is always true. [knownConditionTrueFalse] mongrel2-1.12.2/src/adt/dict.c:1069:43: style: The comparison 'dnode_black == 1' is always true. [knownConditionTrueFalse] mongrel2-1.12.2/src/adt/radixmap.c:48:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable raw [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/adt/radixmap.c:71:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/adt/radixmap.c:92:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable raw [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/adt/dict.c:1187:13: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] mongrel2-1.12.2/src/adt/radixmap.c:152:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/adt/radixmap.c:170:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RadixMap [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/adt/radixmap.c:211:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/adt/radixmap.c:269:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/adt/dict.c:440:14: style: Variable 'nil' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/adt/dict.c:478:14: style: Variable 'nil' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/adt/dict.c:510:14: style: Variable 'nil' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/adt/dict.c:838:14: style: Variable 'nil' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/adt/dict.c:854:14: style: Variable 'nil' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/adt/dict.c:872:14: style: Variable 'nil' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/adt/dict.c:898:14: style: Variable 'nil' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/adt/dict.c:929:32: style: Parameter 'dict' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/adt/dict.c:934:26: style: Parameter 'dict' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/adt/dict.c:939:25: style: Parameter 'dict' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/adt/dict.c:988:26: style: Parameter 'dnode' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/adt/dict.c:993:35: style: Parameter 'dnode' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/adt/dict.c:1003:33: style: Parameter 'dnode' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/adt/radixmap.c:174:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: map [nullPointerOutOfMemory] mongrel2-1.12.2/src/adt/radixmap.c:170:17: note: Assuming allocation function fails mongrel2-1.12.2/src/adt/radixmap.c:170:17: note: Assignment 'map=calloc(sizeof(RadixMap),1)', assigned value is 0 mongrel2-1.12.2/src/adt/radixmap.c:174:5: note: Null pointer dereference mongrel2-1.12.2/src/adt/radixmap.c:175:15: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: map [nullPointerOutOfMemory] mongrel2-1.12.2/src/adt/radixmap.c:170:17: note: Assuming allocation function fails mongrel2-1.12.2/src/adt/radixmap.c:170:17: note: Assignment 'map=calloc(sizeof(RadixMap),1)', assigned value is 0 mongrel2-1.12.2/src/adt/radixmap.c:175:15: note: Null pointer dereference mongrel2-1.12.2/src/adt/radixmap.c:177:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: map [nullPointerOutOfMemory] mongrel2-1.12.2/src/adt/radixmap.c:170:17: note: Assuming allocation function fails mongrel2-1.12.2/src/adt/radixmap.c:170:17: note: Assignment 'map=calloc(sizeof(RadixMap),1)', assigned value is 0 mongrel2-1.12.2/src/adt/radixmap.c:177:5: note: Null pointer dereference mongrel2-1.12.2/src/adt/radixmap.c:178:15: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: map [nullPointerOutOfMemory] mongrel2-1.12.2/src/adt/radixmap.c:170:17: note: Assuming allocation function fails mongrel2-1.12.2/src/adt/radixmap.c:170:17: note: Assignment 'map=calloc(sizeof(RadixMap),1)', assigned value is 0 mongrel2-1.12.2/src/adt/radixmap.c:178:15: note: Null pointer dereference mongrel2-1.12.2/src/adt/radixmap.c:180:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: map [nullPointerOutOfMemory] mongrel2-1.12.2/src/adt/radixmap.c:170:17: note: Assuming allocation function fails mongrel2-1.12.2/src/adt/radixmap.c:170:17: note: Assignment 'map=calloc(sizeof(RadixMap),1)', assigned value is 0 mongrel2-1.12.2/src/adt/radixmap.c:180:5: note: Null pointer dereference mongrel2-1.12.2/src/adt/radixmap.c:181:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: map [nullPointerOutOfMemory] mongrel2-1.12.2/src/adt/radixmap.c:170:17: note: Assuming allocation function fails mongrel2-1.12.2/src/adt/radixmap.c:170:17: note: Assignment 'map=calloc(sizeof(RadixMap),1)', assigned value is 0 mongrel2-1.12.2/src/adt/radixmap.c:181:5: note: Null pointer dereference mongrel2-1.12.2/src/adt/radixmap.c:184:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/adt/radixmap.c:224:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/adt/radixmap.c:247:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/adt/radixmap.c:280:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/adt/radixmap.c:22:15: style: Variable 'end' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/adt/radixmap.c:63:43: style: Parameter 'map' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/adt/radixmap.c:144:36: style: Parameter 'map' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/adt/radixmap.c:254:16: style: Variable 'found' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/adt/radixmap.c:24:16: style: Variable 'c' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/src/adt/radixmap.c:92:22: style: Variable 'source' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/src/adt/tst.c:67:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LISTCOUNT_T_MAX [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/adt/radixmap.c:95:18: style: Variable 'max' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/src/bsd_specific.c:117:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/bsd_specific.c:88:13: style: Variable 'sent' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/src/bstr/bsafe.c:29:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/bstr/bsafe.c:37:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/bstr/bsafe.c:64:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/bstr/bsafe.c:72:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/adt/tst.c:224:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: new_queue [nullPointerOutOfMemory] mongrel2-1.12.2/src/adt/tst.c:220:32: note: Assuming allocation function fails mongrel2-1.12.2/src/adt/tst.c:220:32: note: Assignment 'new_queue=calloc(sizeof(struct tst_t*),new_size)', assigned value is 0 mongrel2-1.12.2/src/adt/tst.c:224:9: note: Null pointer dereference mongrel2-1.12.2/src/adt/tst.c:247:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: queue [nullPointerOutOfMemory] mongrel2-1.12.2/src/adt/tst.c:244:27: note: Assuming allocation function fails mongrel2-1.12.2/src/adt/tst.c:244:27: note: Assignment 'queue=calloc(sizeof(struct tst_t*),MAX_TRAVERSE_SIZE)', assigned value is 0 mongrel2-1.12.2/src/adt/tst.c:247:5: note: Null pointer dereference mongrel2-1.12.2/src/adt/tst.c:230:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/adt/tst.c:272:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/bstr/bstraux.c:760:21: style: Condition 'c=='\0'' is always false [knownConditionTrueFalse] mongrel2-1.12.2/src/bstr/bstraux.c:759:7: note: Assignment 'c=(unsigned char)(src->data[i]+42)', assigned value is greater than 41 mongrel2-1.12.2/src/bstr/bstraux.c:760:21: note: Condition 'c=='\0'' is always false mongrel2-1.12.2/src/bstr/bstraux.c:53:20: style:inconclusive: Function 'bFill' argument 1 names different: declaration 'a' definition 'b'. [funcArgNamesDifferent] mongrel2-1.12.2/src/bstr/bstraux.h:54:27: note: Function 'bFill' argument 1 names different: declaration 'a' definition 'b'. mongrel2-1.12.2/src/bstr/bstraux.c:53:20: note: Function 'bFill' argument 1 names different: declaration 'a' definition 'b'. mongrel2-1.12.2/src/bstr/bstraux.c:279:36: style:inconclusive: Function 'bNetStr2Bstr' argument 1 names different: declaration 'buf' definition 'buff'. [funcArgNamesDifferent] mongrel2-1.12.2/src/bstr/bstraux.h:73:43: note: Function 'bNetStr2Bstr' argument 1 names different: declaration 'buf' definition 'buff'. mongrel2-1.12.2/src/bstr/bstraux.c:279:36: note: Function 'bNetStr2Bstr' argument 1 names different: declaration 'buf' definition 'buff'. mongrel2-1.12.2/src/bstr/bstraux.c:886:27: style:inconclusive: Function 'bSetCstrChar' argument 1 names different: declaration 'a' definition 'b'. [funcArgNamesDifferent] mongrel2-1.12.2/src/bstr/bstraux.h:52:34: note: Function 'bSetCstrChar' argument 1 names different: declaration 'a' definition 'b'. mongrel2-1.12.2/src/bstr/bstraux.c:886:27: note: Function 'bSetCstrChar' argument 1 names different: declaration 'a' definition 'b'. mongrel2-1.12.2/src/bstr/bstraux.c:973:42: style:inconclusive: Function 'bwsWriteFlush' argument 1 names different: declaration 'stream' definition 'ws'. [funcArgNamesDifferent] mongrel2-1.12.2/src/bstr/bstraux.h:88:42: note: Function 'bwsWriteFlush' argument 1 names different: declaration 'stream' definition 'ws'. mongrel2-1.12.2/src/bstr/bstraux.c:973:42: note: Function 'bwsWriteFlush' argument 1 names different: declaration 'stream' definition 'ws'. mongrel2-1.12.2/src/bstr/bstraux.c:987:41: style:inconclusive: Function 'bwsWriteBstr' argument 1 names different: declaration 'stream' definition 'ws'. [funcArgNamesDifferent] mongrel2-1.12.2/src/bstr/bstraux.h:86:41: note: Function 'bwsWriteBstr' argument 1 names different: declaration 'stream' definition 'ws'. mongrel2-1.12.2/src/bstr/bstraux.c:987:41: note: Function 'bwsWriteBstr' argument 1 names different: declaration 'stream' definition 'ws'. mongrel2-1.12.2/src/bstr/bstraux.c:1029:40: style:inconclusive: Function 'bwsWriteBlk' argument 1 names different: declaration 'stream' definition 'ws'. [funcArgNamesDifferent] mongrel2-1.12.2/src/bstr/bstraux.h:87:40: note: Function 'bwsWriteBlk' argument 1 names different: declaration 'stream' definition 'ws'. mongrel2-1.12.2/src/bstr/bstraux.c:1029:40: note: Function 'bwsWriteBlk' argument 1 names different: declaration 'stream' definition 'ws'. mongrel2-1.12.2/src/bstr/bstraux.c:1041:43: style:inconclusive: Function 'bwsIsEOF' argument 1 names different: declaration 'stream' definition 'ws'. [funcArgNamesDifferent] mongrel2-1.12.2/src/bstr/bstraux.h:89:43: note: Function 'bwsIsEOF' argument 1 names different: declaration 'stream' definition 'ws'. mongrel2-1.12.2/src/bstr/bstraux.c:1041:43: note: Function 'bwsIsEOF' argument 1 names different: declaration 'stream' definition 'ws'. mongrel2-1.12.2/src/bstr/bstraux.c:1052:42: style:inconclusive: Function 'bwsBuffLength' argument 1 names different: declaration 'stream' definition 'ws'. [funcArgNamesDifferent] mongrel2-1.12.2/src/bstr/bstraux.h:90:42: note: Function 'bwsBuffLength' argument 1 names different: declaration 'stream' definition 'ws'. mongrel2-1.12.2/src/bstr/bstraux.c:1052:42: note: Function 'bwsBuffLength' argument 1 names different: declaration 'stream' definition 'ws'. mongrel2-1.12.2/src/bstr/bstraux.c:1066:40: style:inconclusive: Function 'bwsClose' argument 1 names different: declaration 'stream' definition 'ws'. [funcArgNamesDifferent] mongrel2-1.12.2/src/bstr/bstraux.h:91:40: note: Function 'bwsClose' argument 1 names different: declaration 'stream' definition 'ws'. mongrel2-1.12.2/src/bstr/bstraux.c:1066:40: note: Function 'bwsClose' argument 1 names different: declaration 'stream' definition 'ws'. mongrel2-1.12.2/src/bstr/bstraux.c:824:24: warning: Uninitialized variable: octetbuff [uninitvar] mongrel2-1.12.2/src/bstr/bstraux.c:794:14: note: Assuming condition is false mongrel2-1.12.2/src/bstr/bstraux.c:824:24: note: Uninitialized variable: octetbuff mongrel2-1.12.2/src/cache.c:49:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/cache.c:75:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/cache.c:93:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/cache.c:126:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/cache.c:163:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/cache.c:159:45: style: Parameter 'obj' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/tnetstrings.h:35:13: debug: Scope::checkVariable found variable 'bool' with varid 0. [varid0] mongrel2-1.12.2/src/adt/darray.h:50:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/adt/darray.h:58:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/adt/darray.h:77:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/chunked.c:116:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/config/config.c:67:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/config/config.c:104:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/config/config.c:129:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/config/config.c:195:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable number [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/config/config.c:251:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable number [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/config/config.c:278:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Filter_load [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/config/config.c:284:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Xrequest_load [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/config/config.c:306:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/config/config.c:345:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable number [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/config/config.c:393:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/config/config.c:410:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tns_tag_list [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/config/config.c:425:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tns_tag_list [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/config/config.c:453:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable init [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/config/config.c:465:5: error: Resource leak: lib [resourceLeak] mongrel2-1.12.2/src/config/config.c:90:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/config/config.c:114:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/config/config.c:141:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/config/config.c:234:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/config/config.c:270:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/config/config.c:329:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/config/config.c:374:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/config/config.c:402:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/config/config.c:415:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/config/config.c:429:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/config/config.c:466:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/config/config.c:183:12: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/src/config/config.c:245:12: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/src/config/config.c:293:12: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/src/config/db.c:114:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tns_tag_list [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/config/db.c:220:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tns_tag_list [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/config/db.c:246:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tns_tag_null [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/config/db.c:51:5: error: Resource leak: CONFIG_DB [resourceLeak] mongrel2-1.12.2/src/config/db.c:50:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/config/db.c:102:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/config/db.c:136:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/config/db.c:204:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/config/db.c:232:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/config/db.c:263:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/config/module.c:87:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tns_tag_list [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/bstr/bstrlib.c:1124:32: style: Condition '(l=b1->slen-b2->slen)<0' is always true [knownConditionTrueFalse] mongrel2-1.12.2/src/bstr/bstrlib.c:1121:51: note: Assuming that condition 'b2->slen<=b1->slen' is not redundant mongrel2-1.12.2/src/bstr/bstrlib.c:1124:32: note: Condition '(l=b1->slen-b2->slen)<0' is always true mongrel2-1.12.2/src/bstr/bstrlib.c:1219:32: style: Condition '(l=b1->slen-b2->slen)<0' is always true [knownConditionTrueFalse] mongrel2-1.12.2/src/bstr/bstrlib.c:1216:51: note: Assuming that condition 'b2->slen<=b1->slen' is not redundant mongrel2-1.12.2/src/bstr/bstrlib.c:1219:32: note: Condition '(l=b1->slen-b2->slen)<0' is always true mongrel2-1.12.2/src/bstr/bstrlib.c:1783:68: style: Same expression 'b->mlen<=0' found multiple times in chain of '||' operators. [duplicateExpression] mongrel2-1.12.2/src/bstr/bstrlib.c:1831:68: style: Same expression 'b->mlen<=0' found multiple times in chain of '||' operators. [duplicateExpression] mongrel2-1.12.2/src/bstr/bstrlib.c:1869:68: style: Same expression 'b->mlen<=0' found multiple times in chain of '||' operators. [duplicateExpression] mongrel2-1.12.2/src/bstr/bstrlib.c:99:21: style:inconclusive: Function 'balloc' argument 1 names different: declaration 's' definition 'b'. [funcArgNamesDifferent] mongrel2-1.12.2/src/bstr/bstrlib.h:57:28: note: Function 'balloc' argument 1 names different: declaration 's' definition 'b'. mongrel2-1.12.2/src/bstr/bstrlib.c:99:21: note: Function 'balloc' argument 1 names different: declaration 's' definition 'b'. mongrel2-1.12.2/src/bstr/bstrlib.c:99:28: style:inconclusive: Function 'balloc' argument 2 names different: declaration 'len' definition 'olen'. [funcArgNamesDifferent] mongrel2-1.12.2/src/bstr/bstrlib.h:57:35: note: Function 'balloc' argument 2 names different: declaration 'len' definition 'olen'. mongrel2-1.12.2/src/bstr/bstrlib.c:99:28: note: Function 'balloc' argument 2 names different: declaration 'len' definition 'olen'. mongrel2-1.12.2/src/bstr/bstrlib.c:277:33: style:inconclusive: Function 'bstr2cstr' argument 1 names different: declaration 's' definition 'b'. [funcArgNamesDifferent] mongrel2-1.12.2/src/bstr/bstrlib.h:45:40: note: Function 'bstr2cstr' argument 1 names different: declaration 's' definition 'b'. mongrel2-1.12.2/src/bstr/bstrlib.c:277:33: note: Function 'bstr2cstr' argument 1 names different: declaration 's' definition 'b'. mongrel2-1.12.2/src/bstr/bstrlib.c:350:23: style:inconclusive: Function 'bconchar' argument 1 names different: declaration 'b0' definition 'b'. [funcArgNamesDifferent] mongrel2-1.12.2/src/bstr/bstrlib.h:65:30: note: Function 'bconchar' argument 1 names different: declaration 'b0' definition 'b'. mongrel2-1.12.2/src/bstr/bstrlib.c:350:23: note: Function 'bconchar' argument 1 names different: declaration 'b0' definition 'b'. mongrel2-1.12.2/src/bstr/bstrlib.c:411:32: style:inconclusive: Function 'bstrcpy' argument 1 names different: declaration 'b1' definition 'b'. [funcArgNamesDifferent] mongrel2-1.12.2/src/bstr/bstrlib.h:47:39: note: Function 'bstrcpy' argument 1 names different: declaration 'b1' definition 'b'. mongrel2-1.12.2/src/bstr/bstrlib.c:411:32: note: Function 'bstrcpy' argument 1 names different: declaration 'b1' definition 'b'. mongrel2-1.12.2/src/bstr/bstrlib.c:965:22: style:inconclusive: Function 'bdelete' argument 1 names different: declaration 's1' definition 'b'. [funcArgNamesDifferent] mongrel2-1.12.2/src/bstr/bstrlib.h:71:29: note: Function 'bdelete' argument 1 names different: declaration 's1' definition 'b'. mongrel2-1.12.2/src/bstr/bstrlib.c:965:22: note: Function 'bdelete' argument 1 names different: declaration 's1' definition 'b'. mongrel2-1.12.2/src/bstr/bstrlib.c:1023:27: style:inconclusive: Function 'binstr' argument 1 names different: declaration 's1' definition 'b1'. [funcArgNamesDifferent] mongrel2-1.12.2/src/bstr/bstrlib.h:86:34: note: Function 'binstr' argument 1 names different: declaration 's1' definition 'b1'. mongrel2-1.12.2/src/bstr/bstrlib.c:1023:27: note: Function 'binstr' argument 1 names different: declaration 's1' definition 'b1'. mongrel2-1.12.2/src/bstr/bstrlib.c:1023:54: style:inconclusive: Function 'binstr' argument 3 names different: declaration 's2' definition 'b2'. [funcArgNamesDifferent] mongrel2-1.12.2/src/bstr/bstrlib.h:86:61: note: Function 'binstr' argument 3 names different: declaration 's2' definition 'b2'. mongrel2-1.12.2/src/bstr/bstrlib.c:1023:54: note: Function 'binstr' argument 3 names different: declaration 's2' definition 'b2'. mongrel2-1.12.2/src/bstr/bstrlib.c:1110:28: style:inconclusive: Function 'binstrr' argument 1 names different: declaration 's1' definition 'b1'. [funcArgNamesDifferent] mongrel2-1.12.2/src/bstr/bstrlib.h:87:35: note: Function 'binstrr' argument 1 names different: declaration 's1' definition 'b1'. mongrel2-1.12.2/src/bstr/bstrlib.c:1110:28: note: Function 'binstrr' argument 1 names different: declaration 's1' definition 'b1'. mongrel2-1.12.2/src/bstr/bstrlib.c:1110:55: style:inconclusive: Function 'binstrr' argument 3 names different: declaration 's2' definition 'b2'. [funcArgNamesDifferent] mongrel2-1.12.2/src/bstr/bstrlib.h:87:62: note: Function 'binstrr' argument 3 names different: declaration 's2' definition 'b2'. mongrel2-1.12.2/src/bstr/bstrlib.c:1110:55: note: Function 'binstrr' argument 3 names different: declaration 's2' definition 'b2'. mongrel2-1.12.2/src/bstr/bstrlib.c:1157:35: style:inconclusive: Function 'binstrcaseless' argument 1 names different: declaration 's1' definition 'b1'. [funcArgNamesDifferent] mongrel2-1.12.2/src/bstr/bstrlib.h:88:42: note: Function 'binstrcaseless' argument 1 names different: declaration 's1' definition 'b1'. mongrel2-1.12.2/src/bstr/bstrlib.c:1157:35: note: Function 'binstrcaseless' argument 1 names different: declaration 's1' definition 'b1'. mongrel2-1.12.2/src/bstr/bstrlib.c:1157:62: style:inconclusive: Function 'binstrcaseless' argument 3 names different: declaration 's2' definition 'b2'. [funcArgNamesDifferent] mongrel2-1.12.2/src/bstr/bstrlib.h:88:69: note: Function 'binstrcaseless' argument 3 names different: declaration 's2' definition 'b2'. mongrel2-1.12.2/src/bstr/bstrlib.c:1157:62: note: Function 'binstrcaseless' argument 3 names different: declaration 's2' definition 'b2'. mongrel2-1.12.2/src/bstr/bstrlib.c:1205:36: style:inconclusive: Function 'binstrrcaseless' argument 1 names different: declaration 's1' definition 'b1'. [funcArgNamesDifferent] mongrel2-1.12.2/src/bstr/bstrlib.h:89:43: note: Function 'binstrrcaseless' argument 1 names different: declaration 's1' definition 'b1'. mongrel2-1.12.2/src/bstr/bstrlib.c:1205:36: note: Function 'binstrrcaseless' argument 1 names different: declaration 's1' definition 'b1'. mongrel2-1.12.2/src/bstr/bstrlib.c:1205:63: style:inconclusive: Function 'binstrrcaseless' argument 3 names different: declaration 's2' definition 'b2'. [funcArgNamesDifferent] mongrel2-1.12.2/src/bstr/bstrlib.h:89:70: note: Function 'binstrrcaseless' argument 3 names different: declaration 's2' definition 'b2'. mongrel2-1.12.2/src/bstr/bstrlib.c:1205:63: note: Function 'binstrrcaseless' argument 3 names different: declaration 's2' definition 'b2'. mongrel2-1.12.2/src/bstr/bstrlib.c:1455:22: style:inconclusive: Function 'binsert' argument 1 names different: declaration 's1' definition 'b1'. [funcArgNamesDifferent] mongrel2-1.12.2/src/bstr/bstrlib.h:68:29: note: Function 'binsert' argument 1 names different: declaration 's1' definition 'b1'. mongrel2-1.12.2/src/bstr/bstrlib.c:1455:22: note: Function 'binsert' argument 1 names different: declaration 's1' definition 'b1'. mongrel2-1.12.2/src/bstr/bstrlib.c:1455:49: style:inconclusive: Function 'binsert' argument 3 names different: declaration 's2' definition 'b2'. [funcArgNamesDifferent] mongrel2-1.12.2/src/bstr/bstrlib.h:68:56: note: Function 'binsert' argument 3 names different: declaration 's2' definition 'b2'. mongrel2-1.12.2/src/bstr/bstrlib.c:1455:49: note: Function 'binsert' argument 3 names different: declaration 's2' definition 'b2'. mongrel2-1.12.2/src/bstr/bstrlib.c:1721:24: style:inconclusive: Function 'binsertch' argument 1 names different: declaration 's1' definition 'b'. [funcArgNamesDifferent] mongrel2-1.12.2/src/bstr/bstrlib.h:69:31: note: Function 'binsertch' argument 1 names different: declaration 's1' definition 'b'. mongrel2-1.12.2/src/bstr/bstrlib.c:1721:24: note: Function 'binsertch' argument 1 names different: declaration 's1' definition 'b'. mongrel2-1.12.2/src/bstr/bstrlib.c:1983:24: style:inconclusive: Function 'bsreadlna' argument 1 names different: declaration 'b' definition 'r'. [funcArgNamesDifferent] mongrel2-1.12.2/src/bstr/bstrlib.h:178:31: note: Function 'bsreadlna' argument 1 names different: declaration 'b' definition 'r'. mongrel2-1.12.2/src/bstr/bstrlib.c:1983:24: note: Function 'bsreadlna' argument 1 names different: declaration 'b' definition 'r'. mongrel2-1.12.2/src/bstr/bstrlib.c:2118:22: style:inconclusive: Function 'bsreada' argument 1 names different: declaration 'b' definition 'r'. [funcArgNamesDifferent] mongrel2-1.12.2/src/bstr/bstrlib.h:180:29: note: Function 'bsreada' argument 1 names different: declaration 'b' definition 'r'. mongrel2-1.12.2/src/bstr/bstrlib.c:2118:22: note: Function 'bsreada' argument 1 names different: declaration 'b' definition 'r'. mongrel2-1.12.2/src/bstr/bstrlib.c:2182:23: style:inconclusive: Function 'bsreadln' argument 1 names different: declaration 'b' definition 'r'. [funcArgNamesDifferent] mongrel2-1.12.2/src/bstr/bstrlib.h:175:30: note: Function 'bsreadln' argument 1 names different: declaration 'b' definition 'r'. mongrel2-1.12.2/src/bstr/bstrlib.c:2182:23: note: Function 'bsreadln' argument 1 names different: declaration 'b' definition 'r'. mongrel2-1.12.2/src/bstr/bstrlib.c:2215:21: style:inconclusive: Function 'bsread' argument 1 names different: declaration 'b' definition 'r'. [funcArgNamesDifferent] mongrel2-1.12.2/src/bstr/bstrlib.h:177:28: note: Function 'bsread' argument 1 names different: declaration 'b' definition 'r'. mongrel2-1.12.2/src/bstr/bstrlib.c:2215:21: note: Function 'bsread' argument 1 names different: declaration 'b' definition 'r'. mongrel2-1.12.2/src/bstr/bstrlib.c:2944:65: style:inconclusive: Function 'bvcformata' argument 4 names different: declaration 'arglist' definition 'arg'. [funcArgNamesDifferent] mongrel2-1.12.2/src/bstr/bstrlib.h:136:72: note: Function 'bvcformata' argument 4 names different: declaration 'arglist' definition 'arg'. mongrel2-1.12.2/src/bstr/bstrlib.c:2944:65: note: Function 'bvcformata' argument 4 names different: declaration 'arglist' definition 'arg'. mongrel2-1.12.2/src/bstr/bstrlib.c:1025:17: style: Variable 'd0' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/bstr/bstrlib.c:1027:26: style: Variable 'd1' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/bstr/bstrlib.c:1112:17: style: Variable 'd0' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/bstr/bstrlib.c:1112:23: style: Variable 'd1' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/bstr/bstrlib.c:1159:17: style: Variable 'd0' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/bstr/bstrlib.c:1159:23: style: Variable 'd1' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/bstr/bstrlib.c:1207:17: style: Variable 'd0' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/bstr/bstrlib.c:1207:23: style: Variable 'd1' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/bstr/bstrlib.c:1250:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/tnetstrings_impl.h:27:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/tnetstrings_impl.h:71:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/tnetstrings_impl.h:81:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/tnetstrings_impl.h:102:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/tnetstrings_impl.h:116:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/control.c:87:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zmq_msg_t [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/control.c:122:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zmq_msg_t [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/control.c:179:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/control.c:206:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/control.c:267:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/control.c:296:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/control.c:386:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/control.c:439:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZMQ_REP [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/connection.c:97:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/connection.c:112:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/connection.c:133:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/connection.c:188:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/connection.c:201:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/connection.c:239:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/connection.c:320:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/connection.c:365:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BSTR_ERR [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/connection.c:388:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/connection.c:460:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/connection.c:484:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/connection.c:522:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/connection.c:553:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/connection.c:609:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/connection.c:664:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/connection.c:717:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/connection.c:775:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/connection.c:908:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/connection.c:967:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/connection.c:992:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/connection.c:1036:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/connection.c:1127:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/connection.c:1190:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/connection.c:1218:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/connection.c:1255:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/connection.c:1280:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/connection.c:1301:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/connection.c:1323:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/connection.c:1378:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/connection.c:1414:102: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MBEDTLS_SSL_VERIFY_NONE [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/tnetstrings_impl.h:10:5: warning: If memory allocation fails, then there is a possible null pointer dereference: val [nullPointerOutOfMemory] mongrel2-1.12.2/src/tnetstrings_impl.h:9:30: note: Assuming allocation function fails mongrel2-1.12.2/src/tnetstrings_impl.h:9:30: note: Assignment 'val=malloc(sizeof(struct tns_value_t))', assigned value is 0 mongrel2-1.12.2/src/tnetstrings_impl.h:10:5: note: Null pointer dereference mongrel2-1.12.2/src/control.c:428:13: style: Variable 'srv' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/tnetstrings_impl.h:114:11: style: Variable 'endptr' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/dbg.c:48:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/dbg.c:55:63: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] mongrel2-1.12.2/src/dir.c:86:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/dir.c:107:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FileRecord [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/dir.c:171:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/dir.c:188:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Dir [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/dir.c:346:98: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/dir.c:373:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BSTR_OK [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/dir.c:503:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_304 [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/dir.c:516:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_304 [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/dir.c:541:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_IF_MATCH [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/dir.c:592:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_GET [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/connection.c:312:74: style: Parameter 'body' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/connection.c:513:11: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/connection.c:554:24: style: Variable 'client' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/connection.c:607:14: style: Variable 'req_action' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/connection.c:963:22: style: Variable 'matchi' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/connection.c:987:38: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/adt/darray.h:71:42: style: Parameter 'array' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/connection.c:288:11: style: Variable 'i' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/src/dir.c:126:44: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] mongrel2-1.12.2/src/dir.c:138:40: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] mongrel2-1.12.2/src/dir.c:86:26: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fr [nullPointerOutOfMemory] mongrel2-1.12.2/src/dir.c:107:28: note: Assuming allocation function fails mongrel2-1.12.2/src/dir.c:107:28: note: Assignment 'fr=calloc(sizeof(FileRecord),1)', assigned value is 0 mongrel2-1.12.2/src/dir.c:118:15: note: Assuming condition is false mongrel2-1.12.2/src/dir.c:123:30: note: Calling function 'get_file_real_size', 1st argument 'fr' value is 0 mongrel2-1.12.2/src/dir.c:86:26: note: Null pointer dereference mongrel2-1.12.2/src/dir.c:87:69: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fr [nullPointerOutOfMemory] mongrel2-1.12.2/src/dir.c:107:28: note: Assuming allocation function fails mongrel2-1.12.2/src/dir.c:107:28: note: Assignment 'fr=calloc(sizeof(FileRecord),1)', assigned value is 0 mongrel2-1.12.2/src/dir.c:118:15: note: Assuming condition is false mongrel2-1.12.2/src/dir.c:123:30: note: Calling function 'get_file_real_size', 1st argument 'fr' value is 0 mongrel2-1.12.2/src/dir.c:87:69: note: Null pointer dereference mongrel2-1.12.2/src/dir.c:89:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fr [nullPointerOutOfMemory] mongrel2-1.12.2/src/dir.c:107:28: note: Assuming allocation function fails mongrel2-1.12.2/src/dir.c:107:28: note: Assignment 'fr=calloc(sizeof(FileRecord),1)', assigned value is 0 mongrel2-1.12.2/src/dir.c:118:15: note: Assuming condition is false mongrel2-1.12.2/src/dir.c:123:30: note: Calling function 'get_file_real_size', 1st argument 'fr' value is 0 mongrel2-1.12.2/src/dir.c:89:5: note: Null pointer dereference mongrel2-1.12.2/src/dir.c:90:11: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fr [nullPointerOutOfMemory] mongrel2-1.12.2/src/dir.c:107:28: note: Assuming allocation function fails mongrel2-1.12.2/src/dir.c:107:28: note: Assignment 'fr=calloc(sizeof(FileRecord),1)', assigned value is 0 mongrel2-1.12.2/src/dir.c:118:15: note: Assuming condition is false mongrel2-1.12.2/src/dir.c:123:30: note: Calling function 'get_file_real_size', 1st argument 'fr' value is 0 mongrel2-1.12.2/src/dir.c:90:11: note: Null pointer dereference mongrel2-1.12.2/src/dir.c:90:71: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fr [nullPointerOutOfMemory] mongrel2-1.12.2/src/dir.c:107:28: note: Assuming allocation function fails mongrel2-1.12.2/src/dir.c:107:28: note: Assignment 'fr=calloc(sizeof(FileRecord),1)', assigned value is 0 mongrel2-1.12.2/src/dir.c:118:15: note: Assuming condition is false mongrel2-1.12.2/src/dir.c:123:30: note: Calling function 'get_file_real_size', 1st argument 'fr' value is 0 mongrel2-1.12.2/src/dir.c:90:71: note: Null pointer dereference mongrel2-1.12.2/src/dir.c:112:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fr [nullPointerOutOfMemory] mongrel2-1.12.2/src/dir.c:107:28: note: Assuming allocation function fails mongrel2-1.12.2/src/dir.c:107:28: note: Assignment 'fr=calloc(sizeof(FileRecord),1)', assigned value is 0 mongrel2-1.12.2/src/dir.c:112:5: note: Null pointer dereference mongrel2-1.12.2/src/dir.c:113:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fr [nullPointerOutOfMemory] mongrel2-1.12.2/src/dir.c:107:28: note: Assuming allocation function fails mongrel2-1.12.2/src/dir.c:107:28: note: Assignment 'fr=calloc(sizeof(FileRecord),1)', assigned value is 0 mongrel2-1.12.2/src/dir.c:113:5: note: Null pointer dereference mongrel2-1.12.2/src/dir.c:115:26: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fr [nullPointerOutOfMemory] mongrel2-1.12.2/src/dir.c:107:28: note: Assuming allocation function fails mongrel2-1.12.2/src/dir.c:107:28: note: Assignment 'fr=calloc(sizeof(FileRecord),1)', assigned value is 0 mongrel2-1.12.2/src/dir.c:115:26: note: Null pointer dereference mongrel2-1.12.2/src/dir.c:116:50: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fr [nullPointerOutOfMemory] mongrel2-1.12.2/src/dir.c:107:28: note: Assuming allocation function fails mongrel2-1.12.2/src/dir.c:107:28: note: Assignment 'fr=calloc(sizeof(FileRecord),1)', assigned value is 0 mongrel2-1.12.2/src/dir.c:116:50: note: Null pointer dereference mongrel2-1.12.2/src/dir.c:118:16: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fr [nullPointerOutOfMemory] mongrel2-1.12.2/src/dir.c:107:28: note: Assuming allocation function fails mongrel2-1.12.2/src/dir.c:107:28: note: Assignment 'fr=calloc(sizeof(FileRecord),1)', assigned value is 0 mongrel2-1.12.2/src/dir.c:118:16: note: Null pointer dereference mongrel2-1.12.2/src/dir.c:123:88: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fr [nullPointerOutOfMemory] mongrel2-1.12.2/src/dir.c:107:28: note: Assuming allocation function fails mongrel2-1.12.2/src/dir.c:107:28: note: Assignment 'fr=calloc(sizeof(FileRecord),1)', assigned value is 0 mongrel2-1.12.2/src/dir.c:118:15: note: Assuming condition is false mongrel2-1.12.2/src/dir.c:123:88: note: Null pointer dereference mongrel2-1.12.2/src/dir.c:124:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fr [nullPointerOutOfMemory] mongrel2-1.12.2/src/dir.c:107:28: note: Assuming allocation function fails mongrel2-1.12.2/src/dir.c:107:28: note: Assignment 'fr=calloc(sizeof(FileRecord),1)', assigned value is 0 mongrel2-1.12.2/src/dir.c:118:15: note: Assuming condition is false mongrel2-1.12.2/src/dir.c:124:5: note: Null pointer dereference mongrel2-1.12.2/src/dir.c:126:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fr [nullPointerOutOfMemory] mongrel2-1.12.2/src/dir.c:107:28: note: Assuming allocation function fails mongrel2-1.12.2/src/dir.c:107:28: note: Assignment 'fr=calloc(sizeof(FileRecord),1)', assigned value is 0 mongrel2-1.12.2/src/dir.c:118:15: note: Assuming condition is false mongrel2-1.12.2/src/dir.c:126:5: note: Null pointer dereference mongrel2-1.12.2/src/dir.c:127:11: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fr [nullPointerOutOfMemory] mongrel2-1.12.2/src/dir.c:107:28: note: Assuming allocation function fails mongrel2-1.12.2/src/dir.c:107:28: note: Assignment 'fr=calloc(sizeof(FileRecord),1)', assigned value is 0 mongrel2-1.12.2/src/dir.c:118:15: note: Assuming condition is false mongrel2-1.12.2/src/dir.c:127:11: note: Null pointer dereference mongrel2-1.12.2/src/dir.c:130:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fr [nullPointerOutOfMemory] mongrel2-1.12.2/src/dir.c:107:28: note: Assuming allocation function fails mongrel2-1.12.2/src/dir.c:107:28: note: Assignment 'fr=calloc(sizeof(FileRecord),1)', assigned value is 0 mongrel2-1.12.2/src/dir.c:118:15: note: Assuming condition is false mongrel2-1.12.2/src/dir.c:130:5: note: Null pointer dereference mongrel2-1.12.2/src/dir.c:131:11: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fr [nullPointerOutOfMemory] mongrel2-1.12.2/src/dir.c:107:28: note: Assuming allocation function fails mongrel2-1.12.2/src/dir.c:107:28: note: Assignment 'fr=calloc(sizeof(FileRecord),1)', assigned value is 0 mongrel2-1.12.2/src/dir.c:118:15: note: Assuming condition is false mongrel2-1.12.2/src/dir.c:131:11: note: Null pointer dereference mongrel2-1.12.2/src/dir.c:134:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fr [nullPointerOutOfMemory] mongrel2-1.12.2/src/dir.c:107:28: note: Assuming allocation function fails mongrel2-1.12.2/src/dir.c:107:28: note: Assignment 'fr=calloc(sizeof(FileRecord),1)', assigned value is 0 mongrel2-1.12.2/src/dir.c:118:15: note: Assuming condition is false mongrel2-1.12.2/src/dir.c:134:5: note: Null pointer dereference mongrel2-1.12.2/src/dir.c:138:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fr [nullPointerOutOfMemory] mongrel2-1.12.2/src/dir.c:107:28: note: Assuming allocation function fails mongrel2-1.12.2/src/dir.c:107:28: note: Assignment 'fr=calloc(sizeof(FileRecord),1)', assigned value is 0 mongrel2-1.12.2/src/dir.c:118:15: note: Assuming condition is false mongrel2-1.12.2/src/dir.c:138:5: note: Null pointer dereference mongrel2-1.12.2/src/dir.c:140:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fr [nullPointerOutOfMemory] mongrel2-1.12.2/src/dir.c:107:28: note: Assuming allocation function fails mongrel2-1.12.2/src/dir.c:107:28: note: Assignment 'fr=calloc(sizeof(FileRecord),1)', assigned value is 0 mongrel2-1.12.2/src/dir.c:118:15: note: Assuming condition is false mongrel2-1.12.2/src/dir.c:140:5: note: Null pointer dereference mongrel2-1.12.2/src/dir.c:140:33: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fr [nullPointerOutOfMemory] mongrel2-1.12.2/src/dir.c:107:28: note: Assuming allocation function fails mongrel2-1.12.2/src/dir.c:107:28: note: Assignment 'fr=calloc(sizeof(FileRecord),1)', assigned value is 0 mongrel2-1.12.2/src/dir.c:118:15: note: Assuming condition is false mongrel2-1.12.2/src/dir.c:140:33: note: Null pointer dereference mongrel2-1.12.2/src/dir.c:140:50: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fr [nullPointerOutOfMemory] mongrel2-1.12.2/src/dir.c:107:28: note: Assuming allocation function fails mongrel2-1.12.2/src/dir.c:107:28: note: Assignment 'fr=calloc(sizeof(FileRecord),1)', assigned value is 0 mongrel2-1.12.2/src/dir.c:118:15: note: Assuming condition is false mongrel2-1.12.2/src/dir.c:140:50: note: Null pointer dereference mongrel2-1.12.2/src/dir.c:142:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fr [nullPointerOutOfMemory] mongrel2-1.12.2/src/dir.c:107:28: note: Assuming allocation function fails mongrel2-1.12.2/src/dir.c:107:28: note: Assignment 'fr=calloc(sizeof(FileRecord),1)', assigned value is 0 mongrel2-1.12.2/src/dir.c:118:15: note: Assuming condition is false mongrel2-1.12.2/src/dir.c:142:5: note: Null pointer dereference mongrel2-1.12.2/src/dir.c:143:15: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fr [nullPointerOutOfMemory] mongrel2-1.12.2/src/dir.c:107:28: note: Assuming allocation function fails mongrel2-1.12.2/src/dir.c:107:28: note: Assignment 'fr=calloc(sizeof(FileRecord),1)', assigned value is 0 mongrel2-1.12.2/src/dir.c:118:15: note: Assuming condition is false mongrel2-1.12.2/src/dir.c:143:15: note: Null pointer dereference mongrel2-1.12.2/src/dir.c:144:15: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fr [nullPointerOutOfMemory] mongrel2-1.12.2/src/dir.c:107:28: note: Assuming allocation function fails mongrel2-1.12.2/src/dir.c:107:28: note: Assignment 'fr=calloc(sizeof(FileRecord),1)', assigned value is 0 mongrel2-1.12.2/src/dir.c:118:15: note: Assuming condition is false mongrel2-1.12.2/src/dir.c:144:15: note: Null pointer dereference mongrel2-1.12.2/src/dir.c:145:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fr [nullPointerOutOfMemory] mongrel2-1.12.2/src/dir.c:107:28: note: Assuming allocation function fails mongrel2-1.12.2/src/dir.c:107:28: note: Assignment 'fr=calloc(sizeof(FileRecord),1)', assigned value is 0 mongrel2-1.12.2/src/dir.c:118:15: note: Assuming condition is false mongrel2-1.12.2/src/dir.c:145:9: note: Null pointer dereference mongrel2-1.12.2/src/dir.c:146:15: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fr [nullPointerOutOfMemory] mongrel2-1.12.2/src/dir.c:107:28: note: Assuming allocation function fails mongrel2-1.12.2/src/dir.c:107:28: note: Assignment 'fr=calloc(sizeof(FileRecord),1)', assigned value is 0 mongrel2-1.12.2/src/dir.c:118:15: note: Assuming condition is false mongrel2-1.12.2/src/dir.c:146:15: note: Null pointer dereference mongrel2-1.12.2/src/dir.c:147:15: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fr [nullPointerOutOfMemory] mongrel2-1.12.2/src/dir.c:107:28: note: Assuming allocation function fails mongrel2-1.12.2/src/dir.c:107:28: note: Assignment 'fr=calloc(sizeof(FileRecord),1)', assigned value is 0 mongrel2-1.12.2/src/dir.c:118:15: note: Assuming condition is false mongrel2-1.12.2/src/dir.c:147:15: note: Null pointer dereference mongrel2-1.12.2/src/dir.c:149:11: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fr [nullPointerOutOfMemory] mongrel2-1.12.2/src/dir.c:107:28: note: Assuming allocation function fails mongrel2-1.12.2/src/dir.c:107:28: note: Assignment 'fr=calloc(sizeof(FileRecord),1)', assigned value is 0 mongrel2-1.12.2/src/dir.c:118:15: note: Assuming condition is false mongrel2-1.12.2/src/dir.c:149:11: note: Null pointer dereference mongrel2-1.12.2/src/dir.c:191:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: dir [nullPointerOutOfMemory] mongrel2-1.12.2/src/dir.c:188:22: note: Assuming allocation function fails mongrel2-1.12.2/src/dir.c:188:22: note: Assignment 'dir=calloc(sizeof(Dir),1)', assigned value is 0 mongrel2-1.12.2/src/dir.c:191:5: note: Null pointer dereference mongrel2-1.12.2/src/dir.c:96:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/dir.c:153:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/dir.c:180:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/dir.c:216:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/dir.c:245:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/dir.c:325:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/dir.c:354:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/dir.c:380:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/dir.c:395:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/dir.c:492:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/dir.c:631:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/dir.c:271:11: style: Variable 'end' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/dir.c:499:71: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/dir.c:531:29: style: Variable 'if_unmodified_since' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/src/dir.c:532:27: style: Variable 'if_modified_since' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/src/dir.c:533:22: style: Variable 'if_match' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/src/dir.c:534:27: style: Variable 'if_none_match' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/src/dir.c:585:18: style: Variable 'resp' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/src/dir.c:591:22: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/src/filter.c:179:12: warning: If memory allocation fails, then there is a possible null pointer dereference: new_states [nullPointerOutOfMemory] mongrel2-1.12.2/src/filter.c:178:36: note: Assuming allocation function fails mongrel2-1.12.2/src/filter.c:178:36: note: Assignment 'new_states=calloc(sizeof(enum StateEvent),length)', assigned value is 0 mongrel2-1.12.2/src/filter.c:179:12: note: Null pointer dereference mongrel2-1.12.2/src/filter.c:51:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/filter.c:81:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/filter.c:107:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/filter.c:129:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/filter.c:171:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/filter.c:152:17: style: Variable 'states' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/filter.c:176:43: style: Parameter 'states' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/filter.c:88:11: style: Variable 'i' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/src/handler.c:108:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_METHOD [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/handler.c:318:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zmq_msg_t [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/handler.c:456:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZMQ_PUSH [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/handler.c:481:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZMQ_SUB [valueFlowBailoutIncompleteVar] src/handler_parser.rl:131:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HandlerParser [valueFlowBailoutIncompleteVar] src/handler_parser.rl:80:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] src/handler_parser.rl:124:1: style: Label 'error' is not used. [unusedLabel] src/handler_parser.rl:141:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/host.c:53:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BACKEND_DIR [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/host.c:77:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Host [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/host.c:113:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Backend [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/handler.c:519:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: handler [nullPointerOutOfMemory] mongrel2-1.12.2/src/handler.c:516:30: note: Assuming allocation function fails mongrel2-1.12.2/src/handler.c:516:30: note: Assignment 'handler=calloc(sizeof(struct Handler),1)', assigned value is 0 mongrel2-1.12.2/src/handler.c:519:5: note: Null pointer dereference mongrel2-1.12.2/src/handler.c:520:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: handler [nullPointerOutOfMemory] mongrel2-1.12.2/src/handler.c:516:30: note: Assuming allocation function fails mongrel2-1.12.2/src/handler.c:516:30: note: Assignment 'handler=calloc(sizeof(struct Handler),1)', assigned value is 0 mongrel2-1.12.2/src/handler.c:520:5: note: Null pointer dereference mongrel2-1.12.2/src/handler.c:521:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: handler [nullPointerOutOfMemory] mongrel2-1.12.2/src/handler.c:516:30: note: Assuming allocation function fails mongrel2-1.12.2/src/handler.c:516:30: note: Assignment 'handler=calloc(sizeof(struct Handler),1)', assigned value is 0 mongrel2-1.12.2/src/handler.c:521:5: note: Null pointer dereference mongrel2-1.12.2/src/handler.c:522:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: handler [nullPointerOutOfMemory] mongrel2-1.12.2/src/handler.c:516:30: note: Assuming allocation function fails mongrel2-1.12.2/src/handler.c:516:30: note: Assignment 'handler=calloc(sizeof(struct Handler),1)', assigned value is 0 mongrel2-1.12.2/src/handler.c:522:5: note: Null pointer dereference mongrel2-1.12.2/src/handler.c:523:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: handler [nullPointerOutOfMemory] mongrel2-1.12.2/src/handler.c:516:30: note: Assuming allocation function fails mongrel2-1.12.2/src/handler.c:516:30: note: Assignment 'handler=calloc(sizeof(struct Handler),1)', assigned value is 0 mongrel2-1.12.2/src/handler.c:523:5: note: Null pointer dereference mongrel2-1.12.2/src/handler.c:524:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: handler [nullPointerOutOfMemory] mongrel2-1.12.2/src/handler.c:516:30: note: Assuming allocation function fails mongrel2-1.12.2/src/handler.c:516:30: note: Assignment 'handler=calloc(sizeof(struct Handler),1)', assigned value is 0 mongrel2-1.12.2/src/handler.c:524:5: note: Null pointer dereference mongrel2-1.12.2/src/handler.c:525:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: handler [nullPointerOutOfMemory] mongrel2-1.12.2/src/handler.c:516:30: note: Assuming allocation function fails mongrel2-1.12.2/src/handler.c:516:30: note: Assignment 'handler=calloc(sizeof(struct Handler),1)', assigned value is 0 mongrel2-1.12.2/src/handler.c:525:5: note: Null pointer dereference mongrel2-1.12.2/src/handler.c:94:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/handler.c:140:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/handler.c:159:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/handler.c:189:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/handler.c:219:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/handler.c:241:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/handler.c:262:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/handler.c:283:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/handler.c:307:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/handler.c:342:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/handler.c:421:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/handler.c:447:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/handler.c:474:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/handler.c:500:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/handler.c:528:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/handler.c:256:18: style: Variable 'n' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/handler.c:289:53: style: Parameter 'handler' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/host.c:116:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: backend [nullPointerOutOfMemory] mongrel2-1.12.2/src/host.c:113:30: note: Assuming allocation function fails mongrel2-1.12.2/src/host.c:113:30: note: Assignment 'backend=calloc(sizeof(Backend),1)', assigned value is 0 mongrel2-1.12.2/src/host.c:116:5: note: Null pointer dereference mongrel2-1.12.2/src/host.c:94:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/host.c:134:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/handler.c:353:12: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] src/http11/http11_parser.rl:287:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] src/http11/http11_parser.rl:322:40: style: Parameter 'parser' can be declared as pointer to const [constParameterPointer] src/http11/http11_parser.rl:326:42: style: Parameter 'parser' can be declared as pointer to const [constParameterPointer] src/http11/httpclient_parser.rl:222:11: style: Variable 'parser->cs' is assigned an expression that holds the same value. [redundantAssignment] src/http11/httpclient_parser.rl:220:12: note: cs is assigned 'parser->cs' here. src/http11/httpclient_parser.rl:222:11: note: Variable 'parser->cs' is assigned an expression that holds the same value. src/http11/httpclient_parser.rl:115:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] src/http11/httpclient_parser.rl:124:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] src/http11/httpclient_parser.rl:145:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] src/http11/httpclient_parser.rl:160:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] src/http11/httpclient_parser.rl:173:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] mongrel2-1.12.2/src/io.c:109:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/io.c:146:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/io.c:163:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/io.c:191:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/io.c:227:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/io.c:285:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mbedtls_ssl_session [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/io.c:299:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/io.c:341:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/io.c:392:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mbedtls_ssl_config [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/io.c:421:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/io.c:466:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/io.c:484:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/io.c:524:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/io.c:624:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/io.c:644:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/io.c:671:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/io.c:691:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/io.c:748:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/io.c:777:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:1032:24: style: Condition 'spx->prec==spy->prec' is always true [knownConditionTrueFalse] mongrel2-1.12.2/examples/kegogi/lemon.c:1028:24: note: Assuming that condition 'spx->prec>spy->prec' is not redundant mongrel2-1.12.2/examples/kegogi/lemon.c:1030:24: note: Assuming that condition 'spx->precprec' is not redundant mongrel2-1.12.2/examples/kegogi/lemon.c:1032:24: note: Condition 'spx->prec==spy->prec' is always true mongrel2-1.12.2/examples/kegogi/lemon.c:1034:24: style: Condition 'spx->prec==spy->prec' is always true [knownConditionTrueFalse] mongrel2-1.12.2/examples/kegogi/lemon.c:1028:24: note: Assuming that condition 'spx->prec>spy->prec' is not redundant mongrel2-1.12.2/examples/kegogi/lemon.c:1030:24: note: Assuming that condition 'spx->precprec' is not redundant mongrel2-1.12.2/examples/kegogi/lemon.c:1034:24: note: Condition 'spx->prec==spy->prec' is always true mongrel2-1.12.2/examples/kegogi/lemon.c:1050:24: style: Condition 'spx->precprec' is always true [knownConditionTrueFalse] mongrel2-1.12.2/examples/kegogi/lemon.c:1045:29: note: Assuming that condition 'spx->prec==spy->prec' is not redundant mongrel2-1.12.2/examples/kegogi/lemon.c:1050:24: note: Condition 'spx->precprec' is always true mongrel2-1.12.2/examples/kegogi/lemon.c:3163:10: style: Condition 'cp==0' is always false [knownConditionTrueFalse] mongrel2-1.12.2/examples/kegogi/lemon.c:2527:5: error: Resource leak: fp [resourceLeak] mongrel2-1.12.2/examples/kegogi/lemon.c:2534:5: error: Resource leak: fp [resourceLeak] mongrel2-1.12.2/examples/kegogi/lemon.c:3233:5: error: Common realloc mistake: 'z' nulled but not freed upon failure [memleakOnRealloc] mongrel2-1.12.2/examples/kegogi/lemon.c:766:5: warning: Either the condition '(stp)==0' is redundant or there is possible null pointer dereference: stp. [nullPointerRedundantCheck] mongrel2-1.12.2/examples/kegogi/lemon.c:765:5: note: Assuming that condition '(stp)==0' is not redundant mongrel2-1.12.2/examples/kegogi/lemon.c:766:5: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/lemon.c:767:5: warning: Either the condition '(stp)==0' is redundant or there is possible null pointer dereference: stp. [nullPointerRedundantCheck] mongrel2-1.12.2/examples/kegogi/lemon.c:765:5: note: Assuming that condition '(stp)==0' is not redundant mongrel2-1.12.2/examples/kegogi/lemon.c:767:5: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/lemon.c:768:5: warning: Either the condition '(stp)==0' is redundant or there is possible null pointer dereference: stp. [nullPointerRedundantCheck] mongrel2-1.12.2/examples/kegogi/lemon.c:765:5: note: Assuming that condition '(stp)==0' is not redundant mongrel2-1.12.2/examples/kegogi/lemon.c:768:5: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/lemon.c:769:5: warning: Either the condition '(stp)==0' is redundant or there is possible null pointer dereference: stp. [nullPointerRedundantCheck] mongrel2-1.12.2/examples/kegogi/lemon.c:765:5: note: Assuming that condition '(stp)==0' is not redundant mongrel2-1.12.2/examples/kegogi/lemon.c:769:5: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/lemon.c:770:22: warning: Either the condition '(stp)==0' is redundant or there is possible null pointer dereference: stp. [nullPointerRedundantCheck] mongrel2-1.12.2/examples/kegogi/lemon.c:765:5: note: Assuming that condition '(stp)==0' is not redundant mongrel2-1.12.2/examples/kegogi/lemon.c:770:22: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/lemon.c:810:11: warning: Either the condition '(stp)==0' is redundant or there is possible null pointer dereference: stp. [nullPointerRedundantCheck] mongrel2-1.12.2/examples/kegogi/lemon.c:765:5: note: Assuming that condition '(stp)==0' is not redundant mongrel2-1.12.2/examples/kegogi/lemon.c:771:22: note: Calling function 'buildshifts', 2nd argument 'stp' value is 0 mongrel2-1.12.2/examples/kegogi/lemon.c:810:11: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/lemon.c:2159:18: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/lemon.c:2158:23: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/lemon.c:2158:23: note: Assignment 'msp=calloc(1,sizeof(*msp))', assigned value is 0 mongrel2-1.12.2/examples/kegogi/lemon.c:2159:18: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/lemon.c:2160:11: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/lemon.c:2158:23: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/lemon.c:2158:23: note: Assignment 'msp=calloc(1,sizeof(*msp))', assigned value is 0 mongrel2-1.12.2/examples/kegogi/lemon.c:2160:11: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/lemon.c:2161:11: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/lemon.c:2158:23: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/lemon.c:2158:23: note: Assignment 'msp=calloc(1,sizeof(*msp))', assigned value is 0 mongrel2-1.12.2/examples/kegogi/lemon.c:2161:11: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/lemon.c:2162:11: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/lemon.c:2158:23: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/lemon.c:2158:23: note: Assignment 'msp=calloc(1,sizeof(*msp))', assigned value is 0 mongrel2-1.12.2/examples/kegogi/lemon.c:2162:11: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/lemon.c:2163:11: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/lemon.c:2158:23: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/lemon.c:2158:23: note: Assignment 'msp=calloc(1,sizeof(*msp))', assigned value is 0 mongrel2-1.12.2/examples/kegogi/lemon.c:2163:11: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/lemon.c:2164:11: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/lemon.c:2158:23: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/lemon.c:2158:23: note: Assignment 'msp=calloc(1,sizeof(*msp))', assigned value is 0 mongrel2-1.12.2/examples/kegogi/lemon.c:2164:11: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/lemon.c:2164:23: warning: If memory allocation fails, then there is a possible null pointer dereference: origsp [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/lemon.c:2158:23: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/lemon.c:2158:23: note: Assignment 'msp=calloc(1,sizeof(*msp))', assigned value is 0 mongrel2-1.12.2/examples/kegogi/lemon.c:2155:28: note: msp is assigned 'psp->rhs[psp->nrhs-1]' here. mongrel2-1.12.2/examples/kegogi/lemon.c:2157:35: note: Assignment 'origsp=msp', assigned value is symbolic=psp->rhs[psp->nrhs-1] mongrel2-1.12.2/examples/kegogi/lemon.c:2163:26: note: msp->subsym[0] is assigned 'origsp' here. mongrel2-1.12.2/examples/kegogi/lemon.c:2155:28: note: msp is assigned 'psp->rhs[psp->nrhs-1]' here. mongrel2-1.12.2/examples/kegogi/lemon.c:2157:35: note: Assignment 'origsp=msp', assigned value is symbolic=psp->rhs[psp->nrhs-1] mongrel2-1.12.2/examples/kegogi/lemon.c:2164:23: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/lemon.c:2167:9: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/lemon.c:2158:23: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/lemon.c:2158:23: note: Assignment 'msp=calloc(1,sizeof(*msp))', assigned value is 0 mongrel2-1.12.2/examples/kegogi/lemon.c:2167:9: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/lemon.c:2168:9: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/lemon.c:2158:23: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/lemon.c:2158:23: note: Assignment 'msp=calloc(1,sizeof(*msp))', assigned value is 0 mongrel2-1.12.2/examples/kegogi/lemon.c:2168:9: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/lemon.c:2168:31: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/lemon.c:2158:23: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/lemon.c:2158:23: note: Assignment 'msp=calloc(1,sizeof(*msp))', assigned value is 0 mongrel2-1.12.2/examples/kegogi/lemon.c:2168:31: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/lemon.c:2168:67: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/lemon.c:2158:23: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/lemon.c:2158:23: note: Assignment 'msp=calloc(1,sizeof(*msp))', assigned value is 0 mongrel2-1.12.2/examples/kegogi/lemon.c:2168:67: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/lemon.c:2169:9: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/lemon.c:2158:23: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/lemon.c:2158:23: note: Assignment 'msp=calloc(1,sizeof(*msp))', assigned value is 0 mongrel2-1.12.2/examples/kegogi/lemon.c:2169:9: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/lemon.c:2169:21: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/lemon.c:2158:23: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/lemon.c:2158:23: note: Assignment 'msp=calloc(1,sizeof(*msp))', assigned value is 0 mongrel2-1.12.2/examples/kegogi/lemon.c:2169:21: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/lemon.c:3393:30: warning: If memory allocation fails, then there is a possible null pointer dereference: types [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/lemon.c:3392:25: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/lemon.c:3392:11: note: Assignment 'types=(char**)calloc(arraysize,sizeof(char*))', assigned value is 0 mongrel2-1.12.2/examples/kegogi/lemon.c:3393:30: note: Null pointer dereference mongrel2-1.12.2/examples/kegogi/lemon.c:4373:5: warning: If memory allocation fails, then there is a possible null pointer dereference: sp [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/lemon.c:4371:33: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/lemon.c:4371:10: note: Assignment 'sp=(struct symbol*)calloc(1,sizeof(struct symbol))', assigned value is 0 mongrel2-1.12.2/examples/kegogi/lemon.c:4373:5: note: Null pointer dereference src/http11/httpclient_parser.rl:214:1: style: Label 'error' is not used. [unusedLabel] src/http11/httpclient_parser.rl:233:52: style: Parameter 'parser' can be declared as pointer to const [constParameterPointer] src/http11/httpclient_parser.rl:237:54: style: Parameter 'parser' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/examples/kegogi/lemon.c:1805:10: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] mongrel2-1.12.2/src/io.c:621:26: style: Condition 'buf->avail>=need' is always true [knownConditionTrueFalse] mongrel2-1.12.2/src/io.c:601:26: note: Assuming that condition 'buf->availavail>=need' is always true mongrel2-1.12.2/examples/kegogi/lemon.c:337:25: style: Local variable 'freelist' shadows outer variable [shadowVariable] mongrel2-1.12.2/examples/kegogi/lemon.c:1078:23: note: Shadowed declaration mongrel2-1.12.2/examples/kegogi/lemon.c:337:25: note: Shadow variable mongrel2-1.12.2/examples/kegogi/lemon.c:968:19: style: Local variable 'stp' shadows outer variable [shadowVariable] mongrel2-1.12.2/examples/kegogi/lemon.c:930:17: note: Shadowed declaration mongrel2-1.12.2/examples/kegogi/lemon.c:968:19: note: Shadow variable mongrel2-1.12.2/examples/kegogi/lemon.c:3580:11: style: Local variable 'name' shadows outer variable [shadowVariable] mongrel2-1.12.2/examples/kegogi/lemon.c:3562:9: note: Shadowed declaration mongrel2-1.12.2/examples/kegogi/lemon.c:3580:11: note: Shadow variable mongrel2-1.12.2/examples/kegogi/lemon.c:3623:9: style: Local variable 'i' shadows outer variable [shadowVariable] mongrel2-1.12.2/examples/kegogi/lemon.c:3561:7: note: Shadowed declaration mongrel2-1.12.2/examples/kegogi/lemon.c:3623:9: note: Shadow variable mongrel2-1.12.2/examples/kegogi/lemon.c:4309:11: style: Local variable 'size' shadows outer variable [shadowVariable] mongrel2-1.12.2/examples/kegogi/lemon.c:4147:12: note: Shadowed declaration mongrel2-1.12.2/examples/kegogi/lemon.c:4309:11: note: Shadow variable mongrel2-1.12.2/examples/kegogi/lemon.c:4475:11: style: Local variable 'size' shadows outer variable [shadowVariable] mongrel2-1.12.2/examples/kegogi/lemon.c:4147:12: note: Shadowed declaration mongrel2-1.12.2/examples/kegogi/lemon.c:4475:11: note: Shadow variable mongrel2-1.12.2/examples/kegogi/lemon.c:4554:9: style: Local variable 'size' shadows outer variable [shadowVariable] mongrel2-1.12.2/examples/kegogi/lemon.c:4147:12: note: Shadowed declaration mongrel2-1.12.2/examples/kegogi/lemon.c:4554:9: note: Shadow variable mongrel2-1.12.2/examples/kegogi/lemon.c:4681:11: style: Local variable 'size' shadows outer variable [shadowVariable] mongrel2-1.12.2/examples/kegogi/lemon.c:4147:12: note: Shadowed declaration mongrel2-1.12.2/examples/kegogi/lemon.c:4681:11: note: Shadow variable mongrel2-1.12.2/examples/kegogi/lemon.c:4741:9: style: Local variable 'size' shadows outer variable [shadowVariable] mongrel2-1.12.2/examples/kegogi/lemon.c:4147:12: note: Shadowed declaration mongrel2-1.12.2/examples/kegogi/lemon.c:4741:9: note: Shadow variable mongrel2-1.12.2/examples/kegogi/lemon.c:4826:11: style: Local variable 'size' shadows outer variable [shadowVariable] mongrel2-1.12.2/examples/kegogi/lemon.c:4147:12: note: Shadowed declaration mongrel2-1.12.2/examples/kegogi/lemon.c:4826:11: note: Shadow variable mongrel2-1.12.2/src/io.c:76:38: style: Parameter 'iob' can be declared as pointer to const. However it seems that 'plaintext_send' is a callback function, if 'iob' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mongrel2-1.12.2/src/io.c:450:21: note: You might need to cast the function pointer here mongrel2-1.12.2/src/io.c:76:38: note: Parameter 'iob' can be declared as pointer to const mongrel2-1.12.2/src/io.c:81:38: style: Parameter 'iob' can be declared as pointer to const. However it seems that 'plaintext_recv' is a callback function, if 'iob' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mongrel2-1.12.2/src/io.c:451:21: note: You might need to cast the function pointer here mongrel2-1.12.2/src/io.c:81:38: note: Parameter 'iob' can be declared as pointer to const mongrel2-1.12.2/src/io.c:86:33: style: Parameter 'iob' can be declared as pointer to const. However it seems that 'file_send' is a callback function, if 'iob' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mongrel2-1.12.2/src/io.c:446:21: note: You might need to cast the function pointer here mongrel2-1.12.2/src/io.c:86:33: note: Parameter 'iob' can be declared as pointer to const mongrel2-1.12.2/src/io.c:91:33: style: Parameter 'iob' can be declared as pointer to const. However it seems that 'file_recv' is a callback function, if 'iob' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mongrel2-1.12.2/src/io.c:447:21: note: You might need to cast the function pointer here mongrel2-1.12.2/src/io.c:91:33: note: Parameter 'iob' can be declared as pointer to const mongrel2-1.12.2/src/io.c:96:41: style: Parameter 'iob' can be declared as pointer to const. However it seems that 'plain_stream_file' is a callback function, if 'iob' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mongrel2-1.12.2/src/io.c:452:28: note: You might need to cast the function pointer here mongrel2-1.12.2/src/io.c:96:41: note: Parameter 'iob' can be declared as pointer to const mongrel2-1.12.2/src/io.c:131:12: style: Variable 'iob' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/io.c:139:12: style: Variable 'iob' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/io.c:301:26: style: Variable 'cur' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/io.c:789:38: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/examples/kegogi/lemon.c:631:25: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/examples/kegogi/lemon.c:780:16: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/examples/kegogi/lemon.c:781:16: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/examples/kegogi/lemon.c:889:15: style: Parameter 'lemp' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/io.c:737:14: style: Variable 'need' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/src/io.c:772:12: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/src/io.c:791:11: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/examples/kegogi/lemon.c:1014:18: style: Variable 'spx' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/examples/kegogi/lemon.c:1014:24: style: Variable 'spy' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/examples/kegogi/lemon.c:2333:15: style: Variable 'zOld' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/examples/kegogi/lemon.c:2333:22: style: Variable 'zNew' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/examples/kegogi/lemon.c:2717:15: style: Parameter 'lemp' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/examples/kegogi/lemon.c:2718:7: style: Parameter 'suffix' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/examples/kegogi/lemon.c:2741:7: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/examples/kegogi/lemon.c:2762:18: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/examples/kegogi/lemon.c:2809:18: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/examples/kegogi/lemon.c:2865:32: style: Parameter 'ap' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/examples/kegogi/lemon.c:2943:20: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/examples/kegogi/lemon.c:2967:7: style: Parameter 'argv0' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/log.c:73:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:2968:7: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/examples/kegogi/lemon.c:3013:15: style: Parameter 'lemp' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/examples/kegogi/lemon.c:3038:7: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/examples/kegogi/lemon.c:3072:9: style: Variable 'tpltname' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/examples/kegogi/lemon.c:3073:9: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/examples/kegogi/lemon.c:3107:7: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/examples/kegogi/lemon.c:3122:7: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/examples/kegogi/lemon.c:3189:16: style: Parameter 'sp' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/examples/kegogi/lemon.c:3190:15: style: Parameter 'lemp' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/examples/kegogi/lemon.c:3213:32: style: Parameter 'zText' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/examples/kegogi/lemon.c:3388:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/examples/kegogi/lemon.c:3400:20: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/examples/kegogi/lemon.c:3419:11: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/examples/kegogi/lemon.c:3525:17: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/examples/kegogi/lemon.c:3526:17: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/examples/kegogi/lemon.c:3537:20: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/log.c:128:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/log.c:147:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZMQ_CTX [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/log.c:184:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/log.c:218:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/log.c:266:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/log.c:293:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/examples/kegogi/lemon.c:3562:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/examples/kegogi/lemon.c:3588:11: style: Variable 'prefix' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/examples/kegogi/lemon.c:3820:22: style: Variable 'p' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/examples/kegogi/lemon.c:3861:22: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/examples/kegogi/lemon.c:3895:20: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/examples/kegogi/lemon.c:3992:9: style: Variable 'prefix' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/examples/kegogi/lemon.c:4033:21: style: Variable 'rp2' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/examples/kegogi/lemon.c:4033:27: style: Variable 'rbest' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/examples/kegogi/lemon.c:4190:7: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/examples/kegogi/lemon.c:4217:7: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/log.c:124:5: warning: If memory allocation fails, then there is a possible null pointer dereference: config [nullPointerOutOfMemory] mongrel2-1.12.2/src/log.c:123:31: note: Assuming allocation function fails mongrel2-1.12.2/src/log.c:123:31: note: Assignment 'config=malloc(sizeof(struct LogConfig))', assigned value is 0 mongrel2-1.12.2/src/log.c:124:5: note: Null pointer dereference mongrel2-1.12.2/src/log.c:125:5: warning: If memory allocation fails, then there is a possible null pointer dereference: config [nullPointerOutOfMemory] mongrel2-1.12.2/src/log.c:123:31: note: Assuming allocation function fails mongrel2-1.12.2/src/log.c:123:31: note: Assignment 'config=malloc(sizeof(struct LogConfig))', assigned value is 0 mongrel2-1.12.2/src/log.c:125:5: note: Null pointer dereference mongrel2-1.12.2/src/log.c:127:5: warning: If memory allocation fails, then there is a possible null pointer dereference: config [nullPointerOutOfMemory] mongrel2-1.12.2/src/log.c:123:31: note: Assuming allocation function fails mongrel2-1.12.2/src/log.c:123:31: note: Assignment 'config=malloc(sizeof(struct LogConfig))', assigned value is 0 mongrel2-1.12.2/src/log.c:127:5: note: Null pointer dereference mongrel2-1.12.2/src/log.c:127:38: warning: If memory allocation fails, then there is a possible null pointer dereference: config [nullPointerOutOfMemory] mongrel2-1.12.2/src/log.c:123:31: note: Assuming allocation function fails mongrel2-1.12.2/src/log.c:123:31: note: Assignment 'config=malloc(sizeof(struct LogConfig))', assigned value is 0 mongrel2-1.12.2/src/log.c:127:38: note: Null pointer dereference mongrel2-1.12.2/src/log.c:128:5: warning: If memory allocation fails, then there is a possible null pointer dereference: config [nullPointerOutOfMemory] mongrel2-1.12.2/src/log.c:123:31: note: Assuming allocation function fails mongrel2-1.12.2/src/log.c:123:31: note: Assignment 'config=malloc(sizeof(struct LogConfig))', assigned value is 0 mongrel2-1.12.2/src/log.c:128:5: note: Null pointer dereference mongrel2-1.12.2/src/adt/darray.h:48:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/adt/darray.h:56:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/adt/darray.h:73:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/logrotate.c:62:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/logrotate.c:73:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/logrotate.c:62:9: error: Return value of allocation function 'freopen' is not stored. [leakReturnValNotUsed] mongrel2-1.12.2/src/mime.c:71:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/mime.c:95:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/mem/halloc.c:202:7: error: Common realloc mistake: 'p' nulled but not freed upon failure [memleakOnRealloc] mongrel2-1.12.2/src/mem/halloc.c:65:22: style:inconclusive: Function 'halloc' argument 1 names different: declaration 'block' definition 'ptr'. [funcArgNamesDifferent] mongrel2-1.12.2/src/mem/halloc.h:23:23: note: Function 'halloc' argument 1 names different: declaration 'block' definition 'ptr'. mongrel2-1.12.2/src/mem/halloc.c:65:22: note: Function 'halloc' argument 1 names different: declaration 'block' definition 'ptr'. mongrel2-1.12.2/src/mem/halloc.c:162:25: style:inconclusive: Function 'h_realloc' argument 1 names different: declaration 'p' definition 'ptr'. [funcArgNamesDifferent] mongrel2-1.12.2/src/mem/halloc.h:31:25: note: Function 'h_realloc' argument 1 names different: declaration 'p' definition 'ptr'. mongrel2-1.12.2/src/mem/halloc.c:162:25: note: Function 'h_realloc' argument 1 names different: declaration 'p' definition 'ptr'. mongrel2-1.12.2/src/mem/halloc.c:167:22: style:inconclusive: Function 'h_free' argument 1 names different: declaration 'p' definition 'ptr'. [funcArgNamesDifferent] mongrel2-1.12.2/src/mem/halloc.h:32:25: note: Function 'h_free' argument 1 names different: declaration 'p' definition 'ptr'. mongrel2-1.12.2/src/mem/halloc.c:167:22: note: Function 'h_free' argument 1 names different: declaration 'p' definition 'ptr'. mongrel2-1.12.2/src/mem/halloc.c:222:45: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/mem/halloc.c:94:6: portability: '(void*)(ptr)' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] mongrel2-1.12.2/src/mem/halloc.c:129:6: portability: '(void*)(block)' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] mongrel2-1.12.2/src/mem/halloc.c:138:6: portability: '(void*)(parent)' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] mongrel2-1.12.2/src/mem/halloc.c:236:18: portability: '(void*)(i)' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] mongrel2-1.12.2/src/mem/halloc.c:258:18: portability: '(void*)(i)' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] mongrel2-1.12.2/src/proxy.c:62:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Proxy [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/mongrel2.c:103:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_RDWR [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/mongrel2.c:114:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_RESTART [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/mongrel2.c:140:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/mongrel2.c:182:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/mongrel2.c:213:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/mongrel2.c:240:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/mongrel2.c:315:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/mongrel2.c:364:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/mongrel2.c:382:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/proxy.c:71:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/proxy.c:115:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/proxy.c:131:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/proxy.c:163:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/proxy.c:188:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/pattern.c:105:39: style: Parameter 'ms' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/mongrel2.c:419:5: warning: If memory allocation fails, then there is a possible null pointer dereference: srv_data [nullPointerOutOfMemory] mongrel2-1.12.2/src/mongrel2.c:418:41: note: Assuming allocation function fails mongrel2-1.12.2/src/mongrel2.c:418:41: note: Assignment 'srv_data=calloc(1,sizeof(struct ServerTask))', assigned value is 0 mongrel2-1.12.2/src/mongrel2.c:419:5: note: Null pointer dereference mongrel2-1.12.2/src/mongrel2.c:420:5: warning: If memory allocation fails, then there is a possible null pointer dereference: srv_data [nullPointerOutOfMemory] mongrel2-1.12.2/src/mongrel2.c:418:41: note: Assuming allocation function fails mongrel2-1.12.2/src/mongrel2.c:418:41: note: Assignment 'srv_data=calloc(1,sizeof(struct ServerTask))', assigned value is 0 mongrel2-1.12.2/src/mongrel2.c:420:5: note: Null pointer dereference mongrel2-1.12.2/src/register.c:92:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/register.c:131:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/register.c:156:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/register.c:172:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/register.c:189:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/register.c:206:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/register.c:221:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/register.c:233:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/register.c:336:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/request.c:118:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/request.c:180:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/request.c:208:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BSTR_OK [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/request.c:244:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/request.c:363:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/request.c:427:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/request.c:484:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/routing.c:48:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RouteMap [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/routing.c:83:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Route [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/routing.c:55:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/routing.c:111:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/routing.c:140:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/routing.c:172:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/register.c:219:16: style: Variable 'el' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/register.c:223:19: style: Variable 'reg' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/register.c:256:19: style: Variable 'reg' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/setting.c:57:1: style: Label 'error' is not used. [unusedLabel] src/state.rl:120:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOSE [valueFlowBailoutIncompleteVar] src/state.rl:149:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOSE [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/server.c:98:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/server.c:155:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MBEDTLS_ENTROPY_BLOCK_SIZE [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/server.c:197:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/server.c:264:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/server.c:383:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/server.c:407:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/server.c:433:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/server.c:450:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/server.c:532:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/server.c:558:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/server.c:584:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/server.c:641:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] src/state.c:112:9: style: Condition 'p==pe' is always false [knownConditionTrueFalse] src/state.rl:119:19: note: pe is assigned 'p+1' here. src/state.c:112:9: note: Condition 'p==pe' is always false mongrel2-1.12.2/src/superpoll.c:86:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SuperPoll [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/superpoll.c:144:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZMQ_POLLIN [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/superpoll.c:185:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/superpoll.c:212:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/superpoll.c:229:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZMQ_POLL_MSEC [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/superpoll.c:276:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_NOFILE [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/superpoll.c:300:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PollResult [valueFlowBailoutIncompleteVar] src/state.rl:63:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] src/state.rl:80:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] src/state.rl:88:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] src/state.rl:99:28: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/superpoll.c:99:18: style: Condition 'rc==0' is always true [knownConditionTrueFalse] mongrel2-1.12.2/src/superpoll.c:98:34: note: Calling function 'SuperPoll_setup_idle' returns 0 mongrel2-1.12.2/src/superpoll.c:98:34: note: Assignment 'rc=SuperPoll_setup_idle(sp,total_open_fd)', assigned value is 0 mongrel2-1.12.2/src/superpoll.c:99:18: note: Condition 'rc==0' is always true mongrel2-1.12.2/src/superpoll.c:119:18: style: Condition 'rc!=-1' is always false [knownConditionTrueFalse] mongrel2-1.12.2/src/superpoll.c:118:39: note: Calling function 'SuperPoll_arm_idle_fd' returns -1 mongrel2-1.12.2/src/superpoll.c:118:39: note: Assignment 'rc=SuperPoll_arm_idle_fd(sp)', assigned value is -1 mongrel2-1.12.2/src/superpoll.c:119:18: note: Condition 'rc!=-1' is always false mongrel2-1.12.2/src/superpoll.c:244:22: style: Condition 'rc!=-1' is always true [knownConditionTrueFalse] mongrel2-1.12.2/src/superpoll.c:243:41: note: Calling function 'SuperPoll_add_idle_hits' returns 0 mongrel2-1.12.2/src/superpoll.c:243:41: note: Assignment 'rc=SuperPoll_add_idle_hits(sp,result)', assigned value is 0 mongrel2-1.12.2/src/superpoll.c:244:22: note: Condition 'rc!=-1' is always true mongrel2-1.12.2/src/superpoll.c:124:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/superpoll.c:160:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/superpoll.c:196:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/superpoll.c:258:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/superpoll.c:290:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/superpoll.c:307:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/superpoll.c:118:13: style: Local variable 'rc' shadows outer variable [shadowVariable] mongrel2-1.12.2/src/superpoll.c:88:9: note: Shadowed declaration mongrel2-1.12.2/src/superpoll.c:118:13: note: Shadow variable mongrel2-1.12.2/src/superpoll.c:174:40: style: Parameter 'socket' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/superpoll.c:210:74: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/superpoll.c:321:52: style: Parameter 'sp' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/superpoll.c:343:54: style: Parameter 'sp' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/superpoll.c:343:70: style: Parameter 'result' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/superpoll.c:88:12: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/src/superpoll.c:223:12: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/src/server.c:406:13: style: Variable 'srv' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/task/fd.c:117:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/task/fd.c:283:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZMQ_DONTWAIT [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/task/fd.c:303:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZMQ_DONTWAIT [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/task/fd.c:328:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/task/fd.c:341:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/task/fd.c:350:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/task/fd.c:362:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/task/fd.c:376:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/task/fd.c:395:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/task/fd.c:414:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/task/net.c:38:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/task/net.c:49:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPADDR_SIZE [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/task/net.c:151:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/task/net.c:182:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/task/net.c:285:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/task/fd.c:143:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/task/fd.c:246:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/task/fd.c:268:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/task/fd.c:44:11: style: Variable 't' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/task/fd.c:370:27: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/task/fd.c:389:26: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/task/fd.c:45:16: style: Variable 'now' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/src/task/net.c:131:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/task/net.c:164:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/task/net.c:256:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/task/net.c:329:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/task/net.c:139:11: style: Variable 'n' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/src/task/net.c:271:13: style: Variable 'opt' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/src/task/net.c:280:12: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/src/task/task.c:63:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/task/task.c:270:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/task/task.c:333:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/unixy.c:127:12: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: pid_file [nullPointerOutOfResources] mongrel2-1.12.2/src/unixy.c:122:21: note: Assuming allocation function fails mongrel2-1.12.2/src/unixy.c:122:21: note: Assignment 'pid_file=fopen(bdata(pid_path),"r")', assigned value is 0 mongrel2-1.12.2/src/unixy.c:127:12: note: Null pointer dereference mongrel2-1.12.2/src/unixy.c:184:15: warning:inconclusive: Either the condition 'pid_path' is redundant or there is possible null pointer dereference: pid_path. [nullPointerRedundantCheck] mongrel2-1.12.2/src/unixy.c:195:8: note: Assuming that condition 'pid_path' is not redundant mongrel2-1.12.2/src/unixy.c:184:15: note: Null pointer dereference mongrel2-1.12.2/src/unixy.c:188:22: warning:inconclusive: Either the condition 'pid_path' is redundant or there is possible null pointer dereference: pid_path. [nullPointerRedundantCheck] mongrel2-1.12.2/src/unixy.c:195:8: note: Assuming that condition 'pid_path' is not redundant mongrel2-1.12.2/src/unixy.c:188:22: note: Null pointer dereference mongrel2-1.12.2/src/unixy.c:191:19: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: pid_file [nullPointerOutOfResources] mongrel2-1.12.2/src/unixy.c:188:21: note: Assuming allocation function fails mongrel2-1.12.2/src/unixy.c:188:21: note: Assignment 'pid_file=fopen(pid_path,"w")', assigned value is 0 mongrel2-1.12.2/src/unixy.c:191:19: note: Null pointer dereference mongrel2-1.12.2/src/unixy.c:196:12: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: pid_file [nullPointerOutOfResources] mongrel2-1.12.2/src/unixy.c:188:21: note: Assuming allocation function fails mongrel2-1.12.2/src/unixy.c:188:21: note: Assignment 'pid_file=fopen(pid_path,"w")', assigned value is 0 mongrel2-1.12.2/src/unixy.c:196:12: note: Null pointer dereference mongrel2-1.12.2/src/unixy.c:65:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/unixy.c:110:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/unixy.c:129:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/unixy.c:170:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/unixy.c:199:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/unixy.c:214:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/task/task.c:66:11: portability: Obsolescent function 'getcontext' called. Applications are recommended to be rewritten to use POSIX threads. [prohibitedgetcontextCalled] mongrel2-1.12.2/src/task/task.c:170:8: portability: Obsolescent function 'swapcontext' called. Applications are recommended to be rewritten to use POSIX threads. [prohibitedswapcontextCalled] mongrel2-1.12.2/src/task/task.c:107:9: error: Common realloc mistake: 'alltask' nulled but not freed upon failure [memleakOnRealloc] mongrel2-1.12.2/src/task/task.c:55:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] mongrel2-1.12.2/src/task/task.c:52:15: note: Assuming allocation function fails mongrel2-1.12.2/src/task/task.c:52:15: note: Assignment 't=calloc(sizeof(struct Task)+stack,1)', assigned value is 0 mongrel2-1.12.2/src/task/task.c:55:5: note: Null pointer dereference mongrel2-1.12.2/src/task/task.c:56:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] mongrel2-1.12.2/src/task/task.c:52:15: note: Assuming allocation function fails mongrel2-1.12.2/src/task/task.c:52:15: note: Assignment 't=calloc(sizeof(struct Task)+stack,1)', assigned value is 0 mongrel2-1.12.2/src/task/task.c:56:5: note: Null pointer dereference mongrel2-1.12.2/src/task/task.c:57:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] mongrel2-1.12.2/src/task/task.c:52:15: note: Assuming allocation function fails mongrel2-1.12.2/src/task/task.c:52:15: note: Assignment 't=calloc(sizeof(struct Task)+stack,1)', assigned value is 0 mongrel2-1.12.2/src/task/task.c:57:5: note: Null pointer dereference mongrel2-1.12.2/src/task/task.c:58:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] mongrel2-1.12.2/src/task/task.c:52:15: note: Assuming allocation function fails mongrel2-1.12.2/src/task/task.c:52:15: note: Assignment 't=calloc(sizeof(struct Task)+stack,1)', assigned value is 0 mongrel2-1.12.2/src/task/task.c:58:5: note: Null pointer dereference mongrel2-1.12.2/src/task/task.c:59:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] mongrel2-1.12.2/src/task/task.c:52:15: note: Assuming allocation function fails mongrel2-1.12.2/src/task/task.c:52:15: note: Assignment 't=calloc(sizeof(struct Task)+stack,1)', assigned value is 0 mongrel2-1.12.2/src/task/task.c:59:5: note: Null pointer dereference mongrel2-1.12.2/src/task/task.c:70:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] mongrel2-1.12.2/src/task/task.c:52:15: note: Assuming allocation function fails mongrel2-1.12.2/src/task/task.c:52:15: note: Assignment 't=calloc(sizeof(struct Task)+stack,1)', assigned value is 0 mongrel2-1.12.2/src/task/task.c:70:5: note: Null pointer dereference mongrel2-1.12.2/src/task/task.c:70:44: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] mongrel2-1.12.2/src/task/task.c:52:15: note: Assuming allocation function fails mongrel2-1.12.2/src/task/task.c:52:15: note: Assignment 't=calloc(sizeof(struct Task)+stack,1)', assigned value is 0 mongrel2-1.12.2/src/task/task.c:70:44: note: Null pointer dereference mongrel2-1.12.2/src/task/task.c:71:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] mongrel2-1.12.2/src/task/task.c:52:15: note: Assuming allocation function fails mongrel2-1.12.2/src/task/task.c:52:15: note: Assignment 't=calloc(sizeof(struct Task)+stack,1)', assigned value is 0 mongrel2-1.12.2/src/task/task.c:71:5: note: Null pointer dereference mongrel2-1.12.2/src/task/task.c:71:38: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] mongrel2-1.12.2/src/task/task.c:52:15: note: Assuming allocation function fails mongrel2-1.12.2/src/task/task.c:52:15: note: Assignment 't=calloc(sizeof(struct Task)+stack,1)', assigned value is 0 mongrel2-1.12.2/src/task/task.c:71:38: note: Null pointer dereference mongrel2-1.12.2/src/task/task.c:212:9: warning: Either the condition 't==NULL' is redundant or there is possible null pointer dereference: t. [nullPointerRedundantCheck] mongrel2-1.12.2/src/task/task.c:201:14: note: Assuming that condition 't==NULL' is not redundant mongrel2-1.12.2/src/task/task.c:212:9: note: Null pointer dereference mongrel2-1.12.2/src/task/task.c:219:12: warning: Either the condition 't==NULL' is redundant or there is possible null pointer dereference: t. [nullPointerRedundantCheck] mongrel2-1.12.2/src/task/task.c:201:14: note: Assuming that condition 't==NULL' is not redundant mongrel2-1.12.2/src/task/task.c:219:12: note: Null pointer dereference mongrel2-1.12.2/src/task/task.c:372:8: warning: Either the condition 't==NULL' is redundant or there is possible null pointer dereference: t. [nullPointerRedundantCheck] mongrel2-1.12.2/src/task/task.c:201:14: note: Assuming that condition 't==NULL' is not redundant mongrel2-1.12.2/src/task/task.c:210:32: note: Calling function 'deltask', 2nd argument 't' value is 0 mongrel2-1.12.2/src/task/task.c:372:8: note: Null pointer dereference mongrel2-1.12.2/src/task/task.c:55:24: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mongrel2-1.12.2/src/task/task.c:52:15: note: Assuming allocation function fails mongrel2-1.12.2/src/task/task.c:52:15: note: Assignment 't=calloc(sizeof(struct Task)+stack,1)', assigned value is 0 mongrel2-1.12.2/src/task/task.c:55:24: note: Null pointer addition mongrel2-1.12.2/src/task/task.c:95:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/task/task.c:117:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/task/task.c:232:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/task/task.c:417:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/task/task.c:460:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/task/task.c:99:51: style:inconclusive: Function 'taskcreate' argument 3 names different: declaration 'stacksize' definition 'stack'. [funcArgNamesDifferent] mongrel2-1.12.2/src/task/task.h:27:65: note: Function 'taskcreate' argument 3 names different: declaration 'stacksize' definition 'stack'. mongrel2-1.12.2/src/task/task.c:99:51: note: Function 'taskcreate' argument 3 names different: declaration 'stacksize' definition 'stack'. mongrel2-1.12.2/src/task/task.c:239:21: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/task/task.c:252:22: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/task/task.c:399:31: style: Parameter 'task' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/src/task/task.c:191:11: style: Variable 'i' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/src/websocket.c:62:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BSTR_OK [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/tnetstrings.c:60:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/tnetstrings.c:103:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/tnetstrings.c:123:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/tnetstrings.c:161:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/tnetstrings.c:195:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/tnetstrings.c:275:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/tnetstrings.c:305:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/tnetstrings.c:314:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable number [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/tnetstrings.c:320:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/tnetstrings.c:326:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/tnetstrings.c:340:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/tnetstrings.c:357:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/tnetstrings.c:401:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tagbstring [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/tnetstrings.c:414:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/tnetstrings.c:441:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/tnetstrings.c:522:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/tnetstrings.c:549:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/tnetstrings.c:574:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/tnetstrings.c:589:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/tnetstrings.c:621:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/tnetstrings.c:637:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/tnetstrings.c:656:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/websocket.c:80:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/websocket.c:16:93: style: Parameter 'key' can be declared as const array [constParameter] mongrel2-1.12.2/src/upload.c:72:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/upload.c:117:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/upload.c:178:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BSTR_OK [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/upload.c:229:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/src/upload.c:50:11: style: Variable 'data' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/xrequest.c:44:44: warning:inconclusive: Possible null pointer dereference: keys [nullPointer] mongrel2-1.12.2/src/xrequest.c:37:19: note: Assignment 'keys=NULL', assigned value is 0 mongrel2-1.12.2/src/xrequest.c:44:44: note: Null pointer dereference mongrel2-1.12.2/src/xrequest.c:17:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/xrequest.c:48:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/xrequest.c:64:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/src/tnetstrings.c:470:7: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] mongrel2-1.12.2/src/tnetstrings.c:511:22: style:inconclusive: Function 'tns_parse_list' argument 1 names different: declaration 'list' definition 'val'. [funcArgNamesDifferent] mongrel2-1.12.2/src/tnetstrings.c:13:22: note: Function 'tns_parse_list' argument 1 names different: declaration 'list' definition 'val'. mongrel2-1.12.2/src/tnetstrings.c:511:22: note: Function 'tns_parse_list' argument 1 names different: declaration 'list' definition 'val'. mongrel2-1.12.2/src/tnetstrings.c:537:22: style:inconclusive: Function 'tns_parse_dict' argument 1 names different: declaration 'dict' definition 'val'. [funcArgNamesDifferent] mongrel2-1.12.2/src/tnetstrings.c:10:22: note: Function 'tns_parse_dict' argument 1 names different: declaration 'dict' definition 'val'. mongrel2-1.12.2/src/tnetstrings.c:537:22: note: Function 'tns_parse_dict' argument 1 names different: declaration 'dict' definition 'val'. mongrel2-1.12.2/src/tnetstrings.c:83:18: style: Variable 't' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/src/tnetstrings.c:491:10: style: Variable 'c' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/tests/cache_tests.c:22:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIN_CACHE_SIZE [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/cache_tests.c:44:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIN_CACHE_SIZE [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/cache_tests.c:72:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIN_CACHE_SIZE [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/cache_tests.c:10:23: style: Parameter 'data' can be declared as pointer to const. However it seems that 'test_lookup' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mongrel2-1.12.2/tests/cache_tests.c:67:49: note: You might need to cast the function pointer here mongrel2-1.12.2/tests/cache_tests.c:10:23: note: Parameter 'data' can be declared as pointer to const mongrel2-1.12.2/tests/cache_tests.c:10:35: style: Parameter 'key' can be declared as pointer to const. However it seems that 'test_lookup' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mongrel2-1.12.2/tests/cache_tests.c:67:49: note: You might need to cast the function pointer here mongrel2-1.12.2/tests/cache_tests.c:10:35: note: Parameter 'key' can be declared as pointer to const mongrel2-1.12.2/tests/cert_tests.c:48:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/cache_tests.c:28:37: portability: '(void*)i' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] mongrel2-1.12.2/tests/bstr_tests.c:3582:5: error: There is an unknown macro here somewhere. Configuration is required. If bwriteprotect is a macro then please configure it. [unknownMacro] mongrel2-1.12.2/tests/connection_tests.c:14:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPADDR_SIZE [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/connection_tests.c:82:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BACKEND_DIR [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/config_tests.c:78:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZMQ_CTX [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/connection_tests.c:37:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tests/connection_tests.c:60:13: style: Local variable 'SRV' shadows outer variable [shadowVariable] mongrel2-1.12.2/tests/connection_tests.c:10:9: note: Shadowed declaration mongrel2-1.12.2/tests/connection_tests.c:60:13: note: Shadow variable mongrel2-1.12.2/tests/darray_tests.c:82:9: style: Variable 'expectedValues' can be declared as const array [constVariable] mongrel2-1.12.2/tests/db_tests.c:64:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tns_tag_list [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/dir_tests.c:161:16: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] mongrel2-1.12.2/tests/dict_tests.c:95:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/dict_tests.c:174:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/db_tests.c:37:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tests/db_tests.c:82:11: style: Variable 'j' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/tests/filter_tests.c:23:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOSE [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/filter_tests.c:42:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONNECT [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/filter_tests.c:63:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONNECT [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/filters/test_filter.c:6:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOSE [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/filters/test_filter.c:12:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HANDLER [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/filters/test_filter.c:18:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tests/filters/test_filter.c:4:60: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/tests/filters/test_filter_a.c:13:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONNECT [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/filters/test_filter_b.c:13:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONNECT [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/dict_tests.c:44:30: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/tests/dict_tests.c:82:11: style: Variable 'help' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tests/filters/test_filter_a.c:19:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tests/dict_tests.c:151:11: style: Variable 'help' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tests/filters/test_filter_b.c:19:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tests/filters/test_filter_c.c:7:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOSE [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/filters/test_filter_c.c:13:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONNECT [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/filters/test_filter_c.c:19:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tests/handler_tests.c:71:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZMQ_CTX [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/hash_tests.c:69:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASHCOUNT_T_MAX [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/hash_tests.c:38:30: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/tests/hash_tests.c:78:11: style: Variable 'help' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tests/http11_tests.c:61:9: style: Local variable 'tests_run' shadows outer variable [shadowVariable] mongrel2-1.12.2/tests/minunit.h:35:5: note: Shadowed declaration mongrel2-1.12.2/tests/http11_tests.c:61:9: note: Shadow variable mongrel2-1.12.2/tests/http11_tests.c:59:17: style: Variable 'nparsed' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/tests/http11_tests.c:60:15: style: Variable 'delta' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/tests/http11_tests.c:82:15: style: Variable 'delta' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/tests/io_tests.c:11:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Connection [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/io_tests.c:37:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/io_tests.c:111:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/io_tests.c:134:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/httpclient_tests.c:46:12: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: infile [nullPointerOutOfResources] mongrel2-1.12.2/tests/httpclient_tests.c:42:25: note: Assuming allocation function fails mongrel2-1.12.2/tests/httpclient_tests.c:42:25: note: Assignment 'infile=fopen(path,"r")', assigned value is 0 mongrel2-1.12.2/tests/httpclient_tests.c:46:12: note: Null pointer dereference mongrel2-1.12.2/tests/httpclient_tests.c:51:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tests/httpclient_tests.c:61:9: style: Local variable 'tests_run' shadows outer variable [shadowVariable] mongrel2-1.12.2/tests/minunit.h:35:5: note: Shadowed declaration mongrel2-1.12.2/tests/httpclient_tests.c:61:9: note: Shadow variable mongrel2-1.12.2/tests/httpclient_tests.c:60:17: style: Variable 'nparsed' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/tests/httpclient_tests.c:98:25: style: Variable 'nparsed' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/tests/list_tests.c:55:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LISTCOUNT_T_MAX [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/io_tests.c:35:11: style: Variable 'data' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tests/list_tests.c:43:30: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/tests/list_tests.c:62:11: style: Variable 'help' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tests/radixmap_tests.c:100:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/register_tests.c:14:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Connection [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/request_tests.c:96:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tns_tag_string [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/request_tests.c:144:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_IF_MODIFIED_SINCE [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/request_tests.c:253:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JSON_METHOD [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/response_tests.c:10:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/response_tests.c:24:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/radixmap_tests.c:16:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tests/radixmap_tests.c:29:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tests/radixmap_tests.c:68:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tests/server_tests.c:78:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZMQ_CTX [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/request_tests.c:18:20: style: Variable 'nparsed' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/tests/server_tests.c:61:11: style: Variable 'zedshaw' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tests/state_tests.c:51:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tests/routing_tests.c:23:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tests/routing_tests.c:45:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tests/routing_tests.c:205:12: style: Variable 'route' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tests/superpoll_tests.c:91:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/superpoll_tests.c:120:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/superpoll_tests.c:176:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/superpoll_tests.c:250:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable revents [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/tnetstrings_tests.c:13:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tns_tag_number [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/tnetstrings_tests.c:37:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tns_tag_null [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/tnetstrings_tests.c:73:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tns_tag_null [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/tnetstrings_tests.c:117:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tns_tag_dict [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tests/superpoll_tests.c:299:13: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: perf [nullPointerOutOfResources] mongrel2-1.12.2/tests/superpoll_tests.c:294:17: note: Assuming allocation function fails mongrel2-1.12.2/tests/superpoll_tests.c:294:17: note: Assignment 'perf=fopen("tests/perf.log","a+")', assigned value is 0 mongrel2-1.12.2/tests/superpoll_tests.c:299:13: note: Null pointer dereference mongrel2-1.12.2/tests/superpoll_tests.c:324:13: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: perf [nullPointerOutOfResources] mongrel2-1.12.2/tests/superpoll_tests.c:294:17: note: Assuming allocation function fails mongrel2-1.12.2/tests/superpoll_tests.c:294:17: note: Assignment 'perf=fopen("tests/perf.log","a+")', assigned value is 0 mongrel2-1.12.2/tests/superpoll_tests.c:324:13: note: Null pointer dereference mongrel2-1.12.2/tests/superpoll_tests.c:331:13: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: perf [nullPointerOutOfResources] mongrel2-1.12.2/tests/superpoll_tests.c:294:17: note: Assuming allocation function fails mongrel2-1.12.2/tests/superpoll_tests.c:294:17: note: Assignment 'perf=fopen("tests/perf.log","a+")', assigned value is 0 mongrel2-1.12.2/tests/superpoll_tests.c:331:13: note: Null pointer dereference mongrel2-1.12.2/tests/superpoll_tests.c:334:12: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: perf [nullPointerOutOfResources] mongrel2-1.12.2/tests/superpoll_tests.c:294:17: note: Assuming allocation function fails mongrel2-1.12.2/tests/superpoll_tests.c:294:17: note: Assignment 'perf=fopen("tests/perf.log","a+")', assigned value is 0 mongrel2-1.12.2/tests/superpoll_tests.c:334:12: note: Null pointer dereference mongrel2-1.12.2/tests/superpoll_tests.c:161:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tests/superpoll_tests.c:202:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tests/superpoll_tests.c:262:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tests/superpoll_tests.c:338:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tests/superpoll_tests.c:78:7: style: Variable 'fds' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tests/superpoll_tests.c:107:7: style: Variable 'fds' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tests/superpoll_tests.c:235:11: style: Variable 'i' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/tests/superpoll_tests.c:236:11: style: Variable 'nfds' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/tests/superpoll_tests.c:253:24: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/tests/tst_tests.c:41:11: style: Variable 'res' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tests/tst_tests.c:89:33: style: Parameter 'value' can be declared as pointer to const. However it seems that 'tst_traverse_test_cb' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mongrel2-1.12.2/tests/tst_tests.c:99:24: note: You might need to cast the function pointer here mongrel2-1.12.2/tests/tst_tests.c:89:33: note: Parameter 'value' can be declared as pointer to const mongrel2-1.12.2/tests/tst_tests.c:89:46: style: Parameter 'data' can be declared as pointer to const. However it seems that 'tst_traverse_test_cb' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mongrel2-1.12.2/tests/tst_tests.c:99:24: note: You might need to cast the function pointer here mongrel2-1.12.2/tests/tst_tests.c:89:46: note: Parameter 'data' can be declared as pointer to const mongrel2-1.12.2/tests/tnetstrings_tests.c:126:18: style: Variable 'val' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tools/config_modules/mongodb.c:103:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MONGO_DEFAULT_PORT [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/config_modules/mongodb.c:175:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MONGO_DEFAULT_PORT [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/filters/null.c:16:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOSE [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/config_modules/mongodb.c:247:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BSTR_ERR [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/config_modules/mongodb.c:274:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MONGO_OK [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/config_modules/mongodb.c:337:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/filters/null.c:28:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/filters/sendfile.c:16:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tns_tag_list [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/filters/sendfile.c:34:5: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/filters/rewrite.c:57:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROXY [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/config_modules/mongodb.c:250:15: style: Condition 'ret==0' is always true [knownConditionTrueFalse] mongrel2-1.12.2/tools/config_modules/mongodb.c:249:28: note: Calling function 'config_init_index' returns 0 mongrel2-1.12.2/tools/config_modules/mongodb.c:249:28: note: Assignment 'ret=config_init_index()', assigned value is 0 mongrel2-1.12.2/tools/config_modules/mongodb.c:250:15: note: Condition 'ret==0' is always true mongrel2-1.12.2/tools/config_modules/mongodb.c:138:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/config_modules/mongodb.c:204:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/config_modules/mongodb.c:252:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/config_modules/mongodb.c:354:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/config_modules/mongodb.c:386:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/config_modules/mongodb.c:416:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/config_modules/mongodb.c:448:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/config_modules/mongodb.c:482:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/config_modules/mongodb.c:513:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/config_modules/mongodb.c:550:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/config_modules/mongodb.c:579:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/config_modules/mongodb.c:608:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/config_modules/mongodb.c:638:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/filters/rewrite.c:63:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/lemon/lempar.c:7:1: error: syntax error [syntaxError] mongrel2-1.12.2/tools/m2sh/lempar.c:7:1: error: syntax error [syntaxError] mongrel2-1.12.2/tools/m2sh/src/ast.c:303:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tns_tag_string [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/m2sh/src/ast.c:352:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tns_tag_string [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/m2sh/src/ast.c:43:5: warning: If memory allocation fails, then there is a possible null pointer dereference: val [nullPointerOutOfMemory] mongrel2-1.12.2/tools/m2sh/src/ast.c:42:24: note: Assuming allocation function fails mongrel2-1.12.2/tools/m2sh/src/ast.c:42:24: note: Assignment 'val=malloc(sizeof(struct Value))', assigned value is 0 mongrel2-1.12.2/tools/m2sh/src/ast.c:43:5: note: Null pointer dereference mongrel2-1.12.2/tools/m2sh/src/ast.c:44:12: warning: If memory allocation fails, then there is a possible null pointer dereference: val [nullPointerOutOfMemory] mongrel2-1.12.2/tools/m2sh/src/ast.c:42:24: note: Assuming allocation function fails mongrel2-1.12.2/tools/m2sh/src/ast.c:42:24: note: Assignment 'val=malloc(sizeof(struct Value))', assigned value is 0 mongrel2-1.12.2/tools/m2sh/src/ast.c:44:12: note: Null pointer dereference mongrel2-1.12.2/tools/m2sh/src/ast.c:65:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/ast.c:89:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/ast.c:111:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/ast.c:128:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/ast.c:179:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/ast.c:193:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/ast.c:290:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/ast.c:337:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/ast.c:359:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/ast.c:96:12: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] src/cli.rl:73:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TKBLOB [valueFlowBailoutIncompleteVar] src/cli.rl:137:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] src/cli.rl:143:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TKOPTION [valueFlowBailoutIncompleteVar] src/cli.rl:173:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hnode_t [valueFlowBailoutIncompleteVar] src/cli.rl:187:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_TOKENS [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/m2sh/src/commands.c:81:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/m2sh/src/commands.c:160:14: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: cmd [nullPointerOutOfMemory] mongrel2-1.12.2/tools/m2sh/src/commands.c:184:26: note: Assuming allocation function fails mongrel2-1.12.2/tools/m2sh/src/commands.c:184:26: note: Assignment 'cmd=calloc(1,sizeof(struct Command))', assigned value is 0 mongrel2-1.12.2/tools/m2sh/src/commands.c:193:21: note: Assuming condition is false mongrel2-1.12.2/tools/m2sh/src/commands.c:203:21: note: Calling function 'Command_destroy', 1st argument 'cmd' value is 0 mongrel2-1.12.2/tools/m2sh/src/commands.c:160:14: note: Null pointer dereference mongrel2-1.12.2/tools/m2sh/src/commands.c:161:14: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: cmd [nullPointerOutOfMemory] mongrel2-1.12.2/tools/m2sh/src/commands.c:184:26: note: Assuming allocation function fails mongrel2-1.12.2/tools/m2sh/src/commands.c:184:26: note: Assignment 'cmd=calloc(1,sizeof(struct Command))', assigned value is 0 mongrel2-1.12.2/tools/m2sh/src/commands.c:193:21: note: Assuming condition is false mongrel2-1.12.2/tools/m2sh/src/commands.c:203:21: note: Calling function 'Command_destroy', 1st argument 'cmd' value is 0 mongrel2-1.12.2/tools/m2sh/src/commands.c:161:14: note: Null pointer dereference mongrel2-1.12.2/tools/m2sh/src/commands.c:163:8: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: cmd [nullPointerOutOfMemory] mongrel2-1.12.2/tools/m2sh/src/commands.c:184:26: note: Assuming allocation function fails mongrel2-1.12.2/tools/m2sh/src/commands.c:184:26: note: Assignment 'cmd=calloc(1,sizeof(struct Command))', assigned value is 0 mongrel2-1.12.2/tools/m2sh/src/commands.c:193:21: note: Assuming condition is false mongrel2-1.12.2/tools/m2sh/src/commands.c:203:21: note: Calling function 'Command_destroy', 1st argument 'cmd' value is 0 mongrel2-1.12.2/tools/m2sh/src/commands.c:163:8: note: Null pointer dereference mongrel2-1.12.2/tools/m2sh/src/commands.c:189:5: warning: If memory allocation fails, then there is a possible null pointer dereference: cmd [nullPointerOutOfMemory] mongrel2-1.12.2/tools/m2sh/src/commands.c:184:26: note: Assuming allocation function fails mongrel2-1.12.2/tools/m2sh/src/commands.c:184:26: note: Assignment 'cmd=calloc(1,sizeof(struct Command))', assigned value is 0 mongrel2-1.12.2/tools/m2sh/src/commands.c:189:5: note: Null pointer dereference mongrel2-1.12.2/tools/m2sh/src/commands.c:193:22: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: cmd [nullPointerOutOfMemory] mongrel2-1.12.2/tools/m2sh/src/commands.c:184:26: note: Assuming allocation function fails mongrel2-1.12.2/tools/m2sh/src/commands.c:184:26: note: Assignment 'cmd=calloc(1,sizeof(struct Command))', assigned value is 0 mongrel2-1.12.2/tools/m2sh/src/commands.c:193:22: note: Null pointer dereference mongrel2-1.12.2/tools/m2sh/src/commands.c:202:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/commands.c:78:37: style: Parameter 'cmd' can be declared as pointer to const. However it seems that 'Command_version' is a callback function, if 'cmd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mongrel2-1.12.2/tools/m2sh/src/commands.c:120:31: note: You might need to cast the function pointer here mongrel2-1.12.2/tools/m2sh/src/commands.c:78:37: note: Parameter 'cmd' can be declared as pointer to const mongrel2-1.12.2/tools/m2sh/src/commands.c:186:12: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/tools/m2sh/src/commands/access.c:58:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tns_tag_list [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/m2sh/src/commands/access.c:94:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/commands/config.c:55:1: style: Label 'error' is not used. [unusedLabel] src/cli.c:82:12: style: Variable 'fsm->act' is reassigned a value before the old one has been used. [redundantAssignment] src/cli.rl:82:14: note: fsm->act is assigned src/cli.c:82:12: note: fsm->act is overwritten src/cli.rl:122:1: style: Label 'error' is not used. [unusedLabel] src/cli.rl:160:1: style: Label 'error' is not used. [unusedLabel] src/cli.rl:221:1: style: Label 'error' is not used. [unusedLabel] src/cli.rl:248:1: style: Label 'error' is not used. [unusedLabel] src/cli.rl:98:39: style: Parameter 'fsm' can be declared as pointer to const [constParameterPointer] src/cli.rl:171:32: style: Parameter 'ignored' can be declared as pointer to const. However it seems that 'cmd_hnode_alloc' is a callback function, if 'ignored' is declared with const you might also need to cast function pointer(s). [constParameterCallback] src/cli.rl:192:38: note: You might need to cast the function pointer here src/cli.rl:171:32: note: Parameter 'ignored' can be declared as pointer to const mongrel2-1.12.2/tools/m2sh/src/commands/helpers.c:90:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/commands/helpers.c:40:27: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/tools/m2sh/src/commands/helpers.c:45:33: style: Parameter 'route' can be declared as pointer to const. However it seems that 'null_destroy' is a callback function, if 'route' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mongrel2-1.12.2/tools/m2sh/src/commands/helpers.c:54:37: note: You might need to cast the function pointer here mongrel2-1.12.2/tools/m2sh/src/commands/helpers.c:45:33: note: Parameter 'route' can be declared as pointer to const mongrel2-1.12.2/tools/m2sh/src/commands/helpers.c:45:57: style: Parameter 'map' can be declared as pointer to const. However it seems that 'null_destroy' is a callback function, if 'map' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mongrel2-1.12.2/tools/m2sh/src/commands/helpers.c:54:37: note: You might need to cast the function pointer here mongrel2-1.12.2/tools/m2sh/src/commands/helpers.c:45:57: note: Parameter 'map' can be declared as pointer to const mongrel2-1.12.2/tools/m2sh/src/commands/logging.c:48:18: portability: Non reentrant function 'getlogin' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getlogin_r'. [prohibitedgetloginCalled] mongrel2-1.12.2/tools/m2sh/src/commands/logging.c:48:59: portability: Non reentrant function 'getlogin' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getlogin_r'. [prohibitedgetloginCalled] mongrel2-1.12.2/tools/m2sh/src/commands/logging.c:81:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/commands/logging.c:101:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/commands/logging.c:114:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/commands/logging.c:62:13: style: Local variable 'rc' shadows outer variable [shadowVariable] mongrel2-1.12.2/tools/m2sh/src/commands/logging.c:45:9: note: Shadowed declaration mongrel2-1.12.2/tools/m2sh/src/commands/logging.c:62:13: note: Shadow variable mongrel2-1.12.2/tools/m2sh/src/commands/querying.c:51:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/commands/querying.c:70:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/commands/querying.c:103:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/commands/running.c:121:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tns_tag_list [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/m2sh/src/commands/running.c:164:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tns_tag_string [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/m2sh/src/commands/running.c:222:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tns_tag_string [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/m2sh/src/commands/running.c:293:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/m2sh/src/commands/running.c:433:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tns_tag_string [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/m2sh/src/commands/running.c:458:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tns_tag_string [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/m2sh/src/commands/running.c:487:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tns_tag_dict [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/m2sh/src/commands/running.c:523:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zmq_msg_t [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/m2sh/src/commands/running.c:574:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/m2sh/src/config_file.c:259:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tns_tag_dict [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/m2sh/src/commands/running.c:150:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/commands/running.c:188:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/commands/running.c:238:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/commands/running.c:255:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/commands/running.c:307:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/commands/running.c:398:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/commands/running.c:446:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/commands/running.c:478:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/commands/running.c:512:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/commands/running.c:555:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/commands/running.c:601:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/commands/running.c:65:12: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/tools/m2sh/src/commands/running.c:320:18: style: Variable 'args' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/tools/m2sh/src/commands/running.c:419:11: style: Variable 'i' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/tools/m2sh/src/config_file.c:77:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/config_file.c:119:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/config_file.c:137:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/config_file.c:149:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/config_file.c:170:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/config_file.c:190:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/config_file.c:233:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/config_file.c:277:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/config_file.c:323:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/config_file.c:412:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/config_file.c:430:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/config_file.c:481:1: style: Label 'error' is not used. [unusedLabel] src/lexer.rl:77:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TKQSTRING [valueFlowBailoutIncompleteVar] src/lexer.rl:177:12: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: script [nullPointerOutOfResources] src/lexer.rl:171:19: note: Assuming allocation function fails src/lexer.rl:171:19: note: Assignment 'script=fopen(path,"r")', assigned value is 0 src/lexer.rl:177:12: note: Null pointer dereference src/lexer.rl:190:1: style: Label 'error' is not used. [unusedLabel] src/lexer.rl:128:11: style: Variable 'eof' can be declared as pointer to const [constVariablePointer] src/lexer.rl:132:11: style: Variable 'te' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tools/m2sh/src/linenoise.c:130:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BRKINT [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/m2sh/src/linenoise.c:154:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSAFLUSH [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/m2sh/src/linenoise.c:167:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCGWINSZ [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/m2sh/src/linenoise.c:227:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/m2sh/src/linenoise.c:351:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/m2sh/src/linenoise.c:378:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/m2sh/src/m2sh.c:43:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:345:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:369:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDUCE [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:396:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHIFT [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:447:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:462:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:504:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:590:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MULTITERMINAL [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:632:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TERMINAL [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:785:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MULTITERMINAL [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:810:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INCOMPLETE [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:899:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INCOMPLETE [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:946:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDUCE [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:1017:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHIFT [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:1092:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:1203:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NONTERMINAL [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:1350:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:1363:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:1378:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:1407:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPT_FLAG [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:1720:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPT_FLAG [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:2002:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WAITING_FOR_DECL_KEYWORD [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:2484:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:2510:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INITIALIZE [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:2656:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:2725:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:2749:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:2790:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MULTITERMINAL [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:2818:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MULTITERMINAL [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:2947:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NONTERMINAL [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:3089:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:3153:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TERMINAL [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:3193:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TERMINAL [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:3293:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MULTITERMINAL [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:3407:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:3539:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MULTITERMINAL [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:3668:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:4048:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REDUCE [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/lemon/lemon.c:4374:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NONTERMINAL [valueFlowBailoutIncompleteVar] src/parser.y:35:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] src/parser.c:460:36: style: Condition 'pParser->yyidx>=0' is always true [knownConditionTrueFalse] src/parser.c:458:21: note: Assuming that condition 'pParser->yyidx<0' is not redundant src/parser.c:460:36: note: Condition 'pParser->yyidx>=0' is always true src/parser.y:58:60: warning: If memory allocation fails, then there is a possible null pointer dereference: yygotominor.yy7 [nullPointerOutOfMemory] src/parser.y:58:33: note: Assuming allocation function fails src/parser.y:58:33: note: Assignment 'yygotominor.yy7=malloc(sizeof(Pair))', assigned value is 0 src/parser.y:58:60: note: Null pointer dereference src/parser.y:64:59: warning: If memory allocation fails, then there is a possible null pointer dereference: yygotominor.yy11 [nullPointerOutOfMemory] src/parser.y:64:28: note: Assuming allocation function fails src/parser.y:64:28: note: Assignment 'yygotominor.yy11=calloc(sizeof(Class),1)', assigned value is 0 src/parser.y:64:59: note: Null pointer dereference src/parser.y:109:61: warning: If memory allocation fails, then there is a possible null pointer dereference: yygotominor.yy17 [nullPointerOutOfMemory] src/parser.y:109:34: note: Assuming allocation function fails src/parser.y:109:34: note: Assignment 'yygotominor.yy17=malloc(sizeof(Pair))', assigned value is 0 src/parser.y:109:61: note: Null pointer dereference mongrel2-1.12.2/tools/m2sh/src/linenoise.c:98:11: style: Variable 'term' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tools/m2sh/src/linenoise.c:171:59: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/tools/m2sh/src/linenoise.c:437:32: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/tools/m2sh/src/linenoise.c:453:32: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/tools/m2sh/src/token.c:53:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tk [nullPointerOutOfMemory] mongrel2-1.12.2/tools/m2sh/src/token.c:52:23: note: Assuming allocation function fails mongrel2-1.12.2/tools/m2sh/src/token.c:52:23: note: Assignment 'tk=malloc(sizeof(struct Token))', assigned value is 0 mongrel2-1.12.2/tools/m2sh/src/token.c:53:5: note: Null pointer dereference mongrel2-1.12.2/tools/m2sh/src/token.c:54:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tk [nullPointerOutOfMemory] mongrel2-1.12.2/tools/m2sh/src/token.c:52:23: note: Assuming allocation function fails mongrel2-1.12.2/tools/m2sh/src/token.c:52:23: note: Assignment 'tk=malloc(sizeof(struct Token))', assigned value is 0 mongrel2-1.12.2/tools/m2sh/src/token.c:54:5: note: Null pointer dereference mongrel2-1.12.2/tools/m2sh/src/query_print.c:59:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/m2sh/src/query_print.c:45:19: style: Variable 'col_i' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/tools/procer/procer.c:42:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/procer/procer.c:232:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_RESTART [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/procer/procer.c:242:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mongrel2-1.12.2/tools/procer/profile.c:41:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: prof [nullPointerOutOfMemory] mongrel2-1.12.2/tools/procer/profile.c:38:27: note: Assuming allocation function fails mongrel2-1.12.2/tools/procer/profile.c:38:27: note: Assignment 'prof=calloc(sizeof(struct Profile),1)', assigned value is 0 mongrel2-1.12.2/tools/procer/profile.c:41:5: note: Null pointer dereference mongrel2-1.12.2/tools/procer/profile.c:42:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: prof [nullPointerOutOfMemory] mongrel2-1.12.2/tools/procer/profile.c:38:27: note: Assuming allocation function fails mongrel2-1.12.2/tools/procer/profile.c:38:27: note: Assignment 'prof=calloc(sizeof(struct Profile),1)', assigned value is 0 mongrel2-1.12.2/tools/procer/profile.c:42:5: note: Null pointer dereference mongrel2-1.12.2/tools/procer/profile.c:43:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: prof [nullPointerOutOfMemory] mongrel2-1.12.2/tools/procer/profile.c:38:27: note: Assuming allocation function fails mongrel2-1.12.2/tools/procer/profile.c:38:27: note: Assignment 'prof=calloc(sizeof(struct Profile),1)', assigned value is 0 mongrel2-1.12.2/tools/procer/profile.c:43:5: note: Null pointer dereference mongrel2-1.12.2/tools/procer/profile.c:18:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/procer/profile.c:47:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/procer/procer.c:42:5: warning: Return value of function freopen() is not used. [ignoredReturnValue] mongrel2-1.12.2/tools/procer/procer.c:44:5: warning: Return value of function freopen() is not used. [ignoredReturnValue] mongrel2-1.12.2/tools/procer/procer.c:46:5: warning: Return value of function freopen() is not used. [ignoredReturnValue] mongrel2-1.12.2/tools/procer/procer.c:155:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mongrel2-1.12.2/tools/procer/procer.c:152:28: note: Assuming allocation function fails mongrel2-1.12.2/tools/procer/procer.c:152:28: note: Assignment 'action=calloc(sizeof(struct Action),1)', assigned value is 0 mongrel2-1.12.2/tools/procer/procer.c:155:5: note: Null pointer dereference mongrel2-1.12.2/tools/procer/procer.c:156:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mongrel2-1.12.2/tools/procer/procer.c:152:28: note: Assuming allocation function fails mongrel2-1.12.2/tools/procer/procer.c:152:28: note: Assignment 'action=calloc(sizeof(struct Action),1)', assigned value is 0 mongrel2-1.12.2/tools/procer/procer.c:156:5: note: Null pointer dereference mongrel2-1.12.2/tools/procer/procer.c:156:26: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mongrel2-1.12.2/tools/procer/procer.c:152:28: note: Assuming allocation function fails mongrel2-1.12.2/tools/procer/procer.c:152:28: note: Assignment 'action=calloc(sizeof(struct Action),1)', assigned value is 0 mongrel2-1.12.2/tools/procer/procer.c:156:26: note: Null pointer dereference mongrel2-1.12.2/tools/procer/procer.c:157:21: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mongrel2-1.12.2/tools/procer/procer.c:152:28: note: Assuming allocation function fails mongrel2-1.12.2/tools/procer/procer.c:152:28: note: Assignment 'action=calloc(sizeof(struct Action),1)', assigned value is 0 mongrel2-1.12.2/tools/procer/procer.c:157:21: note: Null pointer dereference mongrel2-1.12.2/tools/procer/procer.c:158:22: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mongrel2-1.12.2/tools/procer/procer.c:152:28: note: Assuming allocation function fails mongrel2-1.12.2/tools/procer/procer.c:152:28: note: Assignment 'action=calloc(sizeof(struct Action),1)', assigned value is 0 mongrel2-1.12.2/tools/procer/procer.c:158:22: note: Null pointer dereference mongrel2-1.12.2/tools/procer/procer.c:160:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mongrel2-1.12.2/tools/procer/procer.c:152:28: note: Assuming allocation function fails mongrel2-1.12.2/tools/procer/procer.c:152:28: note: Assignment 'action=calloc(sizeof(struct Action),1)', assigned value is 0 mongrel2-1.12.2/tools/procer/procer.c:160:5: note: Null pointer dereference mongrel2-1.12.2/tools/procer/procer.c:160:44: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mongrel2-1.12.2/tools/procer/procer.c:152:28: note: Assuming allocation function fails mongrel2-1.12.2/tools/procer/procer.c:152:28: note: Assignment 'action=calloc(sizeof(struct Action),1)', assigned value is 0 mongrel2-1.12.2/tools/procer/procer.c:160:44: note: Null pointer dereference mongrel2-1.12.2/tools/procer/procer.c:274:12: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: log [nullPointerOutOfResources] mongrel2-1.12.2/tools/procer/procer.c:272:22: note: Assuming allocation function fails mongrel2-1.12.2/tools/procer/procer.c:272:22: note: Assignment 'log=fopen(procer_error_log,"a+")', assigned value is 0 mongrel2-1.12.2/tools/procer/procer.c:274:12: note: Null pointer dereference mongrel2-1.12.2/tools/procer/procer.c:90:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/procer/procer.c:144:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/procer/procer.c:164:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/procer/procer.c:179:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/procer/procer.c:312:1: style: Label 'error' is not used. [unusedLabel] mongrel2-1.12.2/tools/procer/procer.c:53:11: style: Variable 'procer_run_log' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tools/procer/procer.c:249:11: style: Variable 'procer_error_log' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tools/procer/procer.c:52:12: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/tools/procer/procer.c:85:13: style: Variable 'pid' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/tools/procer/procer.c:194:11: style: Variable 'i' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/tools/procer/procer.c:245:11: style: Variable 'i' is assigned a value that is never used. [unreadVariable] mongrel2-1.12.2/tools/lemon/lemon.c:1032:24: style: Condition 'spx->prec==spy->prec' is always true [knownConditionTrueFalse] mongrel2-1.12.2/tools/lemon/lemon.c:1028:24: note: Assuming that condition 'spx->prec>spy->prec' is not redundant mongrel2-1.12.2/tools/lemon/lemon.c:1030:24: note: Assuming that condition 'spx->precprec' is not redundant mongrel2-1.12.2/tools/lemon/lemon.c:1032:24: note: Condition 'spx->prec==spy->prec' is always true mongrel2-1.12.2/tools/lemon/lemon.c:1034:24: style: Condition 'spx->prec==spy->prec' is always true [knownConditionTrueFalse] mongrel2-1.12.2/tools/lemon/lemon.c:1028:24: note: Assuming that condition 'spx->prec>spy->prec' is not redundant mongrel2-1.12.2/tools/lemon/lemon.c:1030:24: note: Assuming that condition 'spx->precprec' is not redundant mongrel2-1.12.2/tools/lemon/lemon.c:1034:24: note: Condition 'spx->prec==spy->prec' is always true mongrel2-1.12.2/tools/lemon/lemon.c:1050:24: style: Condition 'spx->precprec' is always true [knownConditionTrueFalse] mongrel2-1.12.2/tools/lemon/lemon.c:1045:29: note: Assuming that condition 'spx->prec==spy->prec' is not redundant mongrel2-1.12.2/tools/lemon/lemon.c:1050:24: note: Condition 'spx->precprec' is always true mongrel2-1.12.2/tools/lemon/lemon.c:3163:10: style: Condition 'cp==0' is always false [knownConditionTrueFalse] mongrel2-1.12.2/tools/lemon/lemon.c:2527:5: error: Resource leak: fp [resourceLeak] mongrel2-1.12.2/tools/lemon/lemon.c:2534:5: error: Resource leak: fp [resourceLeak] mongrel2-1.12.2/tools/lemon/lemon.c:3233:5: error: Common realloc mistake: 'z' nulled but not freed upon failure [memleakOnRealloc] mongrel2-1.12.2/tools/lemon/lemon.c:766:5: warning: Either the condition '(stp)==0' is redundant or there is possible null pointer dereference: stp. [nullPointerRedundantCheck] mongrel2-1.12.2/tools/lemon/lemon.c:765:5: note: Assuming that condition '(stp)==0' is not redundant mongrel2-1.12.2/tools/lemon/lemon.c:766:5: note: Null pointer dereference mongrel2-1.12.2/tools/lemon/lemon.c:767:5: warning: Either the condition '(stp)==0' is redundant or there is possible null pointer dereference: stp. [nullPointerRedundantCheck] mongrel2-1.12.2/tools/lemon/lemon.c:765:5: note: Assuming that condition '(stp)==0' is not redundant mongrel2-1.12.2/tools/lemon/lemon.c:767:5: note: Null pointer dereference mongrel2-1.12.2/tools/lemon/lemon.c:768:5: warning: Either the condition '(stp)==0' is redundant or there is possible null pointer dereference: stp. [nullPointerRedundantCheck] mongrel2-1.12.2/tools/lemon/lemon.c:765:5: note: Assuming that condition '(stp)==0' is not redundant mongrel2-1.12.2/tools/lemon/lemon.c:768:5: note: Null pointer dereference mongrel2-1.12.2/tools/lemon/lemon.c:769:5: warning: Either the condition '(stp)==0' is redundant or there is possible null pointer dereference: stp. [nullPointerRedundantCheck] mongrel2-1.12.2/tools/lemon/lemon.c:765:5: note: Assuming that condition '(stp)==0' is not redundant mongrel2-1.12.2/tools/lemon/lemon.c:769:5: note: Null pointer dereference mongrel2-1.12.2/tools/lemon/lemon.c:770:22: warning: Either the condition '(stp)==0' is redundant or there is possible null pointer dereference: stp. [nullPointerRedundantCheck] mongrel2-1.12.2/tools/lemon/lemon.c:765:5: note: Assuming that condition '(stp)==0' is not redundant mongrel2-1.12.2/tools/lemon/lemon.c:770:22: note: Null pointer dereference mongrel2-1.12.2/tools/lemon/lemon.c:810:11: warning: Either the condition '(stp)==0' is redundant or there is possible null pointer dereference: stp. [nullPointerRedundantCheck] mongrel2-1.12.2/tools/lemon/lemon.c:765:5: note: Assuming that condition '(stp)==0' is not redundant mongrel2-1.12.2/tools/lemon/lemon.c:771:22: note: Calling function 'buildshifts', 2nd argument 'stp' value is 0 mongrel2-1.12.2/tools/lemon/lemon.c:810:11: note: Null pointer dereference mongrel2-1.12.2/tools/lemon/lemon.c:2159:18: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] mongrel2-1.12.2/tools/lemon/lemon.c:2158:23: note: Assuming allocation function fails mongrel2-1.12.2/tools/lemon/lemon.c:2158:23: note: Assignment 'msp=calloc(1,sizeof(*msp))', assigned value is 0 mongrel2-1.12.2/tools/lemon/lemon.c:2159:18: note: Null pointer dereference mongrel2-1.12.2/tools/lemon/lemon.c:2160:11: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] mongrel2-1.12.2/tools/lemon/lemon.c:2158:23: note: Assuming allocation function fails mongrel2-1.12.2/tools/lemon/lemon.c:2158:23: note: Assignment 'msp=calloc(1,sizeof(*msp))', assigned value is 0 mongrel2-1.12.2/tools/lemon/lemon.c:2160:11: note: Null pointer dereference mongrel2-1.12.2/tools/lemon/lemon.c:2161:11: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] mongrel2-1.12.2/tools/lemon/lemon.c:2158:23: note: Assuming allocation function fails mongrel2-1.12.2/tools/lemon/lemon.c:2158:23: note: Assignment 'msp=calloc(1,sizeof(*msp))', assigned value is 0 mongrel2-1.12.2/tools/lemon/lemon.c:2161:11: note: Null pointer dereference mongrel2-1.12.2/tools/lemon/lemon.c:2162:11: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] mongrel2-1.12.2/tools/lemon/lemon.c:2158:23: note: Assuming allocation function fails mongrel2-1.12.2/tools/lemon/lemon.c:2158:23: note: Assignment 'msp=calloc(1,sizeof(*msp))', assigned value is 0 mongrel2-1.12.2/tools/lemon/lemon.c:2162:11: note: Null pointer dereference mongrel2-1.12.2/tools/lemon/lemon.c:2163:11: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] mongrel2-1.12.2/tools/lemon/lemon.c:2158:23: note: Assuming allocation function fails mongrel2-1.12.2/tools/lemon/lemon.c:2158:23: note: Assignment 'msp=calloc(1,sizeof(*msp))', assigned value is 0 mongrel2-1.12.2/tools/lemon/lemon.c:2163:11: note: Null pointer dereference mongrel2-1.12.2/tools/lemon/lemon.c:2164:11: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] mongrel2-1.12.2/tools/lemon/lemon.c:2158:23: note: Assuming allocation function fails mongrel2-1.12.2/tools/lemon/lemon.c:2158:23: note: Assignment 'msp=calloc(1,sizeof(*msp))', assigned value is 0 mongrel2-1.12.2/tools/lemon/lemon.c:2164:11: note: Null pointer dereference mongrel2-1.12.2/tools/lemon/lemon.c:2164:23: warning: If memory allocation fails, then there is a possible null pointer dereference: origsp [nullPointerOutOfMemory] mongrel2-1.12.2/tools/lemon/lemon.c:2158:23: note: Assuming allocation function fails mongrel2-1.12.2/tools/lemon/lemon.c:2158:23: note: Assignment 'msp=calloc(1,sizeof(*msp))', assigned value is 0 mongrel2-1.12.2/tools/lemon/lemon.c:2155:28: note: msp is assigned 'psp->rhs[psp->nrhs-1]' here. mongrel2-1.12.2/tools/lemon/lemon.c:2157:35: note: Assignment 'origsp=msp', assigned value is symbolic=psp->rhs[psp->nrhs-1] mongrel2-1.12.2/tools/lemon/lemon.c:2163:26: note: msp->subsym[0] is assigned 'origsp' here. mongrel2-1.12.2/tools/lemon/lemon.c:2155:28: note: msp is assigned 'psp->rhs[psp->nrhs-1]' here. mongrel2-1.12.2/tools/lemon/lemon.c:2157:35: note: Assignment 'origsp=msp', assigned value is symbolic=psp->rhs[psp->nrhs-1] mongrel2-1.12.2/tools/lemon/lemon.c:2164:23: note: Null pointer dereference mongrel2-1.12.2/tools/lemon/lemon.c:2167:9: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] mongrel2-1.12.2/tools/lemon/lemon.c:2158:23: note: Assuming allocation function fails mongrel2-1.12.2/tools/lemon/lemon.c:2158:23: note: Assignment 'msp=calloc(1,sizeof(*msp))', assigned value is 0 mongrel2-1.12.2/tools/lemon/lemon.c:2167:9: note: Null pointer dereference mongrel2-1.12.2/tools/lemon/lemon.c:2168:9: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] mongrel2-1.12.2/tools/lemon/lemon.c:2158:23: note: Assuming allocation function fails mongrel2-1.12.2/tools/lemon/lemon.c:2158:23: note: Assignment 'msp=calloc(1,sizeof(*msp))', assigned value is 0 mongrel2-1.12.2/tools/lemon/lemon.c:2168:9: note: Null pointer dereference mongrel2-1.12.2/tools/lemon/lemon.c:2168:31: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] mongrel2-1.12.2/tools/lemon/lemon.c:2158:23: note: Assuming allocation function fails mongrel2-1.12.2/tools/lemon/lemon.c:2158:23: note: Assignment 'msp=calloc(1,sizeof(*msp))', assigned value is 0 mongrel2-1.12.2/tools/lemon/lemon.c:2168:31: note: Null pointer dereference mongrel2-1.12.2/tools/lemon/lemon.c:2168:67: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] mongrel2-1.12.2/tools/lemon/lemon.c:2158:23: note: Assuming allocation function fails mongrel2-1.12.2/tools/lemon/lemon.c:2158:23: note: Assignment 'msp=calloc(1,sizeof(*msp))', assigned value is 0 mongrel2-1.12.2/tools/lemon/lemon.c:2168:67: note: Null pointer dereference mongrel2-1.12.2/tools/lemon/lemon.c:2169:9: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] mongrel2-1.12.2/tools/lemon/lemon.c:2158:23: note: Assuming allocation function fails mongrel2-1.12.2/tools/lemon/lemon.c:2158:23: note: Assignment 'msp=calloc(1,sizeof(*msp))', assigned value is 0 mongrel2-1.12.2/tools/lemon/lemon.c:2169:9: note: Null pointer dereference mongrel2-1.12.2/tools/lemon/lemon.c:2169:21: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] mongrel2-1.12.2/tools/lemon/lemon.c:2158:23: note: Assuming allocation function fails mongrel2-1.12.2/tools/lemon/lemon.c:2158:23: note: Assignment 'msp=calloc(1,sizeof(*msp))', assigned value is 0 mongrel2-1.12.2/tools/lemon/lemon.c:2169:21: note: Null pointer dereference mongrel2-1.12.2/tools/lemon/lemon.c:3393:30: warning: If memory allocation fails, then there is a possible null pointer dereference: types [nullPointerOutOfMemory] mongrel2-1.12.2/tools/lemon/lemon.c:3392:25: note: Assuming allocation function fails mongrel2-1.12.2/tools/lemon/lemon.c:3392:11: note: Assignment 'types=(char**)calloc(arraysize,sizeof(char*))', assigned value is 0 mongrel2-1.12.2/tools/lemon/lemon.c:3393:30: note: Null pointer dereference mongrel2-1.12.2/tools/lemon/lemon.c:4373:5: warning: If memory allocation fails, then there is a possible null pointer dereference: sp [nullPointerOutOfMemory] mongrel2-1.12.2/tools/lemon/lemon.c:4371:33: note: Assuming allocation function fails mongrel2-1.12.2/tools/lemon/lemon.c:4371:10: note: Assignment 'sp=(struct symbol*)calloc(1,sizeof(struct symbol))', assigned value is 0 mongrel2-1.12.2/tools/lemon/lemon.c:4373:5: note: Null pointer dereference mongrel2-1.12.2/tools/lemon/lemon.c:1805:10: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] mongrel2-1.12.2/tools/lemon/lemon.c:337:25: style: Local variable 'freelist' shadows outer variable [shadowVariable] mongrel2-1.12.2/tools/lemon/lemon.c:1078:23: note: Shadowed declaration mongrel2-1.12.2/tools/lemon/lemon.c:337:25: note: Shadow variable mongrel2-1.12.2/tools/lemon/lemon.c:968:19: style: Local variable 'stp' shadows outer variable [shadowVariable] mongrel2-1.12.2/tools/lemon/lemon.c:930:17: note: Shadowed declaration mongrel2-1.12.2/tools/lemon/lemon.c:968:19: note: Shadow variable mongrel2-1.12.2/tools/lemon/lemon.c:3580:11: style: Local variable 'name' shadows outer variable [shadowVariable] mongrel2-1.12.2/tools/lemon/lemon.c:3562:9: note: Shadowed declaration mongrel2-1.12.2/tools/lemon/lemon.c:3580:11: note: Shadow variable mongrel2-1.12.2/tools/lemon/lemon.c:3623:9: style: Local variable 'i' shadows outer variable [shadowVariable] mongrel2-1.12.2/tools/lemon/lemon.c:3561:7: note: Shadowed declaration mongrel2-1.12.2/tools/lemon/lemon.c:3623:9: note: Shadow variable mongrel2-1.12.2/tools/lemon/lemon.c:4309:11: style: Local variable 'size' shadows outer variable [shadowVariable] mongrel2-1.12.2/tools/lemon/lemon.c:4147:12: note: Shadowed declaration mongrel2-1.12.2/tools/lemon/lemon.c:4309:11: note: Shadow variable mongrel2-1.12.2/tools/lemon/lemon.c:4475:11: style: Local variable 'size' shadows outer variable [shadowVariable] mongrel2-1.12.2/tools/lemon/lemon.c:4147:12: note: Shadowed declaration mongrel2-1.12.2/tools/lemon/lemon.c:4475:11: note: Shadow variable mongrel2-1.12.2/tools/lemon/lemon.c:4554:9: style: Local variable 'size' shadows outer variable [shadowVariable] mongrel2-1.12.2/tools/lemon/lemon.c:4147:12: note: Shadowed declaration mongrel2-1.12.2/tools/lemon/lemon.c:4554:9: note: Shadow variable mongrel2-1.12.2/tools/lemon/lemon.c:4681:11: style: Local variable 'size' shadows outer variable [shadowVariable] mongrel2-1.12.2/tools/lemon/lemon.c:4147:12: note: Shadowed declaration mongrel2-1.12.2/tools/lemon/lemon.c:4681:11: note: Shadow variable mongrel2-1.12.2/tools/lemon/lemon.c:4741:9: style: Local variable 'size' shadows outer variable [shadowVariable] mongrel2-1.12.2/tools/lemon/lemon.c:4147:12: note: Shadowed declaration mongrel2-1.12.2/tools/lemon/lemon.c:4741:9: note: Shadow variable mongrel2-1.12.2/tools/lemon/lemon.c:4826:11: style: Local variable 'size' shadows outer variable [shadowVariable] mongrel2-1.12.2/tools/lemon/lemon.c:4147:12: note: Shadowed declaration mongrel2-1.12.2/tools/lemon/lemon.c:4826:11: note: Shadow variable mongrel2-1.12.2/tools/lemon/lemon.c:631:25: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tools/lemon/lemon.c:780:16: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/tools/lemon/lemon.c:781:16: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/tools/lemon/lemon.c:889:15: style: Parameter 'lemp' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/tools/lemon/lemon.c:1014:18: style: Variable 'spx' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tools/lemon/lemon.c:1014:24: style: Variable 'spy' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tools/lemon/lemon.c:2333:15: style: Variable 'zOld' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tools/lemon/lemon.c:2333:22: style: Variable 'zNew' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tools/lemon/lemon.c:2717:15: style: Parameter 'lemp' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/tools/lemon/lemon.c:2718:7: style: Parameter 'suffix' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/tools/lemon/lemon.c:2741:7: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/tools/lemon/lemon.c:2762:18: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tools/lemon/lemon.c:2809:18: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tools/lemon/lemon.c:2865:32: style: Parameter 'ap' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/tools/lemon/lemon.c:2943:20: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tools/lemon/lemon.c:2967:7: style: Parameter 'argv0' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/tools/lemon/lemon.c:2968:7: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/tools/lemon/lemon.c:3013:15: style: Parameter 'lemp' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/tools/lemon/lemon.c:3038:7: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/tools/lemon/lemon.c:3072:9: style: Variable 'tpltname' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tools/lemon/lemon.c:3073:9: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tools/lemon/lemon.c:3107:7: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/tools/lemon/lemon.c:3122:7: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/tools/lemon/lemon.c:3189:16: style: Parameter 'sp' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/tools/lemon/lemon.c:3190:15: style: Parameter 'lemp' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/tools/lemon/lemon.c:3213:32: style: Parameter 'zText' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/tools/lemon/lemon.c:3388:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tools/lemon/lemon.c:3400:20: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tools/lemon/lemon.c:3419:11: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tools/lemon/lemon.c:3525:17: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tools/lemon/lemon.c:3526:17: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tools/lemon/lemon.c:3537:20: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tools/lemon/lemon.c:3562:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tools/lemon/lemon.c:3588:11: style: Variable 'prefix' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tools/lemon/lemon.c:3820:22: style: Variable 'p' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tools/lemon/lemon.c:3861:22: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tools/lemon/lemon.c:3895:20: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tools/lemon/lemon.c:3992:9: style: Variable 'prefix' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tools/lemon/lemon.c:4033:21: style: Variable 'rp2' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tools/lemon/lemon.c:4033:27: style: Variable 'rbest' can be declared as pointer to const [constVariablePointer] mongrel2-1.12.2/tools/lemon/lemon.c:4190:7: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] mongrel2-1.12.2/tools/lemon/lemon.c:4217:7: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] diff: head mongrel2-1.12.2/examples/kegogi/lemon.c:2168:31: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/lemon.c:2158:23: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/lemon.c:2158:23: note: Assignment 'msp=calloc(1,sizeof(*msp))', assigned value is 0 mongrel2-1.12.2/examples/kegogi/lemon.c:2168:31: note: Null pointer dereference head mongrel2-1.12.2/examples/kegogi/lemon.c:2168:67: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/lemon.c:2158:23: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/lemon.c:2158:23: note: Assignment 'msp=calloc(1,sizeof(*msp))', assigned value is 0 mongrel2-1.12.2/examples/kegogi/lemon.c:2168:67: note: Null pointer dereference head mongrel2-1.12.2/examples/kegogi/lemon.c:2169:21: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/lemon.c:2158:23: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/lemon.c:2158:23: note: Assignment 'msp=calloc(1,sizeof(*msp))', assigned value is 0 mongrel2-1.12.2/examples/kegogi/lemon.c:2169:21: note: Null pointer dereference head mongrel2-1.12.2/examples/kegogi/src/kegogi.c:98:31: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: testArgs [nullPointerOutOfMemory] mongrel2-1.12.2/examples/kegogi/src/kegogi.c:68:38: note: Assuming allocation function fails mongrel2-1.12.2/examples/kegogi/src/kegogi.c:68:38: note: Assignment 'testArgs=calloc(sizeof(*testArgs),1)', assigned value is 0 mongrel2-1.12.2/examples/kegogi/src/kegogi.c:98:31: note: Null pointer dereference head mongrel2-1.12.2/src/dir.c:140:33: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fr [nullPointerOutOfMemory] mongrel2-1.12.2/src/dir.c:107:28: note: Assuming allocation function fails mongrel2-1.12.2/src/dir.c:107:28: note: Assignment 'fr=calloc(sizeof(FileRecord),1)', assigned value is 0 mongrel2-1.12.2/src/dir.c:118:15: note: Assuming condition is false mongrel2-1.12.2/src/dir.c:140:33: note: Null pointer dereference head mongrel2-1.12.2/src/dir.c:140:50: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fr [nullPointerOutOfMemory] mongrel2-1.12.2/src/dir.c:107:28: note: Assuming allocation function fails mongrel2-1.12.2/src/dir.c:107:28: note: Assignment 'fr=calloc(sizeof(FileRecord),1)', assigned value is 0 mongrel2-1.12.2/src/dir.c:118:15: note: Assuming condition is false mongrel2-1.12.2/src/dir.c:140:50: note: Null pointer dereference head mongrel2-1.12.2/src/dir.c:90:71: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fr [nullPointerOutOfMemory] mongrel2-1.12.2/src/dir.c:107:28: note: Assuming allocation function fails mongrel2-1.12.2/src/dir.c:107:28: note: Assignment 'fr=calloc(sizeof(FileRecord),1)', assigned value is 0 mongrel2-1.12.2/src/dir.c:118:15: note: Assuming condition is false mongrel2-1.12.2/src/dir.c:123:30: note: Calling function 'get_file_real_size', 1st argument 'fr' value is 0 mongrel2-1.12.2/src/dir.c:90:71: note: Null pointer dereference head mongrel2-1.12.2/src/log.c:127:38: warning: If memory allocation fails, then there is a possible null pointer dereference: config [nullPointerOutOfMemory] mongrel2-1.12.2/src/log.c:123:31: note: Assuming allocation function fails mongrel2-1.12.2/src/log.c:123:31: note: Assignment 'config=malloc(sizeof(struct LogConfig))', assigned value is 0 mongrel2-1.12.2/src/log.c:127:38: note: Null pointer dereference 2.17.0 mongrel2-1.12.2/src/task/task.c:55:24: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mongrel2-1.12.2/src/task/task.c:52:15: note: Assuming allocation function fails mongrel2-1.12.2/src/task/task.c:52:15: note: Assignment 't=calloc(sizeof(struct Task)+stack,1)', assigned value is 0 mongrel2-1.12.2/src/task/task.c:55:24: note: Null pointer addition head mongrel2-1.12.2/src/task/task.c:55:24: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mongrel2-1.12.2/src/task/task.c:52:15: note: Assuming allocation function fails mongrel2-1.12.2/src/task/task.c:52:15: note: Assignment 't=calloc(sizeof(struct Task)+stack,1)', assigned value is 0 mongrel2-1.12.2/src/task/task.c:55:24: note: Null pointer addition head mongrel2-1.12.2/src/task/task.c:70:44: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] mongrel2-1.12.2/src/task/task.c:52:15: note: Assuming allocation function fails mongrel2-1.12.2/src/task/task.c:52:15: note: Assignment 't=calloc(sizeof(struct Task)+stack,1)', assigned value is 0 mongrel2-1.12.2/src/task/task.c:70:44: note: Null pointer dereference head mongrel2-1.12.2/src/task/task.c:71:38: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] mongrel2-1.12.2/src/task/task.c:52:15: note: Assuming allocation function fails mongrel2-1.12.2/src/task/task.c:52:15: note: Assignment 't=calloc(sizeof(struct Task)+stack,1)', assigned value is 0 mongrel2-1.12.2/src/task/task.c:71:38: note: Null pointer dereference head mongrel2-1.12.2/tools/lemon/lemon.c:2168:31: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] mongrel2-1.12.2/tools/lemon/lemon.c:2158:23: note: Assuming allocation function fails mongrel2-1.12.2/tools/lemon/lemon.c:2158:23: note: Assignment 'msp=calloc(1,sizeof(*msp))', assigned value is 0 mongrel2-1.12.2/tools/lemon/lemon.c:2168:31: note: Null pointer dereference head mongrel2-1.12.2/tools/lemon/lemon.c:2168:67: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] mongrel2-1.12.2/tools/lemon/lemon.c:2158:23: note: Assuming allocation function fails mongrel2-1.12.2/tools/lemon/lemon.c:2158:23: note: Assignment 'msp=calloc(1,sizeof(*msp))', assigned value is 0 mongrel2-1.12.2/tools/lemon/lemon.c:2168:67: note: Null pointer dereference head mongrel2-1.12.2/tools/lemon/lemon.c:2169:21: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] mongrel2-1.12.2/tools/lemon/lemon.c:2158:23: note: Assuming allocation function fails mongrel2-1.12.2/tools/lemon/lemon.c:2158:23: note: Assignment 'msp=calloc(1,sizeof(*msp))', assigned value is 0 mongrel2-1.12.2/tools/lemon/lemon.c:2169:21: note: Null pointer dereference head mongrel2-1.12.2/tools/m2sh/src/commands/logging.c:48:59: portability: Non reentrant function 'getlogin' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getlogin_r'. [prohibitedgetloginCalled] head mongrel2-1.12.2/tools/procer/procer.c:156:26: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mongrel2-1.12.2/tools/procer/procer.c:152:28: note: Assuming allocation function fails mongrel2-1.12.2/tools/procer/procer.c:152:28: note: Assignment 'action=calloc(sizeof(struct Action),1)', assigned value is 0 mongrel2-1.12.2/tools/procer/procer.c:156:26: note: Null pointer dereference head mongrel2-1.12.2/tools/procer/procer.c:160:44: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mongrel2-1.12.2/tools/procer/procer.c:152:28: note: Assuming allocation function fails mongrel2-1.12.2/tools/procer/procer.c:152:28: note: Assignment 'action=calloc(sizeof(struct Action),1)', assigned value is 0 mongrel2-1.12.2/tools/procer/procer.c:160:44: note: Null pointer dereference DONE