2026-02-20 02:49 ftp://ftp.de.debian.org/debian/pool/main/b/bspwm/bspwm_0.9.12.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 -j2 platform: Linux-6.12.73+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.69 compiler: g++ (20250906) 15.2.0 cppcheck: head 2.19.0 head-info: 179f04a (2026-02-19 22:01:17 +0100) count: 337 334 elapsed-time: 7.1 7.3 head-timing-info: old-timing-info: head results: bspwm-0.9.12/src/bspc.c:41:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/bspc.c:71:14: warning: Either the condition '(sock_fd=socket(AF_UNIX,SOCK_STREAM,0))==-1' is redundant or connect() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] bspwm-0.9.12/src/bspc.c:67:50: note: Assuming that condition '(sock_fd=socket(AF_UNIX,SOCK_STREAM,0))==-1' is not redundant bspwm-0.9.12/src/bspc.c:71:14: note: Invalid argument bspwm-0.9.12/src/bspc.c:48:8: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] bspwm-0.9.12/src/bspwm.c:103:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/bspwm.c:355:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/bspwm.c:467:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/bspwm.c:538:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/desktop.c:241:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/bspwm.c:187:12: warning: Either the condition 'sock_fd==-1' is redundant or bind() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] bspwm-0.9.12/src/bspwm.c:181:15: note: Assuming that condition 'sock_fd==-1' is not redundant bspwm-0.9.12/src/bspwm.c:187:12: note: Invalid argument bspwm-0.9.12/src/bspwm.c:284:10: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] bspwm-0.9.12/src/bspwm.c:282:18: note: Assuming allocation function fails bspwm-0.9.12/src/bspwm.c:282:18: note: Assignment 'f=fopen(state_path,"w")', assigned value is 0 bspwm-0.9.12/src/bspwm.c:284:10: note: Null pointer dereference bspwm-0.9.12/src/bspwm.c:310:4: warning: If memory allocation fails, then there is a possible null pointer dereference: rargv [nullPointerOutOfMemory] bspwm-0.9.12/src/bspwm.c:307:24: note: Assuming allocation function fails bspwm-0.9.12/src/bspwm.c:307:24: note: Assignment 'rargv=malloc(len*sizeof(char*))', assigned value is 0 bspwm-0.9.12/src/bspwm.c:310:4: note: Null pointer dereference bspwm-0.9.12/src/bspwm.c:316:3: warning: If memory allocation fails, then there is a possible null pointer dereference: rargv [nullPointerOutOfMemory] bspwm-0.9.12/src/bspwm.c:307:24: note: Assuming allocation function fails bspwm-0.9.12/src/bspwm.c:307:24: note: Assignment 'rargv=malloc(len*sizeof(char*))', assigned value is 0 bspwm-0.9.12/src/bspwm.c:316:3: note: Null pointer dereference bspwm-0.9.12/src/bspwm.c:317:3: warning: If memory allocation fails, then there is a possible null pointer dereference: rargv [nullPointerOutOfMemory] bspwm-0.9.12/src/bspwm.c:307:24: note: Assuming allocation function fails bspwm-0.9.12/src/bspwm.c:307:24: note: Assignment 'rargv=malloc(len*sizeof(char*))', assigned value is 0 bspwm-0.9.12/src/bspwm.c:317:3: note: Null pointer dereference bspwm-0.9.12/src/bspwm.c:318:3: warning: If memory allocation fails, then there is a possible null pointer dereference: rargv [nullPointerOutOfMemory] bspwm-0.9.12/src/bspwm.c:307:24: note: Assuming allocation function fails bspwm-0.9.12/src/bspwm.c:307:24: note: Assignment 'rargv=malloc(len*sizeof(char*))', assigned value is 0 bspwm-0.9.12/src/bspwm.c:318:3: note: Null pointer dereference bspwm-0.9.12/src/bspwm.c:319:3: warning: If memory allocation fails, then there is a possible null pointer dereference: rargv [nullPointerOutOfMemory] bspwm-0.9.12/src/bspwm.c:307:24: note: Assuming allocation function fails bspwm-0.9.12/src/bspwm.c:307:24: note: Assignment 'rargv=malloc(len*sizeof(char*))', assigned value is 0 bspwm-0.9.12/src/bspwm.c:319:3: note: Null pointer dereference bspwm-0.9.12/src/bspwm.c:320:3: warning: If memory allocation fails, then there is a possible null pointer dereference: rargv [nullPointerOutOfMemory] bspwm-0.9.12/src/bspwm.c:307:24: note: Assuming allocation function fails bspwm-0.9.12/src/bspwm.c:307:24: note: Assignment 'rargv=malloc(len*sizeof(char*))', assigned value is 0 bspwm-0.9.12/src/bspwm.c:320:3: note: Null pointer dereference bspwm-0.9.12/src/bspwm.c:322:11: warning: If memory allocation fails, then there is a possible null pointer dereference: rargv [nullPointerOutOfMemory] bspwm-0.9.12/src/bspwm.c:307:24: note: Assuming allocation function fails bspwm-0.9.12/src/bspwm.c:307:24: note: Assignment 'rargv=malloc(len*sizeof(char*))', assigned value is 0 bspwm-0.9.12/src/bspwm.c:322:11: note: Null pointer dereference bspwm-0.9.12/src/bspwm.c:137:9: style: Variable 'config_home' can be declared as pointer to const [constVariablePointer] bspwm-0.9.12/src/bspwm.c:162:9: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] bspwm-0.9.12/src/bspwm.c:221:24: style: Variable 'pr' can be declared as pointer to const [constVariablePointer] bspwm-0.9.12/src/bspwm.c:435:32: style: Variable 'xsi' can be declared as pointer to const [constVariablePointer] bspwm-0.9.12/src/events.c:84:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_RANDR_SCREEN_CHANGE_NOTIFY [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/events.c:112:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_CONFIG_WINDOW_X [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/events.c:260:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_ICCCM_WM_STATE_WITHDRAWN [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/events.c:276:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_ATOM_WM_NORMAL_HINTS [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/events.c:331:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_EWMH_CLIENT_SOURCE_TYPE_NORMAL [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/events.c:350:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NOTIFY_MODE_GRAB [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/events.c:386:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_BUTTON_INDEX_ANY [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/events.c:408:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NOTIFY_MODE_NORMAL [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/events.c:451:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/events.c:480:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_EWMH_WM_STATE_ADD [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/events.c:566:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_MAPPING_POINTER [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/events.c:204:32: style: Local variable 'evt' shadows outer argument [shadowArgument] bspwm-0.9.12/src/events.c:98:45: note: Shadowed declaration bspwm-0.9.12/src/events.c:204:32: note: Shadow variable bspwm-0.9.12/src/events.c:226:32: style: Variable 'e' can be declared as pointer to const [constVariablePointer] bspwm-0.9.12/src/events.c:405:28: style: Variable 'e' can be declared as pointer to const [constVariablePointer] bspwm-0.9.12/src/events.c:564:30: style: Variable 'e' can be declared as pointer to const [constVariablePointer] bspwm-0.9.12/src/desktop.c:240:11: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] bspwm-0.9.12/src/desktop.c:239:23: note: Assuming allocation function fails bspwm-0.9.12/src/desktop.c:239:23: note: Assignment 'd=calloc(1,sizeof(struct desktop_t))', assigned value is 0 bspwm-0.9.12/src/desktop.c:240:11: note: Null pointer dereference bspwm-0.9.12/src/desktop.c:244:2: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] bspwm-0.9.12/src/desktop.c:239:23: note: Assuming allocation function fails bspwm-0.9.12/src/desktop.c:239:23: note: Assignment 'd=calloc(1,sizeof(struct desktop_t))', assigned value is 0 bspwm-0.9.12/src/desktop.c:244:2: note: Null pointer dereference bspwm-0.9.12/src/desktop.c:244:12: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] bspwm-0.9.12/src/desktop.c:239:23: note: Assuming allocation function fails bspwm-0.9.12/src/desktop.c:239:23: note: Assignment 'd=calloc(1,sizeof(struct desktop_t))', assigned value is 0 bspwm-0.9.12/src/desktop.c:244:12: note: Null pointer dereference bspwm-0.9.12/src/desktop.c:245:2: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] bspwm-0.9.12/src/desktop.c:239:23: note: Assuming allocation function fails bspwm-0.9.12/src/desktop.c:239:23: note: Assignment 'd=calloc(1,sizeof(struct desktop_t))', assigned value is 0 bspwm-0.9.12/src/desktop.c:245:2: note: Null pointer dereference bspwm-0.9.12/src/desktop.c:245:12: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] bspwm-0.9.12/src/desktop.c:239:23: note: Assuming allocation function fails bspwm-0.9.12/src/desktop.c:239:23: note: Assignment 'd=calloc(1,sizeof(struct desktop_t))', assigned value is 0 bspwm-0.9.12/src/desktop.c:245:12: note: Null pointer dereference bspwm-0.9.12/src/desktop.c:246:2: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] bspwm-0.9.12/src/desktop.c:239:23: note: Assuming allocation function fails bspwm-0.9.12/src/desktop.c:239:23: note: Assignment 'd=calloc(1,sizeof(struct desktop_t))', assigned value is 0 bspwm-0.9.12/src/desktop.c:246:2: note: Null pointer dereference bspwm-0.9.12/src/desktop.c:247:2: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] bspwm-0.9.12/src/desktop.c:239:23: note: Assuming allocation function fails bspwm-0.9.12/src/desktop.c:239:23: note: Assignment 'd=calloc(1,sizeof(struct desktop_t))', assigned value is 0 bspwm-0.9.12/src/desktop.c:247:2: note: Null pointer dereference bspwm-0.9.12/src/desktop.c:248:2: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] bspwm-0.9.12/src/desktop.c:239:23: note: Assuming allocation function fails bspwm-0.9.12/src/desktop.c:239:23: note: Assignment 'd=calloc(1,sizeof(struct desktop_t))', assigned value is 0 bspwm-0.9.12/src/desktop.c:248:2: note: Null pointer dereference bspwm-0.9.12/src/desktop.c:249:2: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] bspwm-0.9.12/src/desktop.c:239:23: note: Assuming allocation function fails bspwm-0.9.12/src/desktop.c:239:23: note: Assignment 'd=calloc(1,sizeof(struct desktop_t))', assigned value is 0 bspwm-0.9.12/src/desktop.c:249:2: note: Null pointer dereference bspwm-0.9.12/src/desktop.c:250:2: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] bspwm-0.9.12/src/desktop.c:239:23: note: Assuming allocation function fails bspwm-0.9.12/src/desktop.c:239:23: note: Assignment 'd=calloc(1,sizeof(struct desktop_t))', assigned value is 0 bspwm-0.9.12/src/desktop.c:250:2: note: Null pointer dereference bspwm-0.9.12/src/ewmh.c:38:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xcb_ewmh_connection_t [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/helpers.c:40:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/helpers.c:49:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/helpers.c:60:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/helpers.c:110:25: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/helpers.c:125:8: style: Variable 'runtime_dir' can be declared as pointer to const [constVariablePointer] bspwm-0.9.12/src/history.c:35:2: warning: If memory allocation fails, then there is a possible null pointer dereference: h [nullPointerOutOfMemory] bspwm-0.9.12/src/history.c:34:23: note: Assuming allocation function fails bspwm-0.9.12/src/history.c:34:23: note: Assignment 'h=calloc(1,sizeof(struct history_t))', assigned value is 0 bspwm-0.9.12/src/history.c:35:2: note: Null pointer dereference bspwm-0.9.12/src/history.c:36:2: warning: If memory allocation fails, then there is a possible null pointer dereference: h [nullPointerOutOfMemory] bspwm-0.9.12/src/history.c:34:23: note: Assuming allocation function fails bspwm-0.9.12/src/history.c:34:23: note: Assignment 'h=calloc(1,sizeof(struct history_t))', assigned value is 0 bspwm-0.9.12/src/history.c:36:2: note: Null pointer dereference bspwm-0.9.12/src/history.c:36:12: warning: If memory allocation fails, then there is a possible null pointer dereference: h [nullPointerOutOfMemory] bspwm-0.9.12/src/history.c:34:23: note: Assuming allocation function fails bspwm-0.9.12/src/history.c:34:23: note: Assignment 'h=calloc(1,sizeof(struct history_t))', assigned value is 0 bspwm-0.9.12/src/history.c:36:12: note: Null pointer dereference bspwm-0.9.12/src/history.c:37:2: warning: If memory allocation fails, then there is a possible null pointer dereference: h [nullPointerOutOfMemory] bspwm-0.9.12/src/history.c:34:23: note: Assuming allocation function fails bspwm-0.9.12/src/history.c:34:23: note: Assignment 'h=calloc(1,sizeof(struct history_t))', assigned value is 0 bspwm-0.9.12/src/history.c:37:2: note: Null pointer dereference bspwm-0.9.12/src/history.c:114:32: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/history.c:171:38: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/history.c:182:44: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/history.c:182:58: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/history.c:192:44: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/history.c:311:31: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/history.c:314:13: style: Variable 'h' can be declared as pointer to const [constVariablePointer] bspwm-0.9.12/src/ewmh.c:55:19: style: Variable 'd' can be declared as pointer to const [constVariablePointer] bspwm-0.9.12/src/ewmh.c:63:44: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/ewmh.c:67:19: style: Variable 'cd' can be declared as pointer to const [constVariablePointer] bspwm-0.9.12/src/ewmh.c:158:19: style: Variable 'd' can be declared as pointer to const [constVariablePointer] bspwm-0.9.12/src/ewmh.c:169:19: style: Variable 'd' can be declared as pointer to const [constVariablePointer] bspwm-0.9.12/src/ewmh.c:269:12: style: Variable 'c' can be declared as pointer to const [constVariablePointer] bspwm-0.9.12/src/monitor.c:45:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/monitor.c:70:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/monitor.c:122:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_ATOM_STRING [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/monitor.c:456:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_CURRENT_TIME [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/monitor.c:48:2: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] bspwm-0.9.12/src/monitor.c:44:23: note: Assuming allocation function fails bspwm-0.9.12/src/monitor.c:44:23: note: Assignment 'm=calloc(1,sizeof(struct monitor_t))', assigned value is 0 bspwm-0.9.12/src/monitor.c:48:2: note: Null pointer dereference bspwm-0.9.12/src/monitor.c:49:11: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] bspwm-0.9.12/src/monitor.c:44:23: note: Assuming allocation function fails bspwm-0.9.12/src/monitor.c:44:23: note: Assignment 'm=calloc(1,sizeof(struct monitor_t))', assigned value is 0 bspwm-0.9.12/src/monitor.c:49:11: note: Null pointer dereference bspwm-0.9.12/src/monitor.c:50:2: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] bspwm-0.9.12/src/monitor.c:44:23: note: Assuming allocation function fails bspwm-0.9.12/src/monitor.c:44:23: note: Assignment 'm=calloc(1,sizeof(struct monitor_t))', assigned value is 0 bspwm-0.9.12/src/monitor.c:50:2: note: Null pointer dereference bspwm-0.9.12/src/monitor.c:51:2: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] bspwm-0.9.12/src/monitor.c:44:23: note: Assuming allocation function fails bspwm-0.9.12/src/monitor.c:44:23: note: Assignment 'm=calloc(1,sizeof(struct monitor_t))', assigned value is 0 bspwm-0.9.12/src/monitor.c:51:2: note: Null pointer dereference bspwm-0.9.12/src/monitor.c:52:2: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] bspwm-0.9.12/src/monitor.c:44:23: note: Assuming allocation function fails bspwm-0.9.12/src/monitor.c:44:23: note: Assignment 'm=calloc(1,sizeof(struct monitor_t))', assigned value is 0 bspwm-0.9.12/src/monitor.c:52:2: note: Null pointer dereference bspwm-0.9.12/src/monitor.c:53:2: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] bspwm-0.9.12/src/monitor.c:44:23: note: Assuming allocation function fails bspwm-0.9.12/src/monitor.c:44:23: note: Assignment 'm=calloc(1,sizeof(struct monitor_t))', assigned value is 0 bspwm-0.9.12/src/monitor.c:53:2: note: Null pointer dereference bspwm-0.9.12/src/monitor.c:54:2: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] bspwm-0.9.12/src/monitor.c:44:23: note: Assuming allocation function fails bspwm-0.9.12/src/monitor.c:44:23: note: Assignment 'm=calloc(1,sizeof(struct monitor_t))', assigned value is 0 bspwm-0.9.12/src/monitor.c:54:2: note: Null pointer dereference bspwm-0.9.12/src/monitor.c:54:12: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] bspwm-0.9.12/src/monitor.c:44:23: note: Assuming allocation function fails bspwm-0.9.12/src/monitor.c:44:23: note: Assignment 'm=calloc(1,sizeof(struct monitor_t))', assigned value is 0 bspwm-0.9.12/src/monitor.c:54:12: note: Null pointer dereference bspwm-0.9.12/src/monitor.c:55:2: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] bspwm-0.9.12/src/monitor.c:44:23: note: Assuming allocation function fails bspwm-0.9.12/src/monitor.c:44:23: note: Assignment 'm=calloc(1,sizeof(struct monitor_t))', assigned value is 0 bspwm-0.9.12/src/monitor.c:55:2: note: Null pointer dereference bspwm-0.9.12/src/monitor.c:55:12: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] bspwm-0.9.12/src/monitor.c:44:23: note: Assuming allocation function fails bspwm-0.9.12/src/monitor.c:44:23: note: Assignment 'm=calloc(1,sizeof(struct monitor_t))', assigned value is 0 bspwm-0.9.12/src/monitor.c:55:12: note: Null pointer dereference bspwm-0.9.12/src/monitor.c:55:27: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] bspwm-0.9.12/src/monitor.c:44:23: note: Assuming allocation function fails bspwm-0.9.12/src/monitor.c:44:23: note: Assignment 'm=calloc(1,sizeof(struct monitor_t))', assigned value is 0 bspwm-0.9.12/src/monitor.c:55:27: note: Null pointer dereference bspwm-0.9.12/src/monitor.c:56:2: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] bspwm-0.9.12/src/monitor.c:44:23: note: Assuming allocation function fails bspwm-0.9.12/src/monitor.c:44:23: note: Assignment 'm=calloc(1,sizeof(struct monitor_t))', assigned value is 0 bspwm-0.9.12/src/monitor.c:56:2: note: Null pointer dereference bspwm-0.9.12/src/monitor.c:57:2: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] bspwm-0.9.12/src/monitor.c:44:23: note: Assuming allocation function fails bspwm-0.9.12/src/monitor.c:44:23: note: Assignment 'm=calloc(1,sizeof(struct monitor_t))', assigned value is 0 bspwm-0.9.12/src/monitor.c:57:2: note: Null pointer dereference bspwm-0.9.12/src/monitor.c:476:14: style: Local variable 'len' shadows outer variable [shadowVariable] bspwm-0.9.12/src/monitor.c:451:6: note: Shadowed declaration bspwm-0.9.12/src/monitor.c:476:14: note: Shadow variable bspwm-0.9.12/src/monitor.c:161:38: style: Parameter 'rs' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/monitor.c:161:59: style: Parameter 'rd' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/monitor.c:273:13: style: Variable 'last_mon' can be declared as pointer to const [constVariablePointer] bspwm-0.9.12/src/messages.c:890:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/messages.c:1274:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/parse.c:189:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_MOD_MASK_SHIFT [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/parse.c:219:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_BUTTON_INDEX_ANY [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/parse.c:365:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/parse.c:312:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bspwm-0.9.12/src/parse.c:322:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bspwm-0.9.12/src/parse.c:376:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bspwm-0.9.12/src/parse.c:377:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bspwm-0.9.12/src/parse.c:8:23: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/parse.c:20:29: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/parse.c:32:29: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/parse.c:44:25: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/parse.c:56:31: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/parse.c:74:30: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/parse.c:89:28: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/parse.c:107:34: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/parse.c:119:38: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/parse.c:131:36: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/parse.c:144:23: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/parse.c:156:32: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/parse.c:186:32: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/parse.c:216:31: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/parse.c:237:33: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/parse.c:258:33: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/parse.c:270:35: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/parse.c:312:9: style: Variable 'key' can be declared as pointer to const [constVariablePointer] bspwm-0.9.12/src/parse.c:335:28: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/parse.c:347:25: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/parse.c:362:21: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/parse.c:392:24: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/parse.c:397:28: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/parse.c:411:34: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/parse.c:490:36: style: Parameter 'desc' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/parse.c:508:36: style: Parameter 'desc' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/parse.c:534:33: style: Parameter 'desc' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/pointer.c:51:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NO_SYMBOL [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/pointer.c:61:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_BUTTON_INDEX_ANY [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/pointer.c:76:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NO_SYMBOL [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/pointer.c:119:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_BUTTON_INDEX_ANY [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/pointer.c:143:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NO_SYMBOL [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/pointer.c:208:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/pointer.c:280:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_MOTION_NOTIFY [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/pointer.c:336:20: style: Local variable 'r' shadows outer variable [shadowVariable] bspwm-0.9.12/src/pointer.c:325:18: note: Shadowed declaration bspwm-0.9.12/src/pointer.c:336:20: note: Shadow variable bspwm-0.9.12/src/pointer.c:128:35: style: Variable 'mod_keycodes' can be declared as pointer to const [constVariablePointer] bspwm-0.9.12/src/pointer.c:146:24: style: Variable 'k' can be declared as pointer to const [constVariablePointer] bspwm-0.9.12/src/pointer.c:281:31: style: Variable 'e' can be declared as pointer to const [constVariablePointer] bspwm-0.9.12/src/pointer.c:292:15: style: Variable 'c' can be declared as pointer to const [constVariablePointer] bspwm-0.9.12/src/messages.c:330:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bspwm-0.9.12/src/messages.c:331:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bspwm-0.9.12/src/messages.c:816:6: style: Condition 'changed' is always false [knownConditionTrueFalse] bspwm-0.9.12/src/messages.c:653:17: note: Assignment 'changed=false', assigned value is 0 bspwm-0.9.12/src/messages.c:816:6: note: Condition 'changed' is always false bspwm-0.9.12/src/messages.c:1034:7: warning: If memory allocation fails, then there is a possible null pointer dereference: monitor_sel [nullPointerOutOfMemory] bspwm-0.9.12/src/messages.c:1033:26: note: Assuming allocation function fails bspwm-0.9.12/src/messages.c:1033:26: note: Assignment 'monitor_sel=malloc(sizeof(struct monitor_select_t))', assigned value is 0 bspwm-0.9.12/src/messages.c:1034:7: note: Null pointer dereference bspwm-0.9.12/src/messages.c:1056:7: warning: If memory allocation fails, then there is a possible null pointer dereference: desktop_sel [nullPointerOutOfMemory] bspwm-0.9.12/src/messages.c:1055:26: note: Assuming allocation function fails bspwm-0.9.12/src/messages.c:1055:26: note: Assignment 'desktop_sel=malloc(sizeof(struct desktop_select_t))', assigned value is 0 bspwm-0.9.12/src/messages.c:1056:7: note: Null pointer dereference bspwm-0.9.12/src/messages.c:1078:7: warning: If memory allocation fails, then there is a possible null pointer dereference: node_sel [nullPointerOutOfMemory] bspwm-0.9.12/src/messages.c:1077:23: note: Assuming allocation function fails bspwm-0.9.12/src/messages.c:1077:23: note: Assignment 'node_sel=malloc(sizeof(struct node_select_t))', assigned value is 0 bspwm-0.9.12/src/messages.c:1078:7: note: Null pointer dereference bspwm-0.9.12/src/messages.c:1270:10: style: Variable 'name' can be declared as pointer to const [constVariablePointer] bspwm-0.9.12/src/messages.c:345:68: error: Uninitialized variable: b [legacyUninitvar] bspwm-0.9.12/src/messages.c:348:68: error: Uninitialized variable: b [legacyUninitvar] bspwm-0.9.12/src/messages.c:350:69: error: Uninitialized variable: b [legacyUninitvar] bspwm-0.9.12/src/messages.c:352:68: error: Uninitialized variable: b [legacyUninitvar] bspwm-0.9.12/src/messages.c:354:68: error: Uninitialized variable: b [legacyUninitvar] bspwm-0.9.12/src/query.c:602:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/restore.c:199:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_EVENT_MASK_PROPERTY_CHANGE [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/restore.c:309:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/restore.c:563:22: style: Local variable 's' shadows outer variable [shadowVariable] bspwm-0.9.12/src/restore.c:559:6: note: Shadowed declaration bspwm-0.9.12/src/restore.c:563:22: note: Shadow variable bspwm-0.9.12/src/restore.c:615:41: style: Parameter 'json' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/restore.c:638:18: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/restore.c:638:32: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/restore.c:638:43: style: Parameter 'json' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/query.c:631:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bspwm-0.9.12/src/query.c:650:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bspwm-0.9.12/src/query.c:45:2: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bspwm-0.9.12/src/query.c:76:2: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bspwm-0.9.12/src/query.c:455:4: warning: If memory allocation fails, then there is a possible null pointer dereference: rect_buf [nullPointerOutOfMemory] bspwm-0.9.12/src/query.c:454:20: note: Assuming allocation function fails bspwm-0.9.12/src/query.c:454:20: note: Assignment 'rect_buf=malloc(1)', assigned value is 0 bspwm-0.9.12/src/query.c:455:4: note: Null pointer dereference bspwm-0.9.12/src/query.c:466:84: warning: If memory allocation fails, then there is a possible null pointer dereference: rect_buf [nullPointerOutOfMemory] bspwm-0.9.12/src/query.c:454:20: note: Assuming allocation function fails bspwm-0.9.12/src/query.c:454:20: note: Assignment 'rect_buf=malloc(1)', assigned value is 0 bspwm-0.9.12/src/query.c:466:84: note: Null pointer dereference bspwm-0.9.12/src/query.c:255:18: style: Local variable 'loc' shadows outer variable [shadowVariable] bspwm-0.9.12/src/query.c:249:17: note: Shadowed declaration bspwm-0.9.12/src/query.c:255:18: note: Shadow variable bspwm-0.9.12/src/query.c:294:18: style: Local variable 'loc' shadows outer variable [shadowVariable] bspwm-0.9.12/src/query.c:288:17: note: Shadowed declaration bspwm-0.9.12/src/query.c:294:18: note: Shadow variable bspwm-0.9.12/src/query.c:642:17: style: Local variable 'dir' shadows outer variable [shadowVariable] bspwm-0.9.12/src/query.c:580:14: note: Shadowed declaration bspwm-0.9.12/src/query.c:642:17: note: Shadow variable bspwm-0.9.12/src/query.c:152:29: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/query.c:212:39: style: Parameter 'loc' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/query.c:220:24: style: Variable 's' can be declared as pointer to const [constVariablePointer] bspwm-0.9.12/src/query.c:321:35: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/query.c:326:37: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/query.c:331:35: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/query.c:336:37: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/query.c:433:13: style: Variable 'monitor' can be declared as pointer to const [constVariablePointer] bspwm-0.9.12/src/query.c:434:13: style: Variable 'desktop' can be declared as pointer to const [constVariablePointer] bspwm-0.9.12/src/query.c:435:10: style: Variable 'node' can be declared as pointer to const [constVariablePointer] bspwm-0.9.12/src/query.c:963:27: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/query.c:977:27: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/query.c:988:66: style: Parameter 'mm' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/query.c:1006:30: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/query.c:1026:70: style: Parameter 'mm' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/query.c:1070:74: style: Parameter 'sel' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/query.c:1225:57: style: Parameter 'ref' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/query.c:1225:80: style: Parameter 'sel' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/query.c:1287:37: style: Parameter 'loc' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/query.c:1287:81: style: Parameter 'ref' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/query.c:1287:104: style: Parameter 'sel' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/rule.c:278:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/rule.c:289:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_ICCCM_SIZE_HINT_P_MIN_SIZE [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/rule.c:391:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/rule.c:431:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xcb_rectangle_t [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/settings.c:110:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_MOD_MASK_4 [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/stack.c:36:2: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] bspwm-0.9.12/src/stack.c:35:29: note: Assuming allocation function fails bspwm-0.9.12/src/stack.c:35:29: note: Assignment 's=calloc(1,sizeof(struct stacking_list_t))', assigned value is 0 bspwm-0.9.12/src/stack.c:36:2: note: Null pointer dereference bspwm-0.9.12/src/stack.c:37:2: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] bspwm-0.9.12/src/stack.c:35:29: note: Assuming allocation function fails bspwm-0.9.12/src/stack.c:35:29: note: Assignment 's=calloc(1,sizeof(struct stacking_list_t))', assigned value is 0 bspwm-0.9.12/src/stack.c:37:2: note: Null pointer dereference bspwm-0.9.12/src/stack.c:37:12: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] bspwm-0.9.12/src/stack.c:35:29: note: Assuming allocation function fails bspwm-0.9.12/src/stack.c:35:29: note: Assignment 's=calloc(1,sizeof(struct stacking_list_t))', assigned value is 0 bspwm-0.9.12/src/stack.c:37:12: note: Null pointer dereference bspwm-0.9.12/src/stack.c:123:27: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/rule.c:317:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bspwm-0.9.12/src/rule.c:318:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bspwm-0.9.12/src/rule.c:321:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bspwm-0.9.12/src/rule.c:322:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bspwm-0.9.12/src/rule.c:97:19: style: Condition 'class_name!=NULL' is always true [knownConditionTrueFalse] bspwm-0.9.12/src/rule.c:98:22: style: Condition 'instance_name==NULL' is always false [knownConditionTrueFalse] bspwm-0.9.12/src/rule.c:99:13: style: Condition 'name==NULL' is always false [knownConditionTrueFalse] bspwm-0.9.12/src/rule.c:42:2: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] bspwm-0.9.12/src/rule.c:41:20: note: Assuming allocation function fails bspwm-0.9.12/src/rule.c:41:20: note: Assignment 'r=calloc(1,sizeof(struct rule_t))', assigned value is 0 bspwm-0.9.12/src/rule.c:42:2: note: Null pointer dereference bspwm-0.9.12/src/rule.c:42:21: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] bspwm-0.9.12/src/rule.c:41:20: note: Assuming allocation function fails bspwm-0.9.12/src/rule.c:41:20: note: Assignment 'r=calloc(1,sizeof(struct rule_t))', assigned value is 0 bspwm-0.9.12/src/rule.c:42:21: note: Null pointer dereference bspwm-0.9.12/src/rule.c:42:43: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] bspwm-0.9.12/src/rule.c:41:20: note: Assuming allocation function fails bspwm-0.9.12/src/rule.c:41:20: note: Assignment 'r=calloc(1,sizeof(struct rule_t))', assigned value is 0 bspwm-0.9.12/src/rule.c:42:43: note: Null pointer dereference bspwm-0.9.12/src/rule.c:42:56: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] bspwm-0.9.12/src/rule.c:41:20: note: Assuming allocation function fails bspwm-0.9.12/src/rule.c:41:20: note: Assignment 'r=calloc(1,sizeof(struct rule_t))', assigned value is 0 bspwm-0.9.12/src/rule.c:42:56: note: Null pointer dereference bspwm-0.9.12/src/rule.c:43:2: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] bspwm-0.9.12/src/rule.c:41:20: note: Assuming allocation function fails bspwm-0.9.12/src/rule.c:41:20: note: Assignment 'r=calloc(1,sizeof(struct rule_t))', assigned value is 0 bspwm-0.9.12/src/rule.c:43:2: note: Null pointer dereference bspwm-0.9.12/src/rule.c:43:12: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] bspwm-0.9.12/src/rule.c:41:20: note: Assuming allocation function fails bspwm-0.9.12/src/rule.c:41:20: note: Assignment 'r=calloc(1,sizeof(struct rule_t))', assigned value is 0 bspwm-0.9.12/src/rule.c:43:12: note: Null pointer dereference bspwm-0.9.12/src/rule.c:44:2: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] bspwm-0.9.12/src/rule.c:41:20: note: Assuming allocation function fails bspwm-0.9.12/src/rule.c:41:20: note: Assignment 'r=calloc(1,sizeof(struct rule_t))', assigned value is 0 bspwm-0.9.12/src/rule.c:44:2: note: Null pointer dereference bspwm-0.9.12/src/rule.c:123:2: warning: If memory allocation fails, then there is a possible null pointer dereference: rc [nullPointerOutOfMemory] bspwm-0.9.12/src/rule.c:122:33: note: Assuming allocation function fails bspwm-0.9.12/src/rule.c:122:33: note: Assignment 'rc=calloc(1,sizeof(struct rule_consequence_t))', assigned value is 0 bspwm-0.9.12/src/rule.c:123:2: note: Null pointer dereference bspwm-0.9.12/src/rule.c:123:15: warning: If memory allocation fails, then there is a possible null pointer dereference: rc [nullPointerOutOfMemory] bspwm-0.9.12/src/rule.c:122:33: note: Assuming allocation function fails bspwm-0.9.12/src/rule.c:122:33: note: Assignment 'rc=calloc(1,sizeof(struct rule_consequence_t))', assigned value is 0 bspwm-0.9.12/src/rule.c:123:15: note: Null pointer dereference bspwm-0.9.12/src/rule.c:123:27: warning: If memory allocation fails, then there is a possible null pointer dereference: rc [nullPointerOutOfMemory] bspwm-0.9.12/src/rule.c:122:33: note: Assuming allocation function fails bspwm-0.9.12/src/rule.c:122:33: note: Assignment 'rc=calloc(1,sizeof(struct rule_consequence_t))', assigned value is 0 bspwm-0.9.12/src/rule.c:123:27: note: Null pointer dereference bspwm-0.9.12/src/rule.c:124:2: warning: If memory allocation fails, then there is a possible null pointer dereference: rc [nullPointerOutOfMemory] bspwm-0.9.12/src/rule.c:122:33: note: Assuming allocation function fails bspwm-0.9.12/src/rule.c:122:33: note: Assignment 'rc=calloc(1,sizeof(struct rule_consequence_t))', assigned value is 0 bspwm-0.9.12/src/rule.c:124:2: note: Null pointer dereference bspwm-0.9.12/src/rule.c:125:2: warning: If memory allocation fails, then there is a possible null pointer dereference: rc [nullPointerOutOfMemory] bspwm-0.9.12/src/rule.c:122:33: note: Assuming allocation function fails bspwm-0.9.12/src/rule.c:122:33: note: Assignment 'rc=calloc(1,sizeof(struct rule_consequence_t))', assigned value is 0 bspwm-0.9.12/src/rule.c:125:2: note: Null pointer dereference bspwm-0.9.12/src/rule.c:126:2: warning: If memory allocation fails, then there is a possible null pointer dereference: rc [nullPointerOutOfMemory] bspwm-0.9.12/src/rule.c:122:33: note: Assuming allocation function fails bspwm-0.9.12/src/rule.c:122:33: note: Assignment 'rc=calloc(1,sizeof(struct rule_consequence_t))', assigned value is 0 bspwm-0.9.12/src/rule.c:126:2: note: Null pointer dereference bspwm-0.9.12/src/rule.c:127:2: warning: If memory allocation fails, then there is a possible null pointer dereference: rc [nullPointerOutOfMemory] bspwm-0.9.12/src/rule.c:122:33: note: Assuming allocation function fails bspwm-0.9.12/src/rule.c:122:33: note: Assignment 'rc=calloc(1,sizeof(struct rule_consequence_t))', assigned value is 0 bspwm-0.9.12/src/rule.c:127:2: note: Null pointer dereference bspwm-0.9.12/src/rule.c:134:2: warning: If memory allocation fails, then there is a possible null pointer dereference: pr [nullPointerOutOfMemory] bspwm-0.9.12/src/rule.c:133:29: note: Assuming allocation function fails bspwm-0.9.12/src/rule.c:133:29: note: Assignment 'pr=calloc(1,sizeof(struct pending_rule_t))', assigned value is 0 bspwm-0.9.12/src/rule.c:134:2: note: Null pointer dereference bspwm-0.9.12/src/rule.c:134:13: warning: If memory allocation fails, then there is a possible null pointer dereference: pr [nullPointerOutOfMemory] bspwm-0.9.12/src/rule.c:133:29: note: Assuming allocation function fails bspwm-0.9.12/src/rule.c:133:29: note: Assignment 'pr=calloc(1,sizeof(struct pending_rule_t))', assigned value is 0 bspwm-0.9.12/src/rule.c:134:13: note: Null pointer dereference bspwm-0.9.12/src/rule.c:135:2: warning: If memory allocation fails, then there is a possible null pointer dereference: pr [nullPointerOutOfMemory] bspwm-0.9.12/src/rule.c:133:29: note: Assuming allocation function fails bspwm-0.9.12/src/rule.c:133:29: note: Assignment 'pr=calloc(1,sizeof(struct pending_rule_t))', assigned value is 0 bspwm-0.9.12/src/rule.c:135:2: note: Null pointer dereference bspwm-0.9.12/src/rule.c:135:19: warning: If memory allocation fails, then there is a possible null pointer dereference: pr [nullPointerOutOfMemory] bspwm-0.9.12/src/rule.c:133:29: note: Assuming allocation function fails bspwm-0.9.12/src/rule.c:133:29: note: Assignment 'pr=calloc(1,sizeof(struct pending_rule_t))', assigned value is 0 bspwm-0.9.12/src/rule.c:135:19: note: Null pointer dereference bspwm-0.9.12/src/rule.c:136:2: warning: If memory allocation fails, then there is a possible null pointer dereference: pr [nullPointerOutOfMemory] bspwm-0.9.12/src/rule.c:133:29: note: Assuming allocation function fails bspwm-0.9.12/src/rule.c:133:29: note: Assignment 'pr=calloc(1,sizeof(struct pending_rule_t))', assigned value is 0 bspwm-0.9.12/src/rule.c:136:2: note: Null pointer dereference bspwm-0.9.12/src/rule.c:137:2: warning: If memory allocation fails, then there is a possible null pointer dereference: pr [nullPointerOutOfMemory] bspwm-0.9.12/src/rule.c:133:29: note: Assuming allocation function fails bspwm-0.9.12/src/rule.c:133:29: note: Assignment 'pr=calloc(1,sizeof(struct pending_rule_t))', assigned value is 0 bspwm-0.9.12/src/rule.c:137:2: note: Null pointer dereference bspwm-0.9.12/src/rule.c:138:2: warning: If memory allocation fails, then there is a possible null pointer dereference: pr [nullPointerOutOfMemory] bspwm-0.9.12/src/rule.c:133:29: note: Assuming allocation function fails bspwm-0.9.12/src/rule.c:133:29: note: Assignment 'pr=calloc(1,sizeof(struct pending_rule_t))', assigned value is 0 bspwm-0.9.12/src/rule.c:138:2: note: Null pointer dereference bspwm-0.9.12/src/rule.c:201:2: warning: If memory allocation fails, then there is a possible null pointer dereference: eq [nullPointerOutOfMemory] bspwm-0.9.12/src/rule.c:200:28: note: Assuming allocation function fails bspwm-0.9.12/src/rule.c:200:28: note: Assignment 'eq=calloc(1,sizeof(struct event_queue_t))', assigned value is 0 bspwm-0.9.12/src/rule.c:201:2: note: Null pointer dereference bspwm-0.9.12/src/rule.c:201:13: warning: If memory allocation fails, then there is a possible null pointer dereference: eq [nullPointerOutOfMemory] bspwm-0.9.12/src/rule.c:200:28: note: Assuming allocation function fails bspwm-0.9.12/src/rule.c:200:28: note: Assignment 'eq=calloc(1,sizeof(struct event_queue_t))', assigned value is 0 bspwm-0.9.12/src/rule.c:201:13: note: Null pointer dereference bspwm-0.9.12/src/rule.c:202:2: warning: If memory allocation fails, then there is a possible null pointer dereference: eq [nullPointerOutOfMemory] bspwm-0.9.12/src/rule.c:200:28: note: Assuming allocation function fails bspwm-0.9.12/src/rule.c:200:28: note: Assignment 'eq=calloc(1,sizeof(struct event_queue_t))', assigned value is 0 bspwm-0.9.12/src/rule.c:202:2: note: Null pointer dereference bspwm-0.9.12/src/rule.c:81:33: style: Parameter 'cause' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/rule.c:198:54: style: Parameter 'evt' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/rule.c:400:28: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/subscribe.c:69:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_SETFD [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/subscribe.c:88:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFD [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/subscribe.c:40:2: warning: If memory allocation fails, then there is a possible null pointer dereference: sb [nullPointerOutOfMemory] bspwm-0.9.12/src/subscribe.c:39:32: note: Assuming allocation function fails bspwm-0.9.12/src/subscribe.c:39:32: note: Assignment 'sb=calloc(1,sizeof(struct subscriber_list_t))', assigned value is 0 bspwm-0.9.12/src/subscribe.c:40:2: note: Null pointer dereference bspwm-0.9.12/src/subscribe.c:40:13: warning: If memory allocation fails, then there is a possible null pointer dereference: sb [nullPointerOutOfMemory] bspwm-0.9.12/src/subscribe.c:39:32: note: Assuming allocation function fails bspwm-0.9.12/src/subscribe.c:39:32: note: Assignment 'sb=calloc(1,sizeof(struct subscriber_list_t))', assigned value is 0 bspwm-0.9.12/src/subscribe.c:40:13: note: Null pointer dereference bspwm-0.9.12/src/subscribe.c:41:2: warning: If memory allocation fails, then there is a possible null pointer dereference: sb [nullPointerOutOfMemory] bspwm-0.9.12/src/subscribe.c:39:32: note: Assuming allocation function fails bspwm-0.9.12/src/subscribe.c:39:32: note: Assignment 'sb=calloc(1,sizeof(struct subscriber_list_t))', assigned value is 0 bspwm-0.9.12/src/subscribe.c:41:2: note: Null pointer dereference bspwm-0.9.12/src/subscribe.c:42:2: warning: If memory allocation fails, then there is a possible null pointer dereference: sb [nullPointerOutOfMemory] bspwm-0.9.12/src/subscribe.c:39:32: note: Assuming allocation function fails bspwm-0.9.12/src/subscribe.c:39:32: note: Assignment 'sb=calloc(1,sizeof(struct subscriber_list_t))', assigned value is 0 bspwm-0.9.12/src/subscribe.c:42:2: note: Null pointer dereference bspwm-0.9.12/src/subscribe.c:43:2: warning: If memory allocation fails, then there is a possible null pointer dereference: sb [nullPointerOutOfMemory] bspwm-0.9.12/src/subscribe.c:39:32: note: Assuming allocation function fails bspwm-0.9.12/src/subscribe.c:39:32: note: Assignment 'sb=calloc(1,sizeof(struct subscriber_list_t))', assigned value is 0 bspwm-0.9.12/src/subscribe.c:43:2: note: Null pointer dereference bspwm-0.9.12/src/subscribe.c:44:2: warning: If memory allocation fails, then there is a possible null pointer dereference: sb [nullPointerOutOfMemory] bspwm-0.9.12/src/subscribe.c:39:32: note: Assuming allocation function fails bspwm-0.9.12/src/subscribe.c:39:32: note: Assignment 'sb=calloc(1,sizeof(struct subscriber_list_t))', assigned value is 0 bspwm-0.9.12/src/subscribe.c:44:2: note: Null pointer dereference bspwm-0.9.12/src/subscribe.c:112:13: style: Variable 'n' can be declared as pointer to const [constVariablePointer] bspwm-0.9.12/src/subscribe.c:157:11: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] bspwm-0.9.12/src/tree.c:189:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/tree.c:243:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/tree.c:326:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/tree.c:466:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/tree.c:731:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/tree.c:805:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_ICCCM_WM_HINT_INPUT [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/tree.c:1783:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable f [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/tree.c:2273:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_EVENT_MASK_PROPERTY_CHANGE [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/window.c:200:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_EVENT_MASK_PROPERTY_CHANGE [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/window.c:233:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/window.c:269:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/window.c:298:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/window.c:391:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_CW_BACK_PIXEL [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/window.c:425:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_CW_BORDER_PIXEL [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/window.c:501:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/window.c:646:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_ICCCM_SIZE_HINT_BASE_SIZE [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/window.c:735:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/window.c:779:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/window.c:828:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_CONFIG_WINDOW_BORDER_WIDTH [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/window.c:834:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_CONFIG_WINDOW_X [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/window.c:840:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_CONFIG_WINDOW_WIDTH [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/window.c:846:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_CONFIG_WINDOW_X [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/window.c:869:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/window.c:880:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_STACK_MODE_ABOVE [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/window.c:886:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_STACK_MODE_BELOW [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/window.c:891:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_STACK_MODE_BELOW [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/window.c:897:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/window.c:931:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_INPUT_FOCUS_PARENT [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/window.c:940:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_INPUT_FOCUS_POINTER_ROOT [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/window.c:950:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/window.c:959:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/window.c:966:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_PROP_MODE_REPLACE [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/window.c:973:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_CLIENT_MESSAGE [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/window.c:973:2: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] bspwm-0.9.12/src/window.c:971:40: note: Assuming allocation function fails bspwm-0.9.12/src/window.c:971:40: note: Assignment 'e=calloc(32,1)', assigned value is 0 bspwm-0.9.12/src/window.c:973:2: note: Null pointer dereference bspwm-0.9.12/src/window.c:974:2: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] bspwm-0.9.12/src/window.c:971:40: note: Assuming allocation function fails bspwm-0.9.12/src/window.c:971:40: note: Assignment 'e=calloc(32,1)', assigned value is 0 bspwm-0.9.12/src/window.c:974:2: note: Null pointer dereference bspwm-0.9.12/src/window.c:975:2: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] bspwm-0.9.12/src/window.c:971:40: note: Assuming allocation function fails bspwm-0.9.12/src/window.c:971:40: note: Assignment 'e=calloc(32,1)', assigned value is 0 bspwm-0.9.12/src/window.c:975:2: note: Null pointer dereference bspwm-0.9.12/src/window.c:976:2: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] bspwm-0.9.12/src/window.c:971:40: note: Assuming allocation function fails bspwm-0.9.12/src/window.c:971:40: note: Assignment 'e=calloc(32,1)', assigned value is 0 bspwm-0.9.12/src/window.c:976:2: note: Null pointer dereference bspwm-0.9.12/src/window.c:977:2: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] bspwm-0.9.12/src/window.c:971:40: note: Assuming allocation function fails bspwm-0.9.12/src/window.c:971:40: note: Assignment 'e=calloc(32,1)', assigned value is 0 bspwm-0.9.12/src/window.c:977:2: note: Null pointer dereference bspwm-0.9.12/src/window.c:978:2: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] bspwm-0.9.12/src/window.c:971:40: note: Assuming allocation function fails bspwm-0.9.12/src/window.c:971:40: note: Assignment 'e=calloc(32,1)', assigned value is 0 bspwm-0.9.12/src/window.c:978:2: note: Null pointer dereference bspwm-0.9.12/src/window.c:83:19: style: Local variable 'm' shadows outer variable [shadowVariable] bspwm-0.9.12/src/window.c:76:13: note: Shadowed declaration bspwm-0.9.12/src/window.c:83:19: note: Shadow variable bspwm-0.9.12/src/window.c:84:20: style: Local variable 'd' shadows outer variable [shadowVariable] bspwm-0.9.12/src/window.c:77:13: note: Shadowed declaration bspwm-0.9.12/src/window.c:84:20: note: Shadow variable bspwm-0.9.12/src/window.c:749:17: style: Local variable 'pt' shadows outer argument [shadowArgument] bspwm-0.9.12/src/window.c:725:52: note: Shadowed declaration bspwm-0.9.12/src/window.c:749:17: note: Shadow variable bspwm-0.9.12/src/window.c:987:23: style: Local variable 'err' shadows outer function [shadowFunction] bspwm-0.9.12/src/helpers.h:89:6: note: Shadowed declaration bspwm-0.9.12/src/window.c:987:23: note: Shadow variable bspwm-0.9.12/src/window.c:60:23: style: Variable 'pr' can be declared as pointer to const [constVariablePointer] bspwm-0.9.12/src/window.c:292:38: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/window.c:436:16: style: Variable 'wins' can be declared as pointer to const [constVariablePointer] bspwm-0.9.12/src/window.c:475:12: style: Variable 'c' can be declared as pointer to const [constVariablePointer] bspwm-0.9.12/src/window.c:849:31: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/tests/test_window.c:27:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bspwm-0.9.12/tests/test_window.c:40:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_GC_FOREGROUND [valueFlowBailoutIncompleteVar] bspwm-0.9.12/tests/test_window.c:83:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bspwm-0.9.12/src/tree.c:187:2: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] bspwm-0.9.12/src/tree.c:186:22: note: Assuming allocation function fails bspwm-0.9.12/src/tree.c:186:22: note: Assignment 'p=calloc(1,sizeof(struct presel_t))', assigned value is 0 bspwm-0.9.12/src/tree.c:187:2: note: Null pointer dereference bspwm-0.9.12/src/tree.c:188:2: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] bspwm-0.9.12/src/tree.c:186:22: note: Assuming allocation function fails bspwm-0.9.12/src/tree.c:186:22: note: Assignment 'p=calloc(1,sizeof(struct presel_t))', assigned value is 0 bspwm-0.9.12/src/tree.c:188:2: note: Null pointer dereference bspwm-0.9.12/src/tree.c:189:2: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] bspwm-0.9.12/src/tree.c:186:22: note: Assuming allocation function fails bspwm-0.9.12/src/tree.c:186:22: note: Assignment 'p=calloc(1,sizeof(struct presel_t))', assigned value is 0 bspwm-0.9.12/src/tree.c:189:2: note: Null pointer dereference bspwm-0.9.12/src/tree.c:735:2: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] bspwm-0.9.12/src/tree.c:734:20: note: Assuming allocation function fails bspwm-0.9.12/src/tree.c:734:20: note: Assignment 'n=calloc(1,sizeof(struct node_t))', assigned value is 0 bspwm-0.9.12/src/tree.c:735:2: note: Null pointer dereference bspwm-0.9.12/src/tree.c:736:2: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] bspwm-0.9.12/src/tree.c:734:20: note: Assuming allocation function fails bspwm-0.9.12/src/tree.c:734:20: note: Assignment 'n=calloc(1,sizeof(struct node_t))', assigned value is 0 bspwm-0.9.12/src/tree.c:736:2: note: Null pointer dereference bspwm-0.9.12/src/tree.c:736:14: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] bspwm-0.9.12/src/tree.c:734:20: note: Assuming allocation function fails bspwm-0.9.12/src/tree.c:734:20: note: Assignment 'n=calloc(1,sizeof(struct node_t))', assigned value is 0 bspwm-0.9.12/src/tree.c:736:14: note: Null pointer dereference bspwm-0.9.12/src/tree.c:736:31: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] bspwm-0.9.12/src/tree.c:734:20: note: Assuming allocation function fails bspwm-0.9.12/src/tree.c:734:20: note: Assignment 'n=calloc(1,sizeof(struct node_t))', assigned value is 0 bspwm-0.9.12/src/tree.c:736:31: note: Null pointer dereference bspwm-0.9.12/src/tree.c:737:2: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] bspwm-0.9.12/src/tree.c:734:20: note: Assuming allocation function fails bspwm-0.9.12/src/tree.c:734:20: note: Assignment 'n=calloc(1,sizeof(struct node_t))', assigned value is 0 bspwm-0.9.12/src/tree.c:737:2: note: Null pointer dereference bspwm-0.9.12/src/tree.c:737:14: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] bspwm-0.9.12/src/tree.c:734:20: note: Assuming allocation function fails bspwm-0.9.12/src/tree.c:734:20: note: Assignment 'n=calloc(1,sizeof(struct node_t))', assigned value is 0 bspwm-0.9.12/src/tree.c:737:14: note: Null pointer dereference bspwm-0.9.12/src/tree.c:737:26: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] bspwm-0.9.12/src/tree.c:734:20: note: Assuming allocation function fails bspwm-0.9.12/src/tree.c:734:20: note: Assignment 'n=calloc(1,sizeof(struct node_t))', assigned value is 0 bspwm-0.9.12/src/tree.c:737:26: note: Null pointer dereference bspwm-0.9.12/src/tree.c:737:38: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] bspwm-0.9.12/src/tree.c:734:20: note: Assuming allocation function fails bspwm-0.9.12/src/tree.c:734:20: note: Assignment 'n=calloc(1,sizeof(struct node_t))', assigned value is 0 bspwm-0.9.12/src/tree.c:737:38: note: Null pointer dereference bspwm-0.9.12/src/tree.c:737:51: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] bspwm-0.9.12/src/tree.c:734:20: note: Assuming allocation function fails bspwm-0.9.12/src/tree.c:734:20: note: Assignment 'n=calloc(1,sizeof(struct node_t))', assigned value is 0 bspwm-0.9.12/src/tree.c:737:51: note: Null pointer dereference bspwm-0.9.12/src/tree.c:737:63: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] bspwm-0.9.12/src/tree.c:734:20: note: Assuming allocation function fails bspwm-0.9.12/src/tree.c:734:20: note: Assignment 'n=calloc(1,sizeof(struct node_t))', assigned value is 0 bspwm-0.9.12/src/tree.c:737:63: note: Null pointer dereference bspwm-0.9.12/src/tree.c:738:2: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] bspwm-0.9.12/src/tree.c:734:20: note: Assuming allocation function fails bspwm-0.9.12/src/tree.c:734:20: note: Assignment 'n=calloc(1,sizeof(struct node_t))', assigned value is 0 bspwm-0.9.12/src/tree.c:738:2: note: Null pointer dereference bspwm-0.9.12/src/tree.c:739:2: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] bspwm-0.9.12/src/tree.c:734:20: note: Assuming allocation function fails bspwm-0.9.12/src/tree.c:734:20: note: Assignment 'n=calloc(1,sizeof(struct node_t))', assigned value is 0 bspwm-0.9.12/src/tree.c:739:2: note: Null pointer dereference bspwm-0.9.12/src/tree.c:740:2: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] bspwm-0.9.12/src/tree.c:734:20: note: Assuming allocation function fails bspwm-0.9.12/src/tree.c:734:20: note: Assignment 'n=calloc(1,sizeof(struct node_t))', assigned value is 0 bspwm-0.9.12/src/tree.c:740:2: note: Null pointer dereference bspwm-0.9.12/src/tree.c:741:2: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] bspwm-0.9.12/src/tree.c:734:20: note: Assuming allocation function fails bspwm-0.9.12/src/tree.c:734:20: note: Assignment 'n=calloc(1,sizeof(struct node_t))', assigned value is 0 bspwm-0.9.12/src/tree.c:741:2: note: Null pointer dereference bspwm-0.9.12/src/tree.c:742:2: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] bspwm-0.9.12/src/tree.c:734:20: note: Assuming allocation function fails bspwm-0.9.12/src/tree.c:734:20: note: Assignment 'n=calloc(1,sizeof(struct node_t))', assigned value is 0 bspwm-0.9.12/src/tree.c:742:2: note: Null pointer dereference bspwm-0.9.12/src/tree.c:749:2: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] bspwm-0.9.12/src/tree.c:748:22: note: Assuming allocation function fails bspwm-0.9.12/src/tree.c:748:22: note: Assignment 'c=calloc(1,sizeof(struct client_t))', assigned value is 0 bspwm-0.9.12/src/tree.c:749:2: note: Null pointer dereference bspwm-0.9.12/src/tree.c:749:13: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] bspwm-0.9.12/src/tree.c:748:22: note: Assuming allocation function fails bspwm-0.9.12/src/tree.c:748:22: note: Assignment 'c=calloc(1,sizeof(struct client_t))', assigned value is 0 bspwm-0.9.12/src/tree.c:749:13: note: Null pointer dereference bspwm-0.9.12/src/tree.c:750:2: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] bspwm-0.9.12/src/tree.c:748:22: note: Assuming allocation function fails bspwm-0.9.12/src/tree.c:748:22: note: Assignment 'c=calloc(1,sizeof(struct client_t))', assigned value is 0 bspwm-0.9.12/src/tree.c:750:2: note: Null pointer dereference bspwm-0.9.12/src/tree.c:750:13: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] bspwm-0.9.12/src/tree.c:748:22: note: Assuming allocation function fails bspwm-0.9.12/src/tree.c:748:22: note: Assignment 'c=calloc(1,sizeof(struct client_t))', assigned value is 0 bspwm-0.9.12/src/tree.c:750:13: note: Null pointer dereference bspwm-0.9.12/src/tree.c:751:11: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] bspwm-0.9.12/src/tree.c:748:22: note: Assuming allocation function fails bspwm-0.9.12/src/tree.c:748:22: note: Assignment 'c=calloc(1,sizeof(struct client_t))', assigned value is 0 bspwm-0.9.12/src/tree.c:751:11: note: Null pointer dereference bspwm-0.9.12/src/tree.c:752:11: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] bspwm-0.9.12/src/tree.c:748:22: note: Assuming allocation function fails bspwm-0.9.12/src/tree.c:748:22: note: Assignment 'c=calloc(1,sizeof(struct client_t))', assigned value is 0 bspwm-0.9.12/src/tree.c:752:11: note: Null pointer dereference bspwm-0.9.12/src/tree.c:753:2: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] bspwm-0.9.12/src/tree.c:748:22: note: Assuming allocation function fails bspwm-0.9.12/src/tree.c:748:22: note: Assignment 'c=calloc(1,sizeof(struct client_t))', assigned value is 0 bspwm-0.9.12/src/tree.c:753:2: note: Null pointer dereference bspwm-0.9.12/src/tree.c:754:2: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] bspwm-0.9.12/src/tree.c:748:22: note: Assuming allocation function fails bspwm-0.9.12/src/tree.c:748:22: note: Assignment 'c=calloc(1,sizeof(struct client_t))', assigned value is 0 bspwm-0.9.12/src/tree.c:754:2: note: Null pointer dereference bspwm-0.9.12/src/tree.c:755:2: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] bspwm-0.9.12/src/tree.c:748:22: note: Assuming allocation function fails bspwm-0.9.12/src/tree.c:748:22: note: Assignment 'c=calloc(1,sizeof(struct client_t))', assigned value is 0 bspwm-0.9.12/src/tree.c:755:2: note: Null pointer dereference bspwm-0.9.12/src/tree.c:756:2: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] bspwm-0.9.12/src/tree.c:748:22: note: Assuming allocation function fails bspwm-0.9.12/src/tree.c:748:22: note: Assignment 'c=calloc(1,sizeof(struct client_t))', assigned value is 0 bspwm-0.9.12/src/tree.c:756:2: note: Null pointer dereference bspwm-0.9.12/src/tree.c:757:2: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] bspwm-0.9.12/src/tree.c:748:22: note: Assuming allocation function fails bspwm-0.9.12/src/tree.c:748:22: note: Assignment 'c=calloc(1,sizeof(struct client_t))', assigned value is 0 bspwm-0.9.12/src/tree.c:757:2: note: Null pointer dereference bspwm-0.9.12/src/tree.c:758:2: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] bspwm-0.9.12/src/tree.c:748:22: note: Assuming allocation function fails bspwm-0.9.12/src/tree.c:748:22: note: Assignment 'c=calloc(1,sizeof(struct client_t))', assigned value is 0 bspwm-0.9.12/src/tree.c:758:2: note: Null pointer dereference bspwm-0.9.12/src/tree.c:759:2: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] bspwm-0.9.12/src/tree.c:748:22: note: Assuming allocation function fails bspwm-0.9.12/src/tree.c:748:22: note: Assignment 'c=calloc(1,sizeof(struct client_t))', assigned value is 0 bspwm-0.9.12/src/tree.c:759:2: note: Null pointer dereference bspwm-0.9.12/src/tree.c:760:2: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] bspwm-0.9.12/src/tree.c:748:22: note: Assuming allocation function fails bspwm-0.9.12/src/tree.c:748:22: note: Assignment 'c=calloc(1,sizeof(struct client_t))', assigned value is 0 bspwm-0.9.12/src/tree.c:760:2: note: Null pointer dereference bspwm-0.9.12/src/tree.c:761:2: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] bspwm-0.9.12/src/tree.c:748:22: note: Assuming allocation function fails bspwm-0.9.12/src/tree.c:748:22: note: Assignment 'c=calloc(1,sizeof(struct client_t))', assigned value is 0 bspwm-0.9.12/src/tree.c:761:2: note: Null pointer dereference bspwm-0.9.12/src/tree.c:2253:10: warning: Possible null pointer dereference: m [nullPointer] bspwm-0.9.12/src/tree.c:1158:28: note: Calling function 'get_rectangle', 1st argument 'NULL' value is 0 bspwm-0.9.12/src/tree.c:2253:10: note: Null pointer dereference bspwm-0.9.12/tests/test_window.c:23:75: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/tests/test_window.c:25:23: style: Variable 'err' can be declared as pointer to const [constVariablePointer] bspwm-0.9.12/tests/test_window.c:112:32: style: Variable 'cme' can be declared as pointer to const [constVariablePointer] bspwm-0.9.12/src/tree.c:368:14: style: Variable 'q' can be declared as pointer to const [constVariablePointer] bspwm-0.9.12/src/tree.c:821:22: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/tree.c:1026:23: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/tree.c:1026:34: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/tree.c:1035:28: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/tree.c:1035:39: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/tree.c:2250:42: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] bspwm-0.9.12/src/tree.c:2255:12: style: Variable 'c' can be declared as pointer to const [constVariablePointer] diff: head bspwm-0.9.12/src/messages.c:816:6: style: Condition 'changed' is always false [knownConditionTrueFalse] bspwm-0.9.12/src/messages.c:653:17: note: Assignment 'changed=false', assigned value is 0 bspwm-0.9.12/src/messages.c:816:6: note: Condition 'changed' is always false head bspwm-0.9.12/src/tree.c:2250:42: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] head bspwm-0.9.12/src/tree.c:2255:12: style: Variable 'c' can be declared as pointer to const [constVariablePointer] DONE