2025-11-25 05:58 ftp://ftp.de.debian.org/debian/pool/main/b/boxes/boxes_2.3.1.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.12.57+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: cb76e52 (2025-11-22 14:47:37 +0100) count: 479 481 elapsed-time: 0.8 0.9 head-timing-info: old-timing-info: head results: boxes-2.3.1/src/boxes.c:410:12: error: There is an unknown macro here somewhere. Configuration is required. If NCURSES_EXPORT is a macro then please configure it. [unknownMacro] boxes-2.3.1/src/cmdline.c:73:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROJECT [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/cmdline.c:87:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROJECT [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/cmdline.c:124:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opt_t [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/cmdline.c:225:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/cmdline.c:242:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/cmdline.c:267:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROJECT [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/cmdline.c:295:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/cmdline.c:322:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/cmdline.c:346:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/cmdline.c:373:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/cmdline.c:453:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/cmdline.c:503:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/cmdline.c:529:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/cmdline.c:592:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/cmdline.c:623:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/cmdline.c:639:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/cmdline.c:710:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLEF [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/cmdline.c:799:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable force_ansi_color [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/detect.c:65:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_lines [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/detect.c:79:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_SHAPES [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/detect.c:116:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_SIDES [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/detect.c:145:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/detect.c:184:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_lines [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/detect.c:260:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLEF [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/detect.c:308:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BRIG [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/detect.c:357:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BTOP [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/detect.c:421:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BTOP [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/detect.c:470:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BTOP [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/detect.c:511:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_SHAPES [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/detect.c:557:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable designs [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/bxstring.c:38:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/bxstring.c:86:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/bxstring.c:223:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/bxstring.c:269:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/bxstring.c:557:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable color_output_enabled [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/discovery.c:56:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/discovery.c:94:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/discovery.c:148:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/discovery.c:176:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable f [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/discovery.c:287:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOBALCONF [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/discovery.c:229:35: style: Parameter 'utf8' can be declared as pointer to const [constParameterPointer] boxes-2.3.1/src/detect.c:117:9: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/detect.c:114:33: note: Assuming allocation function fails boxes-2.3.1/src/detect.c:114:19: note: Assignment 'result=(int*)calloc(NUM_SIDES,sizeof(int))', assigned value is 0 boxes-2.3.1/src/detect.c:117:9: note: Null pointer dereference boxes-2.3.1/src/detect.c:120:13: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/detect.c:114:33: note: Assuming allocation function fails boxes-2.3.1/src/detect.c:114:19: note: Assignment 'result=(int*)calloc(NUM_SIDES,sizeof(int))', assigned value is 0 boxes-2.3.1/src/detect.c:120:13: note: Null pointer dereference boxes-2.3.1/src/detect.c:120:27: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/detect.c:114:33: note: Assuming allocation function fails boxes-2.3.1/src/detect.c:114:19: note: Assignment 'result=(int*)calloc(NUM_SIDES,sizeof(int))', assigned value is 0 boxes-2.3.1/src/detect.c:120:27: note: Null pointer dereference boxes-2.3.1/src/detect.c:120:41: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/detect.c:114:33: note: Assuming allocation function fails boxes-2.3.1/src/detect.c:114:19: note: Assignment 'result=(int*)calloc(NUM_SIDES,sizeof(int))', assigned value is 0 boxes-2.3.1/src/detect.c:120:41: note: Null pointer dereference boxes-2.3.1/src/detect.c:120:55: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/detect.c:114:33: note: Assuming allocation function fails boxes-2.3.1/src/detect.c:114:19: note: Assignment 'result=(int*)calloc(NUM_SIDES,sizeof(int))', assigned value is 0 boxes-2.3.1/src/detect.c:120:55: note: Null pointer dereference boxes-2.3.1/src/detect.c:84:22: style: Variable 'shape_line' can be declared as pointer to const [constVariablePointer] boxes-2.3.1/src/detect.c:257:87: style: Parameter 'empty' can be declared as pointer to const [constParameterPointer] boxes-2.3.1/src/detect.c:305:87: style: Parameter 'empty' can be declared as pointer to const [constParameterPointer] boxes-2.3.1/src/detect.c:354:92: style: Parameter 'empty' can be declared as pointer to const [constParameterPointer] boxes-2.3.1/src/input.c:64:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINE_MAX_BYTES [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/input.c:101:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable design [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/input.c:197:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable r [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/input.c:218:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINE_MAX_BYTES [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/input.c:278:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINE_MAX_BYTES [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/bxstring.c:718:9: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] boxes-2.3.1/src/generate.c:73:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable maxline [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/generate.c:264:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_lines [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/generate.c:431:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/generate.c:476:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROJECT [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/generate.c:531:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable height [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/generate.c:576:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shape [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/generate.c:657:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shape [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/generate.c:743:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_SHAPES [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/generate.c:791:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable justify [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/generate.c:869:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BRIG [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/bxstring.c:43:5: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/bxstring.c:42:41: note: Assuming allocation function fails boxes-2.3.1/src/bxstring.c:42:23: note: Assignment 'result=(struct bxstr_t*)calloc(1,sizeof(struct bxstr_t))', assigned value is 0 boxes-2.3.1/src/bxstring.c:43:5: note: Null pointer dereference boxes-2.3.1/src/bxstring.c:44:9: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/bxstring.c:42:41: note: Assuming allocation function fails boxes-2.3.1/src/bxstring.c:42:23: note: Assignment 'result=(struct bxstr_t*)calloc(1,sizeof(struct bxstr_t))', assigned value is 0 boxes-2.3.1/src/bxstring.c:44:9: note: Null pointer dereference boxes-2.3.1/src/bxstring.c:48:5: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/bxstring.c:42:41: note: Assuming allocation function fails boxes-2.3.1/src/bxstring.c:42:23: note: Assignment 'result=(struct bxstr_t*)calloc(1,sizeof(struct bxstr_t))', assigned value is 0 boxes-2.3.1/src/bxstring.c:44:24: note: Assuming condition is false boxes-2.3.1/src/bxstring.c:48:5: note: Null pointer dereference boxes-2.3.1/src/bxstring.c:52:20: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/bxstring.c:42:41: note: Assuming allocation function fails boxes-2.3.1/src/bxstring.c:42:23: note: Assignment 'result=(struct bxstr_t*)calloc(1,sizeof(struct bxstr_t))', assigned value is 0 boxes-2.3.1/src/bxstring.c:44:24: note: Assuming condition is false boxes-2.3.1/src/bxstring.c:52:20: note: Null pointer dereference boxes-2.3.1/src/bxstring.c:91:5: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/bxstring.c:90:41: note: Assuming allocation function fails boxes-2.3.1/src/bxstring.c:90:23: note: Assignment 'result=(struct bxstr_t*)calloc(1,sizeof(struct bxstr_t))', assigned value is 0 boxes-2.3.1/src/bxstring.c:91:5: note: Null pointer dereference boxes-2.3.1/src/bxstring.c:92:5: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/bxstring.c:90:41: note: Assuming allocation function fails boxes-2.3.1/src/bxstring.c:90:23: note: Assignment 'result=(struct bxstr_t*)calloc(1,sizeof(struct bxstr_t))', assigned value is 0 boxes-2.3.1/src/bxstring.c:92:5: note: Null pointer dereference boxes-2.3.1/src/bxstring.c:94:5: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/bxstring.c:90:41: note: Assuming allocation function fails boxes-2.3.1/src/bxstring.c:90:23: note: Assignment 'result=(struct bxstr_t*)calloc(1,sizeof(struct bxstr_t))', assigned value is 0 boxes-2.3.1/src/bxstring.c:94:5: note: Null pointer dereference boxes-2.3.1/src/bxstring.c:96:5: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/bxstring.c:90:41: note: Assuming allocation function fails boxes-2.3.1/src/bxstring.c:90:23: note: Assignment 'result=(struct bxstr_t*)calloc(1,sizeof(struct bxstr_t))', assigned value is 0 boxes-2.3.1/src/bxstring.c:96:5: note: Null pointer dereference boxes-2.3.1/src/bxstring.c:97:5: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/bxstring.c:90:41: note: Assuming allocation function fails boxes-2.3.1/src/bxstring.c:90:23: note: Assignment 'result=(struct bxstr_t*)calloc(1,sizeof(struct bxstr_t))', assigned value is 0 boxes-2.3.1/src/bxstring.c:97:5: note: Null pointer dereference boxes-2.3.1/src/bxstring.c:98:23: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/bxstring.c:90:41: note: Assuming allocation function fails boxes-2.3.1/src/bxstring.c:90:23: note: Assignment 'result=(struct bxstr_t*)calloc(1,sizeof(struct bxstr_t))', assigned value is 0 boxes-2.3.1/src/bxstring.c:98:23: note: Null pointer dereference boxes-2.3.1/src/bxstring.c:109:13: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/bxstring.c:90:41: note: Assuming allocation function fails boxes-2.3.1/src/bxstring.c:90:23: note: Assignment 'result=(struct bxstr_t*)calloc(1,sizeof(struct bxstr_t))', assigned value is 0 boxes-2.3.1/src/bxstring.c:109:13: note: Null pointer dereference boxes-2.3.1/src/bxstring.c:297:12: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] boxes-2.3.1/src/bxstring.c:296:38: note: Assuming allocation function fails boxes-2.3.1/src/bxstring.c:296:19: note: Assignment 's=(uint32_t*)malloc((combined_num_chars+1)*sizeof(uint32_t))', assigned value is 0 boxes-2.3.1/src/bxstring.c:297:12: note: Null pointer dereference boxes-2.3.1/src/bxstring.c:486:9: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/bxstring.c:484:36: note: Assuming allocation function fails boxes-2.3.1/src/bxstring.c:484:18: note: Assignment 'result=(struct bxstr_t*)calloc(1,sizeof(struct bxstr_t))', assigned value is 0 boxes-2.3.1/src/bxstring.c:486:9: note: Null pointer dereference boxes-2.3.1/src/bxstring.c:488:17: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/bxstring.c:484:36: note: Assuming allocation function fails boxes-2.3.1/src/bxstring.c:484:18: note: Assignment 'result=(struct bxstr_t*)calloc(1,sizeof(struct bxstr_t))', assigned value is 0 boxes-2.3.1/src/bxstring.c:488:17: note: Null pointer dereference boxes-2.3.1/src/bxstring.c:490:17: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/bxstring.c:484:36: note: Assuming allocation function fails boxes-2.3.1/src/bxstring.c:484:18: note: Assignment 'result=(struct bxstr_t*)calloc(1,sizeof(struct bxstr_t))', assigned value is 0 boxes-2.3.1/src/bxstring.c:490:17: note: Null pointer dereference boxes-2.3.1/src/bxstring.c:491:21: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/bxstring.c:484:36: note: Assuming allocation function fails boxes-2.3.1/src/bxstring.c:484:18: note: Assignment 'result=(struct bxstr_t*)calloc(1,sizeof(struct bxstr_t))', assigned value is 0 boxes-2.3.1/src/bxstring.c:491:21: note: Null pointer dereference boxes-2.3.1/src/bxstring.c:493:9: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/bxstring.c:484:36: note: Assuming allocation function fails boxes-2.3.1/src/bxstring.c:484:18: note: Assignment 'result=(struct bxstr_t*)calloc(1,sizeof(struct bxstr_t))', assigned value is 0 boxes-2.3.1/src/bxstring.c:493:9: note: Null pointer dereference boxes-2.3.1/src/bxstring.c:494:16: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/bxstring.c:484:36: note: Assuming allocation function fails boxes-2.3.1/src/bxstring.c:484:18: note: Assignment 'result=(struct bxstr_t*)calloc(1,sizeof(struct bxstr_t))', assigned value is 0 boxes-2.3.1/src/bxstring.c:494:16: note: Null pointer dereference boxes-2.3.1/src/cmdline.c:480:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] boxes-2.3.1/src/bxstring.c:495:16: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/bxstring.c:484:36: note: Assuming allocation function fails boxes-2.3.1/src/bxstring.c:484:18: note: Assignment 'result=(struct bxstr_t*)calloc(1,sizeof(struct bxstr_t))', assigned value is 0 boxes-2.3.1/src/bxstring.c:495:16: note: Null pointer dereference boxes-2.3.1/src/cmdline.c:480:53: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] boxes-2.3.1/src/bxstring.c:497:9: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/bxstring.c:484:36: note: Assuming allocation function fails boxes-2.3.1/src/bxstring.c:484:18: note: Assignment 'result=(struct bxstr_t*)calloc(1,sizeof(struct bxstr_t))', assigned value is 0 boxes-2.3.1/src/bxstring.c:497:9: note: Null pointer dereference boxes-2.3.1/src/bxstring.c:498:9: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/bxstring.c:484:36: note: Assuming allocation function fails boxes-2.3.1/src/bxstring.c:484:18: note: Assignment 'result=(struct bxstr_t*)calloc(1,sizeof(struct bxstr_t))', assigned value is 0 boxes-2.3.1/src/bxstring.c:498:9: note: Null pointer dereference boxes-2.3.1/src/bxstring.c:499:9: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/bxstring.c:484:36: note: Assuming allocation function fails boxes-2.3.1/src/bxstring.c:484:18: note: Assignment 'result=(struct bxstr_t*)calloc(1,sizeof(struct bxstr_t))', assigned value is 0 boxes-2.3.1/src/bxstring.c:499:9: note: Null pointer dereference boxes-2.3.1/src/bxstring.c:500:9: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/bxstring.c:484:36: note: Assuming allocation function fails boxes-2.3.1/src/bxstring.c:484:18: note: Assignment 'result=(struct bxstr_t*)calloc(1,sizeof(struct bxstr_t))', assigned value is 0 boxes-2.3.1/src/bxstring.c:500:9: note: Null pointer dereference boxes-2.3.1/src/bxstring.c:501:9: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/bxstring.c:484:36: note: Assuming allocation function fails boxes-2.3.1/src/bxstring.c:484:18: note: Assignment 'result=(struct bxstr_t*)calloc(1,sizeof(struct bxstr_t))', assigned value is 0 boxes-2.3.1/src/bxstring.c:501:9: note: Null pointer dereference boxes-2.3.1/src/bxstring.c:502:9: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/bxstring.c:484:36: note: Assuming allocation function fails boxes-2.3.1/src/bxstring.c:484:18: note: Assignment 'result=(struct bxstr_t*)calloc(1,sizeof(struct bxstr_t))', assigned value is 0 boxes-2.3.1/src/bxstring.c:502:9: note: Null pointer dereference boxes-2.3.1/src/bxstring.c:504:9: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/bxstring.c:484:36: note: Assuming allocation function fails boxes-2.3.1/src/bxstring.c:484:18: note: Assignment 'result=(struct bxstr_t*)calloc(1,sizeof(struct bxstr_t))', assigned value is 0 boxes-2.3.1/src/bxstring.c:504:9: note: Null pointer dereference boxes-2.3.1/src/bxstring.c:505:9: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/bxstring.c:484:36: note: Assuming allocation function fails boxes-2.3.1/src/bxstring.c:484:18: note: Assignment 'result=(struct bxstr_t*)calloc(1,sizeof(struct bxstr_t))', assigned value is 0 boxes-2.3.1/src/bxstring.c:505:9: note: Null pointer dereference boxes-2.3.1/src/bxstring.c:507:13: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/bxstring.c:484:36: note: Assuming allocation function fails boxes-2.3.1/src/bxstring.c:484:18: note: Assignment 'result=(struct bxstr_t*)calloc(1,sizeof(struct bxstr_t))', assigned value is 0 boxes-2.3.1/src/bxstring.c:507:13: note: Null pointer dereference boxes-2.3.1/src/bxstring.c:508:13: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/bxstring.c:484:36: note: Assuming allocation function fails boxes-2.3.1/src/bxstring.c:484:18: note: Assignment 'result=(struct bxstr_t*)calloc(1,sizeof(struct bxstr_t))', assigned value is 0 boxes-2.3.1/src/bxstring.c:508:13: note: Null pointer dereference boxes-2.3.1/src/bxstring.c:511:13: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/bxstring.c:484:36: note: Assuming allocation function fails boxes-2.3.1/src/bxstring.c:484:18: note: Assignment 'result=(struct bxstr_t*)calloc(1,sizeof(struct bxstr_t))', assigned value is 0 boxes-2.3.1/src/bxstring.c:511:13: note: Null pointer dereference boxes-2.3.1/src/bxstring.c:512:13: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/bxstring.c:484:36: note: Assuming allocation function fails boxes-2.3.1/src/bxstring.c:484:18: note: Assignment 'result=(struct bxstr_t*)calloc(1,sizeof(struct bxstr_t))', assigned value is 0 boxes-2.3.1/src/bxstring.c:512:13: note: Null pointer dereference boxes-2.3.1/src/bxstring.c:298:14: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] boxes-2.3.1/src/bxstring.c:296:38: note: Assuming allocation function fails boxes-2.3.1/src/bxstring.c:296:19: note: Assignment 's=(uint32_t*)malloc((combined_num_chars+1)*sizeof(uint32_t))', assigned value is 0 boxes-2.3.1/src/bxstring.c:298:14: note: Null pointer addition boxes-2.3.1/src/bxstring.c:35:31: style: Parameter 'pAscii' can be declared as pointer to const [constParameterPointer] boxes-2.3.1/src/bxstring.c:569:27: style: Parameter 'pString' can be declared as pointer to const [constParameterPointer] boxes-2.3.1/src/bxstring.c:595:34: style: Parameter 'pString' can be declared as pointer to const [constParameterPointer] boxes-2.3.1/src/cmdline.c:492:33: style: Local variable 'i' shadows outer variable [shadowVariable] boxes-2.3.1/src/cmdline.c:488:21: note: Shadowed declaration boxes-2.3.1/src/cmdline.c:492:33: note: Shadow variable boxes-2.3.1/src/cmdline.c:239:53: style: Parameter 'optarg' can be declared as pointer to const [constParameterPointer] boxes-2.3.1/src/cmdline.c:262:47: style: Parameter 'optarg' can be declared as pointer to const [constParameterPointer] boxes-2.3.1/src/cmdline.c:309:50: style: Parameter 'optarg' can be declared as pointer to const [constParameterPointer] boxes-2.3.1/src/cmdline.c:336:43: style: Parameter 'optarg' can be declared as pointer to const [constParameterPointer] boxes-2.3.1/src/cmdline.c:470:45: style: Parameter 'optarg' can be declared as pointer to const [constParameterPointer] boxes-2.3.1/src/cmdline.c:613:43: style: Parameter 'result' can be declared as pointer to const [constParameterPointer] boxes-2.3.1/src/logging.c:131:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/logging.c:148:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/list.c:78:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROJECT [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/list.c:105:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/list.c:113:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_designs [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/list.c:132:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/list.c:160:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable outfile [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/list.c:196:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable outfile [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/list.c:353:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable design_choice_by_user [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/logging.c:58:9: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/logging.c:57:30: note: Assuming allocation function fails boxes-2.3.1/src/logging.c:57:30: note: Assignment 'result=strdup(s)', assigned value is 0 boxes-2.3.1/src/logging.c:58:9: note: Null pointer dereference boxes-2.3.1/src/logging.c:75:16: warning: If memory allocation fails, then there is a possible null pointer dereference: areas_active [nullPointerOutOfMemory] boxes-2.3.1/src/logging.c:73:34: note: Assuming allocation function fails boxes-2.3.1/src/logging.c:73:20: note: Assignment 'areas_active=(int*)calloc(5,sizeof(int))', assigned value is 0 boxes-2.3.1/src/logging.c:75:16: note: Null pointer dereference boxes-2.3.1/src/logging.c:55:11: style: Variable 'e' can be declared as pointer to const [constVariablePointer] boxes-2.3.1/src/logging.c:66:34: style: Parameter 'log_areas' can be declared as pointer to const [constParameterPointer] boxes-2.3.1/src/input.c:222:5: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/input.c:221:41: note: Assuming allocation function fails boxes-2.3.1/src/input.c:221:23: note: Assignment 'result=(input_t*)calloc(1,sizeof(input_t))', assigned value is 0 boxes-2.3.1/src/input.c:222:5: note: Null pointer dereference boxes-2.3.1/src/input.c:225:13: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/input.c:221:41: note: Assuming allocation function fails boxes-2.3.1/src/input.c:221:23: note: Assignment 'result=(input_t*)calloc(1,sizeof(input_t))', assigned value is 0 boxes-2.3.1/src/input.c:225:13: note: Null pointer dereference boxes-2.3.1/src/input.c:236:16: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/input.c:221:41: note: Assuming allocation function fails boxes-2.3.1/src/input.c:221:23: note: Assignment 'result=(input_t*)calloc(1,sizeof(input_t))', assigned value is 0 boxes-2.3.1/src/input.c:236:16: note: Null pointer dereference boxes-2.3.1/src/input.c:236:32: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/input.c:221:41: note: Assuming allocation function fails boxes-2.3.1/src/input.c:221:23: note: Assignment 'result=(input_t*)calloc(1,sizeof(input_t))', assigned value is 0 boxes-2.3.1/src/input.c:236:32: note: Null pointer dereference boxes-2.3.1/src/input.c:240:9: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/input.c:221:41: note: Assuming allocation function fails boxes-2.3.1/src/input.c:221:23: note: Assignment 'result=(input_t*)calloc(1,sizeof(input_t))', assigned value is 0 boxes-2.3.1/src/input.c:240:9: note: Null pointer dereference boxes-2.3.1/src/input.c:263:11: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/input.c:221:41: note: Assuming allocation function fails boxes-2.3.1/src/input.c:221:23: note: Assignment 'result=(input_t*)calloc(1,sizeof(input_t))', assigned value is 0 boxes-2.3.1/src/input.c:263:11: note: Null pointer dereference boxes-2.3.1/src/input.c:95:34: style:inconclusive: Function 'apply_substitutions' argument 1 names different: declaration 'input_data' definition 'result'. [funcArgNamesDifferent] boxes-2.3.1/src/input.h:49:34: note: Function 'apply_substitutions' argument 1 names different: declaration 'input_data' definition 'result'. boxes-2.3.1/src/input.c:95:34: note: Function 'apply_substitutions' argument 1 names different: declaration 'input_data' definition 'result'. boxes-2.3.1/src/input.c:276:28: style:inconclusive: Function 'analyze_input' argument 1 names different: declaration 'input_data' definition 'result'. [funcArgNamesDifferent] boxes-2.3.1/src/input.h:39:28: note: Function 'analyze_input' argument 1 names different: declaration 'input_data' definition 'result'. boxes-2.3.1/src/input.c:276:28: note: Function 'analyze_input' argument 1 names different: declaration 'input_data' definition 'result'. boxes-2.3.1/src/parsing.c:67:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/parsing.c:80:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_designs [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/parsing.c:121:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/parsing.c:206:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/parsing.c:249:95: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable design_t [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/parsing.c:284:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROJECT [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/list.c:44:37: style: Parameter 'design' can be declared as pointer to const [constParameterPointer] boxes-2.3.1/src/parsecode.c:63:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_SIDES [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/parsecode.c:129:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_CORNERS [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/parsecode.c:147:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_SHAPES [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/parsecode.c:164:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_SIDES [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/parsecode.c:186:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_SIDES [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/parsecode.c:216:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_SHAPES [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/parsecode.c:243:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable design_t [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/parsecode.c:265:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/parsecode.c:307:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable design_choice_by_user [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/parsecode.c:323:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable design_choice_by_user [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/parsecode.c:368:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tags [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/parsecode.c:459:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_SHAPES [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/parsecode.c:613:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/parsecode.c:723:91: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable design_t [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/parsecode.c:751:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable author [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/parsecode.c:794:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable padding [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/parsecode.c:830:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable design_t [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/parsecode.c:852:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aliases [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/parsecode.c:867:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eol [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/parsecode.c:899:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sample [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/parsecode.c:942:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reprule_t [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/parsecode.c:964:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SENTRY_INITIALIZER [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/parsecode.c:1025:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROJECT [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/query.c:70:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/query.c:129:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable query [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/query.c:162:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_designs [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/query.c:56:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] boxes-2.3.1/src/query.c:56:53: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] boxes-2.3.1/src/query.c:88:9: error: Common realloc mistake: 'query' nulled but not freed upon failure [memleakOnRealloc] boxes-2.3.1/src/query.c:105:9: error: Common realloc mistake: 'query' nulled but not freed upon failure [memleakOnRealloc] boxes-2.3.1/src/query.c:47:26: style: Parameter 'optarg' can be declared as pointer to const [constParameterPointer] boxes-2.3.1/src/query.c:77:23: style: Variable 'restag' can be declared as pointer to const [constVariablePointer] boxes-2.3.1/src/parsing.c:224:17: error: Common realloc mistake: 'parent_configs' nulled but not freed upon failure [memleakOnRealloc] boxes-2.3.1/src/parsing.c:266:39: style:inconclusive: Function 'parse_config_files' argument 1 names different: declaration 'first_config_file' definition 'p_first_config_file'. [funcArgNamesDifferent] boxes-2.3.1/src/parsing.h:49:39: note: Function 'parse_config_files' argument 1 names different: declaration 'first_config_file' definition 'p_first_config_file'. boxes-2.3.1/src/parsing.c:266:39: note: Function 'parse_config_files' argument 1 names different: declaration 'first_config_file' definition 'p_first_config_file'. boxes-2.3.1/src/parsing.c:201:38: style: Parameter 'designs' can be declared as pointer to const [constParameterPointer] boxes-2.3.1/src/regulex.c:39:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/regulex.c:56:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCRE2_ZERO_TERMINATED [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/regulex.c:86:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCRE2_ZERO_TERMINATED [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/regulex.c:97:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/regulex.c:110:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCRE2_SUBSTITUTE_OVERFLOW_LENGTH [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/regulex.c:141:13: error: Common realloc mistake: 'output' nulled but not freed upon failure [memleakOnRealloc] boxes-2.3.1/src/regulex.c:124:20: style: Local variable 'outlen' shadows outer variable [shadowVariable] boxes-2.3.1/src/regulex.c:112:16: note: Shadowed declaration boxes-2.3.1/src/regulex.c:124:20: note: Shadow variable boxes-2.3.1/src/regulex.c:73:44: style: Parameter 'subject_string' can be declared as pointer to const [constParameterPointer] boxes-2.3.1/src/remove.c:107:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BTOP [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/remove.c:174:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_lines [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/remove.c:188:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_lines [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/remove.c:431:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BTOP [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/remove.c:477:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLEF [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/remove.c:519:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BTOP [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/remove.c:595:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shape [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/remove.c:624:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shape [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/remove.c:655:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shape [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/remove.c:668:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLEF [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/remove.c:729:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLEF [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/remove.c:781:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLEF [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/remove.c:814:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLEF [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/remove.c:870:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable design_choice_by_user [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/remove.c:909:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mend [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/remove.c:970:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lines [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/remove.c:984:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lines [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/remove.c:1003:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lines [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/remove.c:1018:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lines [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/remove.c:1047:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lines [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/remove.c:1064:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lines [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/remove.c:1079:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable killblank [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/remove.c:1117:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BTOP [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/remove.c:1181:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_lines [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/parsecode.c:985:9: error: Memory leak: rval.chars [memleak] boxes-2.3.1/src/parsecode.c:996:9: error: Memory leak: rval.mbcs [memleak] boxes-2.3.1/src/parsecode.c:141:53: style: Parameter 'bison_args' can be declared as pointer to const [constParameterPointer] boxes-2.3.1/src/parsecode.c:158:51: style: Parameter 'bison_args' can be declared as pointer to const [constParameterPointer] boxes-2.3.1/src/parsecode.c:180:46: style: Parameter 'bison_args' can be declared as pointer to const [constParameterPointer] boxes-2.3.1/src/parsecode.c:241:40: style: Parameter 'bison_args' can be declared as pointer to const [constParameterPointer] boxes-2.3.1/src/parsecode.c:276:39: style: Parameter 'design' can be declared as pointer to const [constParameterPointer] boxes-2.3.1/src/parsecode.c:276:53: style: Parameter 'alias' can be declared as pointer to const [constParameterPointer] boxes-2.3.1/src/parsecode.c:336:46: style: Parameter 'bison_args' can be declared as pointer to const [constParameterPointer] boxes-2.3.1/src/parsecode.c:350:57: style: Parameter 'bison_args' can be declared as pointer to const [constParameterPointer] boxes-2.3.1/src/parsecode.c:391:15: style: Variable 'c' can be declared as pointer to const [constVariablePointer] boxes-2.3.1/src/parsecode.c:608:66: style: Parameter 'design_name' can be declared as pointer to const [constParameterPointer] boxes-2.3.1/src/parsecode.c:688:83: style: Parameter 'name_at_end' can be declared as pointer to const [constParameterPointer] boxes-2.3.1/src/parsecode.c:768:15: style: Variable 'val' can be declared as pointer to const [constVariablePointer] boxes-2.3.1/src/parsecode.c:928:60: style: Parameter 'type' can be declared as pointer to const [constParameterPointer] boxes-2.3.1/src/shape.c:100:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_SIDES [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/shape.c:136:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINE_MAX_BYTES [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/shape.c:183:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SENTRY_INITIALIZER [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/shape.c:255:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shape_t [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/shape.c:290:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shape_t [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/tools.c:224:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINE_MAX_BYTES [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/tools.c:369:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tabexp [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/tools.c:420:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_lines [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/shape.c:389:9: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] boxes-2.3.1/src/shape.c:387:33: note: Assuming allocation function fails boxes-2.3.1/src/shape.c:387:19: note: Assignment 'result=(int*)calloc(shape_height,sizeof(int))', assigned value is 0 boxes-2.3.1/src/shape.c:389:9: note: Null pointer dereference boxes-2.3.1/src/shape.c:136:15: style: Checking if unsigned expression 'width' is less than zero. [unsignedLessThanZero] boxes-2.3.1/src/shape.c:136:30: style: Checking if unsigned expression 'height' is less than zero. [unsignedLessThanZero] boxes-2.3.1/src/shape.c:314:26: style: Parameter 'sarr' can be declared as pointer to const [constParameterPointer] boxes-2.3.1/src/shape.c:331:30: style: Parameter 'shape' can be declared as pointer to const [constParameterPointer] boxes-2.3.1/src/shape.c:344:30: style: Parameter 'shape' can be declared as pointer to const [constParameterPointer] boxes-2.3.1/src/shape.c:357:34: style: Parameter 'side' can be declared as const array [constParameter] boxes-2.3.1/src/unicode.c:229:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iconveh_question_mark [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/unicode.c:258:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iconveh_question_mark [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/unicode.c:271:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iconveh_error [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/unicode.c:293:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iconveh_error [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/unicode.c:307:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROJECT [valueFlowBailoutIncompleteVar] boxes-2.3.1/src/unicode.c:187:21: style: Variable 'ansipos' is assigned a value that is never used. [unreadVariable] boxes-2.3.1/src/unicode.c:195:25: style: Variable 'ansipos' is assigned a value that is never used. [unreadVariable] boxes-2.3.1/src/generate.c:219:21: style: Condition 'twidth!=bwidth' is always false [knownConditionTrueFalse] boxes-2.3.1/src/generate.c:103:14: note: Assignment 'twidth=0', assigned value is 0 boxes-2.3.1/src/generate.c:219:21: note: Condition 'twidth!=bwidth' is always false boxes-2.3.1/src/generate.c:219:66: style: Condition 'bwidth