2025-07-03 20:13 ftp://ftp.de.debian.org/debian/pool/main/j/jgmenu/jgmenu_4.5.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=cairo --library=motif --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-6.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.17.0 head-info: a214e76 (2025-07-03 20:23:32 +0200) count: 377 378 elapsed-time: 1.9 1.9 head-timing-info: old-timing-info: head results: jgmenu-4.5.0/contrib/xdg/xdgapps.c:172:2: error: There is an unknown macro here somewhere. Configuration is required. If list_for_each_entry_safe is a macro then please configure it. [unknownMacro] jgmenu-4.5.0/contrib/xdg/t0007-xdgapps.c:17:2: error: There is an unknown macro here somewhere. Configuration is required. If list_for_each_entry is a macro then please configure it. [unknownMacro] jgmenu-4.5.0/contrib/xdg/jgmenu-xdg.c:175:4: error: There is an unknown macro here somewhere. Configuration is required. If list_for_each_entry is a macro then please configure it. [unknownMacro] jgmenu-4.5.0/contrib/lx/jgmenu-lx.c:42:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/contrib/lx/jgmenu-lx.c:230:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/back.c:78:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] jgmenu-4.5.0/contrib/lx/jgmenu-lx.c:55:2: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] jgmenu-4.5.0/contrib/lx/jgmenu-lx.c:53:13: note: Assuming allocation function fails jgmenu-4.5.0/contrib/lx/jgmenu-lx.c:53:13: note: Assignment 'm=xmalloc(sizeof(struct menu))', assigned value is 0 jgmenu-4.5.0/contrib/lx/jgmenu-lx.c:55:2: note: Null pointer dereference jgmenu-4.5.0/contrib/lx/jgmenu-lx.c:103:8: warning: Either the condition '!*exec' is redundant or there is possible null pointer dereference: *exec. [nullPointerRedundantCheck] jgmenu-4.5.0/contrib/lx/jgmenu-lx.c:103:17: note: Assuming that condition '!*exec' is not redundant jgmenu-4.5.0/contrib/lx/jgmenu-lx.c:103:8: note: Null pointer dereference jgmenu-4.5.0/contrib/lx/jgmenu-lx.c:205:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] jgmenu-4.5.0/src/list.h:213:20: style: Variable 'next' can be declared as pointer to const [constVariablePointer] jgmenu-4.5.0/src/list.h:313:55: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/src/cache.c:182:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/cache.c:208:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/cache.c:251:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/cache.c:187:3: error: Memory leak: linkname [memleak] jgmenu-4.5.0/src/cache.c:184:23: warning: If memory allocation fails, then there is a possible null pointer dereference: linkname [nullPointerOutOfMemory] jgmenu-4.5.0/src/cache.c:183:20: note: Assuming allocation function fails jgmenu-4.5.0/src/cache.c:183:20: note: Assignment 'linkname=xmalloc(bufsiz)', assigned value is 0 jgmenu-4.5.0/src/cache.c:184:23: note: Null pointer dereference jgmenu-4.5.0/src/cache.c:189:2: warning: If memory allocation fails, then there is a possible null pointer dereference: linkname [nullPointerOutOfMemory] jgmenu-4.5.0/src/cache.c:183:20: note: Assuming allocation function fails jgmenu-4.5.0/src/cache.c:183:20: note: Assignment 'linkname=xmalloc(bufsiz)', assigned value is 0 jgmenu-4.5.0/src/cache.c:185:8: note: Assuming condition is false jgmenu-4.5.0/src/cache.c:189:2: note: Null pointer dereference jgmenu-4.5.0/src/cache.c:236:32: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/src/cache.c:236:44: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/src/desktop.c:210:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DT_DIR [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/desktop.c:232:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/desktop.c:251:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/filter.c:40:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/filter.c:82:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/dirs.c:79:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/dirs.c:114:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/dirs.c:80:13: warning: Either the condition '!filename' is redundant or there is possible null pointer dereference: filename. [nullPointerRedundantCheck] jgmenu-4.5.0/src/dirs.c:79:2: note: Assuming that condition '!filename' is not redundant jgmenu-4.5.0/src/dirs.c:80:13: note: Null pointer dereference jgmenu-4.5.0/src/dirs.c:74:31: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/src/geometry.c:100:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/geometry.c:282:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/gtkconf.c:18:40: style: Parameter 'settingsini' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/src/gtkconf.c:49:8: style: Variable 'xdg_config_home' can be declared as pointer to const [constVariablePointer] jgmenu-4.5.0/src/desktop.c:113:8: warning: Either the condition '!*exec' is redundant or there is possible null pointer dereference: *exec. [nullPointerRedundantCheck] jgmenu-4.5.0/src/desktop.c:113:17: note: Assuming that condition '!*exec' is not redundant jgmenu-4.5.0/src/desktop.c:113:8: note: Null pointer dereference jgmenu-4.5.0/src/flex-array.h:76:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTMAX_MAX [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/desktop.c:84:45: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/src/desktop.c:145:36: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/src/hooks.c:53:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/hooks.c:65:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/hooks.c:186:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/hooks.c:84:2: warning: If memory allocation fails, then there is a possible null pointer dereference: hook [nullPointerOutOfMemory] jgmenu-4.5.0/src/hooks.c:83:15: note: Assuming allocation function fails jgmenu-4.5.0/src/hooks.c:83:15: note: Assignment 'hook=malloc(sizeof(struct hook))', assigned value is 0 jgmenu-4.5.0/src/hooks.c:84:2: note: Null pointer dereference jgmenu-4.5.0/src/hooks.c:85:2: warning: If memory allocation fails, then there is a possible null pointer dereference: hook [nullPointerOutOfMemory] jgmenu-4.5.0/src/hooks.c:83:15: note: Assuming allocation function fails jgmenu-4.5.0/src/hooks.c:83:15: note: Assignment 'hook=malloc(sizeof(struct hook))', assigned value is 0 jgmenu-4.5.0/src/hooks.c:85:2: note: Null pointer dereference jgmenu-4.5.0/src/i18n.c:79:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/i18n.c:124:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/i18n.c:159:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/i18n.c:232:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/icon-find.c:48:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/icon-find.c:86:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/icon-find.c:110:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/icon-find.c:134:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/icon-find.c:151:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/icon-find.c:165:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/icon-find.c:222:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/icon-find.c:251:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DT_DIR [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/icon-find.c:273:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/icon-find.c:332:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/icon-find.c:355:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/icon-find.c:406:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/hashmap.c:69:23: warning: Either the condition 'initial_size>size' is redundant or xcalloc() argument nr 1 can have invalid value. The value is 0 but the valid values are '1:'. [invalidFunctionArg] jgmenu-4.5.0/src/hashmap.c:269:54: note: Calling function 'hashmap_init', 3rd argument '0' value is 0 jgmenu-4.5.0/src/hashmap.c:146:22: note: Assuming that condition 'initial_size>size' is not redundant jgmenu-4.5.0/src/hashmap.c:148:19: note: Calling function 'alloc_table', 2nd argument 'size' value is 0 jgmenu-4.5.0/src/hashmap.c:69:23: note: Invalid argument jgmenu-4.5.0/src/hashmap.h:71:2: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] jgmenu-4.5.0/src/hashmap.c:277:3: note: Assuming allocation function fails jgmenu-4.5.0/src/hashmap.c:277:3: note: Assignment 'e=xcalloc(1,st_add(st_add(sizeof(*(e)),flex_array_len_),1))', assigned value is 0 jgmenu-4.5.0/src/hashmap.c:278:22: note: Calling function 'hashmap_entry_init', 1st argument 'e' value is 0 jgmenu-4.5.0/src/hashmap.h:69:28: note: Assignment 'e=entry', assigned value is 0 jgmenu-4.5.0/src/hashmap.h:71:2: note: Null pointer dereference jgmenu-4.5.0/src/hashmap.h:72:2: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] jgmenu-4.5.0/src/hashmap.c:277:3: note: Assuming allocation function fails jgmenu-4.5.0/src/hashmap.c:277:3: note: Assignment 'e=xcalloc(1,st_add(st_add(sizeof(*(e)),flex_array_len_),1))', assigned value is 0 jgmenu-4.5.0/src/hashmap.c:278:22: note: Calling function 'hashmap_entry_init', 1st argument 'e' value is 0 jgmenu-4.5.0/src/hashmap.h:69:28: note: Assignment 'e=entry', assigned value is 0 jgmenu-4.5.0/src/hashmap.h:72:2: note: Null pointer dereference jgmenu-4.5.0/src/hashmap.c:187:3: warning: If memory allocation fails, then there is a possible null pointer dereference: (struct hashmap_entry*)entry [nullPointerOutOfMemory] jgmenu-4.5.0/src/hashmap.c:277:3: note: Assuming allocation function fails jgmenu-4.5.0/src/hashmap.c:277:3: note: Assignment 'e=xcalloc(1,st_add(st_add(sizeof(*(e)),flex_array_len_),1))', assigned value is 0 jgmenu-4.5.0/src/hashmap.c:280:21: note: Calling function 'hashmap_add', 2nd argument 'e' value is 0 jgmenu-4.5.0/src/hashmap.c:187:3: note: Null pointer dereference jgmenu-4.5.0/src/hashmap.c:277:3: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] jgmenu-4.5.0/src/hashmap.c:277:3: note: Assuming allocation function fails jgmenu-4.5.0/src/hashmap.c:277:3: note: Assignment 'e=xcalloc(1,st_add(st_add(sizeof(*(e)),flex_array_len_),1))', assigned value is 0 jgmenu-4.5.0/src/hashmap.c:277:3: note: Null pointer dereference jgmenu-4.5.0/src/hashmap.c:279:3: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] jgmenu-4.5.0/src/hashmap.c:277:3: note: Assuming allocation function fails jgmenu-4.5.0/src/hashmap.c:277:3: note: Assignment 'e=xcalloc(1,st_add(st_add(sizeof(*(e)),flex_array_len_),1))', assigned value is 0 jgmenu-4.5.0/src/hashmap.c:279:3: note: Null pointer dereference jgmenu-4.5.0/src/hashmap.c:282:9: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] jgmenu-4.5.0/src/hashmap.c:277:3: note: Assuming allocation function fails jgmenu-4.5.0/src/hashmap.c:277:3: note: Assignment 'e=xcalloc(1,st_add(st_add(sizeof(*(e)),flex_array_len_),1))', assigned value is 0 jgmenu-4.5.0/src/hashmap.c:282:9: note: Null pointer dereference jgmenu-4.5.0/src/hashmap.c:35:17: style: Variable 'ucbuf' can be declared as pointer to const [constVariablePointer] jgmenu-4.5.0/src/hashmap.c:48:17: style: Variable 'ucbuf' can be declared as pointer to const [constVariablePointer] jgmenu-4.5.0/src/icon.c:173:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/icon.c:210:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/icon.c:281:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/icon.c:292:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/hashmap.h:71:2: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] jgmenu-4.5.0/src/i18n.c:33:34: note: Assuming allocation function fails jgmenu-4.5.0/src/i18n.c:33:34: note: Assignment 'entry=malloc(sizeof(struct map_entry)+klen+vlen+2)', assigned value is 0 jgmenu-4.5.0/src/i18n.c:35:21: note: Calling function 'hashmap_entry_init', 1st argument 'entry' value is 0 jgmenu-4.5.0/src/hashmap.h:69:28: note: Assignment 'e=entry', assigned value is 0 jgmenu-4.5.0/src/hashmap.h:71:2: note: Null pointer dereference jgmenu-4.5.0/src/hashmap.h:72:2: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] jgmenu-4.5.0/src/i18n.c:33:34: note: Assuming allocation function fails jgmenu-4.5.0/src/i18n.c:33:34: note: Assignment 'entry=malloc(sizeof(struct map_entry)+klen+vlen+2)', assigned value is 0 jgmenu-4.5.0/src/i18n.c:35:21: note: Calling function 'hashmap_entry_init', 1st argument 'entry' value is 0 jgmenu-4.5.0/src/hashmap.h:69:28: note: Assignment 'e=entry', assigned value is 0 jgmenu-4.5.0/src/hashmap.h:72:2: note: Null pointer dereference jgmenu-4.5.0/src/i18n.c:36:9: warning: If memory allocation fails, then there is a possible null pointer dereference: entry [nullPointerOutOfMemory] jgmenu-4.5.0/src/i18n.c:33:34: note: Assuming allocation function fails jgmenu-4.5.0/src/i18n.c:33:34: note: Assignment 'entry=malloc(sizeof(struct map_entry)+klen+vlen+2)', assigned value is 0 jgmenu-4.5.0/src/i18n.c:36:9: note: Null pointer dereference jgmenu-4.5.0/src/i18n.c:37:9: warning: If memory allocation fails, then there is a possible null pointer dereference: entry [nullPointerOutOfMemory] jgmenu-4.5.0/src/i18n.c:33:34: note: Assuming allocation function fails jgmenu-4.5.0/src/i18n.c:33:34: note: Assignment 'entry=malloc(sizeof(struct map_entry)+klen+vlen+2)', assigned value is 0 jgmenu-4.5.0/src/i18n.c:37:9: note: Null pointer dereference jgmenu-4.5.0/src/i18n.c:80:14: warning: Either the condition '!line' is redundant or there is possible null pointer dereference: line. [nullPointerRedundantCheck] jgmenu-4.5.0/src/i18n.c:79:2: note: Assuming that condition '!line' is not redundant jgmenu-4.5.0/src/i18n.c:80:14: note: Null pointer dereference jgmenu-4.5.0/src/i18n.c:125:6: warning: Either the condition '!translation_file' is redundant or there is possible null pointer dereference: translation_file. [nullPointerRedundantCheck] jgmenu-4.5.0/src/i18n.c:124:2: note: Assuming that condition '!translation_file' is not redundant jgmenu-4.5.0/src/i18n.c:125:6: note: Null pointer dereference jgmenu-4.5.0/src/i18n.c:160:4: warning: Either the condition '!p' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] jgmenu-4.5.0/src/i18n.c:159:3: note: Assuming that condition '!p' is not redundant jgmenu-4.5.0/src/i18n.c:160:4: note: Null pointer dereference jgmenu-4.5.0/src/i18n.c:169:4: warning: Either the condition '!p' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] jgmenu-4.5.0/src/i18n.c:168:3: note: Assuming that condition '!p' is not redundant jgmenu-4.5.0/src/i18n.c:169:4: note: Null pointer dereference jgmenu-4.5.0/src/i18n.c:233:6: warning: Either the condition '!s' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] jgmenu-4.5.0/src/i18n.c:232:2: note: Assuming that condition '!s' is not redundant jgmenu-4.5.0/src/i18n.c:233:6: note: Null pointer dereference jgmenu-4.5.0/src/i18n.c:233:7: warning: Either the condition '!s->buf' is redundant or there is possible null pointer dereference: s->buf. [nullPointerRedundantCheck] jgmenu-4.5.0/src/i18n.c:232:2: note: Assuming that condition '!s->buf' is not redundant jgmenu-4.5.0/src/i18n.c:233:7: note: Null pointer dereference jgmenu-4.5.0/src/i18n.c:237:21: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] jgmenu-4.5.0/src/i18n.c:236:15: note: Assuming allocation function fails jgmenu-4.5.0/src/i18n.c:236:15: note: Assignment 'tmp=xstrdup(s->buf)', assigned value is 0 jgmenu-4.5.0/src/i18n.c:237:21: note: Null pointer dereference jgmenu-4.5.0/src/i18n.c:30:54: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/src/i18n.c:31:16: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/src/i18n.c:103:30: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/src/i18n.c:179:8: style: Variable 'jgmenu_verbosity' can be declared as pointer to const [constVariablePointer] jgmenu-4.5.0/src/i18n.c:216:20: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] jgmenu-4.5.0/src/i18n.c:228:33: style: Variable 'translation' can be declared as pointer to const [constVariablePointer] jgmenu-4.5.0/src/icon.c:179:2: warning: If memory allocation fails, then there is a possible null pointer dereference: icon [nullPointerOutOfMemory] jgmenu-4.5.0/src/icon.c:177:16: note: Assuming allocation function fails jgmenu-4.5.0/src/icon.c:177:16: note: Assignment 'icon=xmalloc(sizeof(struct icon))', assigned value is 0 jgmenu-4.5.0/src/icon.c:179:2: note: Null pointer dereference jgmenu-4.5.0/src/icon.c:181:2: warning: If memory allocation fails, then there is a possible null pointer dereference: icon [nullPointerOutOfMemory] jgmenu-4.5.0/src/icon.c:177:16: note: Assuming allocation function fails jgmenu-4.5.0/src/icon.c:177:16: note: Assignment 'icon=xmalloc(sizeof(struct icon))', assigned value is 0 jgmenu-4.5.0/src/icon.c:181:2: note: Null pointer dereference jgmenu-4.5.0/src/icon.c:239:3: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] jgmenu-4.5.0/src/icon.c:236:17: note: Assuming allocation function fails jgmenu-4.5.0/src/icon.c:236:17: note: Assignment 'path=xcalloc(1,sizeof(struct icon_path))', assigned value is 0 jgmenu-4.5.0/src/icon.c:239:3: note: Null pointer dereference jgmenu-4.5.0/src/ipc.c:84:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/isprog.c:47:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IXOTH [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/isprog.c:67:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/isprog.c:32:3: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] jgmenu-4.5.0/src/isprog.c:31:15: note: Assuming allocation function fails jgmenu-4.5.0/src/isprog.c:31:15: note: Assignment 'tmp=malloc(sizeof(struct path_segment))', assigned value is 0 jgmenu-4.5.0/src/isprog.c:32:3: note: Null pointer dereference jgmenu-4.5.0/src/isprog.c:34:14: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] jgmenu-4.5.0/src/isprog.c:25:15: note: Assuming allocation function fails jgmenu-4.5.0/src/isprog.c:25:15: note: Assignment 'path=strdup(getenv("PATH"))', assigned value is 0 jgmenu-4.5.0/src/isprog.c:29:6: note: Assignment 'p=path', assigned value is 0 jgmenu-4.5.0/src/isprog.c:34:14: note: Null pointer dereference jgmenu-4.5.0/src/icon-find.c:190:14: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] jgmenu-4.5.0/src/icon-find.c:184:12: note: Assuming allocation function fails jgmenu-4.5.0/src/icon-find.c:184:12: note: Assignment 's=strdup(fpath+base_dir_length)', assigned value is 0 jgmenu-4.5.0/src/icon-find.c:190:14: note: Null pointer dereference jgmenu-4.5.0/src/icon-find.c:80:53: style: Parameter 'parent_themes' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/src/icon-find.c:83:17: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] jgmenu-4.5.0/src/icon-find.c:247:34: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/src/icon-find.c:327:46: style: Parameter 'icons' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/src/ipc.c:114:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] jgmenu-4.5.0/contrib/xfce4-panel/jgmenu-applet.c:36:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XFCE_LICENSE_TEXT_GPL [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/contrib/xfce4-panel/jgmenu-applet.c:51:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_GINT16_FORMAT [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/contrib/xfce4-panel/jgmenu-applet.c:70:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu-apps.c:148:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu-apps.c:258:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu-config.c:246:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu-apps.c:151:27: warning: Either the condition '!dir' is redundant or there is possible null pointer dereference: dir. [nullPointerRedundantCheck] jgmenu-4.5.0/src/jgmenu-apps.c:148:2: note: Assuming that condition '!dir' is not redundant jgmenu-4.5.0/src/jgmenu-apps.c:151:27: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu-apps.c:83:8: style: Variable 'name' can be declared as pointer to const [constVariablePointer] jgmenu-4.5.0/src/jgmenu-apps.c:83:15: style: Variable 'generic_name' can be declared as pointer to const [constVariablePointer] jgmenu-4.5.0/src/jgmenu-apps.c:124:44: style: Parameter 'app' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/src/jgmenu-apps.c:142:72: style: Parameter 'dir' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/src/jgmenu-config.c:192:8: style: Variable 'key' can be declared as pointer to const [constVariablePointer] jgmenu-4.5.0/src/jgmenu-config.c:192:21: style: Variable 'value' can be declared as pointer to const [constVariablePointer] jgmenu-4.5.0/src/jgmenu-config.c:192:36: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] jgmenu-4.5.0/src/jgmenu-i18n.c:44:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu-i18n.c:62:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu-i18n.c:72:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu-socket.c:21:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu-i18n.c:45:6: warning: Either the condition '!buf' is redundant or there is possible null pointer dereference: buf. [nullPointerRedundantCheck] jgmenu-4.5.0/src/jgmenu-i18n.c:44:2: note: Assuming that condition '!buf' is not redundant jgmenu-4.5.0/src/jgmenu-i18n.c:45:6: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu-i18n.c:42:12: style: Variable 'translation' can be declared as pointer to const [constVariablePointer] jgmenu-4.5.0/src/jgmenu-i18n.c:58:39: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/src/jgmenu-socket.c:15:8: style: Variable 'jgmenu_verbosity' can be declared as pointer to const [constVariablePointer] jgmenu-4.5.0/src/jgmenu-obtheme.c:225:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBXML_TEST_VERSION [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu-obtheme.c:231:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] jgmenu-4.5.0/src/jgmenu-ob.c:62:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu-ob.c:105:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu-ob.c:121:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu-ob.c:141:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu-ob.c:233:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu-ob.c:415:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu-ob.c:449:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/lockfile.c:33:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/lockfile.c:36:12: warning: Either the condition 'fd<0' is redundant or close() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] jgmenu-4.5.0/src/lockfile.c:34:9: note: Assuming that condition 'fd<0' is not redundant jgmenu-4.5.0/src/lockfile.c:36:12: note: Invalid argument jgmenu-4.5.0/src/pm.c:42:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/pm.c:52:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/pm.c:66:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/pm.c:74:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/restart.c:28:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/pm.c:32:2: warning: If memory allocation fails, then there is a possible null pointer dereference: pm [nullPointerOutOfMemory] jgmenu-4.5.0/src/pm.c:31:14: note: Assuming allocation function fails jgmenu-4.5.0/src/pm.c:31:14: note: Assignment 'pm=xmalloc(sizeof(struct pm))', assigned value is 0 jgmenu-4.5.0/src/pm.c:32:2: note: Null pointer dereference jgmenu-4.5.0/src/pm.c:33:2: warning: If memory allocation fails, then there is a possible null pointer dereference: pm [nullPointerOutOfMemory] jgmenu-4.5.0/src/pm.c:31:14: note: Assuming allocation function fails jgmenu-4.5.0/src/pm.c:31:14: note: Assignment 'pm=xmalloc(sizeof(struct pm))', assigned value is 0 jgmenu-4.5.0/src/pm.c:33:2: note: Null pointer dereference jgmenu-4.5.0/src/pm.c:34:2: warning: If memory allocation fails, then there is a possible null pointer dereference: pm [nullPointerOutOfMemory] jgmenu-4.5.0/src/pm.c:31:14: note: Assuming allocation function fails jgmenu-4.5.0/src/pm.c:31:14: note: Assignment 'pm=xmalloc(sizeof(struct pm))', assigned value is 0 jgmenu-4.5.0/src/pm.c:34:2: note: Null pointer dereference jgmenu-4.5.0/src/pm.c:38:27: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/src/jgmenu-ob.c:160:2: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] jgmenu-4.5.0/src/jgmenu-ob.c:159:16: note: Assuming allocation function fails jgmenu-4.5.0/src/jgmenu-ob.c:159:16: note: Assignment 'item=xmalloc(sizeof(struct item))', assigned value is 0 jgmenu-4.5.0/src/jgmenu-ob.c:160:2: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu-ob.c:161:2: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] jgmenu-4.5.0/src/jgmenu-ob.c:159:16: note: Assuming allocation function fails jgmenu-4.5.0/src/jgmenu-ob.c:159:16: note: Assignment 'item=xmalloc(sizeof(struct item))', assigned value is 0 jgmenu-4.5.0/src/jgmenu-ob.c:161:2: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu-ob.c:162:2: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] jgmenu-4.5.0/src/jgmenu-ob.c:159:16: note: Assuming allocation function fails jgmenu-4.5.0/src/jgmenu-ob.c:159:16: note: Assignment 'item=xmalloc(sizeof(struct item))', assigned value is 0 jgmenu-4.5.0/src/jgmenu-ob.c:162:2: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu-ob.c:163:2: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] jgmenu-4.5.0/src/jgmenu-ob.c:159:16: note: Assuming allocation function fails jgmenu-4.5.0/src/jgmenu-ob.c:159:16: note: Assignment 'item=xmalloc(sizeof(struct item))', assigned value is 0 jgmenu-4.5.0/src/jgmenu-ob.c:163:2: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu-ob.c:164:2: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] jgmenu-4.5.0/src/jgmenu-ob.c:159:16: note: Assuming allocation function fails jgmenu-4.5.0/src/jgmenu-ob.c:159:16: note: Assignment 'item=xmalloc(sizeof(struct item))', assigned value is 0 jgmenu-4.5.0/src/jgmenu-ob.c:164:2: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu-ob.c:166:3: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] jgmenu-4.5.0/src/jgmenu-ob.c:159:16: note: Assuming allocation function fails jgmenu-4.5.0/src/jgmenu-ob.c:159:16: note: Assignment 'item=xmalloc(sizeof(struct item))', assigned value is 0 jgmenu-4.5.0/src/jgmenu-ob.c:166:3: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu-ob.c:168:3: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] jgmenu-4.5.0/src/jgmenu-ob.c:159:16: note: Assuming allocation function fails jgmenu-4.5.0/src/jgmenu-ob.c:159:16: note: Assignment 'item=xmalloc(sizeof(struct item))', assigned value is 0 jgmenu-4.5.0/src/jgmenu-ob.c:168:3: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu-ob.c:193:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] jgmenu-4.5.0/src/jgmenu-ob.c:179:25: note: Assuming allocation function fails jgmenu-4.5.0/src/jgmenu-ob.c:179:25: note: Assignment 't=xcalloc(1,sizeof(struct tag))', assigned value is 0 jgmenu-4.5.0/src/jgmenu-ob.c:193:2: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu-ob.c:194:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] jgmenu-4.5.0/src/jgmenu-ob.c:179:25: note: Assuming allocation function fails jgmenu-4.5.0/src/jgmenu-ob.c:179:25: note: Assignment 't=xcalloc(1,sizeof(struct tag))', assigned value is 0 jgmenu-4.5.0/src/jgmenu-ob.c:194:2: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu-ob.c:489:38: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] jgmenu-4.5.0/src/jgmenu-ob.c:482:13: note: Assuming allocation function fails jgmenu-4.5.0/src/jgmenu-ob.c:482:13: note: Assignment 'fp=fopen(default_file.buf,"r")', assigned value is 0 jgmenu-4.5.0/src/jgmenu-ob.c:489:38: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu-ob.c:52:8: style: Variable 't9n' can be declared as pointer to const [constVariablePointer] jgmenu-4.5.0/src/jgmenu-ob.c:226:65: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/src/jgmenu-ob.c:445:6: style: Unused variable: i [unusedVariable] jgmenu-4.5.0/src/sbuf.c:240:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/set.c:95:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/set.c:137:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/sbuf.c:36:6: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] jgmenu-4.5.0/src/sbuf.c:229:22: note: Assuming allocation function fails jgmenu-4.5.0/src/sbuf.c:229:22: note: Assignment 'new_string=xmalloc(sizeof(struct sbuf))', assigned value is 0 jgmenu-4.5.0/src/sbuf.c:231:14: note: Calling function 'sbuf_addstr', 1st argument 'new_string' value is 0 jgmenu-4.5.0/src/sbuf.c:33:12: note: Assuming condition is false jgmenu-4.5.0/src/sbuf.c:36:6: note: Null pointer dereference jgmenu-4.5.0/src/sbuf.c:36:19: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] jgmenu-4.5.0/src/sbuf.c:229:22: note: Assuming allocation function fails jgmenu-4.5.0/src/sbuf.c:229:22: note: Assignment 'new_string=xmalloc(sizeof(struct sbuf))', assigned value is 0 jgmenu-4.5.0/src/sbuf.c:231:14: note: Calling function 'sbuf_addstr', 1st argument 'new_string' value is 0 jgmenu-4.5.0/src/sbuf.c:33:12: note: Assuming condition is false jgmenu-4.5.0/src/sbuf.c:36:19: note: Null pointer dereference jgmenu-4.5.0/src/sbuf.c:204:15: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] jgmenu-4.5.0/src/sbuf.c:201:14: note: Assuming allocation function fails jgmenu-4.5.0/src/sbuf.c:201:14: note: Assignment 'str=strdup(data)', assigned value is 0 jgmenu-4.5.0/src/sbuf.c:204:15: note: Null pointer dereference jgmenu-4.5.0/src/sbuf.c:71:22: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] jgmenu-4.5.0/src/sbuf.c:69:15: note: Assuming allocation function fails jgmenu-4.5.0/src/sbuf.c:69:15: note: Assignment 'data=strdup(s->buf)', assigned value is 0 jgmenu-4.5.0/src/sbuf.c:71:22: note: Null pointer addition jgmenu-4.5.0/src/sbuf.c:112:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] jgmenu-4.5.0/src/sbuf.c:236:39: style: Parameter 'sl' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/src/spawn.c:18:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/spawn.c:87:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WUNTRACED [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/spawn.c:111:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/contrib/xfce4-panel/jgmenu-applet.c:282:63: style: Parameter 'name' can be declared as pointer to const. However it seems that 'jgmenu_remote' is a callback function, if 'name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] jgmenu-4.5.0/contrib/xfce4-panel/jgmenu-applet.c:317:2: note: You might need to cast the function pointer here jgmenu-4.5.0/contrib/xfce4-panel/jgmenu-applet.c:282:63: note: Parameter 'name' can be declared as pointer to const jgmenu-4.5.0/src/terminal.c:41:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/unix_sockets.c:25:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/unix_sockets.c:50:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/unix_sockets.c:76:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/unix_sockets.c:103:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/theme.c:18:6: warning: Either the condition '!theme' is redundant or there is possible null pointer dereference: theme. [nullPointerRedundantCheck] jgmenu-4.5.0/src/theme.c:16:6: note: Assuming that condition '!theme' is not redundant jgmenu-4.5.0/src/theme.c:18:6: note: Null pointer dereference jgmenu-4.5.0/src/util.c:22:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/util.c:33:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/util.c:44:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/util.c:205:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/util.c:230:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/util.c:285:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:163:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:174:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:192:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:206:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable filter [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:211:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable filter [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:219:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable filter [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:227:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable filter [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:239:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable filter [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:262:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable filter [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:342:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable filter [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:359:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable filter [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:377:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable master [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:438:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable filter [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:670:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable filter [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:714:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:729:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable master [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:779:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable master [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:804:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable master [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:817:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable master [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:827:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:840:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable master [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:848:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:869:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable master [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:922:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:1053:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:1065:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:1081:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:1112:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:1123:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:1151:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable master [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:1227:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:1318:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable master [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:1347:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:1373:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable master [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:1390:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable master [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:1404:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:1448:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:1458:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:1507:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:1520:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CurrentTime [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:1640:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoSymbol [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:1838:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:1887:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button1 [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:1931:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button1 [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:1952:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_MONOTONIC [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:1970:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable master [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:1981:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:2001:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable filter [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:2029:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:2037:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_ERR [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:2057:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ITIMER_REAL [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:2077:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:2204:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:2247:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable master [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:2465:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:2505:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:2580:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:2690:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/util.c:206:57: warning: Either the condition '!msg' is redundant or there is possible null pointer dereference: msg. [nullPointerRedundantCheck] jgmenu-4.5.0/src/util.c:205:2: note: Assuming that condition '!msg' is not redundant jgmenu-4.5.0/src/util.c:206:57: note: Null pointer dereference jgmenu-4.5.0/src/util.c:206:62: warning: Either the condition '!val' is redundant or there is possible null pointer dereference: val. [nullPointerRedundantCheck] jgmenu-4.5.0/src/util.c:205:2: note: Assuming that condition '!val' is not redundant jgmenu-4.5.0/src/util.c:206:62: note: Null pointer dereference jgmenu-4.5.0/src/util.c:206:67: warning: Either the condition '!key' is redundant or there is possible null pointer dereference: key. [nullPointerRedundantCheck] jgmenu-4.5.0/src/util.c:205:2: note: Assuming that condition '!key' is not redundant jgmenu-4.5.0/src/util.c:206:67: note: Null pointer dereference jgmenu-4.5.0/src/util.c:159:24: style: Parameter 'hex' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/src/widgets.c:153:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/widgets.c:196:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/widgets.c:219:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/widgets.c:235:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/widgets.c:300:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/widgets.c:291:3: error: Memory leak: w [memleak] jgmenu-4.5.0/src/widgets.c:294:1: error: Memory leak: w [memleak] jgmenu-4.5.0/src/config.c:480:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/widgets.c:271:2: warning: If memory allocation fails, then there is a possible null pointer dereference: w [nullPointerOutOfMemory] jgmenu-4.5.0/src/widgets.c:264:13: note: Assuming allocation function fails jgmenu-4.5.0/src/widgets.c:264:13: note: Assignment 'w=xcalloc(1,sizeof(struct widget))', assigned value is 0 jgmenu-4.5.0/src/widgets.c:271:2: note: Null pointer dereference jgmenu-4.5.0/src/widgets.c:272:2: warning: If memory allocation fails, then there is a possible null pointer dereference: w [nullPointerOutOfMemory] jgmenu-4.5.0/src/widgets.c:264:13: note: Assuming allocation function fails jgmenu-4.5.0/src/widgets.c:264:13: note: Assignment 'w=xcalloc(1,sizeof(struct widget))', assigned value is 0 jgmenu-4.5.0/src/widgets.c:272:2: note: Null pointer dereference jgmenu-4.5.0/src/widgets.c:273:2: warning: If memory allocation fails, then there is a possible null pointer dereference: w [nullPointerOutOfMemory] jgmenu-4.5.0/src/widgets.c:264:13: note: Assuming allocation function fails jgmenu-4.5.0/src/widgets.c:264:13: note: Assignment 'w=xcalloc(1,sizeof(struct widget))', assigned value is 0 jgmenu-4.5.0/src/widgets.c:273:2: note: Null pointer dereference jgmenu-4.5.0/src/widgets.c:274:38: warning: If memory allocation fails, then there is a possible null pointer dereference: w [nullPointerOutOfMemory] jgmenu-4.5.0/src/widgets.c:264:13: note: Assuming allocation function fails jgmenu-4.5.0/src/widgets.c:264:13: note: Assignment 'w=xcalloc(1,sizeof(struct widget))', assigned value is 0 jgmenu-4.5.0/src/widgets.c:274:38: note: Null pointer dereference jgmenu-4.5.0/src/widgets.c:251:45: style: Parameter 'from' can be declared as const array [constParameter] jgmenu-4.5.0/src/x11-ui.c:47:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Success [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/x11-ui.c:57:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XA_CARDINAL [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/x11-ui.c:72:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_OPERATOR_SOURCE [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/x11-ui.c:85:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GrabSuccess [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/x11-ui.c:107:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonPressMask [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/x11-ui.c:123:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TrueColor [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/x11-ui.c:194:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/x11-ui.c:250:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable override_redirect [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/x11-ui.c:382:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/x11-ui.c:561:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_SCALE [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/x11-ui.c:595:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/x11-ui.c:630:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CurrentTime [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/xdgdirs.c:80:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/x11-ui.c:143:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ui [nullPointerOutOfMemory] jgmenu-4.5.0/src/x11-ui.c:141:14: note: Assuming allocation function fails jgmenu-4.5.0/src/x11-ui.c:141:14: note: Assignment 'ui=xcalloc(1,sizeof(*ui))', assigned value is 0 jgmenu-4.5.0/src/x11-ui.c:143:2: note: Null pointer dereference jgmenu-4.5.0/src/x11-ui.c:144:7: warning: If memory allocation fails, then there is a possible null pointer dereference: ui [nullPointerOutOfMemory] jgmenu-4.5.0/src/x11-ui.c:141:14: note: Assuming allocation function fails jgmenu-4.5.0/src/x11-ui.c:141:14: note: Assignment 'ui=xcalloc(1,sizeof(*ui))', assigned value is 0 jgmenu-4.5.0/src/x11-ui.c:144:7: note: Null pointer dereference jgmenu-4.5.0/src/x11-ui.c:195:6: warning: Either the condition '!sr' is redundant or there is possible null pointer dereference: sr. [nullPointerRedundantCheck] jgmenu-4.5.0/src/x11-ui.c:194:2: note: Assuming that condition '!sr' is not redundant jgmenu-4.5.0/src/x11-ui.c:195:6: note: Null pointer dereference jgmenu-4.5.0/src/x11-ui.c:218:8: warning: Either the condition '!ci' is redundant or there is possible null pointer dereference: ci. [nullPointerRedundantCheck] jgmenu-4.5.0/src/x11-ui.c:217:3: note: Assuming that condition '!ci' is not redundant jgmenu-4.5.0/src/x11-ui.c:218:8: note: Null pointer dereference jgmenu-4.5.0/src/x11-ui.c:230:8: warning: Either the condition '!ci' is redundant or there is possible null pointer dereference: ci. [nullPointerRedundantCheck] jgmenu-4.5.0/src/x11-ui.c:228:6: note: Assuming that condition '!ci' is not redundant jgmenu-4.5.0/src/x11-ui.c:230:8: note: Null pointer dereference jgmenu-4.5.0/src/x11-ui.c:231:8: warning: Either the condition '!ci' is redundant or there is possible null pointer dereference: ci. [nullPointerRedundantCheck] jgmenu-4.5.0/src/x11-ui.c:228:6: note: Assuming that condition '!ci' is not redundant jgmenu-4.5.0/src/x11-ui.c:231:8: note: Null pointer dereference jgmenu-4.5.0/src/x11-ui.c:232:11: warning: Either the condition '!ci' is redundant or there is possible null pointer dereference: ci. [nullPointerRedundantCheck] jgmenu-4.5.0/src/x11-ui.c:228:6: note: Assuming that condition '!ci' is not redundant jgmenu-4.5.0/src/x11-ui.c:232:11: note: Null pointer dereference jgmenu-4.5.0/src/x11-ui.c:233:12: warning: Either the condition '!ci' is redundant or there is possible null pointer dereference: ci. [nullPointerRedundantCheck] jgmenu-4.5.0/src/x11-ui.c:228:6: note: Assuming that condition '!ci' is not redundant jgmenu-4.5.0/src/x11-ui.c:233:12: note: Null pointer dereference jgmenu-4.5.0/src/x11-ui.c:177:63: style: Parameter 'ci' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/src/t2conf.c:59:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/t2conf.c:383:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/xsettings.c:48:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSBFirst [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/xsettings.c:127:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSBFirst [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/xsettings.c:264:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/xsettings.c:306:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/xsettings-helper.c:14:44: style: Parameter 'setting' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/tests/helper/filter-out.c:9:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/xpm-loader.c:222:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/xpm-loader.c:265:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/xpm-loader.c:487:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u_int32_t [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/xpm-loader.c:542:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/tests/helper/test-argv-buf.c:29:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/tests/helper/test-argv-buf.c:32:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] jgmenu-4.5.0/tests/helper/test-argv-buf.c:35:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] jgmenu-4.5.0/tests/helper/test-argv-buf.c:6:38: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/tests/helper/test-argv-buf.c:30:9: style: Variable 'cmd' can be declared as pointer to const [constVariablePointer] jgmenu-4.5.0/src/xsettings.c:48:26: style: Condition '*(char*)&myint==1' is always false [knownConditionTrueFalse] jgmenu-4.5.0/src/xsettings.c:46:17: note: Assignment 'myint=0x01020304', assigned value is 16909060 jgmenu-4.5.0/src/xsettings.c:48:26: note: Condition '*(char*)&myint==1' is always false jgmenu-4.5.0/src/xsettings.c:51:39: style: Parameter 'display' can be declared as pointer to const. However it seems that 'ignore_x11_errors' is a callback function, if 'display' is declared with const you might also need to cast function pointer(s). [constParameterCallback] jgmenu-4.5.0/src/xsettings.c:254:33: note: You might need to cast the function pointer here jgmenu-4.5.0/src/xsettings.c:51:39: note: Parameter 'display' can be declared as pointer to const jgmenu-4.5.0/src/xsettings.c:51:61: style: Parameter 'event' can be declared as pointer to const. However it seems that 'ignore_x11_errors' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] jgmenu-4.5.0/src/xsettings.c:254:33: note: You might need to cast the function pointer here jgmenu-4.5.0/src/xsettings.c:51:61: note: Parameter 'event' can be declared as pointer to const jgmenu-4.5.0/tests/helper/test-sbuf.c:13:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/tests/helper/test-hashmap.c:153:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/tests/helper/test-sbuf.c:16:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] jgmenu-4.5.0/tests/helper/test-sbuf.c:19:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] jgmenu-4.5.0/tests/helper/test-sbuf.c:14:23: style: Variable 'cmd' can be declared as pointer to const [constVariablePointer] jgmenu-4.5.0/tests/helper/test-xdgdirs.c:21:2: error: There is an unknown macro here somewhere. Configuration is required. If list_for_each_entry is a macro then please configure it. [unknownMacro] jgmenu-4.5.0/src/jgmenu.c:2636:6: style: The if condition is the same as the previous if condition [duplicateCondition] jgmenu-4.5.0/src/jgmenu.c:2633:6: note: First condition jgmenu-4.5.0/src/jgmenu.c:2636:6: note: Second condition jgmenu-4.5.0/src/jgmenu.c:1413:6: style: Condition 'fp' is always true [knownConditionTrueFalse] jgmenu-4.5.0/src/jgmenu.c:843:9: warning: Either the condition '!item' is redundant or there is possible null pointer dereference: item. [nullPointerRedundantCheck] jgmenu-4.5.0/src/jgmenu.c:841:6: note: Assuming that condition '!item' is not redundant jgmenu-4.5.0/src/jgmenu.c:843:9: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu.c:923:11: warning: Either the condition '!menu.current_node' is redundant or there is possible null pointer dereference: menu.current_node. [nullPointerRedundantCheck] jgmenu-4.5.0/src/jgmenu.c:922:2: note: Assuming that condition '!menu.current_node' is not redundant jgmenu-4.5.0/src/jgmenu.c:923:11: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu.c:1082:2: warning: Either the condition '!this' is redundant or there is possible null pointer dereference: this. [nullPointerRedundantCheck] jgmenu-4.5.0/src/jgmenu.c:1081:2: note: Assuming that condition '!this' is not redundant jgmenu-4.5.0/src/jgmenu.c:1082:2: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu.c:1136:8: warning: Either the condition '!item' is redundant or there is possible null pointer dereference: item. [nullPointerRedundantCheck] jgmenu-4.5.0/src/jgmenu.c:1135:3: note: Assuming that condition '!item' is not redundant jgmenu-4.5.0/src/jgmenu.c:1136:8: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu.c:1192:2: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] jgmenu-4.5.0/src/jgmenu.c:1191:16: note: Assuming allocation function fails jgmenu-4.5.0/src/jgmenu.c:1191:16: note: Assignment 'item=xmalloc(sizeof(struct item))', assigned value is 0 jgmenu-4.5.0/src/jgmenu.c:1192:2: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu.c:1193:2: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] jgmenu-4.5.0/src/jgmenu.c:1191:16: note: Assuming allocation function fails jgmenu-4.5.0/src/jgmenu.c:1191:16: note: Assignment 'item=xmalloc(sizeof(struct item))', assigned value is 0 jgmenu-4.5.0/src/jgmenu.c:1193:2: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu.c:1194:2: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] jgmenu-4.5.0/src/jgmenu.c:1191:16: note: Assuming allocation function fails jgmenu-4.5.0/src/jgmenu.c:1191:16: note: Assignment 'item=xmalloc(sizeof(struct item))', assigned value is 0 jgmenu-4.5.0/src/jgmenu.c:1194:2: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu.c:1195:2: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] jgmenu-4.5.0/src/jgmenu.c:1191:16: note: Assuming allocation function fails jgmenu-4.5.0/src/jgmenu.c:1191:16: note: Assignment 'item=xmalloc(sizeof(struct item))', assigned value is 0 jgmenu-4.5.0/src/jgmenu.c:1195:2: note: Null pointer dereference jgmenu-4.5.0/tests/helper/test-xpm.c:13:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jgmenu-4.5.0/src/jgmenu.c:1196:2: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] jgmenu-4.5.0/src/jgmenu.c:1191:16: note: Assuming allocation function fails jgmenu-4.5.0/src/jgmenu.c:1191:16: note: Assignment 'item=xmalloc(sizeof(struct item))', assigned value is 0 jgmenu-4.5.0/src/jgmenu.c:1196:2: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu.c:1197:2: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] jgmenu-4.5.0/src/jgmenu.c:1191:16: note: Assuming allocation function fails jgmenu-4.5.0/src/jgmenu.c:1191:16: note: Assignment 'item=xmalloc(sizeof(struct item))', assigned value is 0 jgmenu-4.5.0/src/jgmenu.c:1197:2: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu.c:1198:2: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] jgmenu-4.5.0/src/jgmenu.c:1191:16: note: Assuming allocation function fails jgmenu-4.5.0/src/jgmenu.c:1191:16: note: Assignment 'item=xmalloc(sizeof(struct item))', assigned value is 0 jgmenu-4.5.0/src/jgmenu.c:1198:2: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu.c:1199:2: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] jgmenu-4.5.0/src/jgmenu.c:1191:16: note: Assuming allocation function fails jgmenu-4.5.0/src/jgmenu.c:1191:16: note: Assignment 'item=xmalloc(sizeof(struct item))', assigned value is 0 jgmenu-4.5.0/src/jgmenu.c:1199:2: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu.c:1199:14: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] jgmenu-4.5.0/src/jgmenu.c:1191:16: note: Assuming allocation function fails jgmenu-4.5.0/src/jgmenu.c:1191:16: note: Assignment 'item=xmalloc(sizeof(struct item))', assigned value is 0 jgmenu-4.5.0/src/jgmenu.c:1199:14: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu.c:1200:2: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] jgmenu-4.5.0/src/jgmenu.c:1191:16: note: Assuming allocation function fails jgmenu-4.5.0/src/jgmenu.c:1191:16: note: Assignment 'item=xmalloc(sizeof(struct item))', assigned value is 0 jgmenu-4.5.0/src/jgmenu.c:1200:2: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu.c:1201:2: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] jgmenu-4.5.0/src/jgmenu.c:1191:16: note: Assuming allocation function fails jgmenu-4.5.0/src/jgmenu.c:1191:16: note: Assignment 'item=xmalloc(sizeof(struct item))', assigned value is 0 jgmenu-4.5.0/src/jgmenu.c:1201:2: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu.c:1238:38: warning: Either the condition 'fp' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] jgmenu-4.5.0/src/jgmenu.c:2690:6: note: Assuming that condition 'fp' is not redundant jgmenu-4.5.0/src/jgmenu.c:2689:16: note: Calling function 'read_csv_file', 1st argument 'fp' value is 0 jgmenu-4.5.0/src/jgmenu.c:1238:38: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu.c:1280:3: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] jgmenu-4.5.0/src/jgmenu.c:1279:17: note: Assuming allocation function fails jgmenu-4.5.0/src/jgmenu.c:1279:17: note: Assignment 'item=xmalloc(sizeof(struct item))', assigned value is 0 jgmenu-4.5.0/src/jgmenu.c:1280:3: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu.c:1281:3: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] jgmenu-4.5.0/src/jgmenu.c:1279:17: note: Assuming allocation function fails jgmenu-4.5.0/src/jgmenu.c:1279:17: note: Assignment 'item=xmalloc(sizeof(struct item))', assigned value is 0 jgmenu-4.5.0/src/jgmenu.c:1281:3: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu.c:1282:19: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] jgmenu-4.5.0/src/jgmenu.c:1279:17: note: Assuming allocation function fails jgmenu-4.5.0/src/jgmenu.c:1279:17: note: Assignment 'item=xmalloc(sizeof(struct item))', assigned value is 0 jgmenu-4.5.0/src/jgmenu.c:1282:19: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu.c:1283:3: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] jgmenu-4.5.0/src/jgmenu.c:1279:17: note: Assuming allocation function fails jgmenu-4.5.0/src/jgmenu.c:1279:17: note: Assignment 'item=xmalloc(sizeof(struct item))', assigned value is 0 jgmenu-4.5.0/src/jgmenu.c:1283:3: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu.c:1284:3: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] jgmenu-4.5.0/src/jgmenu.c:1279:17: note: Assuming allocation function fails jgmenu-4.5.0/src/jgmenu.c:1279:17: note: Assignment 'item=xmalloc(sizeof(struct item))', assigned value is 0 jgmenu-4.5.0/src/jgmenu.c:1284:3: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu.c:1285:3: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] jgmenu-4.5.0/src/jgmenu.c:1279:17: note: Assuming allocation function fails jgmenu-4.5.0/src/jgmenu.c:1279:17: note: Assignment 'item=xmalloc(sizeof(struct item))', assigned value is 0 jgmenu-4.5.0/src/jgmenu.c:1285:3: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu.c:1286:3: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] jgmenu-4.5.0/src/jgmenu.c:1279:17: note: Assuming allocation function fails jgmenu-4.5.0/src/jgmenu.c:1279:17: note: Assignment 'item=xmalloc(sizeof(struct item))', assigned value is 0 jgmenu-4.5.0/src/jgmenu.c:1286:3: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu.c:1287:39: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] jgmenu-4.5.0/src/jgmenu.c:1279:17: note: Assuming allocation function fails jgmenu-4.5.0/src/jgmenu.c:1279:17: note: Assignment 'item=xmalloc(sizeof(struct item))', assigned value is 0 jgmenu-4.5.0/src/jgmenu.c:1287:39: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu.c:1288:39: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] jgmenu-4.5.0/src/jgmenu.c:1279:17: note: Assuming allocation function fails jgmenu-4.5.0/src/jgmenu.c:1279:17: note: Assignment 'item=xmalloc(sizeof(struct item))', assigned value is 0 jgmenu-4.5.0/src/jgmenu.c:1288:39: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu.c:1289:8: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] jgmenu-4.5.0/src/jgmenu.c:1279:17: note: Assuming allocation function fails jgmenu-4.5.0/src/jgmenu.c:1279:17: note: Assignment 'item=xmalloc(sizeof(struct item))', assigned value is 0 jgmenu-4.5.0/src/jgmenu.c:1289:8: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu.c:1375:8: warning: Either the condition '!p' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] jgmenu-4.5.0/src/jgmenu.c:1374:3: note: Assuming that condition '!p' is not redundant jgmenu-4.5.0/src/jgmenu.c:1375:8: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu.c:1405:13: warning: Either the condition '!s' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] jgmenu-4.5.0/src/jgmenu.c:1404:2: note: Assuming that condition '!s' is not redundant jgmenu-4.5.0/src/jgmenu.c:1405:13: note: Null pointer dereference jgmenu-4.5.0/src/jgmenu.c:1247:29: warning: Either the condition 'p' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] jgmenu-4.5.0/src/jgmenu.c:1243:7: note: Assuming that condition 'p' is not redundant jgmenu-4.5.0/src/jgmenu.c:1247:29: note: Null pointer subtraction jgmenu-4.5.0/src/jgmenu.c:352:35: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/src/jgmenu.c:450:48: style: Parameter 'token' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/src/jgmenu.c:464:53: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/src/jgmenu.c:512:44: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/src/jgmenu.c:519:43: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/src/jgmenu.c:557:45: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/src/jgmenu.c:838:15: style: Variable 'item' can be declared as pointer to const [constVariablePointer] jgmenu-4.5.0/src/jgmenu.c:882:36: style: Parameter 'tag' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/src/jgmenu.c:903:39: style: Parameter 'tag' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/src/jgmenu.c:913:37: style: Parameter 'tag' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/src/jgmenu.c:1011:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] jgmenu-4.5.0/src/jgmenu.c:1327:53: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/src/jgmenu.c:1454:46: style: Parameter 'keep_me' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/src/jgmenu.c:1849:24: style: Variable 'ev' can be declared as pointer to const [constVariablePointer] jgmenu-4.5.0/src/jgmenu.c:1917:24: style: Variable 'ev' can be declared as pointer to const [constVariablePointer] jgmenu-4.5.0/src/jgmenu.c:1937:48: style: Parameter 'ts' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/src/jgmenu.c:1996:53: style: Parameter 'mouse_coord' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/src/jgmenu.c:2477:8: style: Variable 't' can be declared as pointer to const [constVariablePointer] jgmenu-4.5.0/src/jgmenu.c:2606:8: style: Variable 'arg_config_file' can be declared as pointer to const [constVariablePointer] jgmenu-4.5.0/src/jgmenu.c:1922:17: style: Variable 'mouse_coords.y' is assigned a value that is never used. [unreadVariable] jgmenu-4.5.0/src/xpm-loader.c:132:26: style: Variable 'found' can be declared as pointer to const [constVariablePointer] jgmenu-4.5.0/src/xpm-loader.c:308:14: style: Variable 'new_key' is assigned a value that is never used. [unreadVariable] jgmenu-4.5.0/tests/helper/test-hashmap.c:159:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] jgmenu-4.5.0/tests/helper/test-hashmap.c:164:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] jgmenu-4.5.0/tests/helper/test-hashmap.c:168:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] jgmenu-4.5.0/tests/helper/test-hashmap.c:87:3: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] jgmenu-4.5.0/tests/helper/test-hashmap.c:34:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: entry [nullPointerOutOfMemory] jgmenu-4.5.0/tests/helper/test-hashmap.c:31:35: note: Assuming allocation function fails jgmenu-4.5.0/tests/helper/test-hashmap.c:31:35: note: Assignment 'entry=malloc(sizeof(struct test_entry)+klen+vlen+2)', assigned value is 0 jgmenu-4.5.0/tests/helper/test-hashmap.c:34:9: note: Null pointer dereference jgmenu-4.5.0/tests/helper/test-hashmap.c:35:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: entry [nullPointerOutOfMemory] jgmenu-4.5.0/tests/helper/test-hashmap.c:31:35: note: Assuming allocation function fails jgmenu-4.5.0/tests/helper/test-hashmap.c:31:35: note: Assignment 'entry=malloc(sizeof(struct test_entry)+klen+vlen+2)', assigned value is 0 jgmenu-4.5.0/tests/helper/test-hashmap.c:35:9: note: Null pointer dereference jgmenu-4.5.0/tests/helper/test-hashmap.c:88:3: warning: If memory allocation fails, then there is a possible null pointer dereference: entries [nullPointerOutOfMemory] jgmenu-4.5.0/tests/helper/test-hashmap.c:84:18: note: Assuming allocation function fails jgmenu-4.5.0/tests/helper/test-hashmap.c:84:18: note: Assignment 'entries=malloc(100000*sizeof(struct test_entry*))', assigned value is 0 jgmenu-4.5.0/tests/helper/test-hashmap.c:88:3: note: Null pointer dereference jgmenu-4.5.0/tests/helper/test-hashmap.c:89:3: warning: If memory allocation fails, then there is a possible null pointer dereference: hashes [nullPointerOutOfMemory] jgmenu-4.5.0/tests/helper/test-hashmap.c:85:17: note: Assuming allocation function fails jgmenu-4.5.0/tests/helper/test-hashmap.c:85:17: note: Assignment 'hashes=malloc(100000*sizeof(int))', assigned value is 0 jgmenu-4.5.0/tests/helper/test-hashmap.c:89:3: note: Null pointer dereference jgmenu-4.5.0/tests/helper/test-hashmap.c:89:31: warning: If memory allocation fails, then there is a possible null pointer dereference: entries [nullPointerOutOfMemory] jgmenu-4.5.0/tests/helper/test-hashmap.c:84:18: note: Assuming allocation function fails jgmenu-4.5.0/tests/helper/test-hashmap.c:84:18: note: Assignment 'entries=malloc(100000*sizeof(struct test_entry*))', assigned value is 0 jgmenu-4.5.0/tests/helper/test-hashmap.c:89:31: note: Null pointer dereference jgmenu-4.5.0/tests/helper/test-hashmap.c:155:23: style: Local variable 'hash' shadows outer function [shadowFunction] jgmenu-4.5.0/tests/helper/test-hashmap.c:48:21: note: Shadowed declaration jgmenu-4.5.0/tests/helper/test-hashmap.c:155:23: note: Shadow variable jgmenu-4.5.0/tests/helper/test-hashmap.c:28:60: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/tests/helper/test-hashmap.c:29:9: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/tests/helper/test-hashmap.c:154:9: style: Variable 'cmd' can be declared as pointer to const [constVariablePointer] jgmenu-4.5.0/src/config.c:444:30: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/src/t2conf.c:353:18: style:inconclusive: Boolean expression 'a>b' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] jgmenu-4.5.0/src/t2conf.c:354:18: style:inconclusive: Boolean expression 'b>a' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] jgmenu-4.5.0/src/t2conf.c:66:31: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/src/t2conf.c:77:30: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] jgmenu-4.5.0/src/t2conf.c:90:25: style: Variable 'field' can be declared as pointer to const [constVariablePointer] diff: 2.17.0 jgmenu-4.5.0/src/desktop.c:209:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 jgmenu-4.5.0/src/icon-find.c:281:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 jgmenu-4.5.0/src/icon-find.c:91:19: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head jgmenu-4.5.0/src/jgmenu.c:1199:14: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] jgmenu-4.5.0/src/jgmenu.c:1191:16: note: Assuming allocation function fails jgmenu-4.5.0/src/jgmenu.c:1191:16: note: Assignment 'item=xmalloc(sizeof(struct item))', assigned value is 0 jgmenu-4.5.0/src/jgmenu.c:1199:14: note: Null pointer dereference head jgmenu-4.5.0/src/sbuf.c:36:19: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] jgmenu-4.5.0/src/sbuf.c:229:22: note: Assuming allocation function fails jgmenu-4.5.0/src/sbuf.c:229:22: note: Assignment 'new_string=xmalloc(sizeof(struct sbuf))', assigned value is 0 jgmenu-4.5.0/src/sbuf.c:231:14: note: Calling function 'sbuf_addstr', 1st argument 'new_string' value is 0 jgmenu-4.5.0/src/sbuf.c:33:12: note: Assuming condition is false jgmenu-4.5.0/src/sbuf.c:36:19: note: Null pointer dereference 2.17.0 jgmenu-4.5.0/src/sbuf.c:71:22: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] jgmenu-4.5.0/src/sbuf.c:69:15: note: Assuming allocation function fails jgmenu-4.5.0/src/sbuf.c:69:15: note: Assignment 'data=strdup(s->buf)', assigned value is 0 jgmenu-4.5.0/src/sbuf.c:71:22: note: Null pointer addition head jgmenu-4.5.0/src/sbuf.c:71:22: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] jgmenu-4.5.0/src/sbuf.c:69:15: note: Assuming allocation function fails jgmenu-4.5.0/src/sbuf.c:69:15: note: Assignment 'data=strdup(s->buf)', assigned value is 0 jgmenu-4.5.0/src/sbuf.c:71:22: note: Null pointer addition DONE