2025-07-01 16:13 ftp://ftp.de.debian.org/debian/pool/main/x/xpenguins/xpenguins_3.2.3.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-63-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: f4eb733 (2025-07-01 13:53:18 +0200) count: 163 161 elapsed-time: 19.8 19.8 head-timing-info: old-timing-info: head results: xpenguins-3.2.3/src/docs.c:59:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGDATADIR [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/ixpm.c:43:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCForeground [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/ixpm.c:109:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/ixpm.c:226:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/ixpm.c:67:22: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] xpenguins-3.2.3/src/ixpm.c:180:22: note: Assuming allocation function fails xpenguins-3.2.3/src/ixpm.c:180:22: note: Assignment 's=strdup(data[y+offset])', assigned value is 0 xpenguins-3.2.3/src/ixpm.c:182:13: note: Calling function 'strrevert', 1st argument 's' value is 0 xpenguins-3.2.3/src/ixpm.c:67:22: note: Null pointer dereference xpenguins-3.2.3/src/ixpm.c:71:23: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] xpenguins-3.2.3/src/ixpm.c:180:22: note: Assuming allocation function fails xpenguins-3.2.3/src/ixpm.c:180:22: note: Assignment 's=strdup(data[y+offset])', assigned value is 0 xpenguins-3.2.3/src/ixpm.c:182:13: note: Calling function 'strrevert', 1st argument 's' value is 0 xpenguins-3.2.3/src/ixpm.c:71:23: note: Null pointer dereference xpenguins-3.2.3/src/ixpm.c:74:15: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] xpenguins-3.2.3/src/ixpm.c:69:28: note: Assuming allocation function fails xpenguins-3.2.3/src/ixpm.c:69:14: note: Assignment 'c=(char*)malloc(l*sizeof(*c))', assigned value is 0 xpenguins-3.2.3/src/ixpm.c:74:15: note: Null pointer dereference xpenguins-3.2.3/src/ixpm.c:76:17: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] xpenguins-3.2.3/src/ixpm.c:69:28: note: Assuming allocation function fails xpenguins-3.2.3/src/ixpm.c:69:14: note: Assignment 'c=(char*)malloc(l*sizeof(*c))', assigned value is 0 xpenguins-3.2.3/src/ixpm.c:76:17: note: Null pointer dereference xpenguins-3.2.3/src/ixpm.c:99:7: warning: If memory allocation fails, then there is a possible null pointer dereference: idata [nullPointerOutOfMemory] xpenguins-3.2.3/src/ixpm.c:97:27: note: Assuming allocation function fails xpenguins-3.2.3/src/ixpm.c:97:12: note: Assignment 'idata=(char**)malloc(lines*sizeof(*idata))', assigned value is 0 xpenguins-3.2.3/src/ixpm.c:99:7: note: Null pointer dereference xpenguins-3.2.3/src/ixpm.c:103:13: warning: If memory allocation fails, then there is a possible null pointer dereference: idata [nullPointerOutOfMemory] xpenguins-3.2.3/src/ixpm.c:97:27: note: Assuming allocation function fails xpenguins-3.2.3/src/ixpm.c:97:12: note: Assignment 'idata=(char**)malloc(lines*sizeof(*idata))', assigned value is 0 xpenguins-3.2.3/src/ixpm.c:103:13: note: Null pointer dereference xpenguins-3.2.3/src/ixpm.c:185:21: warning: If memory allocation fails, then there is a possible null pointer dereference: code [nullPointerOutOfMemory] xpenguins-3.2.3/src/ixpm.c:169:17: note: Assuming allocation function fails xpenguins-3.2.3/src/ixpm.c:169:17: note: Assignment 'code=strndup(data[i],n)', assigned value is 0 xpenguins-3.2.3/src/ixpm.c:185:21: note: Null pointer dereference xpenguins-3.2.3/src/ixpm.c:236:7: warning: If memory allocation fails, then there is a possible null pointer dereference: code [nullPointerOutOfMemory] xpenguins-3.2.3/src/ixpm.c:234:31: note: Assuming allocation function fails xpenguins-3.2.3/src/ixpm.c:234:17: note: Assignment 'code=(char*)malloc(sizeof(char)*cpp)', assigned value is 0 xpenguins-3.2.3/src/ixpm.c:236:7: note: Null pointer dereference xpenguins-3.2.3/src/ixpm.c:334:7: warning: If memory allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfMemory] xpenguins-3.2.3/src/ixpm.c:330:25: note: Assuming allocation function fails xpenguins-3.2.3/src/ixpm.c:330:11: note: Assignment '*out=(char**)malloc(sizeof(char*)*(n+3))', assigned value is 0 xpenguins-3.2.3/src/ixpm.c:331:13: note: x is assigned '*out' here. xpenguins-3.2.3/src/ixpm.c:334:7: note: Null pointer dereference xpenguins-3.2.3/src/ixpm.c:335:4: warning: If memory allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfMemory] xpenguins-3.2.3/src/ixpm.c:330:25: note: Assuming allocation function fails xpenguins-3.2.3/src/ixpm.c:330:11: note: Assignment '*out=(char**)malloc(sizeof(char*)*(n+3))', assigned value is 0 xpenguins-3.2.3/src/ixpm.c:331:13: note: x is assigned '*out' here. xpenguins-3.2.3/src/ixpm.c:335:4: note: Null pointer dereference xpenguins-3.2.3/src/ixpm.c:336:4: warning: If memory allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfMemory] xpenguins-3.2.3/src/ixpm.c:330:25: note: Assuming allocation function fails xpenguins-3.2.3/src/ixpm.c:330:11: note: Assignment '*out=(char**)malloc(sizeof(char*)*(n+3))', assigned value is 0 xpenguins-3.2.3/src/ixpm.c:331:13: note: x is assigned '*out' here. xpenguins-3.2.3/src/ixpm.c:336:4: note: Null pointer dereference xpenguins-3.2.3/src/ixpm.c:337:11: warning: If memory allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfMemory] xpenguins-3.2.3/src/ixpm.c:330:25: note: Assuming allocation function fails xpenguins-3.2.3/src/ixpm.c:330:11: note: Assignment '*out=(char**)malloc(sizeof(char*)*(n+3))', assigned value is 0 xpenguins-3.2.3/src/ixpm.c:331:13: note: x is assigned '*out' here. xpenguins-3.2.3/src/ixpm.c:337:11: note: Null pointer dereference xpenguins-3.2.3/src/ixpm.c:338:11: warning: If memory allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfMemory] xpenguins-3.2.3/src/ixpm.c:330:25: note: Assuming allocation function fails xpenguins-3.2.3/src/ixpm.c:330:11: note: Assignment '*out=(char**)malloc(sizeof(char*)*(n+3))', assigned value is 0 xpenguins-3.2.3/src/ixpm.c:331:13: note: x is assigned '*out' here. xpenguins-3.2.3/src/ixpm.c:338:11: note: Null pointer dereference xpenguins-3.2.3/src/ixpm.c:343:7: warning: If memory allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfMemory] xpenguins-3.2.3/src/ixpm.c:330:25: note: Assuming allocation function fails xpenguins-3.2.3/src/ixpm.c:330:11: note: Assignment '*out=(char**)malloc(sizeof(char*)*(n+3))', assigned value is 0 xpenguins-3.2.3/src/ixpm.c:331:13: note: x is assigned '*out' here. xpenguins-3.2.3/src/ixpm.c:343:7: note: Null pointer dereference xpenguins-3.2.3/src/ixpm.c:71:15: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xpenguins-3.2.3/src/ixpm.c:180:22: note: Assuming allocation function fails xpenguins-3.2.3/src/ixpm.c:180:22: note: Assignment 's=strdup(data[y+offset])', assigned value is 0 xpenguins-3.2.3/src/ixpm.c:182:13: note: Calling function 'strrevert', 1st argument 's' value is 0 xpenguins-3.2.3/src/ixpm.c:71:15: note: Null pointer addition xpenguins-3.2.3/src/ixpm.c:185:16: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xpenguins-3.2.3/src/ixpm.c:180:22: note: Assuming allocation function fails xpenguins-3.2.3/src/ixpm.c:180:22: note: Assignment 's=strdup(data[y+offset])', assigned value is 0 xpenguins-3.2.3/src/ixpm.c:185:16: note: Null pointer addition xpenguins-3.2.3/src/ixpm.c:261:7: style: Local variable 'l' shadows outer variable [shadowVariable] xpenguins-3.2.3/src/ixpm.c:220:8: note: Shadowed declaration xpenguins-3.2.3/src/ixpm.c:261:7: note: Shadow variable xpenguins-3.2.3/src/ixpm.c:285:7: style: Local variable 'l' shadows outer variable [shadowVariable] xpenguins-3.2.3/src/ixpm.c:220:8: note: Shadowed declaration xpenguins-3.2.3/src/ixpm.c:285:7: note: Shadow variable xpenguins-3.2.3/src/main.c:178:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/main.c:478:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/main.c:552:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/main.c:573:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/main.c:700:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/main.c:137:4: warning: If memory allocation fails, then there is a possible null pointer dereference: ThemeNames [nullPointerOutOfMemory] xpenguins-3.2.3/src/main.c:136:32: note: Assuming allocation function fails xpenguins-3.2.3/src/main.c:136:17: note: Assignment 'ThemeNames=(char**)malloc(2*sizeof(char*))', assigned value is 0 xpenguins-3.2.3/src/main.c:137:4: note: Null pointer dereference xpenguins-3.2.3/src/main.c:138:4: warning: If memory allocation fails, then there is a possible null pointer dereference: ThemeNames [nullPointerOutOfMemory] xpenguins-3.2.3/src/main.c:136:32: note: Assuming allocation function fails xpenguins-3.2.3/src/main.c:136:17: note: Assignment 'ThemeNames=(char**)malloc(2*sizeof(char*))', assigned value is 0 xpenguins-3.2.3/src/main.c:138:4: note: Null pointer dereference xpenguins-3.2.3/src/main.c:262:6: warning: If memory allocation fails, then there is a possible null pointer dereference: ThemeNames [nullPointerOutOfMemory] xpenguins-3.2.3/src/main.c:261:34: note: Assuming allocation function fails xpenguins-3.2.3/src/main.c:261:19: note: Assignment 'ThemeNames=(char**)malloc(2*sizeof(char*))', assigned value is 0 xpenguins-3.2.3/src/main.c:262:6: note: Null pointer dereference xpenguins-3.2.3/src/main.c:263:6: warning: If memory allocation fails, then there is a possible null pointer dereference: ThemeNames [nullPointerOutOfMemory] xpenguins-3.2.3/src/main.c:261:34: note: Assuming allocation function fails xpenguins-3.2.3/src/main.c:261:19: note: Assignment 'ThemeNames=(char**)malloc(2*sizeof(char*))', assigned value is 0 xpenguins-3.2.3/src/main.c:263:6: note: Null pointer dereference xpenguins-3.2.3/src/main.c:689:6: warning: If memory allocation fails, then there is a possible null pointer dereference: ThemeNames [nullPointerOutOfMemory] xpenguins-3.2.3/src/main.c:687:34: note: Assuming allocation function fails xpenguins-3.2.3/src/main.c:687:19: note: Assignment 'ThemeNames=(char**)malloc(2*sizeof(char*))', assigned value is 0 xpenguins-3.2.3/src/main.c:689:6: note: Null pointer dereference xpenguins-3.2.3/src/main.c:690:6: warning: If memory allocation fails, then there is a possible null pointer dereference: ThemeNames [nullPointerOutOfMemory] xpenguins-3.2.3/src/main.c:687:34: note: Assuming allocation function fails xpenguins-3.2.3/src/main.c:687:19: note: Assignment 'ThemeNames=(char**)malloc(2*sizeof(char*))', assigned value is 0 xpenguins-3.2.3/src/main.c:690:6: note: Null pointer dereference xpenguins-3.2.3/src/main.c:724:7: warning: If memory allocation fails, then there is a possible null pointer dereference: ThemeNames [nullPointerOutOfMemory] xpenguins-3.2.3/src/main.c:723:35: note: Assuming allocation function fails xpenguins-3.2.3/src/main.c:723:20: note: Assignment 'ThemeNames=(char**)malloc(2*sizeof(char*))', assigned value is 0 xpenguins-3.2.3/src/main.c:724:7: note: Null pointer dereference xpenguins-3.2.3/src/main.c:725:7: warning: If memory allocation fails, then there is a possible null pointer dereference: ThemeNames [nullPointerOutOfMemory] xpenguins-3.2.3/src/main.c:723:35: note: Assuming allocation function fails xpenguins-3.2.3/src/main.c:723:20: note: Assignment 'ThemeNames=(char**)malloc(2*sizeof(char*))', assigned value is 0 xpenguins-3.2.3/src/main.c:725:7: note: Null pointer dereference xpenguins-3.2.3/src/main.c:739:15: warning: If memory allocation fails, then there is a possible null pointer dereference: ErrorMessage [nullPointerOutOfMemory] xpenguins-3.2.3/src/main.c:738:35: note: Assuming allocation function fails xpenguins-3.2.3/src/main.c:738:21: note: Assignment 'ErrorMessage=(char*)malloc(512*sizeof(char))', assigned value is 0 xpenguins-3.2.3/src/main.c:739:15: note: Null pointer dereference xpenguins-3.2.3/src/main.c:432:4: style: Statements following 'return' will never be executed. [unreachableCode] xpenguins-3.2.3/src/main.c:434:4: style: Statements following 'return' will never be executed. [unreachableCode] xpenguins-3.2.3/src/main.c:437:4: style: Statements following 'return' will never be executed. [unreachableCode] xpenguins-3.2.3/src/main.c:447:4: style: Statements following 'return' will never be executed. [unreachableCode] xpenguins-3.2.3/src/main.c:544:8: style: Local variable 'nthemes' shadows outer variable [shadowVariable] xpenguins-3.2.3/src/main.c:122:14: note: Shadowed declaration xpenguins-3.2.3/src/main.c:544:8: note: Shadow variable xpenguins-3.2.3/src/main.c:568:10: style: Variable 'location' can be declared as pointer to const [constVariablePointer] xpenguins-3.2.3/src/main.c:133:29: style: Variable 'rectangular_windows' is assigned a value that is never used. [unreadVariable] xpenguins-3.2.3/src/main.c:761:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable] xpenguins-3.2.3/src/toon_associate.c:86:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/toon_associate.c:124:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/toon_associate.c:57:13: style: Variable 'data' can be declared as pointer to const [constVariablePointer] xpenguins-3.2.3/src/toon_core.c:153:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RectangleOut [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/toon_core.c:273:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/toon_core.c:32:54: style: Parameter 'error' can be declared as pointer to const. However it seems that 'ToonXErrorHandler' is a callback function, if 'error' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xpenguins-3.2.3/src/toon_core.c:257:21: note: You might need to cast the function pointer here xpenguins-3.2.3/src/toon_core.c:32:54: note: Parameter 'error' can be declared as pointer to const xpenguins-3.2.3/src/toon_core.c:65:14: style: Variable 'data' can be declared as pointer to const [constVariablePointer] xpenguins-3.2.3/src/toon_draw.c:60:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/toon_draw.c:128:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Expose [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/toon_draw.c:29:20: style:inconclusive: Function 'ToonDraw' argument 1 names different: declaration 'toon' definition 't'. [funcArgNamesDifferent] xpenguins-3.2.3/src/toon.h:218:20: note: Function 'ToonDraw' argument 1 names different: declaration 'toon' definition 't'. xpenguins-3.2.3/src/toon_draw.c:29:20: note: Function 'ToonDraw' argument 1 names different: declaration 'toon' definition 't'. xpenguins-3.2.3/src/toon_draw.c:78:21: style:inconclusive: Function 'ToonErase' argument 1 names different: declaration 'toon' definition 't'. [funcArgNamesDifferent] xpenguins-3.2.3/src/toon.h:219:21: note: Function 'ToonErase' argument 1 names different: declaration 'toon' definition 't'. xpenguins-3.2.3/src/toon_draw.c:78:21: note: Function 'ToonErase' argument 1 names different: declaration 'toon' definition 't'. xpenguins-3.2.3/src/toon_init.c:106:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/toon_init.c:329:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/toon_init.c:353:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XpmExactColors [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/toon_init.c:143:17: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] xpenguins-3.2.3/src/toon_init.c:141:32: note: Assuming allocation function fails xpenguins-3.2.3/src/toon_init.c:141:32: note: Assignment 'DesktopSession=strdup(getenv("DESKTOP_SESSION"))', assigned value is 0 xpenguins-3.2.3/src/toon_init.c:142:19: note: Assignment 'a=DesktopSession', assigned value is 0 xpenguins-3.2.3/src/toon_init.c:143:17: note: Null pointer dereference xpenguins-3.2.3/src/toon_init.c:64:23: style:inconclusive: Function 'ToonInit' argument 1 names different: declaration 'display' definition 'd'. [funcArgNamesDifferent] xpenguins-3.2.3/src/toon.h:208:23: note: Function 'ToonInit' argument 1 names different: declaration 'display' definition 'd'. xpenguins-3.2.3/src/toon_init.c:64:23: note: Function 'ToonInit' argument 1 names different: declaration 'display' definition 'd'. xpenguins-3.2.3/src/toon_init.c:146:12: style: Local variable 'w' shadows outer variable [shadowVariable] xpenguins-3.2.3/src/toon_init.c:101:16: note: Shadowed declaration xpenguins-3.2.3/src/toon_init.c:146:12: note: Shadow variable xpenguins-3.2.3/src/toon_query.c:59:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RectangleOut [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/toon_query.c:99:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RectangleOut [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/toon_query.c:143:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RectangleOut [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/toon_query.c:165:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ConfigureNotify [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/toon_query.c:105:28: style: Parameter 'toon' can be declared as pointer to const [constParameterPointer] xpenguins-3.2.3/src/toon_query.c:107:14: style: Variable 'data' can be declared as pointer to const [constVariablePointer] xpenguins-3.2.3/src/toon_root.c:136:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XA_ATOM [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/toon_root.c:258:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XA_WINDOW [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/toon_root.c:325:18: style: Condition 'tmpwindow' is always true [knownConditionTrueFalse] xpenguins-3.2.3/src/toon_set.c:38:40: style:inconclusive: Function 'ToonSetPosition' argument 2 names different: declaration 'xf' definition 'x'. [funcArgNamesDifferent] xpenguins-3.2.3/src/toon.h:232:40: note: Function 'ToonSetPosition' argument 2 names different: declaration 'xf' definition 'x'. xpenguins-3.2.3/src/toon_set.c:38:40: note: Function 'ToonSetPosition' argument 2 names different: declaration 'xf' definition 'x'. xpenguins-3.2.3/src/toon_set.c:38:49: style:inconclusive: Function 'ToonSetPosition' argument 3 names different: declaration 'yf' definition 'y'. [funcArgNamesDifferent] xpenguins-3.2.3/src/toon.h:232:50: note: Function 'ToonSetPosition' argument 3 names different: declaration 'yf' definition 'y'. xpenguins-3.2.3/src/toon_set.c:38:49: note: Function 'ToonSetPosition' argument 3 names different: declaration 'yf' definition 'y'. xpenguins-3.2.3/src/toon_set.c:51:14: style: Variable 'data' can be declared as pointer to const [constVariablePointer] xpenguins-3.2.3/src/toon_set.c:52:14: style: Variable 'newdata' can be declared as pointer to const [constVariablePointer] xpenguins-3.2.3/src/transwindow.c:118:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WINDOW_TYPE_HINT_DOCK [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/transwindow.c:217:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Below [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/transwindow.c:231:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Above [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/transwindow.c:130:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xpenguins-3.2.3/src/transwindow.c:44:34: style:inconclusive: Function 'make_trans_window' argument 1 names different: declaration 'Transwindow' definition 'transwindow'. [funcArgNamesDifferent] xpenguins-3.2.3/src/transwindow.h:25:41: note: Function 'make_trans_window' argument 1 names different: declaration 'Transwindow' definition 'transwindow'. xpenguins-3.2.3/src/transwindow.c:44:34: note: Function 'make_trans_window' argument 1 names different: declaration 'Transwindow' definition 'transwindow'. xpenguins-3.2.3/src/transwindow.c:44:51: style:inconclusive: Function 'make_trans_window' argument 2 names different: declaration 'Fullscreen' definition 'fullscreen'. [funcArgNamesDifferent] xpenguins-3.2.3/src/transwindow.h:25:58: note: Function 'make_trans_window' argument 2 names different: declaration 'Fullscreen' definition 'fullscreen'. xpenguins-3.2.3/src/transwindow.c:44:51: note: Function 'make_trans_window' argument 2 names different: declaration 'Fullscreen' definition 'fullscreen'. xpenguins-3.2.3/src/ui.c:153:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/ui.c:209:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/ui.c:303:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xpenguins [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/ui.c:479:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/ui.c:572:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/ui.c:623:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xpenguins_xml [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/ui.c:129:15: warning: Logical disjunction always evaluates to true: active || !(active). [incorrectLogicOperator] xpenguins-3.2.3/src/ui.c:492:11: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xpenguins-3.2.3/src/ui.c:463:4: warning: If memory allocation fails, then there is a possible null pointer dereference: flagsfile [nullPointerOutOfMemory] xpenguins-3.2.3/src/ui.c:462:35: note: Assuming allocation function fails xpenguins-3.2.3/src/ui.c:462:22: note: Assignment 'flagsfile=(char*)malloc((strlen(h)+strlen(".xpenguinsrc")+2)*sizeof(char))', assigned value is 0 xpenguins-3.2.3/src/ui.c:463:4: note: Null pointer dereference xpenguins-3.2.3/src/ui.c:464:11: warning: If memory allocation fails, then there is a possible null pointer dereference: flagsfile [nullPointerOutOfMemory] xpenguins-3.2.3/src/ui.c:462:35: note: Assuming allocation function fails xpenguins-3.2.3/src/ui.c:462:22: note: Assignment 'flagsfile=(char*)malloc((strlen(h)+strlen(".xpenguinsrc")+2)*sizeof(char))', assigned value is 0 xpenguins-3.2.3/src/ui.c:464:11: note: Null pointer dereference xpenguins-3.2.3/src/ui.c:465:11: warning: If memory allocation fails, then there is a possible null pointer dereference: flagsfile [nullPointerOutOfMemory] xpenguins-3.2.3/src/ui.c:462:35: note: Assuming allocation function fails xpenguins-3.2.3/src/ui.c:462:22: note: Assignment 'flagsfile=(char*)malloc((strlen(h)+strlen(".xpenguinsrc")+2)*sizeof(char))', assigned value is 0 xpenguins-3.2.3/src/ui.c:465:11: note: Null pointer dereference xpenguins-3.2.3/src/ui.c:466:11: warning: If memory allocation fails, then there is a possible null pointer dereference: flagsfile [nullPointerOutOfMemory] xpenguins-3.2.3/src/ui.c:462:35: note: Assuming allocation function fails xpenguins-3.2.3/src/ui.c:462:22: note: Assignment 'flagsfile=(char*)malloc((strlen(h)+strlen(".xpenguinsrc")+2)*sizeof(char))', assigned value is 0 xpenguins-3.2.3/src/ui.c:466:11: note: Null pointer dereference xpenguins-3.2.3/src/ui.c:467:20: warning: If memory allocation fails, then there is a possible null pointer dereference: flagsfile [nullPointerOutOfMemory] xpenguins-3.2.3/src/ui.c:462:35: note: Assuming allocation function fails xpenguins-3.2.3/src/ui.c:462:22: note: Assignment 'flagsfile=(char*)malloc((strlen(h)+strlen(".xpenguinsrc")+2)*sizeof(char))', assigned value is 0 xpenguins-3.2.3/src/ui.c:467:20: note: Null pointer dereference xpenguins-3.2.3/src/ui.c:492:30: warning: If memory allocation fails, then there is a possible null pointer dereference: flag [nullPointerOutOfMemory] xpenguins-3.2.3/src/ui.c:491:33: note: Assuming allocation function fails xpenguins-3.2.3/src/ui.c:491:20: note: Assignment 'flag=(char*)malloc((strlen(line)+1)*sizeof(char))', assigned value is 0 xpenguins-3.2.3/src/ui.c:492:30: note: Null pointer dereference xpenguins-3.2.3/src/ui.c:495:34: warning: If memory allocation fails, then there is a possible null pointer dereference: flag [nullPointerOutOfMemory] xpenguins-3.2.3/src/ui.c:491:33: note: Assuming allocation function fails xpenguins-3.2.3/src/ui.c:491:20: note: Assignment 'flag=(char*)malloc((strlen(line)+1)*sizeof(char))', assigned value is 0 xpenguins-3.2.3/src/ui.c:493:20: note: Assuming condition is false xpenguins-3.2.3/src/ui.c:495:34: note: Null pointer dereference xpenguins-3.2.3/src/ui.c:129:15: style: Opposite expression on both sides of '||'. [oppositeExpression] xpenguins-3.2.3/src/ui.c:292:12: style: Local variable 'buf' shadows outer variable [shadowVariable] xpenguins-3.2.3/src/ui.c:56:25: note: Shadowed declaration xpenguins-3.2.3/src/ui.c:292:12: note: Shadow variable xpenguins-3.2.3/src/ui.c:548:7: style: Local variable 'n' shadows outer variable [shadowVariable] xpenguins-3.2.3/src/ui.c:486:14: note: Shadowed declaration xpenguins-3.2.3/src/ui.c:548:7: note: Shadow variable xpenguins-3.2.3/src/ui.c:234:13: style: Variable 'location' can be declared as pointer to const [constVariablePointer] xpenguins-3.2.3/src/ui.c:457:27: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] xpenguins-3.2.3/src/ui.c:459:10: style: Variable 'h' can be declared as pointer to const [constVariablePointer] xpenguins-3.2.3/src/utils.c:88:34: style: Return value '(*(char*)&endiantest)==1' is always true [knownConditionTrueFalse] xpenguins-3.2.3/src/utils.c:87:21: note: Assignment 'endiantest=1', assigned value is 1 xpenguins-3.2.3/src/utils.c:88:34: note: Return value '(*(char*)&endiantest)==1' is always true xpenguins-3.2.3/src/utils.c:43:38: warning: If memory allocation fails, then there is a possible null pointer dereference: home [nullPointerOutOfMemory] xpenguins-3.2.3/src/utils.c:42:23: note: Assuming allocation function fails xpenguins-3.2.3/src/utils.c:42:23: note: Assignment 'home=strdup(h)', assigned value is 0 xpenguins-3.2.3/src/utils.c:43:38: note: Null pointer dereference xpenguins-3.2.3/src/utils.c:44:17: warning: If memory allocation fails, then there is a possible null pointer dereference: home [nullPointerOutOfMemory] xpenguins-3.2.3/src/utils.c:42:23: note: Assuming allocation function fails xpenguins-3.2.3/src/utils.c:42:23: note: Assignment 'home=strdup(h)', assigned value is 0 xpenguins-3.2.3/src/utils.c:44:17: note: Null pointer dereference xpenguins-3.2.3/src/utils.c:78:17: style:inconclusive: Function 'RandInt' argument 1 names different: declaration 'maxint' definition 'm'. [funcArgNamesDifferent] xpenguins-3.2.3/src/utils.h:41:28: note: Function 'RandInt' argument 1 names different: declaration 'maxint' definition 'm'. xpenguins-3.2.3/src/utils.c:78:17: note: Function 'RandInt' argument 1 names different: declaration 'maxint' definition 'm'. xpenguins-3.2.3/src/utils.c:39:10: style: Variable 'h' can be declared as pointer to const [constVariablePointer] xpenguins-3.2.3/src/wmctrl.c:86:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AnyPropertyType [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/wmctrl.c:192:6: style: Condition 'properties' is always true [knownConditionTrueFalse] xpenguins-3.2.3/src/wmctrl.c:41:26: style:inconclusive: Function 'GetWindows' argument 1 names different: declaration 'w' definition 'windows'. [funcArgNamesDifferent] xpenguins-3.2.3/src/wmctrl.h:41:42: note: Function 'GetWindows' argument 1 names different: declaration 'w' definition 'windows'. xpenguins-3.2.3/src/wmctrl.c:41:26: note: Function 'GetWindows' argument 1 names different: declaration 'w' definition 'windows'. xpenguins-3.2.3/src/wmctrl.c:41:40: style:inconclusive: Function 'GetWindows' argument 2 names different: declaration 'nw' definition 'nwin'. [funcArgNamesDifferent] xpenguins-3.2.3/src/wmctrl.h:41:50: note: Function 'GetWindows' argument 2 names different: declaration 'nw' definition 'nwin'. xpenguins-3.2.3/src/wmctrl.c:41:40: note: Function 'GetWindows' argument 2 names different: declaration 'nw' definition 'nwin'. xpenguins-3.2.3/src/wmctrl.c:132:8: style: Local variable 'type' shadows outer variable [shadowVariable] xpenguins-3.2.3/src/wmctrl.c:43:9: note: Shadowed declaration xpenguins-3.2.3/src/wmctrl.c:132:8: note: Shadow variable xpenguins-3.2.3/src/wmctrl.c:133:25: style: Local variable 'b' shadows outer variable [shadowVariable] xpenguins-3.2.3/src/wmctrl.c:45:18: note: Shadowed declaration xpenguins-3.2.3/src/wmctrl.c:133:25: note: Shadow variable xpenguins-3.2.3/src/wmctrl.c:133:32: style: Local variable 'format' shadows outer variable [shadowVariable] xpenguins-3.2.3/src/wmctrl.c:44:8: note: Shadowed declaration xpenguins-3.2.3/src/wmctrl.c:133:32: note: Shadow variable xpenguins-3.2.3/src/wmctrl.c:134:18: style: Local variable 'properties' shadows outer variable [shadowVariable] xpenguins-3.2.3/src/wmctrl.c:46:19: note: Shadowed declaration xpenguins-3.2.3/src/wmctrl.c:134:18: note: Shadow variable xpenguins-3.2.3/src/wmctrl.c:179:12: style: Local variable 'type' shadows outer variable [shadowVariable] xpenguins-3.2.3/src/wmctrl.c:43:9: note: Shadowed declaration xpenguins-3.2.3/src/wmctrl.c:179:12: note: Shadow variable xpenguins-3.2.3/src/wmctrl.c:179:22: style: Local variable 'format' shadows outer variable [shadowVariable] xpenguins-3.2.3/src/wmctrl.c:44:8: note: Shadowed declaration xpenguins-3.2.3/src/wmctrl.c:179:22: note: Shadow variable xpenguins-3.2.3/src/wmctrl.c:179:51: style: Local variable 'b' shadows outer variable [shadowVariable] xpenguins-3.2.3/src/wmctrl.c:45:18: note: Shadowed declaration xpenguins-3.2.3/src/wmctrl.c:179:51: note: Shadow variable xpenguins-3.2.3/src/wmctrl.c:179:69: style: Local variable 'properties' shadows outer variable [shadowVariable] xpenguins-3.2.3/src/wmctrl.c:46:19: note: Shadowed declaration xpenguins-3.2.3/src/wmctrl.c:179:69: note: Shadow variable xpenguins-3.2.3/src/wmctrl.c:204:7: style: Local variable 'i' shadows outer variable [shadowVariable] xpenguins-3.2.3/src/wmctrl.c:148:18: note: Shadowed declaration xpenguins-3.2.3/src/wmctrl.c:204:7: note: Shadow variable xpenguins-3.2.3/src/wmctrl.c:232:7: style: Local variable 'i' shadows outer variable [shadowVariable] xpenguins-3.2.3/src/wmctrl.c:148:18: note: Shadowed declaration xpenguins-3.2.3/src/wmctrl.c:232:7: note: Shadow variable xpenguins-3.2.3/src/wmctrl.c:268:20: style: Local variable 'i' shadows outer variable [shadowVariable] xpenguins-3.2.3/src/wmctrl.c:148:18: note: Shadowed declaration xpenguins-3.2.3/src/wmctrl.c:268:20: note: Shadow variable xpenguins-3.2.3/src/wmctrl.c:327:9: style: Variable 'r' can be declared as pointer to const [constVariablePointer] xpenguins-3.2.3/src/xpenguins_config.c:38:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/xpenguins_config.c:86:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/xpenguins_core.c:162:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/xpenguins_core.c:289:19: style: Variable 'penguin_number' is reassigned a value before the old one has been used. [redundantAssignment] xpenguins-3.2.3/src/xpenguins_core.c:253:18: note: penguin_number is assigned xpenguins-3.2.3/src/xpenguins_core.c:289:19: note: penguin_number is overwritten xpenguins-3.2.3/src/xpenguins_core.c:245:7: style: Local variable 'i' shadows outer variable [shadowVariable] xpenguins-3.2.3/src/xpenguins_core.c:240:8: note: Shadowed declaration xpenguins-3.2.3/src/xpenguins_core.c:245:7: note: Shadow variable xpenguins-3.2.3/src/xpenguins_core.c:74:14: style: Variable 'data' can be declared as pointer to const [constVariablePointer] xpenguins-3.2.3/src/xpenguins_core.c:263:16: style: Variable 'gdata' can be declared as pointer to const [constVariablePointer] xpenguins-3.2.3/src/xpenguins_core.c:314:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xpenguins-3.2.3/src/xpenguins_core.c:380:13: style: Variable 'data' can be declared as pointer to const [constVariablePointer] xpenguins-3.2.3/src/xpenguins_core.c:756:30: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] xpenguins-3.2.3/src/xpenguins_theme.c:43:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/xpenguins_theme.c:171:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_NOSPACE [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/xpenguins_theme.c:555:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/xpenguins_theme.c:825:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/xpenguins_theme.c:879:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/xpenguins_theme.c:953:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xpenguins-3.2.3/src/xpenguins_theme.c:480:8: style: Same expression used in consecutive assignments of 'genus' and 'first_genus'. [duplicateAssignExpression] xpenguins-3.2.3/src/xpenguins_theme.c:481:8: note: Same expression used in consecutive assignments of 'genus' and 'first_genus'. xpenguins-3.2.3/src/xpenguins_theme.c:480:8: note: Same expression used in consecutive assignments of 'genus' and 'first_genus'. xpenguins-3.2.3/src/xpenguins_theme.c:315:4: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] xpenguins-3.2.3/src/xpenguins_theme.c:121:42: style:inconclusive: Function 'xpenguins_remove_underscores' argument 1 names different: declaration 'themename' definition 'name'. [funcArgNamesDifferent] xpenguins-3.2.3/src/xpenguins.h:211:42: note: Function 'xpenguins_remove_underscores' argument 1 names different: declaration 'themename' definition 'name'. xpenguins-3.2.3/src/xpenguins_theme.c:121:42: note: Function 'xpenguins_remove_underscores' argument 1 names different: declaration 'themename' definition 'name'. xpenguins-3.2.3/src/xpenguins_theme.c:143:35: style:inconclusive: Function 'xpenguins_list_themes' argument 1 names different: declaration 'n' definition 'nthemes'. [funcArgNamesDifferent] xpenguins-3.2.3/src/xpenguins.h:180:35: note: Function 'xpenguins_list_themes' argument 1 names different: declaration 'n' definition 'nthemes'. xpenguins-3.2.3/src/xpenguins_theme.c:143:35: note: Function 'xpenguins_list_themes' argument 1 names different: declaration 'n' definition 'nthemes'. xpenguins-3.2.3/src/xpenguins_theme.c:803:60: style:inconclusive: Function 'xpenguins_load_themes' argument 2 names different: declaration 'theme' definition 'ptheme'. [funcArgNamesDifferent] xpenguins-3.2.3/src/xpenguins.h:196:60: note: Function 'xpenguins_load_themes' argument 2 names different: declaration 'theme' definition 'ptheme'. xpenguins-3.2.3/src/xpenguins_theme.c:803:60: note: Function 'xpenguins_load_themes' argument 2 names different: declaration 'theme' definition 'ptheme'. xpenguins-3.2.3/src/xpenguins_theme.c:843:43: style:inconclusive: Function 'xpenguins_free_theme' argument 1 names different: declaration 'theme' definition 'ptheme'. [funcArgNamesDifferent] xpenguins-3.2.3/src/xpenguins.h:199:43: note: Function 'xpenguins_free_theme' argument 1 names different: declaration 'theme' definition 'ptheme'. xpenguins-3.2.3/src/xpenguins_theme.c:843:43: note: Function 'xpenguins_free_theme' argument 1 names different: declaration 'theme' definition 'ptheme'. xpenguins-3.2.3/src/xpenguins_theme.c:875:47: style:inconclusive: Function 'xpenguins_describe_theme' argument 1 names different: declaration 'theme' definition 'ptheme'. [funcArgNamesDifferent] xpenguins-3.2.3/src/xpenguins.h:203:47: note: Function 'xpenguins_describe_theme' argument 1 names different: declaration 'theme' definition 'ptheme'. xpenguins-3.2.3/src/xpenguins_theme.c:875:47: note: Function 'xpenguins_describe_theme' argument 1 names different: declaration 'theme' definition 'ptheme'. xpenguins-3.2.3/src/xpenguins_theme.c:179:14: style: Local variable 'i' shadows outer variable [shadowVariable] xpenguins-3.2.3/src/xpenguins_theme.c:156:8: note: Shadowed declaration xpenguins-3.2.3/src/xpenguins_theme.c:179:14: note: Shadow variable xpenguins-3.2.3/src/xpenguins_theme.c:145:10: style: Variable 'home' can be declared as pointer to const [constVariablePointer] xpenguins-3.2.3/src/xpenguins_theme.c:146:10: style: Variable 'home_root' can be declared as pointer to const [constVariablePointer] xpenguins-3.2.3/src/xpenguins_theme.c:147:10: style: Variable 'themes' can be declared as pointer to const [constVariablePointer] xpenguins-3.2.3/src/xpenguins_theme.c:148:10: style: Variable 'config' can be declared as pointer to const [constVariablePointer] xpenguins-3.2.3/src/xpenguins_theme.c:238:9: style: Variable 'listp' can be declared as pointer to const [constVariablePointer] xpenguins-3.2.3/src/xpenguins_theme.c:239:9: style: Variable 'namep' can be declared as pointer to const [constVariablePointer] xpenguins-3.2.3/src/xpenguins_theme.c:376:39: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xpenguins-3.2.3/src/xpenguins_theme.c:378:11: style: Variable 'home' can be declared as pointer to const [constVariablePointer] xpenguins-3.2.3/src/xpenguins_theme.c:379:11: style: Variable 'home_root' can be declared as pointer to const [constVariablePointer] xpenguins-3.2.3/src/xpenguins_theme.c:380:11: style: Variable 'themes' can be declared as pointer to const [constVariablePointer] xpenguins-3.2.3/src/xpenguins_theme.c:381:11: style: Variable 'config' can be declared as pointer to const [constVariablePointer] xpenguins-3.2.3/src/xpenguins_theme.c:814:13: style: Variable 'error' can be declared as pointer to const [constVariablePointer] xpenguins-3.2.3/src/xpenguins_theme.c:887:13: style: Variable 'data' can be declared as pointer to const [constVariablePointer] xpenguins-3.2.3/src/xpenguins_theme.c:921:10: style: Variable 'about' can be declared as pointer to const [constVariablePointer] xpenguins-3.2.3/src/xpenguins_theme.c:180:19: warning: Uninitialized variable: globbuf [uninitvar] xpenguins-3.2.3/src/xpenguins_theme.c:160:13: note: Assuming condition is false xpenguins-3.2.3/src/xpenguins_theme.c:180:19: note: Uninitialized variable: globbuf xpenguins-3.2.3/src/xpenguins_theme.c:152:22: style: Variable 'list_len' is assigned a value that is never used. [unreadVariable] xpenguins-3.2.3/src/ixpm.c:67:22: warning: If memory allocation fails, then there is a possible null pointer dereference: s [ctunullpointerOutOfMemory] xpenguins-3.2.3/src/ixpm.c:180:22: note: Assuming allocation function fails xpenguins-3.2.3/src/ixpm.c:180:22: note: Assignment 's=strdup(data[y+offset])', assigned value is 0 xpenguins-3.2.3/src/ixpm.c:182:12: note: Calling function strrevert, 1st argument is null xpenguins-3.2.3/src/ixpm.c:67:22: note: Dereferencing argument s that is null diff: 2.17.0 xpenguins-3.2.3/src/ixpm.c:185:16: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xpenguins-3.2.3/src/ixpm.c:180:22: note: Assuming allocation function fails xpenguins-3.2.3/src/ixpm.c:180:22: note: Assignment 's=strdup(data[y+offset])', assigned value is 0 xpenguins-3.2.3/src/ixpm.c:185:16: note: Null pointer addition head xpenguins-3.2.3/src/ixpm.c:185:16: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xpenguins-3.2.3/src/ixpm.c:180:22: note: Assuming allocation function fails xpenguins-3.2.3/src/ixpm.c:180:22: note: Assignment 's=strdup(data[y+offset])', assigned value is 0 xpenguins-3.2.3/src/ixpm.c:185:16: note: Null pointer addition head xpenguins-3.2.3/src/ixpm.c:67:22: warning: If memory allocation fails, then there is a possible null pointer dereference: s [ctunullpointerOutOfMemory] xpenguins-3.2.3/src/ixpm.c:180:22: note: Assuming allocation function fails xpenguins-3.2.3/src/ixpm.c:180:22: note: Assignment 's=strdup(data[y+offset])', assigned value is 0 xpenguins-3.2.3/src/ixpm.c:182:12: note: Calling function strrevert, 1st argument is null xpenguins-3.2.3/src/ixpm.c:67:22: note: Dereferencing argument s that is null 2.17.0 xpenguins-3.2.3/src/ixpm.c:71:15: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xpenguins-3.2.3/src/ixpm.c:180:22: note: Assuming allocation function fails xpenguins-3.2.3/src/ixpm.c:180:22: note: Assignment 's=strdup(data[y+offset])', assigned value is 0 xpenguins-3.2.3/src/ixpm.c:182:13: note: Calling function 'strrevert', 1st argument 's' value is 0 xpenguins-3.2.3/src/ixpm.c:71:15: note: Null pointer addition head xpenguins-3.2.3/src/ixpm.c:71:15: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xpenguins-3.2.3/src/ixpm.c:180:22: note: Assuming allocation function fails xpenguins-3.2.3/src/ixpm.c:180:22: note: Assignment 's=strdup(data[y+offset])', assigned value is 0 xpenguins-3.2.3/src/ixpm.c:182:13: note: Calling function 'strrevert', 1st argument 's' value is 0 xpenguins-3.2.3/src/ixpm.c:71:15: note: Null pointer addition head xpenguins-3.2.3/src/xpenguins_theme.c:180:19: warning: Uninitialized variable: globbuf [uninitvar] xpenguins-3.2.3/src/xpenguins_theme.c:160:13: note: Assuming condition is false xpenguins-3.2.3/src/xpenguins_theme.c:180:19: note: Uninitialized variable: globbuf DONE