2025-05-09 13:47 ftp://ftp.de.debian.org/debian/pool/main/b/bspwm/bspwm_0.9.10.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 -j1 platform: Linux-6.8.0-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: d655a3a (2025-05-09 12:19:47 +0200) count: 326 300 elapsed-time: 19.1 18.5 head-timing-info: old-timing-info: head results: bspwm-0.9.10/src/bspc.c:40:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/bspc.c:47:8: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] bspwm-0.9.10/src/bspwm.c:101:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/bspwm.c:339:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/bspwm.c:451:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/bspwm.c:523:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/bspwm.c:184: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.10/src/bspwm.c:178:15: note: Assuming that condition 'sock_fd==-1' is not redundant bspwm-0.9.10/src/bspwm.c:184:12: note: Invalid argument bspwm-0.9.10/src/bspwm.c:272:10: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] bspwm-0.9.10/src/bspwm.c:270:18: note: Assuming allocation function fails bspwm-0.9.10/src/bspwm.c:270:18: note: Assignment 'f=fopen(state_path,"w")', assigned value is 0 bspwm-0.9.10/src/bspwm.c:272:10: note: Null pointer dereference bspwm-0.9.10/src/bspwm.c:296:4: warning: If memory allocation fails, then there is a possible null pointer dereference: rargv [nullPointerOutOfMemory] bspwm-0.9.10/src/bspwm.c:293:24: note: Assuming allocation function fails bspwm-0.9.10/src/bspwm.c:293:24: note: Assignment 'rargv=malloc(len*sizeof(char*))', assigned value is 0 bspwm-0.9.10/src/bspwm.c:296:4: note: Null pointer dereference bspwm-0.9.10/src/bspwm.c:302:3: warning: If memory allocation fails, then there is a possible null pointer dereference: rargv [nullPointerOutOfMemory] bspwm-0.9.10/src/bspwm.c:293:24: note: Assuming allocation function fails bspwm-0.9.10/src/bspwm.c:293:24: note: Assignment 'rargv=malloc(len*sizeof(char*))', assigned value is 0 bspwm-0.9.10/src/bspwm.c:302:3: note: Null pointer dereference bspwm-0.9.10/src/bspwm.c:303:3: warning: If memory allocation fails, then there is a possible null pointer dereference: rargv [nullPointerOutOfMemory] bspwm-0.9.10/src/bspwm.c:293:24: note: Assuming allocation function fails bspwm-0.9.10/src/bspwm.c:293:24: note: Assignment 'rargv=malloc(len*sizeof(char*))', assigned value is 0 bspwm-0.9.10/src/bspwm.c:303:3: note: Null pointer dereference bspwm-0.9.10/src/bspwm.c:304:3: warning: If memory allocation fails, then there is a possible null pointer dereference: rargv [nullPointerOutOfMemory] bspwm-0.9.10/src/bspwm.c:293:24: note: Assuming allocation function fails bspwm-0.9.10/src/bspwm.c:293:24: note: Assignment 'rargv=malloc(len*sizeof(char*))', assigned value is 0 bspwm-0.9.10/src/bspwm.c:304:3: note: Null pointer dereference bspwm-0.9.10/src/bspwm.c:305:3: warning: If memory allocation fails, then there is a possible null pointer dereference: rargv [nullPointerOutOfMemory] bspwm-0.9.10/src/bspwm.c:293:24: note: Assuming allocation function fails bspwm-0.9.10/src/bspwm.c:293:24: note: Assignment 'rargv=malloc(len*sizeof(char*))', assigned value is 0 bspwm-0.9.10/src/bspwm.c:305:3: note: Null pointer dereference bspwm-0.9.10/src/bspwm.c:306:3: warning: If memory allocation fails, then there is a possible null pointer dereference: rargv [nullPointerOutOfMemory] bspwm-0.9.10/src/bspwm.c:293:24: note: Assuming allocation function fails bspwm-0.9.10/src/bspwm.c:293:24: note: Assignment 'rargv=malloc(len*sizeof(char*))', assigned value is 0 bspwm-0.9.10/src/bspwm.c:306:3: note: Null pointer dereference bspwm-0.9.10/src/bspwm.c:308:25: warning: If memory allocation fails, then there is a possible null pointer dereference: rargv [nullPointerOutOfMemory] bspwm-0.9.10/src/bspwm.c:293:24: note: Assuming allocation function fails bspwm-0.9.10/src/bspwm.c:293:24: note: Assignment 'rargv=malloc(len*sizeof(char*))', assigned value is 0 bspwm-0.9.10/src/bspwm.c:308:25: note: Null pointer dereference bspwm-0.9.10/src/bspwm.c:134:9: style: Variable 'config_home' can be declared as pointer to const [constVariablePointer] bspwm-0.9.10/src/bspwm.c:159:9: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] bspwm-0.9.10/src/bspwm.c:419:32: style: Variable 'xsi' can be declared as pointer to const [constVariablePointer] bspwm-0.9.10/src/desktop.c:260:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/desktop.c:259:11: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] bspwm-0.9.10/src/desktop.c:258:23: note: Assuming allocation function fails bspwm-0.9.10/src/desktop.c:258:23: note: Assignment 'd=calloc(1,sizeof(struct desktop_t))', assigned value is 0 bspwm-0.9.10/src/desktop.c:259:11: note: Null pointer dereference bspwm-0.9.10/src/desktop.c:263:2: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] bspwm-0.9.10/src/desktop.c:258:23: note: Assuming allocation function fails bspwm-0.9.10/src/desktop.c:258:23: note: Assignment 'd=calloc(1,sizeof(struct desktop_t))', assigned value is 0 bspwm-0.9.10/src/desktop.c:263:2: note: Null pointer dereference bspwm-0.9.10/src/desktop.c:263:12: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] bspwm-0.9.10/src/desktop.c:258:23: note: Assuming allocation function fails bspwm-0.9.10/src/desktop.c:258:23: note: Assignment 'd=calloc(1,sizeof(struct desktop_t))', assigned value is 0 bspwm-0.9.10/src/desktop.c:263:12: note: Null pointer dereference bspwm-0.9.10/src/desktop.c:264:2: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] bspwm-0.9.10/src/desktop.c:258:23: note: Assuming allocation function fails bspwm-0.9.10/src/desktop.c:258:23: note: Assignment 'd=calloc(1,sizeof(struct desktop_t))', assigned value is 0 bspwm-0.9.10/src/desktop.c:264:2: note: Null pointer dereference bspwm-0.9.10/src/desktop.c:264:12: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] bspwm-0.9.10/src/desktop.c:258:23: note: Assuming allocation function fails bspwm-0.9.10/src/desktop.c:258:23: note: Assignment 'd=calloc(1,sizeof(struct desktop_t))', assigned value is 0 bspwm-0.9.10/src/desktop.c:264:12: note: Null pointer dereference bspwm-0.9.10/src/desktop.c:265:2: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] bspwm-0.9.10/src/desktop.c:258:23: note: Assuming allocation function fails bspwm-0.9.10/src/desktop.c:258:23: note: Assignment 'd=calloc(1,sizeof(struct desktop_t))', assigned value is 0 bspwm-0.9.10/src/desktop.c:265:2: note: Null pointer dereference bspwm-0.9.10/src/desktop.c:266:2: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] bspwm-0.9.10/src/desktop.c:258:23: note: Assuming allocation function fails bspwm-0.9.10/src/desktop.c:258:23: note: Assignment 'd=calloc(1,sizeof(struct desktop_t))', assigned value is 0 bspwm-0.9.10/src/desktop.c:266:2: note: Null pointer dereference bspwm-0.9.10/src/desktop.c:267:2: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] bspwm-0.9.10/src/desktop.c:258:23: note: Assuming allocation function fails bspwm-0.9.10/src/desktop.c:258:23: note: Assignment 'd=calloc(1,sizeof(struct desktop_t))', assigned value is 0 bspwm-0.9.10/src/desktop.c:267:2: note: Null pointer dereference bspwm-0.9.10/src/desktop.c:268:2: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] bspwm-0.9.10/src/desktop.c:258:23: note: Assuming allocation function fails bspwm-0.9.10/src/desktop.c:258:23: note: Assignment 'd=calloc(1,sizeof(struct desktop_t))', assigned value is 0 bspwm-0.9.10/src/desktop.c:268:2: note: Null pointer dereference bspwm-0.9.10/src/desktop.c:269:2: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] bspwm-0.9.10/src/desktop.c:258:23: note: Assuming allocation function fails bspwm-0.9.10/src/desktop.c:258:23: note: Assignment 'd=calloc(1,sizeof(struct desktop_t))', assigned value is 0 bspwm-0.9.10/src/desktop.c:269:2: note: Null pointer dereference bspwm-0.9.10/src/events.c:84:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_RANDR_SCREEN_CHANGE_NOTIFY [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/events.c:112:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_CONFIG_WINDOW_X [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/events.c:257:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_ICCCM_WM_STATE_WITHDRAWN [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/events.c:273:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_ATOM_WM_NORMAL_HINTS [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/events.c:328:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_EWMH_CLIENT_SOURCE_TYPE_NORMAL [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/events.c:347:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NOTIFY_MODE_GRAB [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/events.c:372:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_BUTTON_INDEX_ANY [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/events.c:394:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NOTIFY_MODE_NORMAL [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/events.c:437:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/events.c:466:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_EWMH_WM_STATE_ADD [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/events.c:552:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_MAPPING_POINTER [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/events.c:201:32: style: Local variable 'evt' shadows outer argument [shadowArgument] bspwm-0.9.10/src/events.c:98:45: note: Shadowed declaration bspwm-0.9.10/src/events.c:201:32: note: Shadow variable bspwm-0.9.10/src/events.c:223:32: style: Variable 'e' can be declared as pointer to const [constVariablePointer] bspwm-0.9.10/src/events.c:391:28: style: Variable 'e' can be declared as pointer to const [constVariablePointer] bspwm-0.9.10/src/events.c:550:30: style: Variable 'e' can be declared as pointer to const [constVariablePointer] bspwm-0.9.10/src/ewmh.c:38:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xcb_ewmh_connection_t [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/ewmh.c:63:44: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/ewmh.c:269:12: style: Variable 'c' can be declared as pointer to const [constVariablePointer] bspwm-0.9.10/src/helpers.c:40:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/helpers.c:49:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/helpers.c:60:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/helpers.c:110:25: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/helpers.c:125:8: style: Variable 'runtime_dir' can be declared as pointer to const [constVariablePointer] bspwm-0.9.10/src/history.c:35:2: warning: If memory allocation fails, then there is a possible null pointer dereference: h [nullPointerOutOfMemory] bspwm-0.9.10/src/history.c:34:23: note: Assuming allocation function fails bspwm-0.9.10/src/history.c:34:23: note: Assignment 'h=calloc(1,sizeof(struct history_t))', assigned value is 0 bspwm-0.9.10/src/history.c:35:2: note: Null pointer dereference bspwm-0.9.10/src/history.c:36:2: warning: If memory allocation fails, then there is a possible null pointer dereference: h [nullPointerOutOfMemory] bspwm-0.9.10/src/history.c:34:23: note: Assuming allocation function fails bspwm-0.9.10/src/history.c:34:23: note: Assignment 'h=calloc(1,sizeof(struct history_t))', assigned value is 0 bspwm-0.9.10/src/history.c:36:2: note: Null pointer dereference bspwm-0.9.10/src/history.c:36:12: warning: If memory allocation fails, then there is a possible null pointer dereference: h [nullPointerOutOfMemory] bspwm-0.9.10/src/history.c:34:23: note: Assuming allocation function fails bspwm-0.9.10/src/history.c:34:23: note: Assignment 'h=calloc(1,sizeof(struct history_t))', assigned value is 0 bspwm-0.9.10/src/history.c:36:12: note: Null pointer dereference bspwm-0.9.10/src/history.c:37:2: warning: If memory allocation fails, then there is a possible null pointer dereference: h [nullPointerOutOfMemory] bspwm-0.9.10/src/history.c:34:23: note: Assuming allocation function fails bspwm-0.9.10/src/history.c:34:23: note: Assignment 'h=calloc(1,sizeof(struct history_t))', assigned value is 0 bspwm-0.9.10/src/history.c:37:2: note: Null pointer dereference bspwm-0.9.10/src/history.c:114:32: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/history.c:171:38: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/history.c:182:44: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/history.c:182:58: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/history.c:192:44: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/history.c:311:31: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/messages.c:863:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/messages.c:1231:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/messages.c:1599:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCNi8 [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/messages.c:1804:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi8 [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/messages.c:323: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.10/src/messages.c:324: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.10/src/messages.c:1148:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bspwm-0.9.10/src/messages.c:1149:26: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bspwm-0.9.10/src/messages.c:1150:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bspwm-0.9.10/src/messages.c:1005:7: warning: If memory allocation fails, then there is a possible null pointer dereference: monitor_sel [nullPointerOutOfMemory] bspwm-0.9.10/src/messages.c:1004:26: note: Assuming allocation function fails bspwm-0.9.10/src/messages.c:1004:26: note: Assignment 'monitor_sel=malloc(sizeof(struct monitor_select_t))', assigned value is 0 bspwm-0.9.10/src/messages.c:1005:7: note: Null pointer dereference bspwm-0.9.10/src/messages.c:1027:7: warning: If memory allocation fails, then there is a possible null pointer dereference: desktop_sel [nullPointerOutOfMemory] bspwm-0.9.10/src/messages.c:1026:26: note: Assuming allocation function fails bspwm-0.9.10/src/messages.c:1026:26: note: Assignment 'desktop_sel=malloc(sizeof(struct desktop_select_t))', assigned value is 0 bspwm-0.9.10/src/messages.c:1027:7: note: Null pointer dereference bspwm-0.9.10/src/messages.c:1050:7: warning: If memory allocation fails, then there is a possible null pointer dereference: node_sel [nullPointerOutOfMemory] bspwm-0.9.10/src/messages.c:1049:23: note: Assuming allocation function fails bspwm-0.9.10/src/messages.c:1049:23: note: Assignment 'node_sel=malloc(sizeof(struct node_select_t))', assigned value is 0 bspwm-0.9.10/src/messages.c:1050:7: note: Null pointer dereference bspwm-0.9.10/src/messages.c:1148:10: style: Variable 'class_name' can be declared as pointer to const [constVariablePointer] bspwm-0.9.10/src/messages.c:1149:10: style: Variable 'instance_name' can be declared as pointer to const [constVariablePointer] bspwm-0.9.10/src/messages.c:1150:10: style: Variable 'name' can be declared as pointer to const [constVariablePointer] bspwm-0.9.10/src/messages.c:1227:10: style: Variable 'name' can be declared as pointer to const [constVariablePointer] bspwm-0.9.10/src/messages.c:338:68: error: Uninitialized variable: b [legacyUninitvar] bspwm-0.9.10/src/messages.c:341:68: error: Uninitialized variable: b [legacyUninitvar] bspwm-0.9.10/src/messages.c:343:69: error: Uninitialized variable: b [legacyUninitvar] bspwm-0.9.10/src/messages.c:345:68: error: Uninitialized variable: b [legacyUninitvar] bspwm-0.9.10/src/messages.c:347:68: error: Uninitialized variable: b [legacyUninitvar] bspwm-0.9.10/src/monitor.c:45:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/monitor.c:70:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/monitor.c:121:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_ATOM_STRING [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/monitor.c:470:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_CURRENT_TIME [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/monitor.c:48:2: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] bspwm-0.9.10/src/monitor.c:44:23: note: Assuming allocation function fails bspwm-0.9.10/src/monitor.c:44:23: note: Assignment 'm=calloc(1,sizeof(struct monitor_t))', assigned value is 0 bspwm-0.9.10/src/monitor.c:48:2: note: Null pointer dereference bspwm-0.9.10/src/monitor.c:49:11: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] bspwm-0.9.10/src/monitor.c:44:23: note: Assuming allocation function fails bspwm-0.9.10/src/monitor.c:44:23: note: Assignment 'm=calloc(1,sizeof(struct monitor_t))', assigned value is 0 bspwm-0.9.10/src/monitor.c:49:11: note: Null pointer dereference bspwm-0.9.10/src/monitor.c:50:2: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] bspwm-0.9.10/src/monitor.c:44:23: note: Assuming allocation function fails bspwm-0.9.10/src/monitor.c:44:23: note: Assignment 'm=calloc(1,sizeof(struct monitor_t))', assigned value is 0 bspwm-0.9.10/src/monitor.c:50:2: note: Null pointer dereference bspwm-0.9.10/src/monitor.c:51:2: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] bspwm-0.9.10/src/monitor.c:44:23: note: Assuming allocation function fails bspwm-0.9.10/src/monitor.c:44:23: note: Assignment 'm=calloc(1,sizeof(struct monitor_t))', assigned value is 0 bspwm-0.9.10/src/monitor.c:51:2: note: Null pointer dereference bspwm-0.9.10/src/monitor.c:52:2: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] bspwm-0.9.10/src/monitor.c:44:23: note: Assuming allocation function fails bspwm-0.9.10/src/monitor.c:44:23: note: Assignment 'm=calloc(1,sizeof(struct monitor_t))', assigned value is 0 bspwm-0.9.10/src/monitor.c:52:2: note: Null pointer dereference bspwm-0.9.10/src/monitor.c:53:2: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] bspwm-0.9.10/src/monitor.c:44:23: note: Assuming allocation function fails bspwm-0.9.10/src/monitor.c:44:23: note: Assignment 'm=calloc(1,sizeof(struct monitor_t))', assigned value is 0 bspwm-0.9.10/src/monitor.c:53:2: note: Null pointer dereference bspwm-0.9.10/src/monitor.c:54:2: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] bspwm-0.9.10/src/monitor.c:44:23: note: Assuming allocation function fails bspwm-0.9.10/src/monitor.c:44:23: note: Assignment 'm=calloc(1,sizeof(struct monitor_t))', assigned value is 0 bspwm-0.9.10/src/monitor.c:54:2: note: Null pointer dereference bspwm-0.9.10/src/monitor.c:54:12: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] bspwm-0.9.10/src/monitor.c:44:23: note: Assuming allocation function fails bspwm-0.9.10/src/monitor.c:44:23: note: Assignment 'm=calloc(1,sizeof(struct monitor_t))', assigned value is 0 bspwm-0.9.10/src/monitor.c:54:12: note: Null pointer dereference bspwm-0.9.10/src/monitor.c:55:2: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] bspwm-0.9.10/src/monitor.c:44:23: note: Assuming allocation function fails bspwm-0.9.10/src/monitor.c:44:23: note: Assignment 'm=calloc(1,sizeof(struct monitor_t))', assigned value is 0 bspwm-0.9.10/src/monitor.c:55:2: note: Null pointer dereference bspwm-0.9.10/src/monitor.c:55:12: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] bspwm-0.9.10/src/monitor.c:44:23: note: Assuming allocation function fails bspwm-0.9.10/src/monitor.c:44:23: note: Assignment 'm=calloc(1,sizeof(struct monitor_t))', assigned value is 0 bspwm-0.9.10/src/monitor.c:55:12: note: Null pointer dereference bspwm-0.9.10/src/monitor.c:55:27: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] bspwm-0.9.10/src/monitor.c:44:23: note: Assuming allocation function fails bspwm-0.9.10/src/monitor.c:44:23: note: Assignment 'm=calloc(1,sizeof(struct monitor_t))', assigned value is 0 bspwm-0.9.10/src/monitor.c:55:27: note: Null pointer dereference bspwm-0.9.10/src/monitor.c:56:2: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] bspwm-0.9.10/src/monitor.c:44:23: note: Assuming allocation function fails bspwm-0.9.10/src/monitor.c:44:23: note: Assignment 'm=calloc(1,sizeof(struct monitor_t))', assigned value is 0 bspwm-0.9.10/src/monitor.c:56:2: note: Null pointer dereference bspwm-0.9.10/src/monitor.c:57:2: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] bspwm-0.9.10/src/monitor.c:44:23: note: Assuming allocation function fails bspwm-0.9.10/src/monitor.c:44:23: note: Assignment 'm=calloc(1,sizeof(struct monitor_t))', assigned value is 0 bspwm-0.9.10/src/monitor.c:57:2: note: Null pointer dereference bspwm-0.9.10/src/monitor.c:490:14: style: Local variable 'len' shadows outer variable [shadowVariable] bspwm-0.9.10/src/monitor.c:465:6: note: Shadowed declaration bspwm-0.9.10/src/monitor.c:490:14: note: Shadow variable bspwm-0.9.10/src/monitor.c:160:38: style: Parameter 'rs' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/monitor.c:160:59: style: Parameter 'rd' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/monitor.c:287:13: style: Variable 'last_mon' can be declared as pointer to const [constVariablePointer] bspwm-0.9.10/src/parse.c:189:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_MOD_MASK_SHIFT [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/parse.c:219:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_BUTTON_INDEX_ANY [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/parse.c:349:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/parse.c:296: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.10/src/parse.c:306: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.10/src/parse.c:360: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.10/src/parse.c:361: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.10/src/parse.c:8:23: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/parse.c:20:29: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/parse.c:32:29: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/parse.c:44:25: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/parse.c:56:31: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/parse.c:74:30: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/parse.c:89:28: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/parse.c:107:34: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/parse.c:119:38: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/parse.c:131:36: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/parse.c:144:23: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/parse.c:156:32: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/parse.c:186:32: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/parse.c:216:31: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/parse.c:237:33: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/parse.c:258:33: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/parse.c:270:35: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/parse.c:296:9: style: Variable 'key' can be declared as pointer to const [constVariablePointer] bspwm-0.9.10/src/parse.c:319:28: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/parse.c:331:25: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/parse.c:346:21: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/parse.c:376:24: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/parse.c:381:28: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/parse.c:395:34: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/parse.c:474:36: style: Parameter 'desc' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/parse.c:492:36: style: Parameter 'desc' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/parse.c:514:33: style: Parameter 'desc' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/pointer.c:51:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NO_SYMBOL [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/pointer.c:61:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_BUTTON_INDEX_ANY [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/pointer.c:76:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NO_SYMBOL [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/pointer.c:119:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_BUTTON_INDEX_ANY [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/pointer.c:143:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NO_SYMBOL [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/pointer.c:208:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/pointer.c:280:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_MOTION_NOTIFY [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/pointer.c:335:20: style: Local variable 'r' shadows outer variable [shadowVariable] bspwm-0.9.10/src/pointer.c:324:18: note: Shadowed declaration bspwm-0.9.10/src/pointer.c:335:20: note: Shadow variable bspwm-0.9.10/src/pointer.c:128:35: style: Variable 'mod_keycodes' can be declared as pointer to const [constVariablePointer] bspwm-0.9.10/src/pointer.c:281:31: style: Variable 'e' can be declared as pointer to const [constVariablePointer] bspwm-0.9.10/src/query.c:592:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/query.c:621: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.10/src/query.c:640: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.10/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.10/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.10/src/query.c:455:4: warning: If memory allocation fails, then there is a possible null pointer dereference: rect_buf [nullPointerOutOfMemory] bspwm-0.9.10/src/query.c:454:20: note: Assuming allocation function fails bspwm-0.9.10/src/query.c:454:20: note: Assignment 'rect_buf=malloc(1)', assigned value is 0 bspwm-0.9.10/src/query.c:455:4: note: Null pointer dereference bspwm-0.9.10/src/query.c:255:18: style: Local variable 'loc' shadows outer variable [shadowVariable] bspwm-0.9.10/src/query.c:249:17: note: Shadowed declaration bspwm-0.9.10/src/query.c:255:18: note: Shadow variable bspwm-0.9.10/src/query.c:294:18: style: Local variable 'loc' shadows outer variable [shadowVariable] bspwm-0.9.10/src/query.c:288:17: note: Shadowed declaration bspwm-0.9.10/src/query.c:294:18: note: Shadow variable bspwm-0.9.10/src/query.c:632:17: style: Local variable 'dir' shadows outer variable [shadowVariable] bspwm-0.9.10/src/query.c:570:14: note: Shadowed declaration bspwm-0.9.10/src/query.c:632:17: note: Shadow variable bspwm-0.9.10/src/query.c:152:29: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/query.c:212:39: style: Parameter 'loc' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/query.c:321:35: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/query.c:326:37: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/query.c:331:35: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/query.c:336:37: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/query.c:433:13: style: Variable 'monitor' can be declared as pointer to const [constVariablePointer] bspwm-0.9.10/src/query.c:434:13: style: Variable 'desktop' can be declared as pointer to const [constVariablePointer] bspwm-0.9.10/src/query.c:435:10: style: Variable 'node' can be declared as pointer to const [constVariablePointer] bspwm-0.9.10/src/query.c:943:27: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/query.c:957:27: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/query.c:968:66: style: Parameter 'mm' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/query.c:986:30: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/query.c:1006:70: style: Parameter 'mm' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/query.c:1050:74: style: Parameter 'sel' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/query.c:1206:57: style: Parameter 'ref' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/query.c:1206:80: style: Parameter 'sel' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/query.c:1246:37: style: Parameter 'loc' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/query.c:1246:81: style: Parameter 'ref' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/query.c:1246:104: style: Parameter 'sel' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/restore.c:199:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_EVENT_MASK_PROPERTY_CHANGE [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/restore.c:309:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/restore.c:563:22: style: Local variable 's' shadows outer variable [shadowVariable] bspwm-0.9.10/src/restore.c:559:6: note: Shadowed declaration bspwm-0.9.10/src/restore.c:563:22: note: Shadow variable bspwm-0.9.10/src/restore.c:615:41: style: Parameter 'json' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/restore.c:638:18: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/restore.c:638:32: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/restore.c:638:43: style: Parameter 'json' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/rule.c:266:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/rule.c:277:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_ICCCM_SIZE_HINT_P_MIN_SIZE [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/rule.c:379:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/rule.c:419:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xcb_rectangle_t [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/rule.c:84:21: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bspwm-0.9.10/src/rule.c:85:24: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bspwm-0.9.10/src/rule.c:86: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.10/src/rule.c:305: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.10/src/rule.c:306: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.10/src/rule.c:309: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.10/src/rule.c:310: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.10/src/rule.c:42:2: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] bspwm-0.9.10/src/rule.c:41:20: note: Assuming allocation function fails bspwm-0.9.10/src/rule.c:41:20: note: Assignment 'r=calloc(1,sizeof(struct rule_t))', assigned value is 0 bspwm-0.9.10/src/rule.c:42:2: note: Null pointer dereference bspwm-0.9.10/src/rule.c:42:21: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] bspwm-0.9.10/src/rule.c:41:20: note: Assuming allocation function fails bspwm-0.9.10/src/rule.c:41:20: note: Assignment 'r=calloc(1,sizeof(struct rule_t))', assigned value is 0 bspwm-0.9.10/src/rule.c:42:21: note: Null pointer dereference bspwm-0.9.10/src/rule.c:42:43: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] bspwm-0.9.10/src/rule.c:41:20: note: Assuming allocation function fails bspwm-0.9.10/src/rule.c:41:20: note: Assignment 'r=calloc(1,sizeof(struct rule_t))', assigned value is 0 bspwm-0.9.10/src/rule.c:42:43: note: Null pointer dereference bspwm-0.9.10/src/rule.c:42:56: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] bspwm-0.9.10/src/rule.c:41:20: note: Assuming allocation function fails bspwm-0.9.10/src/rule.c:41:20: note: Assignment 'r=calloc(1,sizeof(struct rule_t))', assigned value is 0 bspwm-0.9.10/src/rule.c:42:56: note: Null pointer dereference bspwm-0.9.10/src/rule.c:43:2: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] bspwm-0.9.10/src/rule.c:41:20: note: Assuming allocation function fails bspwm-0.9.10/src/rule.c:41:20: note: Assignment 'r=calloc(1,sizeof(struct rule_t))', assigned value is 0 bspwm-0.9.10/src/rule.c:43:2: note: Null pointer dereference bspwm-0.9.10/src/rule.c:43:12: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] bspwm-0.9.10/src/rule.c:41:20: note: Assuming allocation function fails bspwm-0.9.10/src/rule.c:41:20: note: Assignment 'r=calloc(1,sizeof(struct rule_t))', assigned value is 0 bspwm-0.9.10/src/rule.c:43:12: note: Null pointer dereference bspwm-0.9.10/src/rule.c:44:2: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] bspwm-0.9.10/src/rule.c:41:20: note: Assuming allocation function fails bspwm-0.9.10/src/rule.c:41:20: note: Assignment 'r=calloc(1,sizeof(struct rule_t))', assigned value is 0 bspwm-0.9.10/src/rule.c:44:2: note: Null pointer dereference bspwm-0.9.10/src/rule.c:112:2: warning: If memory allocation fails, then there is a possible null pointer dereference: rc [nullPointerOutOfMemory] bspwm-0.9.10/src/rule.c:111:33: note: Assuming allocation function fails bspwm-0.9.10/src/rule.c:111:33: note: Assignment 'rc=calloc(1,sizeof(struct rule_consequence_t))', assigned value is 0 bspwm-0.9.10/src/rule.c:112:2: note: Null pointer dereference bspwm-0.9.10/src/rule.c:112:15: warning: If memory allocation fails, then there is a possible null pointer dereference: rc [nullPointerOutOfMemory] bspwm-0.9.10/src/rule.c:111:33: note: Assuming allocation function fails bspwm-0.9.10/src/rule.c:111:33: note: Assignment 'rc=calloc(1,sizeof(struct rule_consequence_t))', assigned value is 0 bspwm-0.9.10/src/rule.c:112:15: note: Null pointer dereference bspwm-0.9.10/src/rule.c:112:27: warning: If memory allocation fails, then there is a possible null pointer dereference: rc [nullPointerOutOfMemory] bspwm-0.9.10/src/rule.c:111:33: note: Assuming allocation function fails bspwm-0.9.10/src/rule.c:111:33: note: Assignment 'rc=calloc(1,sizeof(struct rule_consequence_t))', assigned value is 0 bspwm-0.9.10/src/rule.c:112:27: note: Null pointer dereference bspwm-0.9.10/src/rule.c:113:2: warning: If memory allocation fails, then there is a possible null pointer dereference: rc [nullPointerOutOfMemory] bspwm-0.9.10/src/rule.c:111:33: note: Assuming allocation function fails bspwm-0.9.10/src/rule.c:111:33: note: Assignment 'rc=calloc(1,sizeof(struct rule_consequence_t))', assigned value is 0 bspwm-0.9.10/src/rule.c:113:2: note: Null pointer dereference bspwm-0.9.10/src/rule.c:114:2: warning: If memory allocation fails, then there is a possible null pointer dereference: rc [nullPointerOutOfMemory] bspwm-0.9.10/src/rule.c:111:33: note: Assuming allocation function fails bspwm-0.9.10/src/rule.c:111:33: note: Assignment 'rc=calloc(1,sizeof(struct rule_consequence_t))', assigned value is 0 bspwm-0.9.10/src/rule.c:114:2: note: Null pointer dereference bspwm-0.9.10/src/rule.c:115:2: warning: If memory allocation fails, then there is a possible null pointer dereference: rc [nullPointerOutOfMemory] bspwm-0.9.10/src/rule.c:111:33: note: Assuming allocation function fails bspwm-0.9.10/src/rule.c:111:33: note: Assignment 'rc=calloc(1,sizeof(struct rule_consequence_t))', assigned value is 0 bspwm-0.9.10/src/rule.c:115:2: note: Null pointer dereference bspwm-0.9.10/src/rule.c:122:2: warning: If memory allocation fails, then there is a possible null pointer dereference: pr [nullPointerOutOfMemory] bspwm-0.9.10/src/rule.c:121:29: note: Assuming allocation function fails bspwm-0.9.10/src/rule.c:121:29: note: Assignment 'pr=calloc(1,sizeof(struct pending_rule_t))', assigned value is 0 bspwm-0.9.10/src/rule.c:122:2: note: Null pointer dereference bspwm-0.9.10/src/rule.c:122:13: warning: If memory allocation fails, then there is a possible null pointer dereference: pr [nullPointerOutOfMemory] bspwm-0.9.10/src/rule.c:121:29: note: Assuming allocation function fails bspwm-0.9.10/src/rule.c:121:29: note: Assignment 'pr=calloc(1,sizeof(struct pending_rule_t))', assigned value is 0 bspwm-0.9.10/src/rule.c:122:13: note: Null pointer dereference bspwm-0.9.10/src/rule.c:123:2: warning: If memory allocation fails, then there is a possible null pointer dereference: pr [nullPointerOutOfMemory] bspwm-0.9.10/src/rule.c:121:29: note: Assuming allocation function fails bspwm-0.9.10/src/rule.c:121:29: note: Assignment 'pr=calloc(1,sizeof(struct pending_rule_t))', assigned value is 0 bspwm-0.9.10/src/rule.c:123:2: note: Null pointer dereference bspwm-0.9.10/src/rule.c:123:19: warning: If memory allocation fails, then there is a possible null pointer dereference: pr [nullPointerOutOfMemory] bspwm-0.9.10/src/rule.c:121:29: note: Assuming allocation function fails bspwm-0.9.10/src/rule.c:121:29: note: Assignment 'pr=calloc(1,sizeof(struct pending_rule_t))', assigned value is 0 bspwm-0.9.10/src/rule.c:123:19: note: Null pointer dereference bspwm-0.9.10/src/rule.c:124:2: warning: If memory allocation fails, then there is a possible null pointer dereference: pr [nullPointerOutOfMemory] bspwm-0.9.10/src/rule.c:121:29: note: Assuming allocation function fails bspwm-0.9.10/src/rule.c:121:29: note: Assignment 'pr=calloc(1,sizeof(struct pending_rule_t))', assigned value is 0 bspwm-0.9.10/src/rule.c:124:2: note: Null pointer dereference bspwm-0.9.10/src/rule.c:125:2: warning: If memory allocation fails, then there is a possible null pointer dereference: pr [nullPointerOutOfMemory] bspwm-0.9.10/src/rule.c:121:29: note: Assuming allocation function fails bspwm-0.9.10/src/rule.c:121:29: note: Assignment 'pr=calloc(1,sizeof(struct pending_rule_t))', assigned value is 0 bspwm-0.9.10/src/rule.c:125:2: note: Null pointer dereference bspwm-0.9.10/src/rule.c:126:2: warning: If memory allocation fails, then there is a possible null pointer dereference: pr [nullPointerOutOfMemory] bspwm-0.9.10/src/rule.c:121:29: note: Assuming allocation function fails bspwm-0.9.10/src/rule.c:121:29: note: Assignment 'pr=calloc(1,sizeof(struct pending_rule_t))', assigned value is 0 bspwm-0.9.10/src/rule.c:126:2: note: Null pointer dereference bspwm-0.9.10/src/rule.c:189:2: warning: If memory allocation fails, then there is a possible null pointer dereference: eq [nullPointerOutOfMemory] bspwm-0.9.10/src/rule.c:188:28: note: Assuming allocation function fails bspwm-0.9.10/src/rule.c:188:28: note: Assignment 'eq=calloc(1,sizeof(struct event_queue_t))', assigned value is 0 bspwm-0.9.10/src/rule.c:189:2: note: Null pointer dereference bspwm-0.9.10/src/rule.c:189:13: warning: If memory allocation fails, then there is a possible null pointer dereference: eq [nullPointerOutOfMemory] bspwm-0.9.10/src/rule.c:188:28: note: Assuming allocation function fails bspwm-0.9.10/src/rule.c:188:28: note: Assignment 'eq=calloc(1,sizeof(struct event_queue_t))', assigned value is 0 bspwm-0.9.10/src/rule.c:189:13: note: Null pointer dereference bspwm-0.9.10/src/rule.c:190:2: warning: If memory allocation fails, then there is a possible null pointer dereference: eq [nullPointerOutOfMemory] bspwm-0.9.10/src/rule.c:188:28: note: Assuming allocation function fails bspwm-0.9.10/src/rule.c:188:28: note: Assignment 'eq=calloc(1,sizeof(struct event_queue_t))', assigned value is 0 bspwm-0.9.10/src/rule.c:190:2: note: Null pointer dereference bspwm-0.9.10/src/rule.c:84:8: style: Variable 'class_name' can be declared as pointer to const [constVariablePointer] bspwm-0.9.10/src/rule.c:85:8: style: Variable 'instance_name' can be declared as pointer to const [constVariablePointer] bspwm-0.9.10/src/rule.c:86:8: style: Variable 'name' can be declared as pointer to const [constVariablePointer] bspwm-0.9.10/src/rule.c:186:54: style: Parameter 'evt' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/rule.c:388:28: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/settings.c:109:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_MOD_MASK_4 [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/stack.c:36:2: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] bspwm-0.9.10/src/stack.c:35:29: note: Assuming allocation function fails bspwm-0.9.10/src/stack.c:35:29: note: Assignment 's=calloc(1,sizeof(struct stacking_list_t))', assigned value is 0 bspwm-0.9.10/src/stack.c:36:2: note: Null pointer dereference bspwm-0.9.10/src/stack.c:37:2: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] bspwm-0.9.10/src/stack.c:35:29: note: Assuming allocation function fails bspwm-0.9.10/src/stack.c:35:29: note: Assignment 's=calloc(1,sizeof(struct stacking_list_t))', assigned value is 0 bspwm-0.9.10/src/stack.c:37:2: note: Null pointer dereference bspwm-0.9.10/src/stack.c:37:12: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] bspwm-0.9.10/src/stack.c:35:29: note: Assuming allocation function fails bspwm-0.9.10/src/stack.c:35:29: note: Assignment 's=calloc(1,sizeof(struct stacking_list_t))', assigned value is 0 bspwm-0.9.10/src/stack.c:37:12: note: Null pointer dereference bspwm-0.9.10/src/stack.c:123:27: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/subscribe.c:39:2: warning: If memory allocation fails, then there is a possible null pointer dereference: sb [nullPointerOutOfMemory] bspwm-0.9.10/src/subscribe.c:38:32: note: Assuming allocation function fails bspwm-0.9.10/src/subscribe.c:38:32: note: Assignment 'sb=calloc(1,sizeof(struct subscriber_list_t))', assigned value is 0 bspwm-0.9.10/src/subscribe.c:39:2: note: Null pointer dereference bspwm-0.9.10/src/subscribe.c:39:13: warning: If memory allocation fails, then there is a possible null pointer dereference: sb [nullPointerOutOfMemory] bspwm-0.9.10/src/subscribe.c:38:32: note: Assuming allocation function fails bspwm-0.9.10/src/subscribe.c:38:32: note: Assignment 'sb=calloc(1,sizeof(struct subscriber_list_t))', assigned value is 0 bspwm-0.9.10/src/subscribe.c:39:13: note: Null pointer dereference bspwm-0.9.10/src/subscribe.c:40:2: warning: If memory allocation fails, then there is a possible null pointer dereference: sb [nullPointerOutOfMemory] bspwm-0.9.10/src/subscribe.c:38:32: note: Assuming allocation function fails bspwm-0.9.10/src/subscribe.c:38:32: note: Assignment 'sb=calloc(1,sizeof(struct subscriber_list_t))', assigned value is 0 bspwm-0.9.10/src/subscribe.c:40:2: note: Null pointer dereference bspwm-0.9.10/src/subscribe.c:41:2: warning: If memory allocation fails, then there is a possible null pointer dereference: sb [nullPointerOutOfMemory] bspwm-0.9.10/src/subscribe.c:38:32: note: Assuming allocation function fails bspwm-0.9.10/src/subscribe.c:38:32: note: Assignment 'sb=calloc(1,sizeof(struct subscriber_list_t))', assigned value is 0 bspwm-0.9.10/src/subscribe.c:41:2: note: Null pointer dereference bspwm-0.9.10/src/subscribe.c:42:2: warning: If memory allocation fails, then there is a possible null pointer dereference: sb [nullPointerOutOfMemory] bspwm-0.9.10/src/subscribe.c:38:32: note: Assuming allocation function fails bspwm-0.9.10/src/subscribe.c:38:32: note: Assignment 'sb=calloc(1,sizeof(struct subscriber_list_t))', assigned value is 0 bspwm-0.9.10/src/subscribe.c:42:2: note: Null pointer dereference bspwm-0.9.10/src/subscribe.c:43:2: warning: If memory allocation fails, then there is a possible null pointer dereference: sb [nullPointerOutOfMemory] bspwm-0.9.10/src/subscribe.c:38:32: note: Assuming allocation function fails bspwm-0.9.10/src/subscribe.c:38:32: note: Assignment 'sb=calloc(1,sizeof(struct subscriber_list_t))', assigned value is 0 bspwm-0.9.10/src/subscribe.c:43:2: note: Null pointer dereference bspwm-0.9.10/src/subscribe.c:106:13: style: Variable 'n' can be declared as pointer to const [constVariablePointer] bspwm-0.9.10/src/subscribe.c:151:11: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] bspwm-0.9.10/src/tree.c:187:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/tree.c:228:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/tree.c:309:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/tree.c:447:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/tree.c:685:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/tree.c:758:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_ICCCM_WM_HINT_INPUT [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/tree.c:1710:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable f [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/tree.c:2185:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_EVENT_MASK_PROPERTY_CHANGE [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/tree.c:185:2: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:184:22: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:184:22: note: Assignment 'p=calloc(1,sizeof(struct presel_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:185:2: note: Null pointer dereference bspwm-0.9.10/src/tree.c:186:2: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:184:22: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:184:22: note: Assignment 'p=calloc(1,sizeof(struct presel_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:186:2: note: Null pointer dereference bspwm-0.9.10/src/tree.c:187:2: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:184:22: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:184:22: note: Assignment 'p=calloc(1,sizeof(struct presel_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:187:2: note: Null pointer dereference bspwm-0.9.10/src/tree.c:689:2: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:688:20: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:688:20: note: Assignment 'n=calloc(1,sizeof(struct node_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:689:2: note: Null pointer dereference bspwm-0.9.10/src/tree.c:690:2: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:688:20: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:688:20: note: Assignment 'n=calloc(1,sizeof(struct node_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:690:2: note: Null pointer dereference bspwm-0.9.10/src/tree.c:690:14: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:688:20: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:688:20: note: Assignment 'n=calloc(1,sizeof(struct node_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:690:14: note: Null pointer dereference bspwm-0.9.10/src/tree.c:690:31: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:688:20: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:688:20: note: Assignment 'n=calloc(1,sizeof(struct node_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:690:31: note: Null pointer dereference bspwm-0.9.10/src/tree.c:691:2: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:688:20: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:688:20: note: Assignment 'n=calloc(1,sizeof(struct node_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:691:2: note: Null pointer dereference bspwm-0.9.10/src/tree.c:691:14: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:688:20: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:688:20: note: Assignment 'n=calloc(1,sizeof(struct node_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:691:14: note: Null pointer dereference bspwm-0.9.10/src/tree.c:691:26: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:688:20: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:688:20: note: Assignment 'n=calloc(1,sizeof(struct node_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:691:26: note: Null pointer dereference bspwm-0.9.10/src/tree.c:691:38: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:688:20: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:688:20: note: Assignment 'n=calloc(1,sizeof(struct node_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:691:38: note: Null pointer dereference bspwm-0.9.10/src/tree.c:691:51: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:688:20: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:688:20: note: Assignment 'n=calloc(1,sizeof(struct node_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:691:51: note: Null pointer dereference bspwm-0.9.10/src/tree.c:691:63: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:688:20: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:688:20: note: Assignment 'n=calloc(1,sizeof(struct node_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:691:63: note: Null pointer dereference bspwm-0.9.10/src/tree.c:692:2: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:688:20: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:688:20: note: Assignment 'n=calloc(1,sizeof(struct node_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:692:2: note: Null pointer dereference bspwm-0.9.10/src/tree.c:693:2: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:688:20: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:688:20: note: Assignment 'n=calloc(1,sizeof(struct node_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:693:2: note: Null pointer dereference bspwm-0.9.10/src/tree.c:694:2: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:688:20: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:688:20: note: Assignment 'n=calloc(1,sizeof(struct node_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:694:2: note: Null pointer dereference bspwm-0.9.10/src/tree.c:695:2: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:688:20: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:688:20: note: Assignment 'n=calloc(1,sizeof(struct node_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:695:2: note: Null pointer dereference bspwm-0.9.10/src/tree.c:696:2: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:688:20: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:688:20: note: Assignment 'n=calloc(1,sizeof(struct node_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:696:2: note: Null pointer dereference bspwm-0.9.10/src/tree.c:703:2: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:702:22: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:702:22: note: Assignment 'c=calloc(1,sizeof(struct client_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:703:2: note: Null pointer dereference bspwm-0.9.10/src/tree.c:703:13: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:702:22: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:702:22: note: Assignment 'c=calloc(1,sizeof(struct client_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:703:13: note: Null pointer dereference bspwm-0.9.10/src/tree.c:704:2: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:702:22: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:702:22: note: Assignment 'c=calloc(1,sizeof(struct client_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:704:2: note: Null pointer dereference bspwm-0.9.10/src/tree.c:704:13: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:702:22: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:702:22: note: Assignment 'c=calloc(1,sizeof(struct client_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:704:13: note: Null pointer dereference bspwm-0.9.10/src/tree.c:705:11: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:702:22: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:702:22: note: Assignment 'c=calloc(1,sizeof(struct client_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:705:11: note: Null pointer dereference bspwm-0.9.10/src/tree.c:706:11: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:702:22: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:702:22: note: Assignment 'c=calloc(1,sizeof(struct client_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:706:11: note: Null pointer dereference bspwm-0.9.10/src/tree.c:707:2: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:702:22: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:702:22: note: Assignment 'c=calloc(1,sizeof(struct client_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:707:2: note: Null pointer dereference bspwm-0.9.10/src/tree.c:708:2: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:702:22: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:702:22: note: Assignment 'c=calloc(1,sizeof(struct client_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:708:2: note: Null pointer dereference bspwm-0.9.10/src/tree.c:709:2: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:702:22: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:702:22: note: Assignment 'c=calloc(1,sizeof(struct client_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:709:2: note: Null pointer dereference bspwm-0.9.10/src/tree.c:710:2: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:702:22: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:702:22: note: Assignment 'c=calloc(1,sizeof(struct client_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:710:2: note: Null pointer dereference bspwm-0.9.10/src/tree.c:711:2: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:702:22: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:702:22: note: Assignment 'c=calloc(1,sizeof(struct client_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:711:2: note: Null pointer dereference bspwm-0.9.10/src/tree.c:712:2: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:702:22: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:702:22: note: Assignment 'c=calloc(1,sizeof(struct client_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:712:2: note: Null pointer dereference bspwm-0.9.10/src/tree.c:713:2: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:702:22: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:702:22: note: Assignment 'c=calloc(1,sizeof(struct client_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:713:2: note: Null pointer dereference bspwm-0.9.10/src/tree.c:714:2: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:702:22: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:702:22: note: Assignment 'c=calloc(1,sizeof(struct client_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:714:2: note: Null pointer dereference bspwm-0.9.10/src/tree.c:2165:10: warning: Possible null pointer dereference: m [nullPointer] bspwm-0.9.10/src/tree.c:1111:28: note: Calling function 'get_rectangle', 1st argument 'NULL' value is 0 bspwm-0.9.10/src/tree.c:2165:10: note: Null pointer dereference bspwm-0.9.10/src/tree.c:774:22: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/tree.c:979:23: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/tree.c:979:34: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/tree.c:988:39: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/window.c:194:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_EVENT_MASK_PROPERTY_CHANGE [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/window.c:227:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/window.c:263:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/window.c:292:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/window.c:385:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_CW_BACK_PIXEL [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/window.c:419:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_CW_BORDER_PIXEL [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/window.c:495:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/window.c:644:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_ICCCM_SIZE_HINT_BASE_SIZE [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/window.c:733:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/window.c:777:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/window.c:826:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_CONFIG_WINDOW_BORDER_WIDTH [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/window.c:832:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_CONFIG_WINDOW_X [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/window.c:838:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_CONFIG_WINDOW_WIDTH [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/window.c:844:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_CONFIG_WINDOW_X [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/window.c:867:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/window.c:878:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_STACK_MODE_ABOVE [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/window.c:884:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_STACK_MODE_BELOW [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/window.c:889:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_STACK_MODE_BELOW [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/window.c:895:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/window.c:929:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_INPUT_FOCUS_PARENT [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/window.c:938:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_INPUT_FOCUS_POINTER_ROOT [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/window.c:948:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/window.c:957:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_NONE [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/window.c:964:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_PROP_MODE_REPLACE [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/window.c:971:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_CLIENT_MESSAGE [valueFlowBailoutIncompleteVar] bspwm-0.9.10/src/window.c:971:2: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] bspwm-0.9.10/src/window.c:969:40: note: Assuming allocation function fails bspwm-0.9.10/src/window.c:969:40: note: Assignment 'e=calloc(32,1)', assigned value is 0 bspwm-0.9.10/src/window.c:971:2: note: Null pointer dereference bspwm-0.9.10/src/window.c:972:2: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] bspwm-0.9.10/src/window.c:969:40: note: Assuming allocation function fails bspwm-0.9.10/src/window.c:969:40: note: Assignment 'e=calloc(32,1)', assigned value is 0 bspwm-0.9.10/src/window.c:972:2: note: Null pointer dereference bspwm-0.9.10/src/window.c:973:2: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] bspwm-0.9.10/src/window.c:969:40: note: Assuming allocation function fails bspwm-0.9.10/src/window.c:969:40: note: Assignment 'e=calloc(32,1)', assigned value is 0 bspwm-0.9.10/src/window.c:973:2: note: Null pointer dereference bspwm-0.9.10/src/window.c:974:2: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] bspwm-0.9.10/src/window.c:969:40: note: Assuming allocation function fails bspwm-0.9.10/src/window.c:969:40: note: Assignment 'e=calloc(32,1)', assigned value is 0 bspwm-0.9.10/src/window.c:974:2: note: Null pointer dereference bspwm-0.9.10/src/window.c:975:2: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] bspwm-0.9.10/src/window.c:969:40: note: Assuming allocation function fails bspwm-0.9.10/src/window.c:969:40: note: Assignment 'e=calloc(32,1)', assigned value is 0 bspwm-0.9.10/src/window.c:975:2: note: Null pointer dereference bspwm-0.9.10/src/window.c:976:2: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] bspwm-0.9.10/src/window.c:969:40: note: Assuming allocation function fails bspwm-0.9.10/src/window.c:969:40: note: Assignment 'e=calloc(32,1)', assigned value is 0 bspwm-0.9.10/src/window.c:976:2: note: Null pointer dereference bspwm-0.9.10/src/window.c:83:19: style: Local variable 'm' shadows outer variable [shadowVariable] bspwm-0.9.10/src/window.c:76:13: note: Shadowed declaration bspwm-0.9.10/src/window.c:83:19: note: Shadow variable bspwm-0.9.10/src/window.c:747:17: style: Local variable 'pt' shadows outer argument [shadowArgument] bspwm-0.9.10/src/window.c:723:52: note: Shadowed declaration bspwm-0.9.10/src/window.c:747:17: note: Shadow variable bspwm-0.9.10/src/window.c:985:23: style: Local variable 'err' shadows outer function [shadowFunction] bspwm-0.9.10/src/helpers.h:79:6: note: Shadowed declaration bspwm-0.9.10/src/window.c:985:23: note: Shadow variable bspwm-0.9.10/src/window.c:286:38: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/src/window.c:430:16: style: Variable 'wins' can be declared as pointer to const [constVariablePointer] bspwm-0.9.10/src/window.c:469:12: style: Variable 'c' can be declared as pointer to const [constVariablePointer] bspwm-0.9.10/src/window.c:847:31: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/tests/test_window.c:27:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bspwm-0.9.10/tests/test_window.c:40:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCB_GC_FOREGROUND [valueFlowBailoutIncompleteVar] bspwm-0.9.10/tests/test_window.c:64:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bspwm-0.9.10/tests/test_window.c:23:75: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] bspwm-0.9.10/tests/test_window.c:25:23: style: Variable 'err' can be declared as pointer to const [constVariablePointer] bspwm-0.9.10/tests/test_window.c:93:32: style: Variable 'cme' can be declared as pointer to const [constVariablePointer] bspwm-0.9.10/src/query.c:40:10: warning: If resource allocation fails, then there is a possible null pointer dereference: rsp [ctunullpointerOutOfResources] bspwm-0.9.10/src/bspwm.c:270:18: note: Assuming allocation function fails bspwm-0.9.10/src/bspwm.c:270:18: note: Assignment 'f=fopen(state_path,"w")', assigned value is 0 bspwm-0.9.10/src/bspwm.c:271:14: note: Calling function query_state, 1st argument is null bspwm-0.9.10/src/query.c:40:10: note: Dereferencing argument rsp that is null diff: head bspwm-0.9.10/src/desktop.c:263:12: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] bspwm-0.9.10/src/desktop.c:258:23: note: Assuming allocation function fails bspwm-0.9.10/src/desktop.c:258:23: note: Assignment 'd=calloc(1,sizeof(struct desktop_t))', assigned value is 0 bspwm-0.9.10/src/desktop.c:263:12: note: Null pointer dereference head bspwm-0.9.10/src/desktop.c:264:12: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] bspwm-0.9.10/src/desktop.c:258:23: note: Assuming allocation function fails bspwm-0.9.10/src/desktop.c:258:23: note: Assignment 'd=calloc(1,sizeof(struct desktop_t))', assigned value is 0 bspwm-0.9.10/src/desktop.c:264:12: note: Null pointer dereference head bspwm-0.9.10/src/history.c:36:12: warning: If memory allocation fails, then there is a possible null pointer dereference: h [nullPointerOutOfMemory] bspwm-0.9.10/src/history.c:34:23: note: Assuming allocation function fails bspwm-0.9.10/src/history.c:34:23: note: Assignment 'h=calloc(1,sizeof(struct history_t))', assigned value is 0 bspwm-0.9.10/src/history.c:36:12: note: Null pointer dereference head bspwm-0.9.10/src/monitor.c:54:12: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] bspwm-0.9.10/src/monitor.c:44:23: note: Assuming allocation function fails bspwm-0.9.10/src/monitor.c:44:23: note: Assignment 'm=calloc(1,sizeof(struct monitor_t))', assigned value is 0 bspwm-0.9.10/src/monitor.c:54:12: note: Null pointer dereference head bspwm-0.9.10/src/monitor.c:55:12: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] bspwm-0.9.10/src/monitor.c:44:23: note: Assuming allocation function fails bspwm-0.9.10/src/monitor.c:44:23: note: Assignment 'm=calloc(1,sizeof(struct monitor_t))', assigned value is 0 bspwm-0.9.10/src/monitor.c:55:12: note: Null pointer dereference head bspwm-0.9.10/src/monitor.c:55:27: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] bspwm-0.9.10/src/monitor.c:44:23: note: Assuming allocation function fails bspwm-0.9.10/src/monitor.c:44:23: note: Assignment 'm=calloc(1,sizeof(struct monitor_t))', assigned value is 0 bspwm-0.9.10/src/monitor.c:55:27: note: Null pointer dereference head bspwm-0.9.10/src/rule.c:112:15: warning: If memory allocation fails, then there is a possible null pointer dereference: rc [nullPointerOutOfMemory] bspwm-0.9.10/src/rule.c:111:33: note: Assuming allocation function fails bspwm-0.9.10/src/rule.c:111:33: note: Assignment 'rc=calloc(1,sizeof(struct rule_consequence_t))', assigned value is 0 bspwm-0.9.10/src/rule.c:112:15: note: Null pointer dereference head bspwm-0.9.10/src/rule.c:112:27: warning: If memory allocation fails, then there is a possible null pointer dereference: rc [nullPointerOutOfMemory] bspwm-0.9.10/src/rule.c:111:33: note: Assuming allocation function fails bspwm-0.9.10/src/rule.c:111:33: note: Assignment 'rc=calloc(1,sizeof(struct rule_consequence_t))', assigned value is 0 bspwm-0.9.10/src/rule.c:112:27: note: Null pointer dereference head bspwm-0.9.10/src/rule.c:122:13: warning: If memory allocation fails, then there is a possible null pointer dereference: pr [nullPointerOutOfMemory] bspwm-0.9.10/src/rule.c:121:29: note: Assuming allocation function fails bspwm-0.9.10/src/rule.c:121:29: note: Assignment 'pr=calloc(1,sizeof(struct pending_rule_t))', assigned value is 0 bspwm-0.9.10/src/rule.c:122:13: note: Null pointer dereference head bspwm-0.9.10/src/rule.c:123:19: warning: If memory allocation fails, then there is a possible null pointer dereference: pr [nullPointerOutOfMemory] bspwm-0.9.10/src/rule.c:121:29: note: Assuming allocation function fails bspwm-0.9.10/src/rule.c:121:29: note: Assignment 'pr=calloc(1,sizeof(struct pending_rule_t))', assigned value is 0 bspwm-0.9.10/src/rule.c:123:19: note: Null pointer dereference head bspwm-0.9.10/src/rule.c:189:13: warning: If memory allocation fails, then there is a possible null pointer dereference: eq [nullPointerOutOfMemory] bspwm-0.9.10/src/rule.c:188:28: note: Assuming allocation function fails bspwm-0.9.10/src/rule.c:188:28: note: Assignment 'eq=calloc(1,sizeof(struct event_queue_t))', assigned value is 0 bspwm-0.9.10/src/rule.c:189:13: note: Null pointer dereference head bspwm-0.9.10/src/rule.c:42:21: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] bspwm-0.9.10/src/rule.c:41:20: note: Assuming allocation function fails bspwm-0.9.10/src/rule.c:41:20: note: Assignment 'r=calloc(1,sizeof(struct rule_t))', assigned value is 0 bspwm-0.9.10/src/rule.c:42:21: note: Null pointer dereference head bspwm-0.9.10/src/rule.c:42:43: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] bspwm-0.9.10/src/rule.c:41:20: note: Assuming allocation function fails bspwm-0.9.10/src/rule.c:41:20: note: Assignment 'r=calloc(1,sizeof(struct rule_t))', assigned value is 0 bspwm-0.9.10/src/rule.c:42:43: note: Null pointer dereference head bspwm-0.9.10/src/rule.c:42:56: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] bspwm-0.9.10/src/rule.c:41:20: note: Assuming allocation function fails bspwm-0.9.10/src/rule.c:41:20: note: Assignment 'r=calloc(1,sizeof(struct rule_t))', assigned value is 0 bspwm-0.9.10/src/rule.c:42:56: note: Null pointer dereference head bspwm-0.9.10/src/rule.c:43:12: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] bspwm-0.9.10/src/rule.c:41:20: note: Assuming allocation function fails bspwm-0.9.10/src/rule.c:41:20: note: Assignment 'r=calloc(1,sizeof(struct rule_t))', assigned value is 0 bspwm-0.9.10/src/rule.c:43:12: note: Null pointer dereference head bspwm-0.9.10/src/stack.c:37:12: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] bspwm-0.9.10/src/stack.c:35:29: note: Assuming allocation function fails bspwm-0.9.10/src/stack.c:35:29: note: Assignment 's=calloc(1,sizeof(struct stacking_list_t))', assigned value is 0 bspwm-0.9.10/src/stack.c:37:12: note: Null pointer dereference head bspwm-0.9.10/src/subscribe.c:39:13: warning: If memory allocation fails, then there is a possible null pointer dereference: sb [nullPointerOutOfMemory] bspwm-0.9.10/src/subscribe.c:38:32: note: Assuming allocation function fails bspwm-0.9.10/src/subscribe.c:38:32: note: Assignment 'sb=calloc(1,sizeof(struct subscriber_list_t))', assigned value is 0 bspwm-0.9.10/src/subscribe.c:39:13: note: Null pointer dereference head bspwm-0.9.10/src/tree.c:690:14: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:688:20: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:688:20: note: Assignment 'n=calloc(1,sizeof(struct node_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:690:14: note: Null pointer dereference head bspwm-0.9.10/src/tree.c:690:31: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:688:20: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:688:20: note: Assignment 'n=calloc(1,sizeof(struct node_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:690:31: note: Null pointer dereference head bspwm-0.9.10/src/tree.c:691:14: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:688:20: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:688:20: note: Assignment 'n=calloc(1,sizeof(struct node_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:691:14: note: Null pointer dereference head bspwm-0.9.10/src/tree.c:691:26: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:688:20: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:688:20: note: Assignment 'n=calloc(1,sizeof(struct node_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:691:26: note: Null pointer dereference head bspwm-0.9.10/src/tree.c:691:38: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:688:20: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:688:20: note: Assignment 'n=calloc(1,sizeof(struct node_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:691:38: note: Null pointer dereference head bspwm-0.9.10/src/tree.c:691:51: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:688:20: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:688:20: note: Assignment 'n=calloc(1,sizeof(struct node_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:691:51: note: Null pointer dereference head bspwm-0.9.10/src/tree.c:691:63: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:688:20: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:688:20: note: Assignment 'n=calloc(1,sizeof(struct node_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:691:63: note: Null pointer dereference head bspwm-0.9.10/src/tree.c:703:13: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:702:22: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:702:22: note: Assignment 'c=calloc(1,sizeof(struct client_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:703:13: note: Null pointer dereference head bspwm-0.9.10/src/tree.c:704:13: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] bspwm-0.9.10/src/tree.c:702:22: note: Assuming allocation function fails bspwm-0.9.10/src/tree.c:702:22: note: Assignment 'c=calloc(1,sizeof(struct client_t))', assigned value is 0 bspwm-0.9.10/src/tree.c:704:13: note: Null pointer dereference DONE