2026-05-01 18:01 ftp://ftp.de.debian.org/debian/pool/main/e/emacs-libvterm/emacs-libvterm_0.0.2+git20260406.54c29d1.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j6 platform: Linux-7.0.3+deb14-amd64-x86_64-with-glibc2.42 python: 3.13.12 client-version: 1.4.0 compiler: g++ (Debian 15.2.0-17) 15.2.0 cppcheck: head 2.20.0 head-info: e5c4a734 (2026-05-01 11:10:43 +0200) count: 97 98 elapsed-time: 0.4 0.3 head-timing-info: old-timing-info: head results: emacs-libvterm-0.0.2+git20260406.54c29d1/elisp.c:125:15: style: Local variable 'point' shadows outer function [shadowFunction] emacs-libvterm-0.0.2+git20260406.54c29d1/elisp.h:87:13: note: Shadowed declaration emacs-libvterm-0.0.2+git20260406.54c29d1/elisp.c:125:15: note: Shadow variable emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:141:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable chars [valueFlowBailoutIncompleteVar] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:202:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable chars [valueFlowBailoutIncompleteVar] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:241:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable chars [valueFlowBailoutIncompleteVar] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:907:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCOON [valueFlowBailoutIncompleteVar] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1254:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTERM_DAMAGE_SCROLL [valueFlowBailoutIncompleteVar] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1319:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTERM_MOD_NONE [valueFlowBailoutIncompleteVar] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1396:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1418:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICRNL [valueFlowBailoutIncompleteVar] emacs-libvterm-0.0.2+git20260406.54c29d1/utf8.c:8:17: style: Condition 'codepoint>=0x80' is always true [knownConditionTrueFalse] emacs-libvterm-0.0.2+git20260406.54c29d1/utf8.c:4:17: note: Assuming that condition 'codepoint<=0x7F' is not redundant emacs-libvterm-0.0.2+git20260406.54c29d1/utf8.c:8:17: note: Condition 'codepoint>=0x80' is always true emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:74:42: style: The statement 'if (term->lines[term->lines_len-1]!=NULL) term->lines[term->lines_len-1]=NULL' is logically equivalent to 'term->lines[term->lines_len-1]=NULL'. [duplicateConditionalAssign] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:76:40: note: Assignment 'term->lines[term->lines_len-1]=NULL' emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:74:42: note: Condition 'term->lines[term->lines_len-1]!=NULL' is redundant emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:348:11: error: Common realloc mistake: 'buffer' nulled but not freed upon failure [memleakOnRealloc] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:352:9: error: Common realloc mistake: 'buffer' nulled but not freed upon failure [memleakOnRealloc] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:358:13: error: Common realloc mistake: 'buffer' nulled but not freed upon failure [memleakOnRealloc] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:15:3: warning: If memory allocation fails, then there is a possible null pointer dereference: info [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:14:26: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:14:26: note: Assignment 'info=malloc(sizeof(struct LineInfo))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:15:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:16:3: warning: If memory allocation fails, then there is a possible null pointer dereference: info [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:14:26: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:14:26: note: Assignment 'info=malloc(sizeof(struct LineInfo))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:16:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:63:5: warning: If memory allocation fails, then there is a possible null pointer dereference: sbrow [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:62:19: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:62:19: note: Assignment 'sbrow=malloc(sizeof(struct ScrollbackLine)+c*sizeof(sbrow->cells[0]))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:63:5: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:64:5: warning: If memory allocation fails, then there is a possible null pointer dereference: sbrow [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:62:19: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:62:19: note: Assignment 'sbrow=malloc(sizeof(struct ScrollbackLine)+c*sizeof(sbrow->cells[0]))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:64:5: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:66:7: warning: If memory allocation fails, then there is a possible null pointer dereference: sbrow [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:62:19: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:62:19: note: Assignment 'sbrow=malloc(sizeof(struct ScrollbackLine)+c*sizeof(sbrow->cells[0]))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:66:7: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:69:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sbrow [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:62:19: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:62:19: note: Assignment 'sbrow=malloc(sizeof(struct ScrollbackLine)+c*sizeof(sbrow->cells[0]))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:69:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:696:12: warning: If memory allocation fails, then there is a possible null pointer dereference: str1 [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:695:18: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:695:18: note: Assignment 'str1=malloc(str2_len+1)', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:696:12: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:697:5: warning: If memory allocation fails, then there is a possible null pointer dereference: str1 [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:695:18: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:695:18: note: Assignment 'str1=malloc(str2_len+1)', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:697:5: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:702:10: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:701:21: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:701:21: note: Assignment 'buf=malloc(str1_len+str2_len+1)', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:702:10: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:704:3: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:701:21: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:701:21: note: Assignment 'buf=malloc(str1_len+str2_len+1)', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:704:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1103:5: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1102:37: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1102:37: note: Assignment 'node=malloc(sizeof(struct ElispCodeListNode))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1103:5: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1104:5: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1102:37: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1102:37: note: Assignment 'node=malloc(sizeof(struct ElispCodeListNode))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1104:5: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1104:25: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1102:37: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1102:37: note: Assignment 'node=malloc(sizeof(struct ElispCodeListNode))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1104:25: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1105:12: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1102:37: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1102:37: note: Assignment 'node=malloc(sizeof(struct ElispCodeListNode))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1105:12: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1106:5: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1102:37: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1102:37: note: Assignment 'node=malloc(sizeof(struct ElispCodeListNode))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1106:5: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1238:3: warning: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1238:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1239:18: warning: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1239:18: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1241:3: warning: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1241:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1241:35: warning: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1241:35: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1243:42: warning: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1243:42: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1248:39: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1248:39: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1252:22: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1252:22: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1253:30: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1253:30: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1254:33: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1254:33: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1255:33: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1255:33: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1256:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1256:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1257:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1257:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1258:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1258:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1259:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1259:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1260:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1260:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1261:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1261:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1261:55: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1261:55: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1262:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1262:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1263:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1263:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1264:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1264:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1265:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1265:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1266:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1266:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1267:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1267:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1268:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1268:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1269:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1269:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1270:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1270:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1271:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1271:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1273:23: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1273:23: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1276:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1276:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1276:19: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1276:19: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1277:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1277:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1278:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1278:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1280:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1280:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1282:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1282:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1283:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1283:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1285:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1285:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1286:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1286:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1287:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1287:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1288:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1288:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1289:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1289:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1290:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1290:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1291:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1291:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1292:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1292:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1293:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1293:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1294:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1294:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1295:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1295:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1296:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1296:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1297:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1297:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1299:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1299:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1301:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1301:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1302:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1302:3: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1304:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: term [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1227:22: note: Assignment 'term=malloc(sizeof(struct Term))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1304:5: note: Null pointer dereference emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:147:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:145:28: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:145:28: note: Assignment 'lines=malloc(sizeof(struct LineInfo*)*(term->lines_len+1))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:147:17: note: Null pointer addition emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1121:12: style: Redundant initialization for 'subCmd'. The initialized value is overwritten before it is read. [redundantInitialization] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1117:17: note: subCmd is initialized emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1121:12: note: subCmd is overwritten emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:762:66: style:inconclusive: Function 'render_text' argument 3 names different: declaration 'string' definition 'buffer'. [funcArgNamesDifferent] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.h:129:66: note: Function 'render_text' argument 3 names different: declaration 'string' definition 'buffer'. emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:762:66: note: Function 'render_text' argument 3 names different: declaration 'string' definition 'buffer'. emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:314:7: style: Local variable 'length' shadows outer function [shadowFunction] emacs-libvterm-0.0.2+git20260406.54c29d1/elisp.h:69:13: note: Shadowed declaration emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:314:7: note: Shadow variable emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:80:15: style: Variable 'lastline' can be declared as pointer to const [constVariablePointer] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:183:32: style: Parameter 'term' can be declared as pointer to const [constParameterPointer] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:187:32: style: Parameter 'term' can be declared as pointer to const [constParameterPointer] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:224:21: style: Variable 'sbrow' can be declared as pointer to const [constVariablePointer] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:249:13: style: Variable 'info' can be declared as pointer to const [constVariablePointer] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:435:17: style: Variable 'lastline' can be declared as pointer to const [constVariablePointer] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:685:35: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:685:58: style: Parameter 'key_description' can be declared as pointer to const [constParameterPointer] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:724:57: style: Parameter 'val' can be declared as pointer to const. However it seems that 'term_settermprop' is a callback function, if 'val' is declared with const you might also need to cast function pointer(s). [constParameterCallback] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:664:20: note: You might need to cast the function pointer here emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:724:57: note: Parameter 'val' can be declared as pointer to const emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1070:61: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:1412:9: style: Variable 'term' can be declared as pointer to const [constVariablePointer] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:372:16: style: Variable 'isprompt' is assigned a value that is never used. [unreadVariable] diff: 2.20.0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:148:3: warning: If memory allocation fails, then there is a possible null pointer dereference: lines [nullPointerOutOfMemory] emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:145:28: note: Assuming allocation function fails emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:145:28: note: Assignment 'lines=malloc(sizeof(struct LineInfo*)*(term->lines_len+1))', assigned value is 0 emacs-libvterm-0.0.2+git20260406.54c29d1/vterm-module.c:148:3: note: Null pointer dereference DONE