2025-06-29 00:55 ftp://ftp.de.debian.org/debian/pool/main/m/mle/mle_1.7.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-62-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: ca83f56 (2025-06-29 00:31:22 +0200) count: 577 552 elapsed-time: 11.6 11.7 head-timing-info: old-timing-info: head results: mle-1.7.2/buffer.c:84:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] mle-1.7.2/buffer.c:371:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer [valueFlowBailoutIncompleteVar] mle-1.7.2/buffer.c:1231:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] mle-1.7.2/buffer.c:1583:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCRE2_SIZE [valueFlowBailoutIncompleteVar] mle-1.7.2/buffer.c:1823:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mle-1.7.2/buffer.c:1904:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCRE2_NO_AUTO_CAPTURE [valueFlowBailoutIncompleteVar] mle-1.7.2/buffer.c:1926:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCRE2_NO_AUTO_CAPTURE [valueFlowBailoutIncompleteVar] mle-1.7.2/buffer.c:1442:13: style: Condition '!do_delete' is always true [knownConditionTrueFalse] mle-1.7.2/buffer.c:1440:17: note: Assignment 'do_delete=0', assigned value is 0 mle-1.7.2/buffer.c:1442:13: note: Condition '!do_delete' is always true mle-1.7.2/buffer.c:910:17: error: Common realloc mistake: 'data' nulled but not freed upon failure [memleakOnRealloc] mle-1.7.2/buffer.c:47:5: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] mle-1.7.2/buffer.c:46:20: note: Assuming allocation function fails mle-1.7.2/buffer.c:46:20: note: Assignment 'buffer=calloc(1,sizeof(struct buffer_t))', assigned value is 0 mle-1.7.2/buffer.c:47:5: note: Null pointer dereference mle-1.7.2/buffer.c:49:5: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] mle-1.7.2/buffer.c:46:20: note: Assuming allocation function fails mle-1.7.2/buffer.c:46:20: note: Assignment 'buffer=calloc(1,sizeof(struct buffer_t))', assigned value is 0 mle-1.7.2/buffer.c:49:5: note: Null pointer dereference mle-1.7.2/buffer.c:50:5: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] mle-1.7.2/buffer.c:46:20: note: Assuming allocation function fails mle-1.7.2/buffer.c:46:20: note: Assignment 'buffer=calloc(1,sizeof(struct buffer_t))', assigned value is 0 mle-1.7.2/buffer.c:50:5: note: Null pointer dereference mle-1.7.2/buffer.c:51:5: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] mle-1.7.2/buffer.c:46:20: note: Assuming allocation function fails mle-1.7.2/buffer.c:46:20: note: Assignment 'buffer=calloc(1,sizeof(struct buffer_t))', assigned value is 0 mle-1.7.2/buffer.c:51:5: note: Null pointer dereference mle-1.7.2/buffer.c:52:5: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] mle-1.7.2/buffer.c:46:20: note: Assuming allocation function fails mle-1.7.2/buffer.c:46:20: note: Assignment 'buffer=calloc(1,sizeof(struct buffer_t))', assigned value is 0 mle-1.7.2/buffer.c:52:5: note: Null pointer dereference mle-1.7.2/buffer.c:238:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mark [nullPointerOutOfMemory] mle-1.7.2/buffer.c:237:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:237:18: note: Assignment 'mark=calloc(1,sizeof(struct mark_t))', assigned value is 0 mle-1.7.2/buffer.c:238:5: note: Null pointer dereference mle-1.7.2/buffer.c:248:15: warning: If memory allocation fails, then there is a possible null pointer dereference: mark [nullPointerOutOfMemory] mle-1.7.2/buffer.c:237:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:237:18: note: Assignment 'mark=calloc(1,sizeof(struct mark_t))', assigned value is 0 mle-1.7.2/buffer.c:248:15: note: Null pointer dereference mle-1.7.2/buffer.c:249:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mark [nullPointerOutOfMemory] mle-1.7.2/buffer.c:237:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:237:18: note: Assignment 'mark=calloc(1,sizeof(struct mark_t))', assigned value is 0 mle-1.7.2/buffer.c:249:9: note: Null pointer dereference mle-1.7.2/buffer.c:365:22: warning: If memory allocation fails, then there is a possible null pointer dereference: data_cursor [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1214:20: note: Assuming allocation function fails mle-1.7.2/buffer.c:1214:20: note: Assignment 'mmap_buf=mmap(NULL,size,PROT_READ,MAP_PRIVATE,tmpfd,0)', assigned value is 0 mle-1.7.2/buffer.c:1217:41: note: Calling function 'buffer_set_mmapped', 2nd argument 'mmap_buf' value is 0 mle-1.7.2/buffer.c:361:19: note: Assignment 'data_cursor=data', assigned value is 0 mle-1.7.2/buffer.c:365:22: note: Null pointer dereference mle-1.7.2/buffer.c:370:9: warning: If memory allocation fails, then there is a possible null pointer dereference: blines [nullPointerOutOfMemory] mle-1.7.2/buffer.c:356:34: note: Assuming allocation function fails mle-1.7.2/buffer.c:356:34: note: Assignment 'self->slabbed_blines=malloc(nlines*sizeof(struct bline_t))', assigned value is 0 mle-1.7.2/buffer.c:357:12: note: blines is assigned 'self->slabbed_blines' here. mle-1.7.2/buffer.c:370:9: note: Null pointer dereference mle-1.7.2/buffer.c:389:13: warning: If memory allocation fails, then there is a possible null pointer dereference: blines [nullPointerOutOfMemory] mle-1.7.2/buffer.c:356:34: note: Assuming allocation function fails mle-1.7.2/buffer.c:356:34: note: Assignment 'self->slabbed_blines=malloc(nlines*sizeof(struct bline_t))', assigned value is 0 mle-1.7.2/buffer.c:357:12: note: blines is assigned 'self->slabbed_blines' here. mle-1.7.2/buffer.c:389:13: note: Null pointer dereference mle-1.7.2/buffer.c:390:13: warning: If memory allocation fails, then there is a possible null pointer dereference: blines [nullPointerOutOfMemory] mle-1.7.2/buffer.c:356:34: note: Assuming allocation function fails mle-1.7.2/buffer.c:356:34: note: Assignment 'self->slabbed_blines=malloc(nlines*sizeof(struct bline_t))', assigned value is 0 mle-1.7.2/buffer.c:357:12: note: blines is assigned 'self->slabbed_blines' here. mle-1.7.2/buffer.c:390:13: note: Null pointer dereference mle-1.7.2/buffer.c:473:5: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:472:20: note: Assuming allocation function fails mle-1.7.2/buffer.c:472:20: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:473:5: note: Null pointer dereference mle-1.7.2/buffer.c:474:5: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:472:20: note: Assuming allocation function fails mle-1.7.2/buffer.c:472:20: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:474:5: note: Null pointer dereference mle-1.7.2/buffer.c:475:5: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:472:20: note: Assuming allocation function fails mle-1.7.2/buffer.c:472:20: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:475:5: note: Null pointer dereference mle-1.7.2/buffer.c:476:5: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:472:20: note: Assuming allocation function fails mle-1.7.2/buffer.c:472:20: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:476:5: note: Null pointer dereference mle-1.7.2/buffer.c:477:5: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:472:20: note: Assuming allocation function fails mle-1.7.2/buffer.c:472:20: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:477:5: note: Null pointer dereference mle-1.7.2/buffer.c:478:5: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:472:20: note: Assuming allocation function fails mle-1.7.2/buffer.c:472:20: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:478:5: note: Null pointer dereference mle-1.7.2/buffer.c:479:5: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:472:20: note: Assuming allocation function fails mle-1.7.2/buffer.c:472:20: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:479:5: note: Null pointer dereference mle-1.7.2/buffer.c:479:36: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:472:20: note: Assuming allocation function fails mle-1.7.2/buffer.c:472:20: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:479:36: note: Null pointer dereference mle-1.7.2/buffer.c:480:5: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:472:20: note: Assuming allocation function fails mle-1.7.2/buffer.c:472:20: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:480:5: note: Null pointer dereference mle-1.7.2/buffer.c:481:5: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:472:20: note: Assuming allocation function fails mle-1.7.2/buffer.c:472:20: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:481:5: note: Null pointer dereference mle-1.7.2/buffer.c:482:5: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:472:20: note: Assuming allocation function fails mle-1.7.2/buffer.c:472:20: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:482:5: note: Null pointer dereference mle-1.7.2/buffer.c:483:5: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:472:20: note: Assuming allocation function fails mle-1.7.2/buffer.c:472:20: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:483:5: note: Null pointer dereference mle-1.7.2/buffer.c:484:5: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:472:20: note: Assuming allocation function fails mle-1.7.2/buffer.c:472:20: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:484:5: note: Null pointer dereference mle-1.7.2/buffer.c:485:5: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:472:20: note: Assuming allocation function fails mle-1.7.2/buffer.c:472:20: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:485:5: note: Null pointer dereference mle-1.7.2/buffer.c:569:5: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:568:20: note: Assuming allocation function fails mle-1.7.2/buffer.c:568:20: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:569:5: note: Null pointer dereference mle-1.7.2/buffer.c:570:5: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:568:20: note: Assuming allocation function fails mle-1.7.2/buffer.c:568:20: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:570:5: note: Null pointer dereference mle-1.7.2/buffer.c:571:5: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:568:20: note: Assuming allocation function fails mle-1.7.2/buffer.c:568:20: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:571:5: note: Null pointer dereference mle-1.7.2/buffer.c:572:5: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:568:20: note: Assuming allocation function fails mle-1.7.2/buffer.c:568:20: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:572:5: note: Null pointer dereference mle-1.7.2/buffer.c:573:5: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:568:20: note: Assuming allocation function fails mle-1.7.2/buffer.c:568:20: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:573:5: note: Null pointer dereference mle-1.7.2/buffer.c:574:5: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:568:20: note: Assuming allocation function fails mle-1.7.2/buffer.c:568:20: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:574:5: note: Null pointer dereference mle-1.7.2/buffer.c:575:5: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:568:20: note: Assuming allocation function fails mle-1.7.2/buffer.c:568:20: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:575:5: note: Null pointer dereference mle-1.7.2/buffer.c:576:5: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:568:20: note: Assuming allocation function fails mle-1.7.2/buffer.c:568:20: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:576:5: note: Null pointer dereference mle-1.7.2/buffer.c:577:5: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:568:20: note: Assuming allocation function fails mle-1.7.2/buffer.c:568:20: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:577:5: note: Null pointer dereference mle-1.7.2/buffer.c:578:5: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:568:20: note: Assuming allocation function fails mle-1.7.2/buffer.c:568:20: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:578:5: note: Null pointer dereference mle-1.7.2/buffer.c:649:9: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:648:24: note: Assuming allocation function fails mle-1.7.2/buffer.c:648:24: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:649:9: note: Null pointer dereference mle-1.7.2/buffer.c:650:9: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:648:24: note: Assuming allocation function fails mle-1.7.2/buffer.c:648:24: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:650:9: note: Null pointer dereference mle-1.7.2/buffer.c:651:9: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:648:24: note: Assuming allocation function fails mle-1.7.2/buffer.c:648:24: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:651:9: note: Null pointer dereference mle-1.7.2/buffer.c:652:9: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:648:24: note: Assuming allocation function fails mle-1.7.2/buffer.c:648:24: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:652:9: note: Null pointer dereference mle-1.7.2/buffer.c:653:9: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:648:24: note: Assuming allocation function fails mle-1.7.2/buffer.c:648:24: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:653:9: note: Null pointer dereference mle-1.7.2/buffer.c:654:9: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:648:24: note: Assuming allocation function fails mle-1.7.2/buffer.c:648:24: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:654:9: note: Null pointer dereference mle-1.7.2/buffer.c:655:9: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:648:24: note: Assuming allocation function fails mle-1.7.2/buffer.c:648:24: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:655:9: note: Null pointer dereference mle-1.7.2/buffer.c:656:9: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:648:24: note: Assuming allocation function fails mle-1.7.2/buffer.c:648:24: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:656:9: note: Null pointer dereference mle-1.7.2/buffer.c:657:9: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:648:24: note: Assuming allocation function fails mle-1.7.2/buffer.c:648:24: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:657:9: note: Null pointer dereference mle-1.7.2/buffer.c:658:9: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:648:24: note: Assuming allocation function fails mle-1.7.2/buffer.c:648:24: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:658:9: note: Null pointer dereference mle-1.7.2/buffer.c:665:9: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:664:24: note: Assuming allocation function fails mle-1.7.2/buffer.c:664:24: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:665:9: note: Null pointer dereference mle-1.7.2/buffer.c:666:9: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:664:24: note: Assuming allocation function fails mle-1.7.2/buffer.c:664:24: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:666:9: note: Null pointer dereference mle-1.7.2/buffer.c:667:9: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:664:24: note: Assuming allocation function fails mle-1.7.2/buffer.c:664:24: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:667:9: note: Null pointer dereference mle-1.7.2/buffer.c:668:9: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:664:24: note: Assuming allocation function fails mle-1.7.2/buffer.c:664:24: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:668:9: note: Null pointer dereference mle-1.7.2/buffer.c:669:9: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:664:24: note: Assuming allocation function fails mle-1.7.2/buffer.c:664:24: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:669:9: note: Null pointer dereference mle-1.7.2/buffer.c:670:9: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:664:24: note: Assuming allocation function fails mle-1.7.2/buffer.c:664:24: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:670:9: note: Null pointer dereference mle-1.7.2/buffer.c:671:9: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:664:24: note: Assuming allocation function fails mle-1.7.2/buffer.c:664:24: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:671:9: note: Null pointer dereference mle-1.7.2/buffer.c:671:40: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:664:24: note: Assuming allocation function fails mle-1.7.2/buffer.c:664:24: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:671:40: note: Null pointer dereference mle-1.7.2/buffer.c:672:9: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:664:24: note: Assuming allocation function fails mle-1.7.2/buffer.c:664:24: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:672:9: note: Null pointer dereference mle-1.7.2/buffer.c:673:9: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:664:24: note: Assuming allocation function fails mle-1.7.2/buffer.c:664:24: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:673:9: note: Null pointer dereference mle-1.7.2/buffer.c:674:9: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:664:24: note: Assuming allocation function fails mle-1.7.2/buffer.c:664:24: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:674:9: note: Null pointer dereference mle-1.7.2/buffer.c:675:9: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:664:24: note: Assuming allocation function fails mle-1.7.2/buffer.c:664:24: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:675:9: note: Null pointer dereference mle-1.7.2/buffer.c:676:9: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:664:24: note: Assuming allocation function fails mle-1.7.2/buffer.c:664:24: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:676:9: note: Null pointer dereference mle-1.7.2/buffer.c:676:38: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:664:24: note: Assuming allocation function fails mle-1.7.2/buffer.c:664:24: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:676:38: note: Null pointer dereference mle-1.7.2/buffer.c:677:9: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:664:24: note: Assuming allocation function fails mle-1.7.2/buffer.c:664:24: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:677:9: note: Null pointer dereference mle-1.7.2/buffer.c:677:28: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:664:24: note: Assuming allocation function fails mle-1.7.2/buffer.c:664:24: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:677:28: note: Null pointer dereference mle-1.7.2/buffer.c:789:5: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] mle-1.7.2/buffer.c:788:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:788:18: note: Assignment 'node=calloc(1,sizeof(struct srule_node_t))', assigned value is 0 mle-1.7.2/buffer.c:789:5: note: Null pointer dereference mle-1.7.2/buffer.c:1254:12: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1252:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:1252:18: note: Assignment 'data=malloc(self->data_len)', assigned value is 0 mle-1.7.2/buffer.c:1254:12: note: Null pointer dereference mle-1.7.2/buffer.c:1255:12: warning: If memory allocation fails, then there is a possible null pointer dereference: chars [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1253:19: note: Assuming allocation function fails mle-1.7.2/buffer.c:1253:19: note: Assignment 'chars=malloc(self->data_len*sizeof(struct bline_char_t))', assigned value is 0 mle-1.7.2/buffer.c:1255:12: note: Null pointer dereference mle-1.7.2/buffer.c:1295:25: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:648:24: note: Assuming allocation function fails mle-1.7.2/buffer.c:648:24: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:659:30: note: Calling function '_buffer_update', 2nd argument 'action' value is 0 mle-1.7.2/buffer.c:1295:25: note: Null pointer dereference mle-1.7.2/buffer.c:1296:25: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:648:24: note: Assuming allocation function fails mle-1.7.2/buffer.c:648:24: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:659:30: note: Calling function '_buffer_update', 2nd argument 'action' value is 0 mle-1.7.2/buffer.c:1296:25: note: Null pointer dereference mle-1.7.2/buffer.c:1303:9: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:648:24: note: Assuming allocation function fails mle-1.7.2/buffer.c:648:24: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:659:30: note: Calling function '_buffer_update', 2nd argument 'action' value is 0 mle-1.7.2/buffer.c:1303:9: note: Null pointer dereference mle-1.7.2/buffer.c:1314:31: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:648:24: note: Assuming allocation function fails mle-1.7.2/buffer.c:648:24: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:659:30: note: Calling function '_buffer_update', 2nd argument 'action' value is 0 mle-1.7.2/buffer.c:1314:31: note: Null pointer dereference mle-1.7.2/buffer.c:1314:51: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:648:24: note: Assuming allocation function fails mle-1.7.2/buffer.c:648:24: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:659:30: note: Calling function '_buffer_update', 2nd argument 'action' value is 0 mle-1.7.2/buffer.c:1314:51: note: Null pointer dereference mle-1.7.2/buffer.c:1611:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bline [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1610:19: note: Assuming allocation function fails mle-1.7.2/buffer.c:1610:19: note: Assignment 'bline=calloc(1,sizeof(struct bline_t))', assigned value is 0 mle-1.7.2/buffer.c:1611:5: note: Null pointer dereference mle-1.7.2/buffer.c:1899:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1898:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:1898:18: note: Assignment 'rule=calloc(1,sizeof(struct srule_t))', assigned value is 0 mle-1.7.2/buffer.c:1899:5: note: Null pointer dereference mle-1.7.2/buffer.c:1900:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1898:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:1898:18: note: Assignment 'rule=calloc(1,sizeof(struct srule_t))', assigned value is 0 mle-1.7.2/buffer.c:1900:5: note: Null pointer dereference mle-1.7.2/buffer.c:1901:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1898:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:1898:18: note: Assignment 'rule=calloc(1,sizeof(struct srule_t))', assigned value is 0 mle-1.7.2/buffer.c:1901:5: note: Null pointer dereference mle-1.7.2/buffer.c:1902:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1898:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:1898:18: note: Assignment 'rule=calloc(1,sizeof(struct srule_t))', assigned value is 0 mle-1.7.2/buffer.c:1902:5: note: Null pointer dereference mle-1.7.2/buffer.c:1903:14: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1898:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:1898:18: note: Assignment 'rule=calloc(1,sizeof(struct srule_t))', assigned value is 0 mle-1.7.2/buffer.c:1903:14: note: Null pointer dereference mle-1.7.2/buffer.c:1904:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1898:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:1898:18: note: Assignment 'rule=calloc(1,sizeof(struct srule_t))', assigned value is 0 mle-1.7.2/buffer.c:1904:5: note: Null pointer dereference mle-1.7.2/buffer.c:1904:43: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1898:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:1898:18: note: Assignment 'rule=calloc(1,sizeof(struct srule_t))', assigned value is 0 mle-1.7.2/buffer.c:1904:43: note: Null pointer dereference mle-1.7.2/buffer.c:1904:72: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1898:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:1898:18: note: Assignment 'rule=calloc(1,sizeof(struct srule_t))', assigned value is 0 mle-1.7.2/buffer.c:1904:72: note: Null pointer dereference mle-1.7.2/buffer.c:1905:10: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1898:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:1898:18: note: Assignment 'rule=calloc(1,sizeof(struct srule_t))', assigned value is 0 mle-1.7.2/buffer.c:1905:10: note: Null pointer dereference mle-1.7.2/buffer.c:1919:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1918:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:1918:18: note: Assignment 'rule=calloc(1,sizeof(struct srule_t))', assigned value is 0 mle-1.7.2/buffer.c:1919:5: note: Null pointer dereference mle-1.7.2/buffer.c:1920:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1918:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:1918:18: note: Assignment 'rule=calloc(1,sizeof(struct srule_t))', assigned value is 0 mle-1.7.2/buffer.c:1920:5: note: Null pointer dereference mle-1.7.2/buffer.c:1921:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1918:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:1918:18: note: Assignment 'rule=calloc(1,sizeof(struct srule_t))', assigned value is 0 mle-1.7.2/buffer.c:1921:5: note: Null pointer dereference mle-1.7.2/buffer.c:1922:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1918:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:1918:18: note: Assignment 'rule=calloc(1,sizeof(struct srule_t))', assigned value is 0 mle-1.7.2/buffer.c:1922:5: note: Null pointer dereference mle-1.7.2/buffer.c:1923:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1918:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:1918:18: note: Assignment 'rule=calloc(1,sizeof(struct srule_t))', assigned value is 0 mle-1.7.2/buffer.c:1923:5: note: Null pointer dereference mle-1.7.2/buffer.c:1924:14: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1918:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:1918:18: note: Assignment 'rule=calloc(1,sizeof(struct srule_t))', assigned value is 0 mle-1.7.2/buffer.c:1924:14: note: Null pointer dereference mle-1.7.2/buffer.c:1925:14: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1918:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:1918:18: note: Assignment 'rule=calloc(1,sizeof(struct srule_t))', assigned value is 0 mle-1.7.2/buffer.c:1925:14: note: Null pointer dereference mle-1.7.2/buffer.c:1926:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1918:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:1918:18: note: Assignment 'rule=calloc(1,sizeof(struct srule_t))', assigned value is 0 mle-1.7.2/buffer.c:1926:5: note: Null pointer dereference mle-1.7.2/buffer.c:1926:43: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1918:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:1918:18: note: Assignment 'rule=calloc(1,sizeof(struct srule_t))', assigned value is 0 mle-1.7.2/buffer.c:1926:43: note: Null pointer dereference mle-1.7.2/buffer.c:1926:72: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1918:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:1918:18: note: Assignment 'rule=calloc(1,sizeof(struct srule_t))', assigned value is 0 mle-1.7.2/buffer.c:1926:72: note: Null pointer dereference mle-1.7.2/buffer.c:1927:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1918:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:1918:18: note: Assignment 'rule=calloc(1,sizeof(struct srule_t))', assigned value is 0 mle-1.7.2/buffer.c:1927:5: note: Null pointer dereference mle-1.7.2/buffer.c:1927:47: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1918:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:1918:18: note: Assignment 'rule=calloc(1,sizeof(struct srule_t))', assigned value is 0 mle-1.7.2/buffer.c:1927:47: note: Null pointer dereference mle-1.7.2/buffer.c:1927:80: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1918:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:1918:18: note: Assignment 'rule=calloc(1,sizeof(struct srule_t))', assigned value is 0 mle-1.7.2/buffer.c:1927:80: note: Null pointer dereference mle-1.7.2/buffer.c:1928:10: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1918:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:1918:18: note: Assignment 'rule=calloc(1,sizeof(struct srule_t))', assigned value is 0 mle-1.7.2/buffer.c:1928:10: note: Null pointer dereference mle-1.7.2/buffer.c:1940:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1939:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:1939:18: note: Assignment 'rule=calloc(1,sizeof(struct srule_t))', assigned value is 0 mle-1.7.2/buffer.c:1940:5: note: Null pointer dereference mle-1.7.2/buffer.c:1941:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1939:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:1939:18: note: Assignment 'rule=calloc(1,sizeof(struct srule_t))', assigned value is 0 mle-1.7.2/buffer.c:1941:5: note: Null pointer dereference mle-1.7.2/buffer.c:1942:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1939:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:1939:18: note: Assignment 'rule=calloc(1,sizeof(struct srule_t))', assigned value is 0 mle-1.7.2/buffer.c:1942:5: note: Null pointer dereference mle-1.7.2/buffer.c:1943:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1939:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:1939:18: note: Assignment 'rule=calloc(1,sizeof(struct srule_t))', assigned value is 0 mle-1.7.2/buffer.c:1943:5: note: Null pointer dereference mle-1.7.2/buffer.c:1944:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1939:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:1939:18: note: Assignment 'rule=calloc(1,sizeof(struct srule_t))', assigned value is 0 mle-1.7.2/buffer.c:1944:5: note: Null pointer dereference mle-1.7.2/buffer.c:389:46: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mle-1.7.2/buffer.c:356:34: note: Assuming allocation function fails mle-1.7.2/buffer.c:356:34: note: Assignment 'self->slabbed_blines=malloc(nlines*sizeof(struct bline_t))', assigned value is 0 mle-1.7.2/buffer.c:357:12: note: blines is assigned 'self->slabbed_blines' here. mle-1.7.2/buffer.c:389:46: note: Null pointer addition mle-1.7.2/buffer.c:403:30: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mle-1.7.2/buffer.c:356:34: note: Assuming allocation function fails mle-1.7.2/buffer.c:356:34: note: Assignment 'self->slabbed_blines=malloc(nlines*sizeof(struct bline_t))', assigned value is 0 mle-1.7.2/buffer.c:357:18: note: Assignment 'blines=self->slabbed_blines', assigned value is 0 mle-1.7.2/buffer.c:403:30: note: Null pointer addition mle-1.7.2/buffer.c:600:90: style:inconclusive: Function 'buffer_replace_w_bline' argument 4 names different: declaration 'num_chars' definition 'del_chars'. [funcArgNamesDifferent] mle-1.7.2/mlbuf.h:190:90: note: Function 'buffer_replace_w_bline' argument 4 names different: declaration 'num_chars' definition 'del_chars'. mle-1.7.2/buffer.c:600:90: note: Function 'buffer_replace_w_bline' argument 4 names different: declaration 'num_chars' definition 'del_chars'. mle-1.7.2/buffer.c:862:156: style:inconclusive: Function 'buffer_substr' argument 8 names different: declaration 'ret_nchars' definition 'ret_data_nchars'. [funcArgNamesDifferent] mle-1.7.2/mlbuf.h:184:156: note: Function 'buffer_substr' argument 8 names different: declaration 'ret_nchars' definition 'ret_data_nchars'. mle-1.7.2/buffer.c:862:156: note: Function 'buffer_substr' argument 8 names different: declaration 'ret_nchars' definition 'ret_data_nchars'. mle-1.7.2/buffer.c:1167:38: style:inconclusive: Function 'bline_get_col_from_vcol' argument 1 names different: declaration 'self' definition 'bline'. [funcArgNamesDifferent] mle-1.7.2/mlbuf.h:218:38: note: Function 'bline_get_col_from_vcol' argument 1 names different: declaration 'self' definition 'bline'. mle-1.7.2/buffer.c:1167:38: note: Function 'bline_get_col_from_vcol' argument 1 names different: declaration 'self' definition 'bline'. mle-1.7.2/buffer.c:69:39: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] mle-1.7.2/buffer.c:135:42: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] mle-1.7.2/buffer.c:609:11: style: Variable 'data_newline' can be declared as pointer to const [constVariablePointer] mle-1.7.2/buffer.c:765:48: style: Parameter 'bline' can be declared as pointer to const [constParameterPointer] mle-1.7.2/buffer.c:1392:10: style: Variable 'group_to_redo' can be declared as pointer to const [constVariablePointer] mle-1.7.2/buffer.c:1473:39: style: Variable 'eol_rule_orig' can be declared as pointer to const [constVariablePointer] mle-1.7.2/buffer.c:1601:86: style: Parameter 'style' can be declared as pointer to const [constParameterPointer] mle-1.7.2/buffer.c:1752:70: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] mle-1.7.2/buffer.c:1894:33: style: Parameter 're' can be declared as pointer to const [constParameterPointer] mle-1.7.2/buffer.c:1914:32: style: Parameter 're' can be declared as pointer to const [constParameterPointer] mle-1.7.2/buffer.c:1914:57: style: Parameter 're_end' can be declared as pointer to const [constParameterPointer] mle-1.7.2/buffer.c:272:19: error: Uninitialized variable: node->srule [uninitvar] mle-1.7.2/buffer.c:819:19: error: Uninitialized variable: node->srule [uninitvar] mle-1.7.2/buffer.c:1442:27: error: Uninitialized variables: action_target.type, action_target.buffer, action_target.start_line, action_target.start_line_index, action_target.start_col, action_target.maybe_end_line, action_target.maybe_end_line_index, action_target.maybe_end_col, action_target.byte_delta, action_target.char_delta, action_target.line_delta, action_target.action_group, action_target.data, action_target.data_len, action_target.next, action_target.prev [uninitvar] mle-1.7.2/buffer.c:1625:39: error: Uninitialized variables: mark.bline, mark.col, mark.target_col, mark.range_srule, mark.letter, mark.next, mark.prev, mark.lefty [uninitvar] mle-1.7.2/buffer.c:1677:45: error: Uninitialized variables: mark.bline, mark.col, mark.target_col, mark.range_srule, mark.letter, mark.next, mark.prev, mark.lefty [uninitvar] mle-1.7.2/buffer.c:1746:19: error: Uninitialized variable: mark->col [uninitvar] mle-1.7.2/buffer.c:1794:49: error: Uninitialized variables: mark.bline, mark.col, mark.target_col, mark.range_srule, mark.letter, mark.next, mark.prev, mark.lefty [uninitvar] mle-1.7.2/buffer.c:1849:19: error: Uninitialized variable: mark->col [uninitvar] mle-1.7.2/buffer.c:61:13: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] mle-1.7.2/bview.c:908:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable all_next [valueFlowBailoutIncompleteVar] mle-1.7.2/bview.c:1307:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCRE2_SIZE [valueFlowBailoutIncompleteVar] mle-1.7.2/bview.c:37:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:37:5: note: Null pointer dereference mle-1.7.2/bview.c:38:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:38:5: note: Null pointer dereference mle-1.7.2/bview.c:39:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:39:5: note: Null pointer dereference mle-1.7.2/bview.c:40:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:40:5: note: Null pointer dereference mle-1.7.2/bview.c:41:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:41:5: note: Null pointer dereference mle-1.7.2/bview.c:42:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:42:5: note: Null pointer dereference mle-1.7.2/bview.c:43:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:43:5: note: Null pointer dereference mle-1.7.2/bview.c:44:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:44:5: note: Null pointer dereference mle-1.7.2/bview.c:45:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:45:5: note: Null pointer dereference mle-1.7.2/bview.c:46:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:46:5: note: Null pointer dereference mle-1.7.2/bview.c:47:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:47:5: note: Null pointer dereference mle-1.7.2/bview.c:48:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:48:5: note: Null pointer dereference mle-1.7.2/bview.c:49:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:49:5: note: Null pointer dereference mle-1.7.2/bview.c:50:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:50:5: note: Null pointer dereference mle-1.7.2/bview.c:51:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:51:5: note: Null pointer dereference mle-1.7.2/bview.c:52:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:52:5: note: Null pointer dereference mle-1.7.2/bview.c:209:5: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] mle-1.7.2/bview.c:208:18: note: Assuming allocation function fails mle-1.7.2/bview.c:208:18: note: Assignment 'node=calloc(1,sizeof(struct kmap_node_t))', assigned value is 0 mle-1.7.2/bview.c:209:5: note: Null pointer dereference mle-1.7.2/bview.c:210:5: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] mle-1.7.2/bview.c:208:18: note: Assuming allocation function fails mle-1.7.2/bview.c:208:18: note: Assignment 'node=calloc(1,sizeof(struct kmap_node_t))', assigned value is 0 mle-1.7.2/bview.c:210:5: note: Null pointer dereference mle-1.7.2/bview.c:268:5: warning: If memory allocation fails, then there is a possible null pointer dereference: cursor [nullPointerOutOfMemory] mle-1.7.2/bview.c:267:20: note: Assuming allocation function fails mle-1.7.2/bview.c:267:20: note: Assignment 'cursor=calloc(1,sizeof(struct cursor_t))', assigned value is 0 mle-1.7.2/bview.c:268:5: note: Null pointer dereference mle-1.7.2/bview.c:319:21: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:60:17: note: Calling function '_bview_init', 1st argument 'self' value is 0 mle-1.7.2/bview.c:462:19: note: Calling function '_bview_deinit', 1st argument 'self' value is 0 mle-1.7.2/bview.c:594:29: note: Calling function 'bview_remove_cursor', 1st argument 'self' value is 0 mle-1.7.2/bview.c:319:21: note: Null pointer dereference mle-1.7.2/bview.c:321:13: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:60:17: note: Calling function '_bview_init', 1st argument 'self' value is 0 mle-1.7.2/bview.c:462:19: note: Calling function '_bview_deinit', 1st argument 'self' value is 0 mle-1.7.2/bview.c:594:29: note: Calling function 'bview_remove_cursor', 1st argument 'self' value is 0 mle-1.7.2/bview.c:321:13: note: Null pointer dereference mle-1.7.2/bview.c:322:23: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:60:17: note: Calling function '_bview_init', 1st argument 'self' value is 0 mle-1.7.2/bview.c:462:19: note: Calling function '_bview_deinit', 1st argument 'self' value is 0 mle-1.7.2/bview.c:594:29: note: Calling function 'bview_remove_cursor', 1st argument 'self' value is 0 mle-1.7.2/bview.c:322:23: note: Null pointer dereference mle-1.7.2/bview.c:393:5: warning: If memory allocation fails, then there is a possible null pointer dereference: listener [nullPointerOutOfMemory] mle-1.7.2/bview.c:392:22: note: Assuming allocation function fails mle-1.7.2/bview.c:392:22: note: Assignment 'listener=calloc(1,sizeof(struct bview_listener_t))', assigned value is 0 mle-1.7.2/bview.c:393:5: note: Null pointer dereference mle-1.7.2/bview.c:394:5: warning: If memory allocation fails, then there is a possible null pointer dereference: listener [nullPointerOutOfMemory] mle-1.7.2/bview.c:392:22: note: Assuming allocation function fails mle-1.7.2/bview.c:392:22: note: Assignment 'listener=calloc(1,sizeof(struct bview_listener_t))', assigned value is 0 mle-1.7.2/bview.c:394:5: note: Null pointer dereference mle-1.7.2/bview.c:465:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:60:17: note: Calling function '_bview_init', 1st argument 'self' value is 0 mle-1.7.2/bview.c:465:5: note: Null pointer dereference mle-1.7.2/bview.c:466:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:60:17: note: Calling function '_bview_init', 1st argument 'self' value is 0 mle-1.7.2/bview.c:466:5: note: Null pointer dereference mle-1.7.2/bview.c:470:38: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:60:17: note: Calling function '_bview_init', 1st argument 'self' value is 0 mle-1.7.2/bview.c:470:38: note: Null pointer dereference mle-1.7.2/bview.c:471:22: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:60:17: note: Calling function '_bview_init', 1st argument 'self' value is 0 mle-1.7.2/bview.c:471:22: note: Null pointer dereference mle-1.7.2/bview.c:552:12: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:60:17: note: Calling function '_bview_init', 1st argument 'self' value is 0 mle-1.7.2/bview.c:467:30: note: Calling function '_bview_set_linenum_width', 1st argument 'self' value is 0 mle-1.7.2/bview.c:552:12: note: Null pointer dereference mle-1.7.2/bview.c:553:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:60:17: note: Calling function '_bview_init', 1st argument 'self' value is 0 mle-1.7.2/bview.c:467:30: note: Calling function '_bview_set_linenum_width', 1st argument 'self' value is 0 mle-1.7.2/bview.c:553:5: note: Null pointer dereference mle-1.7.2/bview.c:553:31: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:60:17: note: Calling function '_bview_init', 1st argument 'self' value is 0 mle-1.7.2/bview.c:467:30: note: Calling function '_bview_set_linenum_width', 1st argument 'self' value is 0 mle-1.7.2/bview.c:553:31: note: Null pointer dereference mle-1.7.2/bview.c:554:9: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:60:17: note: Calling function '_bview_init', 1st argument 'self' value is 0 mle-1.7.2/bview.c:467:30: note: Calling function '_bview_set_linenum_width', 1st argument 'self' value is 0 mle-1.7.2/bview.c:554:9: note: Null pointer dereference mle-1.7.2/bview.c:562:9: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:60:17: note: Calling function '_bview_init', 1st argument 'self' value is 0 mle-1.7.2/bview.c:467:30: note: Calling function '_bview_set_linenum_width', 1st argument 'self' value is 0 mle-1.7.2/bview.c:562:9: note: Null pointer dereference mle-1.7.2/bview.c:569:20: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:60:17: note: Calling function '_bview_init', 1st argument 'self' value is 0 mle-1.7.2/bview.c:467:30: note: Calling function '_bview_set_linenum_width', 1st argument 'self' value is 0 mle-1.7.2/bview.c:569:20: note: Null pointer dereference mle-1.7.2/bview.c:578:12: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:60:17: note: Calling function '_bview_init', 1st argument 'self' value is 0 mle-1.7.2/bview.c:462:19: note: Calling function '_bview_deinit', 1st argument 'self' value is 0 mle-1.7.2/bview.c:578:12: note: Null pointer dereference mle-1.7.2/bview.c:583:9: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:60:17: note: Calling function '_bview_init', 1st argument 'self' value is 0 mle-1.7.2/bview.c:462:19: note: Calling function '_bview_deinit', 1st argument 'self' value is 0 mle-1.7.2/bview.c:583:9: note: Null pointer dereference mle-1.7.2/bview.c:593:12: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:60:17: note: Calling function '_bview_init', 1st argument 'self' value is 0 mle-1.7.2/bview.c:462:19: note: Calling function '_bview_deinit', 1st argument 'self' value is 0 mle-1.7.2/bview.c:593:12: note: Null pointer dereference mle-1.7.2/bview.c:594:35: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:60:17: note: Calling function '_bview_init', 1st argument 'self' value is 0 mle-1.7.2/bview.c:462:19: note: Calling function '_bview_deinit', 1st argument 'self' value is 0 mle-1.7.2/bview.c:594:35: note: Null pointer dereference mle-1.7.2/bview.c:598:9: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:60:17: note: Calling function '_bview_init', 1st argument 'self' value is 0 mle-1.7.2/bview.c:462:19: note: Calling function '_bview_deinit', 1st argument 'self' value is 0 mle-1.7.2/bview.c:598:9: note: Null pointer dereference mle-1.7.2/bview.c:604:21: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:60:17: note: Calling function '_bview_init', 1st argument 'self' value is 0 mle-1.7.2/bview.c:462:19: note: Calling function '_bview_deinit', 1st argument 'self' value is 0 mle-1.7.2/bview.c:604:21: note: Null pointer dereference mle-1.7.2/bview.c:697:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:58:37: note: Calling function '_bview_open_buffer', 1st argument 'self' value is 0 mle-1.7.2/bview.c:799:26: note: Calling function '_bview_set_tab_width', 1st argument 'self' value is 0 mle-1.7.2/bview.c:697:5: note: Null pointer dereference mle-1.7.2/bview.c:698:9: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:58:37: note: Calling function '_bview_open_buffer', 1st argument 'self' value is 0 mle-1.7.2/bview.c:799:26: note: Calling function '_bview_set_tab_width', 1st argument 'self' value is 0 mle-1.7.2/bview.c:698:9: note: Null pointer dereference mle-1.7.2/bview.c:698:25: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:58:37: note: Calling function '_bview_open_buffer', 1st argument 'self' value is 0 mle-1.7.2/bview.c:799:26: note: Calling function '_bview_set_tab_width', 1st argument 'self' value is 0 mle-1.7.2/bview.c:698:25: note: Null pointer dereference mle-1.7.2/bview.c:698:52: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:58:37: note: Calling function '_bview_open_buffer', 1st argument 'self' value is 0 mle-1.7.2/bview.c:799:26: note: Calling function '_bview_set_tab_width', 1st argument 'self' value is 0 mle-1.7.2/bview.c:698:52: note: Null pointer dereference mle-1.7.2/bview.c:799:32: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:58:37: note: Calling function '_bview_open_buffer', 1st argument 'self' value is 0 mle-1.7.2/bview.c:799:32: note: Null pointer dereference mle-1.7.2/bview.c:304:58: style: Parameter 'one' can be declared as pointer to const [constParameterPointer] mle-1.7.2/bview.c:316:50: style: Parameter 'cursor' can be declared as pointer to const [constParameterPointer] mle-1.7.2/bview.c:511:46: style: Parameter 'buffer' can be declared as pointer to const. However it seems that '_bview_buffer_callback' is a callback function, if 'buffer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mle-1.7.2/bview.c:797:33: note: You might need to cast the function pointer here mle-1.7.2/bview.c:511:46: note: Parameter 'buffer' can be declared as pointer to const mle-1.7.2/bview.c:708:11: style: Variable 'colon' can be declared as pointer to const [constVariablePointer] mle-1.7.2/bview.c:1244:58: style: Parameter 'bline' can be declared as pointer to const [constParameterPointer] mle-1.7.2/bview.c:186:24: error: Uninitialized variable: cursor->mark [uninitvar] mle-1.7.2/bview.c:257:22: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/bview.c:296:21: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/bview.c:308:13: error: Uninitialized variables: cursor.bview, cursor.mark, cursor.anchor, cursor.is_anchored, cursor.is_temp_anchored, cursor.is_block, cursor.is_asleep, cursor.sel_rule, cursor.cut_buffer, cursor.next, cursor.prev [uninitvar] mle-1.7.2/bview.c:320:13: error: Uninitialized variables: el.bview, el.mark, el.anchor, el.is_anchored, el.is_temp_anchored, el.is_block, el.is_asleep, el.sel_rule, el.cut_buffer, el.next, el.prev [uninitvar] mle-1.7.2/bview.c:531:24: error: Uninitialized variable: bview->buffer [uninitvar] mle-1.7.2/bview.c:587:59: error: Uninitialized variable: srule_node->srule [uninitvar] mle-1.7.2/bview.c:605:38: error: Uninitialized variables: listener.callback, listener.udata, listener.next, listener.prev [uninitvar] mle-1.7.2/bview.c:669:59: error: Uninitialized variable: srule_node->srule [uninitvar] mle-1.7.2/bview.c:909:14: error: Uninitialized variable: bview_tmp->type [uninitvar] mle-1.7.2/bview.c:1262:50: error: Uninitialized variable: node->srule [uninitvar] mle-1.7.2/cmd.c:572:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kmap [valueFlowBailoutIncompleteVar] mle-1.7.2/cmd.c:687:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable all_next [valueFlowBailoutIncompleteVar] mle-1.7.2/cmd.c:822:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable all_next [valueFlowBailoutIncompleteVar] mle-1.7.2/cmd.c:922:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable top_next [valueFlowBailoutIncompleteVar] mle-1.7.2/cmd.c:1373:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hh [valueFlowBailoutIncompleteVar] mle-1.7.2/cmd.c:1431:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hh [valueFlowBailoutIncompleteVar] mle-1.7.2/cmd.c:1508:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kmap [valueFlowBailoutIncompleteVar] mle-1.7.2/cmd.c:1533:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] mle-1.7.2/cmd.c:1912:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable all_next [valueFlowBailoutIncompleteVar] mle-1.7.2/cmd.c:1875:9: error: Address of local auto-variable assigned to a function parameter. [autoVariables] mle-1.7.2/cmd.c:1791:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] mle-1.7.2/cmd.c:1799:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] mle-1.7.2/cmd.c:1301:9: portability: %ld in format string (no. 2) requires 'long' but the argument type is 'intmax_t {aka signed long}'. [invalidPrintfArgType_sint] mle-1.7.2/cmd.c:1301:9: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] mle-1.7.2/cmd.c:680:22: warning: If memory allocation fails, then there is a possible null pointer dereference: bview_num_str [nullPointerOutOfMemory] mle-1.7.2/cmd.c:675:31: note: Assuming allocation function fails mle-1.7.2/cmd.c:675:31: note: Assignment 'bview_num_str=strdup(ctx->static_param)', assigned value is 0 mle-1.7.2/cmd.c:680:22: note: Null pointer dereference mle-1.7.2/cmd.c:835:21: warning: Either the condition 'bview->buffer' is redundant or there is possible null pointer dereference: bview->buffer. [nullPointerRedundantCheck] mle-1.7.2/cmd.c:843:18: note: Assuming that condition 'bview->buffer' is not redundant mle-1.7.2/cmd.c:835:21: note: Null pointer dereference mle-1.7.2/cmd.c:835:43: warning: Either the condition 'bview->buffer' is redundant or there is possible null pointer dereference: bview->buffer. [nullPointerRedundantCheck] mle-1.7.2/cmd.c:843:18: note: Assuming that condition 'bview->buffer' is not redundant mle-1.7.2/cmd.c:835:43: note: Null pointer dereference mle-1.7.2/cmd.c:1131:55: warning: If memory allocation fails, then there is a possible null pointer dereference: code [nullPointerOutOfMemory] mle-1.7.2/cmd.c:1124:22: note: Assuming allocation function fails mle-1.7.2/cmd.c:1124:22: note: Assignment 'code=strdup(ctx->static_param)', assigned value is 0 mle-1.7.2/cmd.c:1131:55: note: Null pointer dereference mle-1.7.2/cmd.c:1547:77: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] mle-1.7.2/cmd.c:1543:26: note: Assuming allocation function fails mle-1.7.2/cmd.c:1543:26: note: Assignment 'path=strdup(bview->buffer->path)', assigned value is 0 mle-1.7.2/cmd.c:1547:77: note: Null pointer dereference mle-1.7.2/cmd.c:1759:20: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] mle-1.7.2/cmd.c:1758:19: note: Assuming allocation function fails mle-1.7.2/cmd.c:1758:19: note: Assignment 'line=strndup(ctx->bview->active_cursor->mark->bline->data,ctx->bview->active_cursor->mark->bline->data_len)', assigned value is 0 mle-1.7.2/cmd.c:1759:20: note: Null pointer dereference mle-1.7.2/cmd.c:1835:24: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] mle-1.7.2/cmd.c:1834:19: note: Assuming allocation function fails mle-1.7.2/cmd.c:1834:19: note: Assignment 'line=strndup(ctx->bview->active_cursor->mark->bline->data,ctx->bview->active_cursor->mark->bline->data_len)', assigned value is 0 mle-1.7.2/cmd.c:1835:24: note: Null pointer dereference mle-1.7.2/cmd.c:1934:28: warning: If memory allocation fails, then there is a possible null pointer dereference: prev_line [nullPointerOutOfMemory] mle-1.7.2/cmd.c:1933:24: note: Assuming allocation function fails mle-1.7.2/cmd.c:1933:24: note: Assignment 'prev_line=strndup(prev_bline->data,prev_bline->data_len)', assigned value is 0 mle-1.7.2/cmd.c:1934:28: note: Null pointer dereference mle-1.7.2/cmd.c:1982:32: warning: If memory allocation fails, then there is a possible null pointer dereference: this_line [nullPointerOutOfMemory] mle-1.7.2/cmd.c:1980:28: note: Assuming allocation function fails mle-1.7.2/cmd.c:1980:28: note: Assignment 'this_line=strndup(ctx->cursor->mark->bline->data,ctx->cursor->mark->bline->data_len)', assigned value is 0 mle-1.7.2/cmd.c:1982:32: note: Null pointer dereference mle-1.7.2/cmd.c:1983:32: warning: If memory allocation fails, then there is a possible null pointer dereference: prev_line [nullPointerOutOfMemory] mle-1.7.2/cmd.c:1981:28: note: Assuming allocation function fails mle-1.7.2/cmd.c:1981:28: note: Assignment 'prev_line=strndup(ctx->cursor->mark->bline->prev->data,ctx->cursor->mark->bline->prev->data_len)', assigned value is 0 mle-1.7.2/cmd.c:1983:32: note: Null pointer dereference mle-1.7.2/cmd.c:1984:42: warning: If memory allocation fails, then there is a possible null pointer dereference: prev_line [nullPointerOutOfMemory] mle-1.7.2/cmd.c:1981:28: note: Assuming allocation function fails mle-1.7.2/cmd.c:1981:28: note: Assignment 'prev_line=strndup(ctx->cursor->mark->bline->prev->data,ctx->cursor->mark->bline->prev->data_len)', assigned value is 0 mle-1.7.2/cmd.c:1984:42: note: Null pointer dereference mle-1.7.2/cmd.c:62:15: style: Variable 'input' can be declared as pointer to const [constVariablePointer] mle-1.7.2/cmd.c:511:31: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] mle-1.7.2/cmd.c:543:14: style: Variable 'orig' can be declared as pointer to const [constVariablePointer] mle-1.7.2/cmd.c:544:14: style: Variable 'mid' can be declared as pointer to const [constVariablePointer] mle-1.7.2/cmd.c:545:14: style: Variable 'top' can be declared as pointer to const [constVariablePointer] mle-1.7.2/cmd.c:735:11: style: Variable 'grep_fmt' can be declared as pointer to const [constVariablePointer] mle-1.7.2/cmd.c:1260:11: style: Variable 'sh_fmt' can be declared as pointer to const [constVariablePointer] mle-1.7.2/cmd.c:1757:11: style: Variable 'colon' can be declared as pointer to const [constVariablePointer] mle-1.7.2/cmd.c:115:9: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:123:9: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:134:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:144:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:160:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:166:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:174:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:194:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:201:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:208:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:215:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:222:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:229:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:236:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:243:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:250:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:264:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:278:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:297:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:303:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:310:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:317:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:324:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:331:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:343:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:355:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:366:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:374:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:382:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:394:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:399:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:428:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:586:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:594:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:602:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:610:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:618:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:628:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:638:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:688:14: error: Uninitialized variable: bview->type [uninitvar] mle-1.7.2/cmd.c:823:14: error: Uninitialized variable: bview->type [uninitvar] mle-1.7.2/cmd.c:923:14: error: Uninitialized variable: bview->type [uninitvar] mle-1.7.2/cmd.c:984:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:996:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:1030:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:1363:35: error: Uninitialized variable: kmap_node->kmap [uninitvar] mle-1.7.2/cmd.c:1375:30: error: Uninitialized variable: kmap->name [uninitvar] mle-1.7.2/cmd.c:1405:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:1432:22: error: Uninitialized variable: binding->children [uninitvar] mle-1.7.2/cmd.c:1594:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:1610:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:1682:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:1913:20: error: Uninitialized variable: bview->id [uninitvar] mle-1.7.2/cmd.c:2022:5: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/cmd.c:2022:5: error: Uninitialized variable: &input [uninitvar] mle-1.7.2/cmd.c:2022:5: note: Assuming condition is false mle-1.7.2/cmd.c:2022:5: note: Uninitialized variable: &input mle-1.7.2/cmd.c:2022:5: error: Uninitialized variable: &input_len [uninitvar] mle-1.7.2/cmd.c:2022:5: note: Assuming condition is false mle-1.7.2/cmd.c:2022:5: note: Uninitialized variable: &input_len mle-1.7.2/cmd.c:1810:12: style: Variable 're_len' is assigned a value that is never used. [unreadVariable] mle-1.7.2/cursor.c:364:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kmap [valueFlowBailoutIncompleteVar] mle-1.7.2/termbox2.h:1440:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] mle-1.7.2/termbox2.h:1959:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mle-1.7.2/termbox2.h:2107:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mle-1.7.2/termbox2.h:2159:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCGWINSZ [valueFlowBailoutIncompleteVar] mle-1.7.2/termbox2.h:2196:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mle-1.7.2/termbox2.h:2239:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSAFLUSH [valueFlowBailoutIncompleteVar] mle-1.7.2/termbox2.h:2269:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] mle-1.7.2/termbox2.h:2329:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] mle-1.7.2/termbox2.h:2509:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mle-1.7.2/termbox2.h:2849:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mle-1.7.2/termbox2.h:3279:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mle-1.7.2/editor.c:183:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mle-1.7.2/editor.c:211:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hh [valueFlowBailoutIncompleteVar] mle-1.7.2/editor.c:337:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable all_next [valueFlowBailoutIncompleteVar] mle-1.7.2/editor.c:428:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable all_next [valueFlowBailoutIncompleteVar] mle-1.7.2/editor.c:490:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable all_next [valueFlowBailoutIncompleteVar] mle-1.7.2/editor.c:501:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable all_next [valueFlowBailoutIncompleteVar] mle-1.7.2/editor.c:512:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable all_next [valueFlowBailoutIncompleteVar] mle-1.7.2/editor.c:535:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hh [valueFlowBailoutIncompleteVar] mle-1.7.2/editor.c:582:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable top_next [valueFlowBailoutIncompleteVar] mle-1.7.2/editor.c:756:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hh [valueFlowBailoutIncompleteVar] mle-1.7.2/editor.c:1010:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINTR [valueFlowBailoutIncompleteVar] mle-1.7.2/editor.c:1139:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable top_next [valueFlowBailoutIncompleteVar] mle-1.7.2/editor.c:1469:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hh [valueFlowBailoutIncompleteVar] mle-1.7.2/editor.c:1641:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] mle-1.7.2/editor.c:1657:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable all_next [valueFlowBailoutIncompleteVar] mle-1.7.2/editor.c:2002:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hh [valueFlowBailoutIncompleteVar] mle-1.7.2/editor.c:2047:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hh [valueFlowBailoutIncompleteVar] mle-1.7.2/editor.c:2097:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hh [valueFlowBailoutIncompleteVar] mle-1.7.2/editor.c:2147:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hh [valueFlowBailoutIncompleteVar] mle-1.7.2/editor.c:2218:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hh [valueFlowBailoutIncompleteVar] mle-1.7.2/editor.c:2266:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hh [valueFlowBailoutIncompleteVar] mle-1.7.2/editor.c:2348:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IXUSR [valueFlowBailoutIncompleteVar] mle-1.7.2/editor.c:2403:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] mle-1.7.2/editor.c:2582:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] mle-1.7.2/termbox2.h:2301:21: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] mle-1.7.2/termbox2.h:2307:19: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] mle-1.7.2/editor.c:733:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] mle-1.7.2/editor.c:742:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] mle-1.7.2/editor.c:2074:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] mle-1.7.2/editor.c:2075:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] mle-1.7.2/editor.c:2076:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] mle-1.7.2/editor.c:2084:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] mle-1.7.2/editor.c:2085:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] mle-1.7.2/editor.c:2086:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] mle-1.7.2/editor.c:2124:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] mle-1.7.2/editor.c:2142:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] mle-1.7.2/editor.c:2227:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] mle-1.7.2/editor.c:2228:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] mle-1.7.2/editor.c:2229:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] mle-1.7.2/editor.c:2230:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] mle-1.7.2/editor.c:2251:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] mle-1.7.2/editor.c:2252:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] mle-1.7.2/editor.c:2253:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] mle-1.7.2/editor.c:2254:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] mle-1.7.2/editor.c:2312:13: error: Common realloc mistake: 'data' nulled but not freed upon failure [memleakOnRealloc] mle-1.7.2/editor.c:2321:9: error: Common realloc mistake: 'data' nulled but not freed upon failure [memleakOnRealloc] mle-1.7.2/editor.c:533:6: warning: If memory allocation fails, then there is a possible null pointer dereference: new_cmd [nullPointerOutOfMemory] mle-1.7.2/editor.c:532:21: note: Assuming allocation function fails mle-1.7.2/editor.c:532:21: note: Assignment 'new_cmd=calloc(1,sizeof(struct cmd_t))', assigned value is 0 mle-1.7.2/editor.c:533:6: note: Null pointer dereference mle-1.7.2/editor.c:534:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new_cmd [nullPointerOutOfMemory] mle-1.7.2/editor.c:532:21: note: Assuming allocation function fails mle-1.7.2/editor.c:532:21: note: Assignment 'new_cmd=calloc(1,sizeof(struct cmd_t))', assigned value is 0 mle-1.7.2/editor.c:534:5: note: Null pointer dereference mle-1.7.2/editor.c:534:28: warning: If memory allocation fails, then there is a possible null pointer dereference: new_cmd [nullPointerOutOfMemory] mle-1.7.2/editor.c:532:21: note: Assuming allocation function fails mle-1.7.2/editor.c:532:21: note: Assignment 'new_cmd=calloc(1,sizeof(struct cmd_t))', assigned value is 0 mle-1.7.2/editor.c:534:28: note: Null pointer dereference mle-1.7.2/editor.c:535:42: warning: If memory allocation fails, then there is a possible null pointer dereference: new_cmd [nullPointerOutOfMemory] mle-1.7.2/editor.c:532:21: note: Assuming allocation function fails mle-1.7.2/editor.c:532:21: note: Assignment 'new_cmd=calloc(1,sizeof(struct cmd_t))', assigned value is 0 mle-1.7.2/editor.c:535:42: note: Null pointer dereference mle-1.7.2/editor.c:535:64: warning: If memory allocation fails, then there is a possible null pointer dereference: new_cmd [nullPointerOutOfMemory] mle-1.7.2/editor.c:532:21: note: Assuming allocation function fails mle-1.7.2/editor.c:532:21: note: Assignment 'new_cmd=calloc(1,sizeof(struct cmd_t))', assigned value is 0 mle-1.7.2/editor.c:535:64: note: Null pointer dereference mle-1.7.2/editor.c:594:5: warning: If memory allocation fails, then there is a possible null pointer dereference: observer [nullPointerOutOfMemory] mle-1.7.2/editor.c:593:22: note: Assuming allocation function fails mle-1.7.2/editor.c:593:22: note: Assignment 'observer=calloc(1,sizeof(struct observer_t))', assigned value is 0 mle-1.7.2/editor.c:594:5: note: Null pointer dereference mle-1.7.2/editor.c:595:5: warning: If memory allocation fails, then there is a possible null pointer dereference: observer [nullPointerOutOfMemory] mle-1.7.2/editor.c:593:22: note: Assuming allocation function fails mle-1.7.2/editor.c:593:22: note: Assignment 'observer=calloc(1,sizeof(struct observer_t))', assigned value is 0 mle-1.7.2/editor.c:595:5: note: Null pointer dereference mle-1.7.2/editor.c:596:5: warning: If memory allocation fails, then there is a possible null pointer dereference: observer [nullPointerOutOfMemory] mle-1.7.2/editor.c:593:22: note: Assuming allocation function fails mle-1.7.2/editor.c:593:22: note: Assignment 'observer=calloc(1,sizeof(struct observer_t))', assigned value is 0 mle-1.7.2/editor.c:596:5: note: Null pointer dereference mle-1.7.2/editor.c:755:9: warning: If memory allocation fails, then there is a possible null pointer dereference: prompt_history [nullPointerOutOfMemory] mle-1.7.2/editor.c:754:32: note: Assuming allocation function fails mle-1.7.2/editor.c:754:32: note: Assignment 'prompt_history=calloc(1,sizeof(struct prompt_history_t))', assigned value is 0 mle-1.7.2/editor.c:755:9: note: Null pointer dereference mle-1.7.2/editor.c:756:58: warning: If memory allocation fails, then there is a possible null pointer dereference: prompt_history [nullPointerOutOfMemory] mle-1.7.2/editor.c:754:32: note: Assuming allocation function fails mle-1.7.2/editor.c:754:32: note: Assignment 'prompt_history=calloc(1,sizeof(struct prompt_history_t))', assigned value is 0 mle-1.7.2/editor.c:756:58: note: Null pointer dereference mle-1.7.2/editor.c:756:93: warning: If memory allocation fails, then there is a possible null pointer dereference: prompt_history [nullPointerOutOfMemory] mle-1.7.2/editor.c:754:32: note: Assuming allocation function fails mle-1.7.2/editor.c:754:32: note: Assignment 'prompt_history=calloc(1,sizeof(struct prompt_history_t))', assigned value is 0 mle-1.7.2/editor.c:756:93: note: Null pointer dereference mle-1.7.2/editor.c:797:5: warning: If memory allocation fails, then there is a possible null pointer dereference: prompt_hnode [nullPointerOutOfMemory] mle-1.7.2/editor.c:796:26: note: Assuming allocation function fails mle-1.7.2/editor.c:796:26: note: Assignment 'prompt_hnode=calloc(1,sizeof(struct prompt_hnode_t))', assigned value is 0 mle-1.7.2/editor.c:797:5: note: Null pointer dereference mle-1.7.2/editor.c:798:5: warning: If memory allocation fails, then there is a possible null pointer dereference: prompt_hnode [nullPointerOutOfMemory] mle-1.7.2/editor.c:796:26: note: Assuming allocation function fails mle-1.7.2/editor.c:796:26: note: Assignment 'prompt_hnode=calloc(1,sizeof(struct prompt_hnode_t))', assigned value is 0 mle-1.7.2/editor.c:798:5: note: Null pointer dereference mle-1.7.2/editor.c:1110:15: warning: If memory allocation fails, then there is a possible null pointer dereference: editor->macro_record [nullPointerOutOfMemory] mle-1.7.2/editor.c:1109:38: note: Assuming allocation function fails mle-1.7.2/editor.c:1109:38: note: Assignment 'editor->macro_record=calloc(1,sizeof(struct kmacro_t))', assigned value is 0 mle-1.7.2/editor.c:1110:15: note: Null pointer dereference mle-1.7.2/editor.c:1990:5: warning: If memory allocation fails, then there is a possible null pointer dereference: kmap [nullPointerOutOfMemory] mle-1.7.2/editor.c:1989:18: note: Assuming allocation function fails mle-1.7.2/editor.c:1989:18: note: Assignment 'kmap=calloc(1,sizeof(struct kmap_t))', assigned value is 0 mle-1.7.2/editor.c:1990:5: note: Null pointer dereference mle-1.7.2/editor.c:1991:5: warning: If memory allocation fails, then there is a possible null pointer dereference: kmap [nullPointerOutOfMemory] mle-1.7.2/editor.c:1989:18: note: Assuming allocation function fails mle-1.7.2/editor.c:1989:18: note: Assignment 'kmap=calloc(1,sizeof(struct kmap_t))', assigned value is 0 mle-1.7.2/editor.c:1991:5: note: Null pointer dereference mle-1.7.2/editor.c:1992:5: warning: If memory allocation fails, then there is a possible null pointer dereference: kmap [nullPointerOutOfMemory] mle-1.7.2/editor.c:1989:18: note: Assuming allocation function fails mle-1.7.2/editor.c:1989:18: note: Assignment 'kmap=calloc(1,sizeof(struct kmap_t))', assigned value is 0 mle-1.7.2/editor.c:1992:5: note: Null pointer dereference mle-1.7.2/editor.c:2002:43: warning: If memory allocation fails, then there is a possible null pointer dereference: kmap [nullPointerOutOfMemory] mle-1.7.2/editor.c:1989:18: note: Assuming allocation function fails mle-1.7.2/editor.c:1989:18: note: Assignment 'kmap=calloc(1,sizeof(struct kmap_t))', assigned value is 0 mle-1.7.2/editor.c:2002:43: note: Null pointer dereference mle-1.7.2/editor.c:2002:62: warning: If memory allocation fails, then there is a possible null pointer dereference: kmap [nullPointerOutOfMemory] mle-1.7.2/editor.c:1989:18: note: Assuming allocation function fails mle-1.7.2/editor.c:1989:18: note: Assignment 'kmap=calloc(1,sizeof(struct kmap_t))', assigned value is 0 mle-1.7.2/editor.c:2002:62: note: Null pointer dereference mle-1.7.2/editor.c:2025:28: warning: If memory allocation fails, then there is a possible null pointer dereference: cur_key_patt [nullPointerOutOfMemory] mle-1.7.2/editor.c:2009:26: note: Assuming allocation function fails mle-1.7.2/editor.c:2009:26: note: Assignment 'cur_key_patt=strdup(binding_def->key_patt)', assigned value is 0 mle-1.7.2/editor.c:2010:93: note: Calling function '_editor_init_kmap_add_binding_to_trie', 3rd argument 'cur_key_patt' value is 0 mle-1.7.2/editor.c:2025:28: note: Null pointer dereference mle-1.7.2/editor.c:2035:22: warning: If memory allocation fails, then there is a possible null pointer dereference: cur_key_patt [nullPointerOutOfMemory] mle-1.7.2/editor.c:2009:26: note: Assuming allocation function fails mle-1.7.2/editor.c:2009:26: note: Assignment 'cur_key_patt=strdup(binding_def->key_patt)', assigned value is 0 mle-1.7.2/editor.c:2010:93: note: Calling function '_editor_init_kmap_add_binding_to_trie', 3rd argument 'cur_key_patt' value is 0 mle-1.7.2/editor.c:2035:22: note: Null pointer dereference mle-1.7.2/editor.c:2129:13: warning: If memory allocation fails, then there is a possible null pointer dereference: macro [nullPointerOutOfMemory] mle-1.7.2/editor.c:2128:27: note: Assuming allocation function fails mle-1.7.2/editor.c:2128:27: note: Assignment 'macro=calloc(1,sizeof(struct kmacro_t))', assigned value is 0 mle-1.7.2/editor.c:2129:13: note: Null pointer dereference mle-1.7.2/editor.c:2209:5: warning: If memory allocation fails, then there is a possible null pointer dereference: syntax [nullPointerOutOfMemory] mle-1.7.2/editor.c:2208:20: note: Assuming allocation function fails mle-1.7.2/editor.c:2208:20: note: Assignment 'syntax=calloc(1,sizeof(struct syntax_t))', assigned value is 0 mle-1.7.2/editor.c:2209:5: note: Null pointer dereference mle-1.7.2/editor.c:2210:5: warning: If memory allocation fails, then there is a possible null pointer dereference: syntax [nullPointerOutOfMemory] mle-1.7.2/editor.c:2208:20: note: Assuming allocation function fails mle-1.7.2/editor.c:2208:20: note: Assignment 'syntax=calloc(1,sizeof(struct syntax_t))', assigned value is 0 mle-1.7.2/editor.c:2210:5: note: Null pointer dereference mle-1.7.2/editor.c:2211:5: warning: If memory allocation fails, then there is a possible null pointer dereference: syntax [nullPointerOutOfMemory] mle-1.7.2/editor.c:2208:20: note: Assuming allocation function fails mle-1.7.2/editor.c:2208:20: note: Assignment 'syntax=calloc(1,sizeof(struct syntax_t))', assigned value is 0 mle-1.7.2/editor.c:2211:5: note: Null pointer dereference mle-1.7.2/editor.c:2212:5: warning: If memory allocation fails, then there is a possible null pointer dereference: syntax [nullPointerOutOfMemory] mle-1.7.2/editor.c:2208:20: note: Assuming allocation function fails mle-1.7.2/editor.c:2208:20: note: Assignment 'syntax=calloc(1,sizeof(struct syntax_t))', assigned value is 0 mle-1.7.2/editor.c:2212:5: note: Null pointer dereference mle-1.7.2/editor.c:2218:45: warning: If memory allocation fails, then there is a possible null pointer dereference: syntax [nullPointerOutOfMemory] mle-1.7.2/editor.c:2208:20: note: Assuming allocation function fails mle-1.7.2/editor.c:2208:20: note: Assignment 'syntax=calloc(1,sizeof(struct syntax_t))', assigned value is 0 mle-1.7.2/editor.c:2218:45: note: Null pointer dereference mle-1.7.2/editor.c:2218:66: warning: If memory allocation fails, then there is a possible null pointer dereference: syntax [nullPointerOutOfMemory] mle-1.7.2/editor.c:2208:20: note: Assuming allocation function fails mle-1.7.2/editor.c:2208:20: note: Assignment 'syntax=calloc(1,sizeof(struct syntax_t))', assigned value is 0 mle-1.7.2/editor.c:2218:66: note: Null pointer dereference mle-1.7.2/editor.c:2244:9: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] mle-1.7.2/editor.c:2238:18: note: Assuming allocation function fails mle-1.7.2/editor.c:2238:18: note: Assignment 'node=calloc(1,sizeof(struct srule_node_t))', assigned value is 0 mle-1.7.2/editor.c:2244:9: note: Null pointer dereference mle-1.7.2/editor.c:2376:13: warning: If memory allocation fails, then there is a possible null pointer dereference: fargv [nullPointerOutOfMemory] mle-1.7.2/editor.c:2375:27: note: Assuming allocation function fails mle-1.7.2/editor.c:2375:27: note: Assignment 'fargv=malloc((fargc+1)*sizeof(char*))', assigned value is 0 mle-1.7.2/editor.c:2376:13: note: Null pointer dereference mle-1.7.2/editor.c:2377:13: warning: If memory allocation fails, then there is a possible null pointer dereference: fargv [nullPointerOutOfMemory] mle-1.7.2/editor.c:2375:27: note: Assuming allocation function fails mle-1.7.2/editor.c:2375:27: note: Assignment 'fargv=malloc((fargc+1)*sizeof(char*))', assigned value is 0 mle-1.7.2/editor.c:2377:13: note: Null pointer dereference mle-1.7.2/termbox2.h:2628:5: style: Redundant assignment of 'rv' to itself. [selfAssignment] mle-1.7.2/termbox2.h:3273:16: style: Checking if unsigned expression 'b->len' is less than zero. [unsignedLessThanZero] mle-1.7.2/termbox2.h:2967:32: style:inconclusive: Function 'send_sgr' argument 1 names different: declaration 'fg' definition 'cfg'. [funcArgNamesDifferent] mle-1.7.2/termbox2.h:1408:32: note: Function 'send_sgr' argument 1 names different: declaration 'fg' definition 'cfg'. mle-1.7.2/termbox2.h:2967:32: note: Function 'send_sgr' argument 1 names different: declaration 'fg' definition 'cfg'. mle-1.7.2/termbox2.h:2967:48: style:inconclusive: Function 'send_sgr' argument 2 names different: declaration 'bg' definition 'cbg'. [funcArgNamesDifferent] mle-1.7.2/termbox2.h:1408:47: note: Function 'send_sgr' argument 2 names different: declaration 'bg' definition 'cbg'. mle-1.7.2/termbox2.h:2967:48: note: Function 'send_sgr' argument 2 names different: declaration 'bg' definition 'cbg'. mle-1.7.2/editor.c:1591:60: style:inconclusive: Function '_editor_event_to_key' argument 2 names different: declaration 'ret_key' definition 'ret_keyname'. [funcArgNamesDifferent] mle-1.7.2/editor.c:53:60: note: Function '_editor_event_to_key' argument 2 names different: declaration 'ret_key' definition 'ret_keyname'. mle-1.7.2/editor.c:1591:60: note: Function '_editor_event_to_key' argument 2 names different: declaration 'ret_key' definition 'ret_keyname'. mle-1.7.2/editor.c:332:19: style: Variable 'rect' can be declared as pointer to const [constVariablePointer] mle-1.7.2/editor.c:469:37: style: Parameter 'editor' can be declared as pointer to const [constParameterPointer] mle-1.7.2/editor.c:488:60: style: Parameter 'bview' can be declared as pointer to const [constParameterPointer] mle-1.7.2/editor.c:508:63: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] mle-1.7.2/editor.c:591:54: style: Parameter 'event_patt' can be declared as pointer to const [constParameterPointer] mle-1.7.2/editor.c:792:68: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] mle-1.7.2/editor.c:1091:67: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] mle-1.7.2/editor.c:1119:19: style: Variable 'bounds' can be declared as pointer to const [constVariablePointer] mle-1.7.2/editor.c:1185:11: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] mle-1.7.2/editor.c:1260:12: style: Variable 'cmd' can be declared as pointer to const [constVariablePointer] mle-1.7.2/editor.c:1288:64: style: Parameter 'ev' can be declared as pointer to const [constParameterPointer] mle-1.7.2/editor.c:1334:85: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] mle-1.7.2/editor.c:1345:67: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] mle-1.7.2/editor.c:1986:74: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] mle-1.7.2/editor.c:1986:86: style: Parameter 'default_cmd_name' can be declared as pointer to const [constParameterPointer] mle-1.7.2/editor.c:2205:83: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] mle-1.7.2/editor.c:2205:95: style: Parameter 'path_pattern' can be declared as pointer to const [constParameterPointer] mle-1.7.2/editor.c:2337:11: style: Variable 'rc_data_stop' can be declared as pointer to const [constVariablePointer] mle-1.7.2/termbox2.h:2178:11: style: Variable 'move_and_report' can be declared as pointer to const [constVariablePointer] mle-1.7.2/termbox2.h:2385:14: style: Variable 'header' can be declared as pointer to const [constVariablePointer] mle-1.7.2/termbox2.h:2660:11: style: Variable 'cmp' can be declared as const array [constVariable] mle-1.7.2/termbox2.h:3059:49: style: Parameter 'ch' can be declared as pointer to const [constParameterPointer] mle-1.7.2/termbox2.h:3098:37: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] mle-1.7.2/termbox2.h:3098:56: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] mle-1.7.2/termbox2.h:3048:5: error: Uninitialized variable: nbuf [uninitvar] mle-1.7.2/editor.c:240:41: error: Uninitialized variables: observer.event_patt, observer.callback, observer.udata, observer.next, observer.prev [uninitvar] mle-1.7.2/editor.c:338:24: error: Uninitialized variable: bview->buffer [uninitvar] mle-1.7.2/editor.c:429:14: error: Uninitialized variable: bview->type [uninitvar] mle-1.7.2/editor.c:432:113: error: Uninitialized variable: cursor->mark [uninitvar] mle-1.7.2/editor.c:429:13: note: Assuming condition is false mle-1.7.2/editor.c:432:113: note: Uninitialized variable: cursor->mark mle-1.7.2/editor.c:491:13: error: Uninitialized variables: tmp.editor, tmp.x, tmp.y, tmp.w, tmp.h, tmp.is_resized, tmp.type, tmp.linenum_width, tmp.abs_linenum_width, tmp.rel_linenum_width, tmp.rect_caption, tmp.rect_lines, tmp.rect_margin_left, tmp.rect_buffer, tmp.rect_margin_right, tmp.buffer, tmp.viewport_x, tmp.viewport_x_vcol, tmp.viewport_y, tmp.viewport_mark, tmp.viewport_scope_x, tmp.viewport_scope_y, tmp.split_parent, tmp.split_child, tmp.split_factor, tmp.split_is_vertical, tmp.prompt_str, tmp.path, tmp.startup_linenum, tmp.kmap_stack, tmp.kmap_tail, tmp.cursors, tmp.active_cursor, tmp.last_search, tmp.isearch_rule, tmp.isearch_ranges, tmp.isearch_ranges_len, tmp.isearch_ranges_cap, tmp.tab_width, tmp.tab_to_space, tmp.soft_wrap, tmp.syntax, tmp.aproc, tmp.menu_callback, tmp.is_menu, tmp.id, tmp.listeners, tmp.top_next, tmp.top_prev, tmp.all_next, tmp.all_prev [uninitvar] mle-1.7.2/editor.c:502:13: error: Uninitialized variable: bview->type [uninitvar] mle-1.7.2/editor.c:513:20: error: Uninitialized variable: bview->buffer [uninitvar] mle-1.7.2/editor.c:583:38: error: Uninitialized variables: bview.editor, bview.x, bview.y, bview.w, bview.h, bview.is_resized, bview.type, bview.linenum_width, bview.abs_linenum_width, bview.rel_linenum_width, bview.rect_caption, bview.rect_lines, bview.rect_margin_left, bview.rect_buffer, bview.rect_margin_right, bview.buffer, bview.viewport_x, bview.viewport_x_vcol, bview.viewport_y, bview.viewport_mark, bview.viewport_scope_x, bview.viewport_scope_y, bview.split_parent, bview.split_child, bview.split_factor, bview.split_is_vertical, bview.prompt_str, bview.path, bview.startup_linenum, bview.kmap_stack, bview.kmap_tail, bview.cursors, bview.active_cursor, bview.last_search, bview.isearch_rule, bview.isearch_ranges, bview.isearch_ranges_len, bview.isearch_ranges_cap, bview.tab_width, bview.tab_to_space, bview.soft_wrap, bview.syntax, bview.aproc, bview.menu_callback, bview.is_menu, bview.id, bview.listeners, bview.top_next, bview.top_prev, bview.all_next, bview.all_prev [uninitvar] mle-1.7.2/editor.c:1057:31: error: Uninitialized variable: observer->event_patt [uninitvar] mle-1.7.2/editor.c:1140:13: error: Uninitialized variable: bview->type [uninitvar] mle-1.7.2/editor.c:1165:22: error: Uninitialized variable: cursor->is_asleep [uninitvar] mle-1.7.2/editor.c:1658:20: error: Uninitialized variable: bview->buffer [uninitvar] mle-1.7.2/editor.c:2098:22: error: Uninitialized variable: binding->children [uninitvar] mle-1.7.2/main.c:14:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] mle-1.7.2/mark.c:903:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCRE2_CASELESS [valueFlowBailoutIncompleteVar] mle-1.7.2/mark.c:950:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCRE2_SIZE [valueFlowBailoutIncompleteVar] mle-1.7.2/mark.c:607:19: style: Condition 'rc!=NULL' is always true [knownConditionTrueFalse] mle-1.7.2/mark.c:607:38: style: Condition 'ovector!=NULL' is always true [knownConditionTrueFalse] mle-1.7.2/mark.c:826:37: style: Condition 'self->colchar_count' is always true [knownConditionTrueFalse] mle-1.7.2/mark.c:819:23: note: Assuming that condition 'self->col>=search_line->char_count' is not redundant mle-1.7.2/mark.c:826:37: note: Condition 'self->colchar_count' is always true mle-1.7.2/mark.c:902:14: warning: If memory allocation fails, then there is a possible null pointer dereference: regex [nullPointerOutOfMemory] mle-1.7.2/mark.c:901:19: note: Assuming allocation function fails mle-1.7.2/mark.c:901:19: note: Assignment 'regex=malloc(re_len+1)', assigned value is 0 mle-1.7.2/mark.c:902:14: note: Null pointer dereference mle-1.7.2/mark.c:541:119: style:inconclusive: Function 'mark_move_next_str_ex' argument 6 names different: declaration 'optret_num_chars' definition 'optret_char_count'. [funcArgNamesDifferent] mle-1.7.2/mlbuf.h:277:119: note: Function 'mark_move_next_str_ex' argument 6 names different: declaration 'optret_num_chars' definition 'optret_char_count'. mle-1.7.2/mark.c:541:119: note: Function 'mark_move_next_str_ex' argument 6 names different: declaration 'optret_num_chars' definition 'optret_char_count'. mle-1.7.2/mark.c:545:119: style:inconclusive: Function 'mark_move_prev_str_ex' argument 6 names different: declaration 'optret_num_chars' definition 'optret_char_count'. [funcArgNamesDifferent] mle-1.7.2/mlbuf.h:285:119: note: Function 'mark_move_prev_str_ex' argument 6 names different: declaration 'optret_num_chars' definition 'optret_char_count'. mle-1.7.2/mark.c:545:119: note: Function 'mark_move_prev_str_ex' argument 6 names different: declaration 'optret_num_chars' definition 'optret_char_count'. mle-1.7.2/mark.c:549:109: style:inconclusive: Function 'mark_move_next_cre_ex' argument 5 names different: declaration 'optret_num_chars' definition 'optret_char_count'. [funcArgNamesDifferent] mle-1.7.2/mlbuf.h:271:109: note: Function 'mark_move_next_cre_ex' argument 5 names different: declaration 'optret_num_chars' definition 'optret_char_count'. mle-1.7.2/mark.c:549:109: note: Function 'mark_move_next_cre_ex' argument 5 names different: declaration 'optret_num_chars' definition 'optret_char_count'. mle-1.7.2/mark.c:553:109: style:inconclusive: Function 'mark_move_prev_cre_ex' argument 5 names different: declaration 'optret_num_chars' definition 'optret_char_count'. [funcArgNamesDifferent] mle-1.7.2/mlbuf.h:281:109: note: Function 'mark_move_prev_cre_ex' argument 5 names different: declaration 'optret_num_chars' definition 'optret_char_count'. mle-1.7.2/mark.c:553:109: note: Function 'mark_move_prev_cre_ex' argument 5 names different: declaration 'optret_num_chars' definition 'optret_char_count'. mle-1.7.2/mark.c:557:116: style:inconclusive: Function 'mark_move_next_re_ex' argument 6 names different: declaration 'optret_num_chars' definition 'optret_char_count'. [funcArgNamesDifferent] mle-1.7.2/mlbuf.h:274:116: note: Function 'mark_move_next_re_ex' argument 6 names different: declaration 'optret_num_chars' definition 'optret_char_count'. mle-1.7.2/mark.c:557:116: note: Function 'mark_move_next_re_ex' argument 6 names different: declaration 'optret_num_chars' definition 'optret_char_count'. mle-1.7.2/mark.c:561:116: style:inconclusive: Function 'mark_move_prev_re_ex' argument 6 names different: declaration 'optret_num_chars' definition 'optret_char_count'. [funcArgNamesDifferent] mle-1.7.2/mlbuf.h:283:116: note: Function 'mark_move_prev_re_ex' argument 6 names different: declaration 'optret_num_chars' definition 'optret_char_count'. mle-1.7.2/mark.c:561:116: note: Function 'mark_move_prev_re_ex' argument 6 names different: declaration 'optret_num_chars' definition 'optret_char_count'. mle-1.7.2/mark.c:565:114: style:inconclusive: Function 'mark_move_bracket_pair_ex' argument 5 names different: declaration 'optret_num_chars' definition 'optret_char_count'. [funcArgNamesDifferent] mle-1.7.2/mlbuf.h:263:114: note: Function 'mark_move_bracket_pair_ex' argument 5 names different: declaration 'optret_num_chars' definition 'optret_char_count'. mle-1.7.2/mark.c:565:114: note: Function 'mark_move_bracket_pair_ex' argument 5 names different: declaration 'optret_num_chars' definition 'optret_char_count'. mle-1.7.2/mark.c:569:113: style:inconclusive: Function 'mark_move_bracket_top_ex' argument 5 names different: declaration 'optret_num_chars' definition 'optret_char_count'. [funcArgNamesDifferent] mle-1.7.2/mlbuf.h:265:113: note: Function 'mark_move_bracket_top_ex' argument 5 names different: declaration 'optret_num_chars' definition 'optret_char_count'. mle-1.7.2/mark.c:569:113: note: Function 'mark_move_bracket_top_ex' argument 5 names different: declaration 'optret_num_chars' definition 'optret_char_count'. mle-1.7.2/mark.c:204:24: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] mle-1.7.2/mark.c:204:38: style: Parameter 'other' can be declared as pointer to const [constParameterPointer] mle-1.7.2/mark.c:214:24: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] mle-1.7.2/mark.c:214:38: style: Parameter 'other' can be declared as pointer to const [constParameterPointer] mle-1.7.2/mark.c:224:24: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] mle-1.7.2/mark.c:224:38: style: Parameter 'other' can be declared as pointer to const [constParameterPointer] mle-1.7.2/mark.c:447:28: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] mle-1.7.2/mark.c:644:45: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] mle-1.7.2/mark.c:894:45: style: Parameter 're' can be declared as pointer to const [constParameterPointer] mle-1.7.2/mark.c:919:47: style: Parameter 'haystack' can be declared as pointer to const. However it seems that 'mark_find_next_str_matchfn' is a callback function, if 'haystack' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mle-1.7.2/mark.c:926:82: note: You might need to cast the function pointer here mle-1.7.2/mark.c:919:47: note: Parameter 'haystack' can be declared as pointer to const mle-1.7.2/mark.c:919:123: style: Parameter 'needle' can be declared as pointer to const. However it seems that 'mark_find_next_str_matchfn' is a callback function, if 'needle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mle-1.7.2/mark.c:926:82: note: You might need to cast the function pointer here mle-1.7.2/mark.c:919:123: note: Parameter 'needle' can be declared as pointer to const mle-1.7.2/tests/unit/test.c:30:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test.c:28:28: error: Resource leak: self [resourceLeak] mle-1.7.2/tests/unit/test_bline_delete.c:11:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_bline_get_col.c:10:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_bline_insert.c:11:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_buffer_add_mark.c:9:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_buffer_add_mark.c:6:13: style: Variable 'mark' can be declared as pointer to const [constVariablePointer] mle-1.7.2/tests/unit/test_buffer_add_srule.c:15:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fg [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_buffer_delete.c:11:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_buffer_destroy.c:6:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_buffer_destroy.c:6:5: style: Same expression on both sides of '=='. [duplicateExpression] mle-1.7.2/tests/unit/test_buffer_destroy.c:5:21: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] mle-1.7.2/tests/unit/test_buffer_destroy.c:5:34: style: Parameter 'cur' can be declared as pointer to const [constParameterPointer] mle-1.7.2/tests/unit/test_buffer_get.c:10:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_buffer_get_bline.c:11:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_buffer_get_bline_col.c:10:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_buffer_get_offset.c:9:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_buffer_insert.c:12:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_buffer_new.c:6:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_buffer_new.c:6:5: style: Same expression on both sides of '=='. [duplicateExpression] mle-1.7.2/tests/unit/test_buffer_new.c:5:21: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] mle-1.7.2/tests/unit/test_buffer_new.c:5:34: style: Parameter 'cur' can be declared as pointer to const [constParameterPointer] mle-1.7.2/tests/unit/test_buffer_redo.c:14:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_buffer_register.c:11:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_buffer_remove_srule.c:12:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fg [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_buffer_replace.c:11:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_buffer_set.c:10:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_buffer_set_callback.c:7:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_buffer_set_callback.c:6:35: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'callback_fn' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mle-1.7.2/tests/unit/test_buffer_set_callback.c:30:30: note: You might need to cast the function pointer here mle-1.7.2/tests/unit/test_buffer_set_callback.c:6:35: note: Parameter 'buf' can be declared as pointer to const mle-1.7.2/tests/unit/test_buffer_set_callback.c:6:51: style: Parameter 'bac' can be declared as pointer to const. However it seems that 'callback_fn' is a callback function, if 'bac' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mle-1.7.2/tests/unit/test_buffer_set_callback.c:30:30: note: You might need to cast the function pointer here mle-1.7.2/tests/unit/test_buffer_set_callback.c:6:51: note: Parameter 'bac' can be declared as pointer to const mle-1.7.2/tests/unit/test_buffer_set_callback.c:6:62: style: Parameter 'udata' can be declared as pointer to const. However it seems that 'callback_fn' is a callback function, if 'udata' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mle-1.7.2/tests/unit/test_buffer_set_callback.c:30:30: note: You might need to cast the function pointer here mle-1.7.2/tests/unit/test_buffer_set_callback.c:6:62: note: Parameter 'udata' can be declared as pointer to const mle-1.7.2/tests/unit/test_buffer_set_tab_width.c:16:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_buffer_set_tab_width.c:9:12: style: Variable 'char_vcols_4' can be declared as const array [constVariable] mle-1.7.2/tests/unit/test_buffer_set_tab_width.c:10:12: style: Variable 'char_vcols_2a' can be declared as const array [constVariable] mle-1.7.2/tests/unit/test_buffer_set_tab_width.c:11:12: style: Variable 'char_vcols_2b' can be declared as const array [constVariable] mle-1.7.2/tests/unit/test_buffer_substr.c:11:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_buffer_undo.c:13:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_kinput.c:15:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mod [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_mark_clone.c:8:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_mark_cmp.c:13:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_mark_delete_after.c:11:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_mark_delete_before.c:11:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_mark_delete_between_mark.c:11:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_mark_delete_between_mark_2.c:12:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_mark_find_bracket_pair.c:8:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_mark_get_between_mark.c:13:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_mark_get_nchars_between.c:13:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_mark_get_offset.c:10:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_mark_insert_after.c:11:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_mark_insert_before.c:11:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_mark_is_at_word_bound.c:7:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_mark_is_gt.c:11:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_mark_lettered.c:11:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_mark_move_bol.c:8:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_mark_move_bol.c:5:21: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] mle-1.7.2/tests/unit/test_mark_move_bracket_pair.c:8:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_mark_move_by.c:9:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_mark_move_by.c:5:21: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] mle-1.7.2/tests/unit/test_mark_move_col.c:9:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_mark_move_eol.c:8:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_mark_move_eol.c:5:21: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] mle-1.7.2/tests/unit/test_mark_move_next_re.c:9:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_mark_move_next_re.c:5:21: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] mle-1.7.2/tests/unit/test_mark_move_next_str.c:9:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_mark_move_next_str.c:5:21: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] mle-1.7.2/tests/unit/test_mark_move_offset.c:7:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_mark_move_offset.c:5:21: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] mle-1.7.2/tests/unit/test_mark_move_prev_re.c:9:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_mark_move_prev_re.c:5:21: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] mle-1.7.2/tests/unit/test_mark_move_prev_str.c:9:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_mark_move_prev_str.c:5:21: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] mle-1.7.2/tests/unit/test_mark_move_to.c:9:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_mark_move_to.c:5:21: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] mle-1.7.2/tests/unit/test_mark_move_vert.c:9:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_mark_move_vert.c:5:21: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] mle-1.7.2/tests/unit/test_mark_set_pcre_ovector.c:14:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLBUF_OK [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_mark_swap_with_mark.c:11:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_recalloc.c:21:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/tests/unit/test_recalloc.c:17:5: warning: If memory allocation fails, then there is a possible null pointer dereference: things [nullPointerOutOfMemory] mle-1.7.2/tests/unit/test_recalloc.c:16:20: note: Assuming allocation function fails mle-1.7.2/tests/unit/test_recalloc.c:16:20: note: Assignment 'things=calloc(1,sizeof(struct thing_t))', assigned value is 0 mle-1.7.2/tests/unit/test_recalloc.c:17:5: note: Null pointer dereference mle-1.7.2/tests/unit/test_recalloc.c:18:5: warning: If memory allocation fails, then there is a possible null pointer dereference: things [nullPointerOutOfMemory] mle-1.7.2/tests/unit/test_recalloc.c:16:20: note: Assuming allocation function fails mle-1.7.2/tests/unit/test_recalloc.c:16:20: note: Assignment 'things=calloc(1,sizeof(struct thing_t))', assigned value is 0 mle-1.7.2/tests/unit/test_recalloc.c:18:5: note: Null pointer dereference mle-1.7.2/uscript.c:103:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] mle-1.7.2/uscript.c:126:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] mle-1.7.2/uscript.c:378:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] mle-1.7.2/uscript.c:398:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIxPTR [valueFlowBailoutIncompleteVar] mle-1.7.2/uscript.c:404:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TFUNCTION [valueFlowBailoutIncompleteVar] mle-1.7.2/uscript.c:410:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mle_lib [valueFlowBailoutIncompleteVar] mle-1.7.2/uscript.c:61:5: warning: If memory allocation fails, then there is a possible null pointer dereference: uscript [nullPointerOutOfMemory] mle-1.7.2/uscript.c:60:21: note: Assuming allocation function fails mle-1.7.2/uscript.c:60:21: note: Assignment 'uscript=calloc(1,sizeof(struct uscript_t))', assigned value is 0 mle-1.7.2/uscript.c:61:5: note: Null pointer dereference mle-1.7.2/uscript.c:62:5: warning: If memory allocation fails, then there is a possible null pointer dereference: uscript [nullPointerOutOfMemory] mle-1.7.2/uscript.c:60:21: note: Assuming allocation function fails mle-1.7.2/uscript.c:60:21: note: Assignment 'uscript=calloc(1,sizeof(struct uscript_t))', assigned value is 0 mle-1.7.2/uscript.c:62:5: note: Null pointer dereference mle-1.7.2/uscript.c:237:5: warning: If memory allocation fails, then there is a possible null pointer dereference: uhandle [nullPointerOutOfMemory] mle-1.7.2/uscript.c:236:21: note: Assuming allocation function fails mle-1.7.2/uscript.c:236:21: note: Assignment 'uhandle=calloc(1,sizeof(struct uhandle_t))', assigned value is 0 mle-1.7.2/uscript.c:237:5: note: Null pointer dereference mle-1.7.2/uscript.c:238:5: warning: If memory allocation fails, then there is a possible null pointer dereference: uhandle [nullPointerOutOfMemory] mle-1.7.2/uscript.c:236:21: note: Assuming allocation function fails mle-1.7.2/uscript.c:236:21: note: Assignment 'uhandle=calloc(1,sizeof(struct uhandle_t))', assigned value is 0 mle-1.7.2/uscript.c:238:5: note: Null pointer dereference mle-1.7.2/uscript.c:265:5: warning: If memory allocation fails, then there is a possible null pointer dereference: uhandle [nullPointerOutOfMemory] mle-1.7.2/uscript.c:264:21: note: Assuming allocation function fails mle-1.7.2/uscript.c:264:21: note: Assignment 'uhandle=calloc(1,sizeof(struct uhandle_t))', assigned value is 0 mle-1.7.2/uscript.c:265:5: note: Null pointer dereference mle-1.7.2/uscript.c:266:5: warning: If memory allocation fails, then there is a possible null pointer dereference: uhandle [nullPointerOutOfMemory] mle-1.7.2/uscript.c:264:21: note: Assuming allocation function fails mle-1.7.2/uscript.c:264:21: note: Assignment 'uhandle=calloc(1,sizeof(struct uhandle_t))', assigned value is 0 mle-1.7.2/uscript.c:266:5: note: Null pointer dereference mle-1.7.2/uscript.c:162:63: style: Parameter 'event_name' can be declared as pointer to const [constParameterPointer] mle-1.7.2/uscript.c:179:64: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] mle-1.7.2/uscript.c:191:64: style: Parameter 'baction' can be declared as pointer to const [constParameterPointer] mle-1.7.2/uscript.c:280:16: style: Variable 'uscript' can be declared as pointer to const [constVariablePointer] mle-1.7.2/uscript.c:393:49: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'lua_pushpointer' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mle-1.7.2/uscript.c:194:5: note: You might need to cast the function pointer here mle-1.7.2/uscript.c:393:49: note: Parameter 'ptr' can be declared as pointer to const mle-1.7.2/utf8.c:89:11: style: Variable 'data_stop' can be declared as pointer to const [constVariablePointer] mle-1.7.2/util.c:73:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mle-1.7.2/util.c:230:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCRE2_NO_AUTO_CAPTURE [valueFlowBailoutIncompleteVar] mle-1.7.2/util.c:269:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCRE2_CASELESS [valueFlowBailoutIncompleteVar] mle-1.7.2/util.c:729:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] mle-1.7.2/util.c:336:5: warning: If memory allocation fails, then there is a possible null pointer dereference: cmd [nullPointerOutOfMemory] mle-1.7.2/util.c:334:17: note: Assuming allocation function fails mle-1.7.2/util.c:334:17: note: Assignment 'cmd=malloc(4*l+3)', assigned value is 0 mle-1.7.2/util.c:336:5: note: Null pointer dereference mle-1.7.2/util.c:662:5: warning: If memory allocation fails, then there is a possible null pointer dereference: aproc [nullPointerOutOfMemory] mle-1.7.2/util.c:661:19: note: Assuming allocation function fails mle-1.7.2/util.c:661:19: note: Assignment 'aproc=calloc(1,sizeof(struct aproc_t))', assigned value is 0 mle-1.7.2/util.c:662:5: note: Null pointer dereference mle-1.7.2/util.c:689:9: warning: If memory allocation fails, then there is a possible null pointer dereference: aproc [nullPointerOutOfMemory] mle-1.7.2/util.c:661:19: note: Assuming allocation function fails mle-1.7.2/util.c:661:19: note: Assignment 'aproc=calloc(1,sizeof(struct aproc_t))', assigned value is 0 mle-1.7.2/util.c:663:21: note: Calling function 'aproc_set_owner', 1st argument 'aproc' value is 0 mle-1.7.2/util.c:689:9: note: Null pointer dereference mle-1.7.2/util.c:693:5: warning: If memory allocation fails, then there is a possible null pointer dereference: aproc [nullPointerOutOfMemory] mle-1.7.2/util.c:661:19: note: Assuming allocation function fails mle-1.7.2/util.c:661:19: note: Assignment 'aproc=calloc(1,sizeof(struct aproc_t))', assigned value is 0 mle-1.7.2/util.c:663:21: note: Calling function 'aproc_set_owner', 1st argument 'aproc' value is 0 mle-1.7.2/util.c:693:5: note: Null pointer dereference mle-1.7.2/util.c:694:5: warning: If memory allocation fails, then there is a possible null pointer dereference: aproc [nullPointerOutOfMemory] mle-1.7.2/util.c:661:19: note: Assuming allocation function fails mle-1.7.2/util.c:661:19: note: Assignment 'aproc=calloc(1,sizeof(struct aproc_t))', assigned value is 0 mle-1.7.2/util.c:663:21: note: Calling function 'aproc_set_owner', 1st argument 'aproc' value is 0 mle-1.7.2/util.c:694:5: note: Null pointer dereference mle-1.7.2/util.c:139:32: style:inconclusive: Function 'util_popen2' argument 2 names different: declaration 'setsid' definition 'do_setsid'. [funcArgNamesDifferent] mle-1.7.2/mle.h:603:32: note: Function 'util_popen2' argument 2 names different: declaration 'setsid' definition 'do_setsid'. mle-1.7.2/util.c:139:32: note: Function 'util_popen2' argument 2 names different: declaration 'setsid' definition 'do_setsid'. mle-1.7.2/util.c:368:72: style:inconclusive: Function 'util_expand_tilde' argument 4 names different: declaration 'ret_path_len' definition 'optret_path_len'. [funcArgNamesDifferent] mle-1.7.2/mle.h:611:72: note: Function 'util_expand_tilde' argument 4 names different: declaration 'ret_path_len' definition 'optret_path_len'. mle-1.7.2/util.c:368:72: note: Function 'util_expand_tilde' argument 4 names different: declaration 'ret_path_len' definition 'optret_path_len'. mle-1.7.2/util.c:206:36: style: Parameter 'opt_mode' can be declared as pointer to const [constParameterPointer] mle-1.7.2/util.c:319:40: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] mle-1.7.2/util.c:319:59: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] mle-1.7.2/util.c:330:35: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] mle-1.7.2/util.c:369:11: style: Variable 'homedir' can be declared as pointer to const [constVariablePointer] mle-1.7.2/util.c:462:52: style: Parameter 'data_stop' can be declared as pointer to const [constParameterPointer] mle-1.7.2/util.c:484:53: style: Parameter 'data_stop' can be declared as pointer to const [constParameterPointer] mle-1.7.2/util.c:506:36: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] mle-1.7.2/util.c:532:36: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] mle-1.7.2/util.c:584:100: style: Parameter 'pcre_ovector' can be declared as pointer to const [constParameterPointer] mle-1.7.2/util.c:456:23: portability: 'newptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] mle-1.7.2/util.c:743:23: error: Uninitialized variable: aproc->rfd [uninitvar] mle-1.7.2/util.c:262:19: style: Variable 'got_match' is assigned a value that is never used. [unreadVariable] mle-1.7.2/util.c:276:19: style: Variable 'subj_offset_z' is assigned a value that is never used. [unreadVariable] mle-1.7.2/buffer.c:1295:25: warning: If memory allocation fails, then there is a possible null pointer dereference: action [ctunullpointerOutOfMemory] mle-1.7.2/buffer.c:472:20: note: Assuming allocation function fails mle-1.7.2/buffer.c:472:20: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:486:19: note: Calling function _buffer_update, 2nd argument is null mle-1.7.2/buffer.c:1295:25: note: Dereferencing argument action that is null mle-1.7.2/bview.c:39:26: error: Null pointer dereference: opt_path [ctunullpointer] mle-1.7.2/editor.c:2615:62: note: Calling function 'editor_open_bview', 4th argument 'NULL' value is 0 mle-1.7.2/editor.c:351:26: note: Calling function bview_new, 3rd argument is null mle-1.7.2/bview.c:39:26: note: Dereferencing argument opt_path that is null mle-1.7.2/bview.c:319:21: warning: If memory allocation fails, then there is a possible null pointer dereference: self [ctunullpointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:60:17: note: Calling function '_bview_init', 1st argument 'self' value is 0 mle-1.7.2/bview.c:462:19: note: Calling function '_bview_deinit', 1st argument 'self' value is 0 mle-1.7.2/bview.c:594:28: note: Calling function bview_remove_cursor, 1st argument is null mle-1.7.2/bview.c:319:21: note: Dereferencing argument self that is null mle-1.7.2/bview.c:401:15: warning: If memory allocation fails, then there is a possible null pointer dereference: self [ctunullpointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:60:17: note: Calling function '_bview_init', 1st argument 'self' value is 0 mle-1.7.2/bview.c:462:19: note: Calling function '_bview_deinit', 1st argument 'self' value is 0 mle-1.7.2/bview.c:605:31: note: Calling function bview_destroy_listener, 1st argument is null mle-1.7.2/bview.c:401:15: note: Dereferencing argument self that is null mle-1.7.2/bview.c:409:19: warning: If memory allocation fails, then there is a possible null pointer dereference: bview [ctunullpointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:60:17: note: Calling function '_bview_init', 1st argument 'self' value is 0 mle-1.7.2/bview.c:462:19: note: Calling function '_bview_deinit', 1st argument 'self' value is 0 mle-1.7.2/bview.c:579:24: note: Calling function _bview_pop_kmap, 1st argument is null mle-1.7.2/bview.c:409:19: note: Dereferencing argument bview that is null mle-1.7.2/bview.c:552:12: warning: If memory allocation fails, then there is a possible null pointer dereference: self [ctunullpointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:60:17: note: Calling function '_bview_init', 1st argument 'self' value is 0 mle-1.7.2/bview.c:467:29: note: Calling function _bview_set_linenum_width, 1st argument is null mle-1.7.2/bview.c:552:12: note: Dereferencing argument self that is null mle-1.7.2/bview.c:578:12: warning: Null pointer dereference: self [ctunullpointer] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:60:16: note: Calling function _bview_init, 1st argument is null mle-1.7.2/bview.c:462:5: note: Calling function _bview_deinit, 1st argument is null mle-1.7.2/bview.c:578:12: note: Dereferencing argument self that is null mle-1.7.2/bview.c:697:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [ctunullpointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:58:37: note: Calling function '_bview_open_buffer', 1st argument 'self' value is 0 mle-1.7.2/bview.c:799:25: note: Calling function _bview_set_tab_width, 1st argument is null mle-1.7.2/bview.c:697:5: note: Dereferencing argument self that is null mle-1.7.2/editor.c:2025:28: warning: If memory allocation fails, then there is a possible null pointer dereference: cur_key_patt [ctunullpointerOutOfMemory] mle-1.7.2/editor.c:2009:26: note: Assuming allocation function fails mle-1.7.2/editor.c:2009:26: note: Assignment 'cur_key_patt=strdup(binding_def->key_patt)', assigned value is 0 mle-1.7.2/editor.c:2010:42: note: Calling function _editor_init_kmap_add_binding_to_trie, 3rd argument is null mle-1.7.2/editor.c:2025:28: note: Dereferencing argument cur_key_patt that is null mle-1.7.2/util.c:689:9: warning: If memory allocation fails, then there is a possible null pointer dereference: aproc [ctunullpointerOutOfMemory] mle-1.7.2/util.c:661:19: note: Assuming allocation function fails mle-1.7.2/util.c:661:19: note: Assignment 'aproc=calloc(1,sizeof(struct aproc_t))', assigned value is 0 mle-1.7.2/util.c:663:20: note: Calling function aproc_set_owner, 1st argument is null mle-1.7.2/util.c:689:9: note: Dereferencing argument aproc that is null diff: head mle-1.7.2/buffer.c:1314:51: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:648:24: note: Assuming allocation function fails mle-1.7.2/buffer.c:648:24: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:659:30: note: Calling function '_buffer_update', 2nd argument 'action' value is 0 mle-1.7.2/buffer.c:1314:51: note: Null pointer dereference head mle-1.7.2/buffer.c:1904:43: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1898:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:1898:18: note: Assignment 'rule=calloc(1,sizeof(struct srule_t))', assigned value is 0 mle-1.7.2/buffer.c:1904:43: note: Null pointer dereference head mle-1.7.2/buffer.c:1904:72: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1898:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:1898:18: note: Assignment 'rule=calloc(1,sizeof(struct srule_t))', assigned value is 0 mle-1.7.2/buffer.c:1904:72: note: Null pointer dereference head mle-1.7.2/buffer.c:1926:43: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1918:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:1918:18: note: Assignment 'rule=calloc(1,sizeof(struct srule_t))', assigned value is 0 mle-1.7.2/buffer.c:1926:43: note: Null pointer dereference head mle-1.7.2/buffer.c:1926:72: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1918:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:1918:18: note: Assignment 'rule=calloc(1,sizeof(struct srule_t))', assigned value is 0 mle-1.7.2/buffer.c:1926:72: note: Null pointer dereference head mle-1.7.2/buffer.c:1927:47: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1918:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:1918:18: note: Assignment 'rule=calloc(1,sizeof(struct srule_t))', assigned value is 0 mle-1.7.2/buffer.c:1927:47: note: Null pointer dereference head mle-1.7.2/buffer.c:1927:80: warning: If memory allocation fails, then there is a possible null pointer dereference: rule [nullPointerOutOfMemory] mle-1.7.2/buffer.c:1918:18: note: Assuming allocation function fails mle-1.7.2/buffer.c:1918:18: note: Assignment 'rule=calloc(1,sizeof(struct srule_t))', assigned value is 0 mle-1.7.2/buffer.c:1927:80: note: Null pointer dereference 2.17.0 mle-1.7.2/buffer.c:389:46: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mle-1.7.2/buffer.c:356:34: note: Assuming allocation function fails mle-1.7.2/buffer.c:356:34: note: Assignment 'self->slabbed_blines=malloc(nlines*sizeof(struct bline_t))', assigned value is 0 mle-1.7.2/buffer.c:357:12: note: blines is assigned 'self->slabbed_blines' here. mle-1.7.2/buffer.c:389:46: note: Null pointer addition head mle-1.7.2/buffer.c:389:46: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mle-1.7.2/buffer.c:356:34: note: Assuming allocation function fails mle-1.7.2/buffer.c:356:34: note: Assignment 'self->slabbed_blines=malloc(nlines*sizeof(struct bline_t))', assigned value is 0 mle-1.7.2/buffer.c:357:12: note: blines is assigned 'self->slabbed_blines' here. mle-1.7.2/buffer.c:389:46: note: Null pointer addition 2.17.0 mle-1.7.2/buffer.c:403:30: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mle-1.7.2/buffer.c:356:34: note: Assuming allocation function fails mle-1.7.2/buffer.c:356:34: note: Assignment 'self->slabbed_blines=malloc(nlines*sizeof(struct bline_t))', assigned value is 0 mle-1.7.2/buffer.c:357:18: note: Assignment 'blines=self->slabbed_blines', assigned value is 0 mle-1.7.2/buffer.c:403:30: note: Null pointer addition head mle-1.7.2/buffer.c:403:30: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] mle-1.7.2/buffer.c:356:34: note: Assuming allocation function fails mle-1.7.2/buffer.c:356:34: note: Assignment 'self->slabbed_blines=malloc(nlines*sizeof(struct bline_t))', assigned value is 0 mle-1.7.2/buffer.c:357:18: note: Assignment 'blines=self->slabbed_blines', assigned value is 0 mle-1.7.2/buffer.c:403:30: note: Null pointer addition head mle-1.7.2/buffer.c:479:36: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:472:20: note: Assuming allocation function fails mle-1.7.2/buffer.c:472:20: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:479:36: note: Null pointer dereference head mle-1.7.2/buffer.c:671:40: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:664:24: note: Assuming allocation function fails mle-1.7.2/buffer.c:664:24: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:671:40: note: Null pointer dereference head mle-1.7.2/buffer.c:676:38: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:664:24: note: Assuming allocation function fails mle-1.7.2/buffer.c:664:24: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:676:38: note: Null pointer dereference head mle-1.7.2/buffer.c:677:28: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] mle-1.7.2/buffer.c:664:24: note: Assuming allocation function fails mle-1.7.2/buffer.c:664:24: note: Assignment 'action=calloc(1,sizeof(struct baction_t))', assigned value is 0 mle-1.7.2/buffer.c:677:28: note: Null pointer dereference head mle-1.7.2/bview.c:319:21: warning: If memory allocation fails, then there is a possible null pointer dereference: self [ctunullpointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:60:17: note: Calling function '_bview_init', 1st argument 'self' value is 0 mle-1.7.2/bview.c:462:19: note: Calling function '_bview_deinit', 1st argument 'self' value is 0 mle-1.7.2/bview.c:594:28: note: Calling function bview_remove_cursor, 1st argument is null mle-1.7.2/bview.c:319:21: note: Dereferencing argument self that is null head mle-1.7.2/bview.c:552:12: warning: If memory allocation fails, then there is a possible null pointer dereference: self [ctunullpointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:60:17: note: Calling function '_bview_init', 1st argument 'self' value is 0 mle-1.7.2/bview.c:467:29: note: Calling function _bview_set_linenum_width, 1st argument is null mle-1.7.2/bview.c:552:12: note: Dereferencing argument self that is null head mle-1.7.2/bview.c:553:31: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:60:17: note: Calling function '_bview_init', 1st argument 'self' value is 0 mle-1.7.2/bview.c:467:30: note: Calling function '_bview_set_linenum_width', 1st argument 'self' value is 0 mle-1.7.2/bview.c:553:31: note: Null pointer dereference head mle-1.7.2/bview.c:697:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [ctunullpointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:58:37: note: Calling function '_bview_open_buffer', 1st argument 'self' value is 0 mle-1.7.2/bview.c:799:25: note: Calling function _bview_set_tab_width, 1st argument is null mle-1.7.2/bview.c:697:5: note: Dereferencing argument self that is null head mle-1.7.2/bview.c:698:25: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:58:37: note: Calling function '_bview_open_buffer', 1st argument 'self' value is 0 mle-1.7.2/bview.c:799:26: note: Calling function '_bview_set_tab_width', 1st argument 'self' value is 0 mle-1.7.2/bview.c:698:25: note: Null pointer dereference head mle-1.7.2/bview.c:698:52: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] mle-1.7.2/bview.c:36:18: note: Assuming allocation function fails mle-1.7.2/bview.c:36:18: note: Assignment 'self=calloc(1,sizeof(struct bview_t))', assigned value is 0 mle-1.7.2/bview.c:58:37: note: Calling function '_bview_open_buffer', 1st argument 'self' value is 0 mle-1.7.2/bview.c:799:26: note: Calling function '_bview_set_tab_width', 1st argument 'self' value is 0 mle-1.7.2/bview.c:698:52: note: Null pointer dereference head mle-1.7.2/cmd.c:835:43: warning: Either the condition 'bview->buffer' is redundant or there is possible null pointer dereference: bview->buffer. [nullPointerRedundantCheck] mle-1.7.2/cmd.c:843:18: note: Assuming that condition 'bview->buffer' is not redundant mle-1.7.2/cmd.c:835:43: note: Null pointer dereference head mle-1.7.2/editor.c:2002:62: warning: If memory allocation fails, then there is a possible null pointer dereference: kmap [nullPointerOutOfMemory] mle-1.7.2/editor.c:1989:18: note: Assuming allocation function fails mle-1.7.2/editor.c:1989:18: note: Assignment 'kmap=calloc(1,sizeof(struct kmap_t))', assigned value is 0 mle-1.7.2/editor.c:2002:62: note: Null pointer dereference head mle-1.7.2/editor.c:2025:28: warning: If memory allocation fails, then there is a possible null pointer dereference: cur_key_patt [ctunullpointerOutOfMemory] mle-1.7.2/editor.c:2009:26: note: Assuming allocation function fails mle-1.7.2/editor.c:2009:26: note: Assignment 'cur_key_patt=strdup(binding_def->key_patt)', assigned value is 0 mle-1.7.2/editor.c:2010:42: note: Calling function _editor_init_kmap_add_binding_to_trie, 3rd argument is null mle-1.7.2/editor.c:2025:28: note: Dereferencing argument cur_key_patt that is null head mle-1.7.2/editor.c:2218:66: warning: If memory allocation fails, then there is a possible null pointer dereference: syntax [nullPointerOutOfMemory] mle-1.7.2/editor.c:2208:20: note: Assuming allocation function fails mle-1.7.2/editor.c:2208:20: note: Assignment 'syntax=calloc(1,sizeof(struct syntax_t))', assigned value is 0 mle-1.7.2/editor.c:2218:66: note: Null pointer dereference head mle-1.7.2/editor.c:534:28: warning: If memory allocation fails, then there is a possible null pointer dereference: new_cmd [nullPointerOutOfMemory] mle-1.7.2/editor.c:532:21: note: Assuming allocation function fails mle-1.7.2/editor.c:532:21: note: Assignment 'new_cmd=calloc(1,sizeof(struct cmd_t))', assigned value is 0 mle-1.7.2/editor.c:534:28: note: Null pointer dereference head mle-1.7.2/editor.c:535:64: warning: If memory allocation fails, then there is a possible null pointer dereference: new_cmd [nullPointerOutOfMemory] mle-1.7.2/editor.c:532:21: note: Assuming allocation function fails mle-1.7.2/editor.c:532:21: note: Assignment 'new_cmd=calloc(1,sizeof(struct cmd_t))', assigned value is 0 mle-1.7.2/editor.c:535:64: note: Null pointer dereference head mle-1.7.2/editor.c:756:93: warning: If memory allocation fails, then there is a possible null pointer dereference: prompt_history [nullPointerOutOfMemory] mle-1.7.2/editor.c:754:32: note: Assuming allocation function fails mle-1.7.2/editor.c:754:32: note: Assignment 'prompt_history=calloc(1,sizeof(struct prompt_history_t))', assigned value is 0 mle-1.7.2/editor.c:756:93: note: Null pointer dereference head mle-1.7.2/util.c:689:9: warning: If memory allocation fails, then there is a possible null pointer dereference: aproc [ctunullpointerOutOfMemory] mle-1.7.2/util.c:661:19: note: Assuming allocation function fails mle-1.7.2/util.c:661:19: note: Assignment 'aproc=calloc(1,sizeof(struct aproc_t))', assigned value is 0 mle-1.7.2/util.c:663:20: note: Calling function aproc_set_owner, 1st argument is null mle-1.7.2/util.c:689:9: note: Dereferencing argument aproc that is null DONE