2026-05-05 22:01 ftp://ftp.de.debian.org/debian/pool/main/x/xfishtank/xfishtank_3.3.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=motif --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: 6278f6b (2026-05-05 15:01:04 +0200) count: 186 192 elapsed-time: 1.9 1.7 head-timing-info: old-timing-info: head results: xfishtank-3.3.2/src/ixpm.c:51:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCForeground [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/ixpm.c:118:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/ixpm.c:236:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/ixpm.c:75:22: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] xfishtank-3.3.2/src/ixpm.c:190:22: note: Assuming allocation function fails xfishtank-3.3.2/src/ixpm.c:190:22: note: Assignment 's=strdup(data[y+offset])', assigned value is 0 xfishtank-3.3.2/src/ixpm.c:192:13: note: Calling function 'strrevert', 1st argument 's' value is 0 xfishtank-3.3.2/src/ixpm.c:75:22: note: Null pointer dereference xfishtank-3.3.2/src/ixpm.c:79:23: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] xfishtank-3.3.2/src/ixpm.c:190:22: note: Assuming allocation function fails xfishtank-3.3.2/src/ixpm.c:190:22: note: Assignment 's=strdup(data[y+offset])', assigned value is 0 xfishtank-3.3.2/src/ixpm.c:192:13: note: Calling function 'strrevert', 1st argument 's' value is 0 xfishtank-3.3.2/src/ixpm.c:79:23: note: Null pointer dereference xfishtank-3.3.2/src/ixpm.c:107:7: warning: If memory allocation fails, then there is a possible null pointer dereference: idata [nullPointerOutOfMemory] xfishtank-3.3.2/src/ixpm.c:105:27: note: Assuming allocation function fails xfishtank-3.3.2/src/ixpm.c:105:12: note: Assignment 'idata=(char**)malloc(lines*sizeof(*idata))', assigned value is 0 xfishtank-3.3.2/src/ixpm.c:107:7: note: Null pointer dereference xfishtank-3.3.2/src/ixpm.c:111:13: warning: If memory allocation fails, then there is a possible null pointer dereference: idata [nullPointerOutOfMemory] xfishtank-3.3.2/src/ixpm.c:105:27: note: Assuming allocation function fails xfishtank-3.3.2/src/ixpm.c:105:12: note: Assignment 'idata=(char**)malloc(lines*sizeof(*idata))', assigned value is 0 xfishtank-3.3.2/src/ixpm.c:111:13: note: Null pointer dereference xfishtank-3.3.2/src/ixpm.c:195:21: warning: If memory allocation fails, then there is a possible null pointer dereference: code [nullPointerOutOfMemory] xfishtank-3.3.2/src/ixpm.c:179:17: note: Assuming allocation function fails xfishtank-3.3.2/src/ixpm.c:179:17: note: Assignment 'code=strndup(data[i],n)', assigned value is 0 xfishtank-3.3.2/src/ixpm.c:195:21: note: Null pointer dereference xfishtank-3.3.2/src/ixpm.c:246:7: warning: If memory allocation fails, then there is a possible null pointer dereference: code [nullPointerOutOfMemory] xfishtank-3.3.2/src/ixpm.c:244:31: note: Assuming allocation function fails xfishtank-3.3.2/src/ixpm.c:244:17: note: Assignment 'code=(char*)malloc(sizeof(char)*cpp)', assigned value is 0 xfishtank-3.3.2/src/ixpm.c:246:7: note: Null pointer dereference xfishtank-3.3.2/src/ixpm.c:344:7: warning: If memory allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfMemory] xfishtank-3.3.2/src/ixpm.c:340:25: note: Assuming allocation function fails xfishtank-3.3.2/src/ixpm.c:340:11: note: Assignment '*out=(char**)malloc(sizeof(char*)*(n+3))', assigned value is 0 xfishtank-3.3.2/src/ixpm.c:341:13: note: x is assigned '*out' here. xfishtank-3.3.2/src/ixpm.c:344:7: note: Null pointer dereference xfishtank-3.3.2/src/ixpm.c:345:4: warning: If memory allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfMemory] xfishtank-3.3.2/src/ixpm.c:340:25: note: Assuming allocation function fails xfishtank-3.3.2/src/ixpm.c:340:11: note: Assignment '*out=(char**)malloc(sizeof(char*)*(n+3))', assigned value is 0 xfishtank-3.3.2/src/ixpm.c:341:13: note: x is assigned '*out' here. xfishtank-3.3.2/src/ixpm.c:345:4: note: Null pointer dereference xfishtank-3.3.2/src/ixpm.c:346:4: warning: If memory allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfMemory] xfishtank-3.3.2/src/ixpm.c:340:25: note: Assuming allocation function fails xfishtank-3.3.2/src/ixpm.c:340:11: note: Assignment '*out=(char**)malloc(sizeof(char*)*(n+3))', assigned value is 0 xfishtank-3.3.2/src/ixpm.c:341:13: note: x is assigned '*out' here. xfishtank-3.3.2/src/ixpm.c:346:4: note: Null pointer dereference xfishtank-3.3.2/src/ixpm.c:347:11: warning: If memory allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfMemory] xfishtank-3.3.2/src/ixpm.c:340:25: note: Assuming allocation function fails xfishtank-3.3.2/src/ixpm.c:340:11: note: Assignment '*out=(char**)malloc(sizeof(char*)*(n+3))', assigned value is 0 xfishtank-3.3.2/src/ixpm.c:341:13: note: x is assigned '*out' here. xfishtank-3.3.2/src/ixpm.c:347:11: note: Null pointer dereference xfishtank-3.3.2/src/ixpm.c:348:11: warning: If memory allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfMemory] xfishtank-3.3.2/src/ixpm.c:340:25: note: Assuming allocation function fails xfishtank-3.3.2/src/ixpm.c:340:11: note: Assignment '*out=(char**)malloc(sizeof(char*)*(n+3))', assigned value is 0 xfishtank-3.3.2/src/ixpm.c:341:13: note: x is assigned '*out' here. xfishtank-3.3.2/src/ixpm.c:348:11: note: Null pointer dereference xfishtank-3.3.2/src/ixpm.c:79:15: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xfishtank-3.3.2/src/ixpm.c:190:22: note: Assuming allocation function fails xfishtank-3.3.2/src/ixpm.c:190:22: note: Assignment 's=strdup(data[y+offset])', assigned value is 0 xfishtank-3.3.2/src/ixpm.c:192:13: note: Calling function 'strrevert', 1st argument 's' value is 0 xfishtank-3.3.2/src/ixpm.c:79:15: note: Null pointer addition xfishtank-3.3.2/src/ixpm.c:195:16: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xfishtank-3.3.2/src/ixpm.c:190:22: note: Assuming allocation function fails xfishtank-3.3.2/src/ixpm.c:190:22: note: Assignment 's=strdup(data[y+offset])', assigned value is 0 xfishtank-3.3.2/src/ixpm.c:195:16: note: Null pointer addition xfishtank-3.3.2/src/ixpm.c:271:7: style: Local variable 'l' shadows outer variable [shadowVariable] xfishtank-3.3.2/src/ixpm.c:230:8: note: Shadowed declaration xfishtank-3.3.2/src/ixpm.c:271:7: note: Shadow variable xfishtank-3.3.2/src/ixpm.c:295:7: style: Local variable 'l' shadows outer variable [shadowVariable] xfishtank-3.3.2/src/ixpm.c:230:8: note: Shadowed declaration xfishtank-3.3.2/src/ixpm.c:295:7: note: Shadow variable xfishtank-3.3.2/src/vroot.h:91:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/main.c:263:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/main.c:462:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCForeground [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/main.c:513:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XpmExactColors [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/main.c:592:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/main.c:1008:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/main.c:1024:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/main.c:1109:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/main.c:653:16: style: Local variable 'w' shadows outer variable [shadowVariable] xfishtank-3.3.2/src/main.c:588:17: note: Shadowed declaration xfishtank-3.3.2/src/main.c:653:16: note: Shadow variable xfishtank-3.3.2/src/main.c:195:28: style: Parameter 'argv' can be declared as const array [constParameter] xfishtank-3.3.2/src/main.c:818:14: style: Variable 'ft' can be declared as pointer to const [constVariablePointer] xfishtank-3.3.2/src/main.c:892:17: style: Variable 'ft' can be declared as pointer to const [constVariablePointer] xfishtank-3.3.2/src/main.c:1117:13: style: Variable 'name' can be declared as pointer to const [constVariablePointer] xfishtank-3.3.2/src/vroot.h:86:20: style: Variable 'save_screen' can be declared as pointer to const [constVariablePointer] xfishtank-3.3.2/src/main.c:571:25: style: Variable 'attr' is not assigned a value. [unassignedVariable] xfishtank-3.3.2/src/main.c:778:9: style: Variable 's' is assigned a value that is never used. [unreadVariable] xfishtank-3.3.2/src/main.c:770:11: style: Variable 'j' is not assigned a value. [unassignedVariable] xfishtank-3.3.2/src/transwindow.c:312:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WINDOW_TYPE_HINT_DOCK [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/transwindow.c:379:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USPosition [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/transwindow.c:469:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Below [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/transwindow.c:483:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Above [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/transwindow.c:335:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xfishtank-3.3.2/src/transwindow.c:275:12: style: Local variable 'screen' shadows outer variable [shadowVariable] xfishtank-3.3.2/src/transwindow.c:238:15: note: Shadowed declaration xfishtank-3.3.2/src/transwindow.c:275:12: note: Shadow variable xfishtank-3.3.2/src/ui.c:155:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/ui.c:233:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_BILINEAR [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/ui.c:451:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/ui.c:529:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/ui.c:595:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/ui.c:627:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WINDOW_STATE_ICONIFIED [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/ui.c:641:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xfishtank_xml [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/ui.c:778:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWOverrideRedirect [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/ui.c:610:8: style: Condition '!iconified' is always true [knownConditionTrueFalse] xfishtank-3.3.2/src/ui.c:604:7: note: Assuming that condition 'iconified' is not redundant xfishtank-3.3.2/src/ui.c:610:8: note: Condition '!iconified' is always true xfishtank-3.3.2/src/ui.c:464:11: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xfishtank-3.3.2/src/ui.c:713:3: error: Common realloc mistake: 's' nulled but not freed upon failure [memleakOnRealloc] xfishtank-3.3.2/src/ui.c:436:4: warning: If memory allocation fails, then there is a possible null pointer dereference: flagsfile [nullPointerOutOfMemory] xfishtank-3.3.2/src/ui.c:435:35: note: Assuming allocation function fails xfishtank-3.3.2/src/ui.c:435:22: note: Assignment 'flagsfile=(char*)malloc((strlen(h)+strlen(".xfishtankrc")+2)*sizeof(char))', assigned value is 0 xfishtank-3.3.2/src/ui.c:436:4: note: Null pointer dereference xfishtank-3.3.2/src/ui.c:437:11: warning: If memory allocation fails, then there is a possible null pointer dereference: flagsfile [nullPointerOutOfMemory] xfishtank-3.3.2/src/ui.c:435:35: note: Assuming allocation function fails xfishtank-3.3.2/src/ui.c:435:22: note: Assignment 'flagsfile=(char*)malloc((strlen(h)+strlen(".xfishtankrc")+2)*sizeof(char))', assigned value is 0 xfishtank-3.3.2/src/ui.c:437:11: note: Null pointer dereference xfishtank-3.3.2/src/ui.c:464:30: warning: If memory allocation fails, then there is a possible null pointer dereference: flag [nullPointerOutOfMemory] xfishtank-3.3.2/src/ui.c:463:33: note: Assuming allocation function fails xfishtank-3.3.2/src/ui.c:463:20: note: Assignment 'flag=(char*)malloc((strlen(line)+1)*sizeof(char))', assigned value is 0 xfishtank-3.3.2/src/ui.c:464:30: note: Null pointer dereference xfishtank-3.3.2/src/ui.c:759:14: style: Variable 'monitor_x' is reassigned a value before the old one has been used. [redundantAssignment] xfishtank-3.3.2/src/ui.c:752:17: note: monitor_x is assigned xfishtank-3.3.2/src/ui.c:759:14: note: monitor_x is overwritten xfishtank-3.3.2/src/ui.c:760:14: style: Variable 'monitor_y' is reassigned a value before the old one has been used. [redundantAssignment] xfishtank-3.3.2/src/ui.c:753:17: note: monitor_y is assigned xfishtank-3.3.2/src/ui.c:760:14: note: monitor_y is overwritten xfishtank-3.3.2/src/ui.c:602:15: style: Local variable 'counter' shadows outer variable [shadowVariable] xfishtank-3.3.2/src/debug.h:43:12: note: Shadowed declaration xfishtank-3.3.2/src/ui.c:602:15: note: Shadow variable xfishtank-3.3.2/src/ui.c:767:11: style: Local variable 'x' shadows outer variable [shadowVariable] xfishtank-3.3.2/src/ui.c:739:8: note: Shadowed declaration xfishtank-3.3.2/src/ui.c:767:11: note: Shadow variable xfishtank-3.3.2/src/ui.c:767:13: style: Local variable 'y' shadows outer variable [shadowVariable] xfishtank-3.3.2/src/ui.c:739:10: note: Shadowed declaration xfishtank-3.3.2/src/ui.c:767:13: note: Shadow variable xfishtank-3.3.2/src/ui.c:430:27: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] xfishtank-3.3.2/src/ui.c:432:10: style: Variable 'h' can be declared as pointer to const [constVariablePointer] xfishtank-3.3.2/src/ui.c:622:28: style: Parameter 'event' can be declared as pointer to const. However it seems that 'callback_func' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfishtank-3.3.2/src/ui.c:646:3: note: You might need to cast the function pointer here xfishtank-3.3.2/src/ui.c:622:28: note: Parameter 'event' can be declared as pointer to const xfishtank-3.3.2/src/utils.c:73:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEARCH_ANY [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/utils.c:60:34: style: Return value '(*(char*)&endiantest)==1' is always true [knownConditionTrueFalse] xfishtank-3.3.2/src/utils.c:59:21: note: Assignment 'endiantest=1', assigned value is 1 xfishtank-3.3.2/src/utils.c:60:34: note: Return value '(*(char*)&endiantest)==1' is always true xfishtank-3.3.2/src/utils.c:64:41: style:inconclusive: Function 'largest_window_with_name' argument 1 names different: declaration 'xdo' definition 'myxdo'. [funcArgNamesDifferent] xfishtank-3.3.2/src/utils.h:38:49: note: Function 'largest_window_with_name' argument 1 names different: declaration 'xdo' definition 'myxdo'. xfishtank-3.3.2/src/utils.c:64:41: note: Function 'largest_window_with_name' argument 1 names different: declaration 'xdo' definition 'myxdo'. xfishtank-3.3.2/src/utils.c:88:20: style: Local variable 'width' shadows outer variable [shadowVariable] xfishtank-3.3.2/src/xfishtank.h:49:17: note: Shadowed declaration xfishtank-3.3.2/src/utils.c:88:20: note: Shadow variable xfishtank-3.3.2/src/utils.c:88:26: style: Local variable 'height' shadows outer variable [shadowVariable] xfishtank-3.3.2/src/xfishtank.h:50:17: note: Shadowed declaration xfishtank-3.3.2/src/utils.c:88:26: note: Shadow variable xfishtank-3.3.2/src/utils.c:41:10: style: Variable 'b' can be declared as pointer to const [constVariablePointer] xfishtank-3.3.2/src/utils.c:64:41: style: Parameter 'myxdo' can be declared as pointer to const [constParameterPointer] xfishtank-3.3.2/src/utils.c:102:26: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] xfishtank-3.3.2/src/windows.c:39:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/wmctrl.c:94:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AnyPropertyType [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/wmctrl.c:200:6: style: Condition 'properties' is always true [knownConditionTrueFalse] xfishtank-3.3.2/src/wmctrl.c:49:26: style:inconclusive: Function 'GetWindows' argument 1 names different: declaration 'w' definition 'windows'. [funcArgNamesDifferent] xfishtank-3.3.2/src/wmctrl.h:48:42: note: Function 'GetWindows' argument 1 names different: declaration 'w' definition 'windows'. xfishtank-3.3.2/src/wmctrl.c:49:26: note: Function 'GetWindows' argument 1 names different: declaration 'w' definition 'windows'. xfishtank-3.3.2/src/wmctrl.c:49:40: style:inconclusive: Function 'GetWindows' argument 2 names different: declaration 'nw' definition 'nwin'. [funcArgNamesDifferent] xfishtank-3.3.2/src/wmctrl.h:48:50: note: Function 'GetWindows' argument 2 names different: declaration 'nw' definition 'nwin'. xfishtank-3.3.2/src/wmctrl.c:49:40: note: Function 'GetWindows' argument 2 names different: declaration 'nw' definition 'nwin'. xfishtank-3.3.2/src/wmctrl.c:140:8: style: Local variable 'type' shadows outer variable [shadowVariable] xfishtank-3.3.2/src/wmctrl.c:51:9: note: Shadowed declaration xfishtank-3.3.2/src/wmctrl.c:140:8: note: Shadow variable xfishtank-3.3.2/src/wmctrl.c:141:25: style: Local variable 'b' shadows outer variable [shadowVariable] xfishtank-3.3.2/src/wmctrl.c:53:18: note: Shadowed declaration xfishtank-3.3.2/src/wmctrl.c:141:25: note: Shadow variable xfishtank-3.3.2/src/wmctrl.c:141:32: style: Local variable 'format' shadows outer variable [shadowVariable] xfishtank-3.3.2/src/wmctrl.c:52:8: note: Shadowed declaration xfishtank-3.3.2/src/wmctrl.c:141:32: note: Shadow variable xfishtank-3.3.2/src/wmctrl.c:142:18: style: Local variable 'properties' shadows outer variable [shadowVariable] xfishtank-3.3.2/src/wmctrl.c:54:19: note: Shadowed declaration xfishtank-3.3.2/src/wmctrl.c:142:18: note: Shadow variable xfishtank-3.3.2/src/wmctrl.c:187:12: style: Local variable 'type' shadows outer variable [shadowVariable] xfishtank-3.3.2/src/wmctrl.c:51:9: note: Shadowed declaration xfishtank-3.3.2/src/wmctrl.c:187:12: note: Shadow variable xfishtank-3.3.2/src/wmctrl.c:187:22: style: Local variable 'format' shadows outer variable [shadowVariable] xfishtank-3.3.2/src/wmctrl.c:52:8: note: Shadowed declaration xfishtank-3.3.2/src/wmctrl.c:187:22: note: Shadow variable xfishtank-3.3.2/src/wmctrl.c:187:51: style: Local variable 'b' shadows outer variable [shadowVariable] xfishtank-3.3.2/src/wmctrl.c:53:18: note: Shadowed declaration xfishtank-3.3.2/src/wmctrl.c:187:51: note: Shadow variable xfishtank-3.3.2/src/wmctrl.c:187:69: style: Local variable 'properties' shadows outer variable [shadowVariable] xfishtank-3.3.2/src/wmctrl.c:54:19: note: Shadowed declaration xfishtank-3.3.2/src/wmctrl.c:187:69: note: Shadow variable xfishtank-3.3.2/src/wmctrl.c:212:7: style: Local variable 'i' shadows outer variable [shadowVariable] xfishtank-3.3.2/src/wmctrl.c:156:18: note: Shadowed declaration xfishtank-3.3.2/src/wmctrl.c:212:7: note: Shadow variable xfishtank-3.3.2/src/wmctrl.c:240:7: style: Local variable 'i' shadows outer variable [shadowVariable] xfishtank-3.3.2/src/wmctrl.c:156:18: note: Shadowed declaration xfishtank-3.3.2/src/wmctrl.c:240:7: note: Shadow variable xfishtank-3.3.2/src/wmctrl.c:276:20: style: Local variable 'i' shadows outer variable [shadowVariable] xfishtank-3.3.2/src/wmctrl.c:156:18: note: Shadowed declaration xfishtank-3.3.2/src/wmctrl.c:276:20: note: Shadow variable xfishtank-3.3.2/src/wmctrl.c:335:9: style: Variable 'r' can be declared as pointer to const [constVariablePointer] xfishtank-3.3.2/src/xdo.c:116:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:133:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:188:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IsUnmapped [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:200:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IsUnmapped [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:301:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWX [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:311:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PResizeInc [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:359:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWWidth [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:375:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWOverrideRedirect [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:405:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XUrgencyHint [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:426:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PropModeReplace [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:513:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:553:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:586:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:617:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:650:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:679:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:711:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:742:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:774:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XC_target [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:826:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:844:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CurrentTime [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:853:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CurrentTime [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:978:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:992:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:1017:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_CTYPE [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:1068:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:1194:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:1279:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:1310:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoSymbol [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:1412:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:1468:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:1494:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AnyPropertyType [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:1557:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:1584:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbUseCoreKbd [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:1620:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShiftMask [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:1641:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShiftMapIndex [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:1672:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShiftMapIndex [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:1725:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button1MotionMask [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:1752:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button1MotionMask [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:1781:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Atom [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:1829:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:1870:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClientMessage [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:1902:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Atom [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:1956:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:1970:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:1997:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo.c:145:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] xfishtank-3.3.2/src/xdo.c:191:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xfishtank-3.3.2/src/xdo.c:206:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xfishtank-3.3.2/src/xdo.c:479:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xfishtank-3.3.2/src/xdo.c:499:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xfishtank-3.3.2/src/xdo.c:981:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xfishtank-3.3.2/src/xdo.c:999:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xfishtank-3.3.2/src/xdo.c:1212:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xfishtank-3.3.2/src/xdo.c:1608:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xfishtank-3.3.2/src/xdo.c:1804:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xfishtank-3.3.2/src/xdo.c:1819:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xfishtank-3.3.2/src/xdo.c:1423:16: style: The statement 'if (strptr!=NULL) strptr=NULL' is logically equivalent to 'strptr=NULL'. [duplicateConditionalAssign] xfishtank-3.3.2/src/xdo.c:1424:14: note: Assignment 'strptr=NULL' xfishtank-3.3.2/src/xdo.c:1423:16: note: Condition 'strptr!=NULL' is redundant xfishtank-3.3.2/src/xdo.c:428:47: style: Condition 'ret==0' is always true [knownConditionTrueFalse] xfishtank-3.3.2/src/xdo.c:427:11: note: Assuming that condition 'ret==0' is not redundant xfishtank-3.3.2/src/xdo.c:428:47: note: Condition 'ret==0' is always true xfishtank-3.3.2/src/xdo.c:1033:7: warning: %lc in format string (no. 1) requires 'unsigned long' but the argument type is 'signed wchar_t'. [invalidPrintfArgType_uint] xfishtank-3.3.2/src/xdo.c:139:10: warning: If memory allocation fails, then there is a possible null pointer dereference: xdo [nullPointerOutOfMemory] xfishtank-3.3.2/src/xdo.c:138:23: note: Assuming allocation function fails xfishtank-3.3.2/src/xdo.c:138:9: note: Assignment 'xdo=(struct xdo_t*)malloc(sizeof(struct xdo_t))', assigned value is 0 xfishtank-3.3.2/src/xdo.c:139:10: note: Null pointer dereference xfishtank-3.3.2/src/xdo.c:141:3: warning: If memory allocation fails, then there is a possible null pointer dereference: xdo [nullPointerOutOfMemory] xfishtank-3.3.2/src/xdo.c:138:23: note: Assuming allocation function fails xfishtank-3.3.2/src/xdo.c:138:9: note: Assignment 'xdo=(struct xdo_t*)malloc(sizeof(struct xdo_t))', assigned value is 0 xfishtank-3.3.2/src/xdo.c:141:3: note: Null pointer dereference xfishtank-3.3.2/src/xdo.c:142:3: warning: If memory allocation fails, then there is a possible null pointer dereference: xdo [nullPointerOutOfMemory] xfishtank-3.3.2/src/xdo.c:138:23: note: Assuming allocation function fails xfishtank-3.3.2/src/xdo.c:138:9: note: Assignment 'xdo=(struct xdo_t*)malloc(sizeof(struct xdo_t))', assigned value is 0 xfishtank-3.3.2/src/xdo.c:142:3: note: Null pointer dereference xfishtank-3.3.2/src/xdo.c:1341:31: warning: If memory allocation fails, then there is a possible null pointer dereference: xdo [nullPointerOutOfMemory] xfishtank-3.3.2/src/xdo.c:138:23: note: Assuming allocation function fails xfishtank-3.3.2/src/xdo.c:138:9: note: Assignment 'xdo=(struct xdo_t*)malloc(sizeof(struct xdo_t))', assigned value is 0 xfishtank-3.3.2/src/xdo.c:152:22: note: Calling function '_xdo_has_xtest', 1st argument 'xdo' value is 0 xfishtank-3.3.2/src/xdo.c:1341:31: note: Null pointer dereference xfishtank-3.3.2/src/xdo.c:111:28: style:inconclusive: Function 'xdo_new' argument 1 names different: declaration 'display' definition 'display_name'. [funcArgNamesDifferent] xfishtank-3.3.2/src/xdo.h:232:28: note: Function 'xdo_new' argument 1 names different: declaration 'display' definition 'display_name'. xfishtank-3.3.2/src/xdo.c:111:28: note: Function 'xdo_new' argument 1 names different: declaration 'display' definition 'display_name'. xfishtank-3.3.2/src/xdo.c:336:50: style:inconclusive: Function 'xdo_set_window_size' argument 2 names different: declaration 'wid' definition 'window'. [funcArgNamesDifferent] xfishtank-3.3.2/src/xdo.h:506:50: note: Function 'xdo_set_window_size' argument 2 names different: declaration 'wid' definition 'window'. xfishtank-3.3.2/src/xdo.c:336:50: note: Function 'xdo_set_window_size' argument 2 names different: declaration 'wid' definition 'window'. xfishtank-3.3.2/src/xdo.c:336:62: style:inconclusive: Function 'xdo_set_window_size' argument 3 names different: declaration 'w' definition 'width'. [funcArgNamesDifferent] xfishtank-3.3.2/src/xdo.h:506:59: note: Function 'xdo_set_window_size' argument 3 names different: declaration 'w' definition 'width'. xfishtank-3.3.2/src/xdo.c:336:62: note: Function 'xdo_set_window_size' argument 3 names different: declaration 'w' definition 'width'. xfishtank-3.3.2/src/xdo.c:336:73: style:inconclusive: Function 'xdo_set_window_size' argument 4 names different: declaration 'h' definition 'height'. [funcArgNamesDifferent] xfishtank-3.3.2/src/xdo.h:506:66: note: Function 'xdo_set_window_size' argument 4 names different: declaration 'h' definition 'height'. xfishtank-3.3.2/src/xdo.c:336:73: note: Function 'xdo_set_window_size' argument 4 names different: declaration 'h' definition 'height'. xfishtank-3.3.2/src/xdo.c:910:51: style:inconclusive: Function 'xdo_get_mouse_location' argument 2 names different: declaration 'x' definition 'x_ret'. [funcArgNamesDifferent] xfishtank-3.3.2/src/xdo.h:310:51: note: Function 'xdo_get_mouse_location' argument 2 names different: declaration 'x' definition 'x_ret'. xfishtank-3.3.2/src/xdo.c:910:51: note: Function 'xdo_get_mouse_location' argument 2 names different: declaration 'x' definition 'x_ret'. xfishtank-3.3.2/src/xdo.c:910:63: style:inconclusive: Function 'xdo_get_mouse_location' argument 3 names different: declaration 'y' definition 'y_ret'. [funcArgNamesDifferent] xfishtank-3.3.2/src/xdo.h:310:59: note: Function 'xdo_get_mouse_location' argument 3 names different: declaration 'y' definition 'y_ret'. xfishtank-3.3.2/src/xdo.c:910:63: note: Function 'xdo_get_mouse_location' argument 3 names different: declaration 'y' definition 'y_ret'. xfishtank-3.3.2/src/xdo.c:911:33: style:inconclusive: Function 'xdo_get_mouse_location' argument 4 names different: declaration 'screen_num' definition 'screen_num_ret'. [funcArgNamesDifferent] xfishtank-3.3.2/src/xdo.h:310:67: note: Function 'xdo_get_mouse_location' argument 4 names different: declaration 'screen_num' definition 'screen_num_ret'. xfishtank-3.3.2/src/xdo.c:911:33: note: Function 'xdo_get_mouse_location' argument 4 names different: declaration 'screen_num' definition 'screen_num_ret'. xfishtank-3.3.2/src/xdo.c:1163:83: style:inconclusive: Function 'xdo_send_keysequence_window_down' argument 3 names different: declaration 'keysequence' definition 'keyseq'. [funcArgNamesDifferent] xfishtank-3.3.2/src/xdo.h:423:38: note: Function 'xdo_send_keysequence_window_down' argument 3 names different: declaration 'keysequence' definition 'keyseq'. xfishtank-3.3.2/src/xdo.c:1163:83: note: Function 'xdo_send_keysequence_window_down' argument 3 names different: declaration 'keysequence' definition 'keyseq'. xfishtank-3.3.2/src/xdo.c:1168:81: style:inconclusive: Function 'xdo_send_keysequence_window_up' argument 3 names different: declaration 'keysequence' definition 'keyseq'. [funcArgNamesDifferent] xfishtank-3.3.2/src/xdo.h:415:36: note: Function 'xdo_send_keysequence_window_up' argument 3 names different: declaration 'keysequence' definition 'keyseq'. xfishtank-3.3.2/src/xdo.c:1168:81: note: Function 'xdo_send_keysequence_window_up' argument 3 names different: declaration 'keysequence' definition 'keyseq'. xfishtank-3.3.2/src/xdo.c:1173:78: style:inconclusive: Function 'xdo_send_keysequence_window' argument 3 names different: declaration 'keysequence' definition 'keyseq'. [funcArgNamesDifferent] xfishtank-3.3.2/src/xdo.h:407:33: note: Function 'xdo_send_keysequence_window' argument 3 names different: declaration 'keysequence' definition 'keyseq'. xfishtank-3.3.2/src/xdo.c:1173:78: note: Function 'xdo_send_keysequence_window' argument 3 names different: declaration 'keysequence' definition 'keyseq'. xfishtank-3.3.2/src/xdo.c:1937:50: style:inconclusive: Function 'xdo_minimize_window' argument 2 names different: declaration 'wid' definition 'window'. [funcArgNamesDifferent] xfishtank-3.3.2/src/xdo.h:640:50: note: Function 'xdo_minimize_window' argument 2 names different: declaration 'wid' definition 'window'. xfishtank-3.3.2/src/xdo.c:1937:50: note: Function 'xdo_minimize_window' argument 2 names different: declaration 'wid' definition 'window'. xfishtank-3.3.2/src/xdo.c:1612:53: style: Parameter 'modmap' can be declared as pointer to const [constParameterPointer] xfishtank-3.3.2/src/xdo.c:1857:8: style: Variable 'viewport_data' can be declared as pointer to const [constVariablePointer] xfishtank-3.3.2/src/xdo.c:1982:28: style: Parameter 'xdo' can be declared as pointer to const [constParameterPointer] xfishtank-3.3.2/src/xdo.c:1026:28: error: Uninitialized variable: &key.key [uninitvar] xfishtank-3.3.2/src/xdo.c:145:13: style: Variable 'display' is assigned a value that is never used. [unreadVariable] xfishtank-3.3.2/src/xdo.c:488:11: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] xfishtank-3.3.2/src/xdo.c:1406:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] xfishtank-3.3.2/src/xdo.c:1613:16: style: Variable 'j' is assigned a value that is never used. [unreadVariable] xfishtank-3.3.2/src/xdo.c:1664:15: style: Variable 'keycode' is assigned a value that is never used. [unreadVariable] xfishtank-3.3.2/src/xdo.c:1959:1: error: va_list 'args' was opened but not closed by va_end(). [va_end_missing] xfishtank-3.3.2/src/xdo.c:1967:11: error: va_list 'args' was opened but not closed by va_end(). [va_end_missing] xfishtank-3.3.2/src/xdo_search.c:37:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Window [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo_search.c:83:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo_search.c:182:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo_search.c:197:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IsViewable [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo_search.c:261:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo_search.c:377:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Window [valueFlowBailoutIncompleteVar] xfishtank-3.3.2/src/xdo_search.c:88:77: style: Parameter 're' can be declared as pointer to const [constParameterPointer] xfishtank-3.3.2/src/xdo_search.c:123:78: style: Parameter 're' can be declared as pointer to const [constParameterPointer] xfishtank-3.3.2/src/xdo_search.c:146:82: style: Parameter 're' can be declared as pointer to const [constParameterPointer] xfishtank-3.3.2/src/xdo_search.c:33:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] xfishtank-3.3.2/src/ixpm.c:75:22: warning: If memory allocation fails, then there is a possible null pointer dereference: s [ctunullpointerOutOfMemory] xfishtank-3.3.2/src/ixpm.c:190:22: note: Assuming allocation function fails xfishtank-3.3.2/src/ixpm.c:190:22: note: Assignment 's=strdup(data[y+offset])', assigned value is 0 xfishtank-3.3.2/src/ixpm.c:192:12: note: Calling function strrevert, 1st argument is null xfishtank-3.3.2/src/ixpm.c:75:22: note: Dereferencing argument s that is null xfishtank-3.3.2/src/xdo.c:1341:31: warning: If memory allocation fails, then there is a possible null pointer dereference: xdo [ctunullpointerOutOfMemory] xfishtank-3.3.2/src/xdo.c:138:23: note: Assuming allocation function fails xfishtank-3.3.2/src/xdo.c:138:9: note: Assignment 'xdo=(struct xdo_t*)malloc(sizeof(struct xdo_t))', assigned value is 0 xfishtank-3.3.2/src/xdo.c:152:21: note: Calling function _xdo_has_xtest, 1st argument is null xfishtank-3.3.2/src/xdo.c:1341:31: note: Dereferencing argument xdo that is null diff: 2.20.0 xfishtank-3.3.2/src/ixpm.c:82:15: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] xfishtank-3.3.2/src/ixpm.c:77:28: note: Assuming allocation function fails xfishtank-3.3.2/src/ixpm.c:77:14: note: Assignment 'c=(char*)malloc(l*sizeof(*c))', assigned value is 0 xfishtank-3.3.2/src/ixpm.c:82:15: note: Null pointer dereference 2.20.0 xfishtank-3.3.2/src/ixpm.c:84:17: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] xfishtank-3.3.2/src/ixpm.c:77:28: note: Assuming allocation function fails xfishtank-3.3.2/src/ixpm.c:77:14: note: Assignment 'c=(char*)malloc(l*sizeof(*c))', assigned value is 0 xfishtank-3.3.2/src/ixpm.c:84:17: note: Null pointer dereference 2.20.0 xfishtank-3.3.2/src/ui.c:438:11: warning: If memory allocation fails, then there is a possible null pointer dereference: flagsfile [nullPointerOutOfMemory] xfishtank-3.3.2/src/ui.c:435:35: note: Assuming allocation function fails xfishtank-3.3.2/src/ui.c:435:22: note: Assignment 'flagsfile=(char*)malloc((strlen(h)+strlen(".xfishtankrc")+2)*sizeof(char))', assigned value is 0 xfishtank-3.3.2/src/ui.c:438:11: note: Null pointer dereference 2.20.0 xfishtank-3.3.2/src/ui.c:439:11: warning: If memory allocation fails, then there is a possible null pointer dereference: flagsfile [nullPointerOutOfMemory] xfishtank-3.3.2/src/ui.c:435:35: note: Assuming allocation function fails xfishtank-3.3.2/src/ui.c:435:22: note: Assignment 'flagsfile=(char*)malloc((strlen(h)+strlen(".xfishtankrc")+2)*sizeof(char))', assigned value is 0 xfishtank-3.3.2/src/ui.c:439:11: note: Null pointer dereference 2.20.0 xfishtank-3.3.2/src/ui.c:440:20: warning: If memory allocation fails, then there is a possible null pointer dereference: flagsfile [nullPointerOutOfMemory] xfishtank-3.3.2/src/ui.c:435:35: note: Assuming allocation function fails xfishtank-3.3.2/src/ui.c:435:22: note: Assignment 'flagsfile=(char*)malloc((strlen(h)+strlen(".xfishtankrc")+2)*sizeof(char))', assigned value is 0 xfishtank-3.3.2/src/ui.c:440:20: note: Null pointer dereference 2.20.0 xfishtank-3.3.2/src/ui.c:467:34: warning: If memory allocation fails, then there is a possible null pointer dereference: flag [nullPointerOutOfMemory] xfishtank-3.3.2/src/ui.c:463:33: note: Assuming allocation function fails xfishtank-3.3.2/src/ui.c:463:20: note: Assignment 'flag=(char*)malloc((strlen(line)+1)*sizeof(char))', assigned value is 0 xfishtank-3.3.2/src/ui.c:465:20: note: Assuming condition is false xfishtank-3.3.2/src/ui.c:467:34: note: Null pointer dereference DONE