2025-08-29 16:08 ftp://ftp.de.debian.org/debian/pool/main/x/xarchiver/xarchiver_0.5.4.25.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --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 -j10 platform: Linux-6.14.8-2-pve-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.18.0 head-info: 327ef3c (2025-08-29 11:03:21 +0200) count: 84 311 elapsed-time: 0.5 1.3 head-timing-info: old-timing-info: head results: xarchiver-0.5.4.25/src/support.h:45:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] xarchiver-0.5.4.25/src/support.h:45:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] xarchiver-0.5.4.25/src/iso.c:43:6: style: Condition '!result' is always true [knownConditionTrueFalse] xarchiver-0.5.4.25/src/iso.c:39:20: note: Assignment 'result=0', assigned value is 0 xarchiver-0.5.4.25/src/iso.c:43:6: note: Condition '!result' is always true xarchiver-0.5.4.25/src/date_utils.c:76:13: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] xarchiver-0.5.4.25/src/xdgmime/xdgmimealias.c:53:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmimealias.c:51:17: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmimealias.c:51:17: note: Assignment 'list=malloc(sizeof(struct XdgAliasList))', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmimealias.c:53:3: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmimealias.c:54:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmimealias.c:51:17: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmimealias.c:51:17: note: Assignment 'list=malloc(sizeof(struct XdgAliasList))', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmimealias.c:54:3: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmimeicon.c:52:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmimeicon.c:50:17: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmimeicon.c:50:17: note: Assignment 'list=malloc(sizeof(struct XdgIconList))', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmimeicon.c:52:3: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmimeicon.c:53:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmimeicon.c:50:17: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmimeicon.c:50:17: note: Assignment 'list=malloc(sizeof(struct XdgIconList))', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmimeicon.c:53:3: note: Null pointer dereference xarchiver-0.5.4.25/src/sexy-icon-entry.c:128:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_ACTION [valueFlowBailoutIncompleteVar] xarchiver-0.5.4.25/src/sexy-icon-entry.c:180:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable finalize [valueFlowBailoutIncompleteVar] xarchiver-0.5.4.25/src/sexy-icon-entry.c:246:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] xarchiver-0.5.4.25/src/sexy-icon-entry.c:344:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WINDOW_CHILD [valueFlowBailoutIncompleteVar] xarchiver-0.5.4.25/src/sexy-icon-entry.c:448:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable text_area [valueFlowBailoutIncompleteVar] xarchiver-0.5.4.25/src/sexy-icon-entry.c:574:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_BILINEAR [valueFlowBailoutIncompleteVar] xarchiver-0.5.4.25/src/sexy-icon-entry.c:953:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] xarchiver-0.5.4.25/src/xdgmime/xdgmimemagic.c:163:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xarchiver-0.5.4.25/src/xdgmime/xdgmimemagic.c:199:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xarchiver-0.5.4.25/src/xdgmime/xdgmimemagic.c:242:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xarchiver-0.5.4.25/src/xdgmime/xdgmimemagic.c:290:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xarchiver-0.5.4.25/src/xdgmime/xdgmimemagic.c:315:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xarchiver-0.5.4.25/src/xdgmime/xdgmimeint.c:54:22: style: Variable 'bytelength' is assigned a value that is never used. [unreadVariable] xarchiver-0.5.4.25/src/xdgmime/xdgmimeparent.c:54:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmimeparent.c:52:17: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmimeparent.c:52:17: note: Assignment 'list=malloc(sizeof(struct XdgParentList))', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmimeparent.c:54:3: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmimeparent.c:55:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmimeparent.c:52:17: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmimeparent.c:52:17: note: Assignment 'list=malloc(sizeof(struct XdgParentList))', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmimeparent.c:55:3: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:147:4: error: Common realloc mistake: '_caches' nulled but not freed upon failure [memleakOnRealloc] xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:107:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:106:17: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:106:17: note: Assignment 'list=calloc(1,sizeof(struct XdgDirTimeList))', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:107:3: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:108:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:106:17: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:106:17: note: Assignment 'list=calloc(1,sizeof(struct XdgDirTimeList))', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:108:3: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:109:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:106:17: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:106:17: note: Assignment 'list=calloc(1,sizeof(struct XdgDirTimeList))', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:109:3: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:110:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:106:17: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:106:17: note: Assignment 'list=calloc(1,sizeof(struct XdgDirTimeList))', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:110:3: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:138:11: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:137:22: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:137:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/mime.cache")+1)', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:138:11: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:138:42: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:137:22: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:137:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/mime.cache")+1)', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:138:42: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:158:11: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:157:22: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:157:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/globs2")+1)', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:158:11: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:158:42: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:157:22: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:157:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/globs2")+1)', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:158:42: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:168:15: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:167:26: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:167:26: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/globs")+1)', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:168:15: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:168:46: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:167:26: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:167:26: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/globs")+1)', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:168:46: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:181:11: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:180:22: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:180:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/magic")+1)', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:181:11: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:181:42: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:180:22: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:180:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/magic")+1)', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:181:42: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:193:11: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:192:22: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:192:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/aliases")+1)', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:193:11: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:193:42: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:192:22: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:192:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/aliases")+1)', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:193:42: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:198:11: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:197:22: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:197:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/subclasses")+1)', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:198:11: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:198:42: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:197:22: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:197:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/subclasses")+1)', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:198:42: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:203:11: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:202:22: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:202:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/icons")+1)', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:203:11: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:203:42: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:202:22: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:202:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/icons")+1)', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:203:42: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:208:11: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:207:22: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:207:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/generic-icons")+1)', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:208:11: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:208:42: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:207:22: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:207:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/generic-icons")+1)', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:208:42: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:250:15: warning: If memory allocation fails, then there is a possible null pointer dereference: mime_subdir [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:249:28: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:249:28: note: Assignment 'mime_subdir=malloc(strlen(xdg_data_home)+strlen("/mime/")+1)', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:250:15: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:251:15: warning: If memory allocation fails, then there is a possible null pointer dereference: mime_subdir [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:249:28: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:249:28: note: Assignment 'mime_subdir=malloc(strlen(xdg_data_home)+strlen("/mime/")+1)', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:251:15: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:260:15: warning: If memory allocation fails, then there is a possible null pointer dereference: guessed_xdg_home [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:259:33: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:259:33: note: Assignment 'guessed_xdg_home=malloc(strlen(home)+strlen("/.local/share/mime/")+1)', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:260:15: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:261:15: warning: If memory allocation fails, then there is a possible null pointer dereference: guessed_xdg_home [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:259:33: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:259:33: note: Assignment 'guessed_xdg_home=malloc(strlen(home)+strlen("/.local/share/mime/")+1)', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:261:15: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:290:16: warning: If memory allocation fails, then there is a possible null pointer dereference: dir [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:289:20: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:289:20: note: Assignment 'dir=malloc(len+strlen("/mime/")+1)', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:290:16: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:291:7: warning: If memory allocation fails, then there is a possible null pointer dereference: dir [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:289:20: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:289:20: note: Assignment 'dir=malloc(len+strlen("/mime/")+1)', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:291:7: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:292:15: warning: If memory allocation fails, then there is a possible null pointer dereference: dir [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:289:20: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:289:20: note: Assignment 'dir=malloc(len+strlen("/mime/")+1)', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:292:15: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:405:11: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:404:22: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:404:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/mime.cache")+1)', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:405:11: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:405:42: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:404:22: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:404:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/mime.cache")+1)', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:405:42: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:420:11: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:419:22: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:419:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/globs")+1)', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:420:11: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:420:42: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:419:22: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:419:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/globs")+1)', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:420:42: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:431:11: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:430:22: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:430:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/magic")+1)', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:431:11: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:431:42: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:430:22: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:430:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/magic")+1)', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:431:42: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:79:20: style: struct member 'XdgCallbackList::prev' is never used. [unusedStructMember] xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:80:20: style: struct member 'XdgCallbackList::callback_id' is never used. [unusedStructMember] xarchiver-0.5.4.25/src/xdgmime/xdgmime.c:83:20: style: struct member 'XdgCallbackList::destroy' is never used. [unusedStructMember] xarchiver-0.5.4.25/src/xdgmime/xdgmimemagic.c:174:4: error: Common realloc mistake: 'retval' nulled but not freed upon failure [memleakOnRealloc] xarchiver-0.5.4.25/src/xdgmime/xdgmimemagic.c:209:26: style: Variable 'number_string[pos]' is assigned a value that is never used. [unreadVariable] xarchiver-0.5.4.25/src/sexy-icon-entry.c:806:70: style:inconclusive: Function 'sexy_icon_entry_set_icon' argument 2 names different: declaration 'position' definition 'icon_pos'. [funcArgNamesDifferent] xarchiver-0.5.4.25/src/sexy-icon-entry.h:85:32: note: Function 'sexy_icon_entry_set_icon' argument 2 names different: declaration 'position' definition 'icon_pos'. xarchiver-0.5.4.25/src/sexy-icon-entry.c:806:70: note: Function 'sexy_icon_entry_set_icon' argument 2 names different: declaration 'position' definition 'icon_pos'. xarchiver-0.5.4.25/src/sexy-icon-entry.c:868:34: style:inconclusive: Function 'sexy_icon_entry_set_icon_highlight' argument 2 names different: declaration 'position' definition 'icon_pos'. [funcArgNamesDifferent] xarchiver-0.5.4.25/src/sexy-icon-entry.h:89:33: note: Function 'sexy_icon_entry_set_icon_highlight' argument 2 names different: declaration 'position' definition 'icon_pos'. xarchiver-0.5.4.25/src/sexy-icon-entry.c:868:34: note: Function 'sexy_icon_entry_set_icon_highlight' argument 2 names different: declaration 'position' definition 'icon_pos'. xarchiver-0.5.4.25/src/sexy-icon-entry.c:916:34: style:inconclusive: Function 'sexy_icon_entry_get_icon_highlight' argument 2 names different: declaration 'position' definition 'icon_pos'. [funcArgNamesDifferent] xarchiver-0.5.4.25/src/sexy-icon-entry.h:96:34: note: Function 'sexy_icon_entry_get_icon_highlight' argument 2 names different: declaration 'position' definition 'icon_pos'. xarchiver-0.5.4.25/src/sexy-icon-entry.c:916:34: note: Function 'sexy_icon_entry_get_icon_highlight' argument 2 names different: declaration 'position' definition 'icon_pos'. xarchiver-0.5.4.25/src/sexy-icon-entry.c:158:49: style: Parameter 'iface' can be declared as pointer to const [constParameterPointer] xarchiver-0.5.4.25/src/sexy-icon-entry.c:303:21: style: Parameter 'text_area_alloc' can be declared as pointer to const [constParameterPointer] xarchiver-0.5.4.25/src/sexy-icon-entry.c:503:10: style: Variable 'pix_src' can be declared as pointer to const [constVariablePointer] xarchiver-0.5.4.25/src/sexy-icon-entry.c:668:67: style: Parameter 'event' can be declared as pointer to const. However it seems that 'sexy_icon_entry_enter_notify' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xarchiver-0.5.4.25/src/sexy-icon-entry.c:112:37: note: You might need to cast the function pointer here xarchiver-0.5.4.25/src/sexy-icon-entry.c:668:67: note: Parameter 'event' can be declared as pointer to const xarchiver-0.5.4.25/src/sexy-icon-entry.c:692:67: style: Parameter 'event' can be declared as pointer to const. However it seems that 'sexy_icon_entry_leave_notify' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xarchiver-0.5.4.25/src/sexy-icon-entry.c:113:37: note: You might need to cast the function pointer here xarchiver-0.5.4.25/src/sexy-icon-entry.c:692:67: note: Parameter 'event' can be declared as pointer to const xarchiver-0.5.4.25/src/xdgmime/xdgmimeglob.c:379:11: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmimeglob.c:377:18: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmimeglob.c:377:18: note: Assignment 'lower=strdup(str)', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmimeglob.c:378:7: note: Assignment 'p=lower', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmimeglob.c:379:11: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmimeglob.c:389:19: style:inconclusive: Function '_xdg_glob_hash_lookup_file_name' argument 2 names different: declaration 'text' definition 'file_name'. [funcArgNamesDifferent] xarchiver-0.5.4.25/src/xdgmime/xdgmimeglob.h:43:25: note: Function '_xdg_glob_hash_lookup_file_name' argument 2 names different: declaration 'text' definition 'file_name'. xarchiver-0.5.4.25/src/xdgmime/xdgmimeglob.c:389:19: note: Function '_xdg_glob_hash_lookup_file_name' argument 2 names different: declaration 'text' definition 'file_name'. xarchiver-0.5.4.25/src/xdgmime/xdgmimeglob.c:612:13: style: Variable 'mimetype' can be declared as pointer to const [constVariablePointer] xarchiver-0.5.4.25/src/xdgmime/xdgmimeglob.c:612:24: style: Variable 'glob' can be declared as pointer to const [constVariablePointer] xarchiver-0.5.4.25/src/xdgmime/xdgmimeglob.c:649:10: style: Variable 'flag' can be declared as pointer to const [constVariablePointer] xarchiver-0.5.4.25/src/xdgmime/xdgmimecache.c:158:3: warning: If memory allocation fails, then there is a possible null pointer dereference: cache [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmimecache.c:157:35: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmimecache.c:157:11: note: Assignment 'cache=(struct XdgMimeCache*)malloc(sizeof(struct XdgMimeCache))', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmimecache.c:158:3: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmimecache.c:159:3: warning: If memory allocation fails, then there is a possible null pointer dereference: cache [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmimecache.c:157:35: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmimecache.c:157:11: note: Assignment 'cache=(struct XdgMimeCache*)malloc(sizeof(struct XdgMimeCache))', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmimecache.c:159:3: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmimecache.c:160:3: warning: If memory allocation fails, then there is a possible null pointer dereference: cache [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmimecache.c:157:35: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmimecache.c:157:11: note: Assignment 'cache=(struct XdgMimeCache*)malloc(sizeof(struct XdgMimeCache))', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmimecache.c:160:3: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmimecache.c:161:3: warning: If memory allocation fails, then there is a possible null pointer dereference: cache [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmimecache.c:157:35: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmimecache.c:157:11: note: Assignment 'cache=(struct XdgMimeCache*)malloc(sizeof(struct XdgMimeCache))', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmimecache.c:161:3: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmimecache.c:631:11: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] xarchiver-0.5.4.25/src/xdgmime/xdgmimecache.c:629:18: note: Assuming allocation function fails xarchiver-0.5.4.25/src/xdgmime/xdgmimecache.c:629:18: note: Assignment 'lower=strdup(str)', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmimecache.c:630:7: note: Assignment 'p=lower', assigned value is 0 xarchiver-0.5.4.25/src/xdgmime/xdgmimecache.c:631:11: note: Null pointer dereference xarchiver-0.5.4.25/src/xdgmime/xdgmimecache.c:381:21: style: Variable 'cache' can be declared as pointer to const [constVariablePointer] xarchiver-0.5.4.25/src/xdgmime/xdgmimecache.c:447:21: style: Variable 'cache' can be declared as pointer to const [constVariablePointer] xarchiver-0.5.4.25/src/xdgmime/xdgmimecache.c:415:15: style: Variable 'weight' is assigned a value that is never used. [unreadVariable] xarchiver-0.5.4.25/src/mime.c:126:49: style: Condition 'strcmp(mime,"application/x-cd-image")==0' is always false [knownConditionTrueFalse] diff: 2.18.0 xarchiver-0.5.4.25/src/7zip.c:116:41: style: Parameter 'archive' can be declared as pointer to const [constParameterPointer] 2.18.0 xarchiver-0.5.4.25/src/7zip.c:158:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SEEK_CUR [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/7zip.c:267:47: style: Parameter 'archive' can be declared as pointer to const [constParameterPointer] 2.18.0 xarchiver-0.5.4.25/src/7zip.c:287:9: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.25/src/7zip.c:290:2: style: Variable '_len' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.25/src/7zip.c:44:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_STATUS_NORMAL [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/add_dialog.c:103:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/add_dialog.c:118:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/add_dialog.c:136:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/add_dialog.c:140:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/add_dialog.c:152:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/add_dialog.c:156:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/add_dialog.c:193:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/add_dialog.c:226:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/add_dialog.c:248:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/add_dialog.c:32:38: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'no_focus' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xarchiver-0.5.4.25/src/add_dialog.c:187:2: note: You might need to cast the function pointer here xarchiver-0.5.4.25/src/add_dialog.c:32:38: note: Parameter 'widget' can be declared as pointer to const 2.18.0 xarchiver-0.5.4.25/src/add_dialog.c:32:83: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'no_focus' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xarchiver-0.5.4.25/src/add_dialog.c:187:2: note: You might need to cast the function pointer here xarchiver-0.5.4.25/src/add_dialog.c:32:83: note: Parameter 'user_data' can be declared as pointer to const 2.18.0 xarchiver-0.5.4.25/src/add_dialog.c:356:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/add_dialog.c:459:5: error: Memory leak: items [memleak] 2.18.0 xarchiver-0.5.4.25/src/add_dialog.c:479:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_REGULAR [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/add_dialog.c:71:72: style: Parameter 'archive' can be declared as pointer to const. However it seems that 'fix_adjustment_value' is a callback function, if 'archive' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xarchiver-0.5.4.25/src/add_dialog.c:327:3: note: You might need to cast the function pointer here xarchiver-0.5.4.25/src/add_dialog.c:71:72: note: Parameter 'archive' can be declared as pointer to const 2.18.0 xarchiver-0.5.4.25/src/add_dialog.c:92:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WIN_POS_CENTER_ON_PARENT [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/ar.c:40:10: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.25/src/ar.c:43:9: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.25/src/ar.c:45:2: style: Variable '_len' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.25/src/ar.c:45:2: style: Variable 'peek' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.25/src/ar.c:64:24: portability: 'item[1]' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 xarchiver-0.5.4.25/src/ar.c:74:18: portability: 'item[1]' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 xarchiver-0.5.4.25/src/ar.c:74:31: portability: 'item[1]' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 xarchiver-0.5.4.25/src/archive.c:123:2: error: Memory pointed to by 'ioc' is freed twice. [doubleFree] xarchiver-0.5.4.25/src/archive.c:122:2: note: Memory pointed to by 'ioc' is freed twice. xarchiver-0.5.4.25/src/archive.c:123:2: note: Memory pointed to by 'ioc' is freed twice. 2.18.0 xarchiver-0.5.4.25/src/archive.c:134:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/archive.c:166:67: style: Parameter 'column_types' can be declared as const array [constParameter] 2.18.0 xarchiver-0.5.4.25/src/archive.c:216:72: style: Parameter 'archive' can be declared as pointer to const [constParameterPointer] 2.18.0 xarchiver-0.5.4.25/src/archive.c:230:20: portability: 'current_column' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 xarchiver-0.5.4.25/src/archive.c:236:20: portability: 'current_column' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 xarchiver-0.5.4.25/src/archive.c:271:110: style: Parameter 'entry' can be declared as pointer to const. However it seems that 'xa_dir_sidebar_find_row' is a callback function, if 'entry' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xarchiver-0.5.4.25/src/archive.c:896:64: note: You might need to cast the function pointer here xarchiver-0.5.4.25/src/archive.c:271:110: note: Parameter 'entry' can be declared as pointer to const 2.18.0 xarchiver-0.5.4.25/src/archive.c:359:12: style: Local variable 'archive' shadows outer variable [shadowVariable] xarchiver-0.5.4.25/src/archive.h:231:18: note: Shadowed declaration xarchiver-0.5.4.25/src/archive.c:359:12: note: Shadow variable 2.18.0 xarchiver-0.5.4.25/src/archive.c:403:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SPAWN_DO_NOT_REAP_CHILD [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/archive.c:455:2: error: Memory leak: ioc [memleak] 2.18.0 xarchiver-0.5.4.25/src/archive.c:462:1: error: Memory leak: ioc [memleak] 2.18.0 xarchiver-0.5.4.25/src/archive.c:50:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/archive.c:522:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/archive.c:550:50: style: Parameter 'archive' can be declared as pointer to const [constParameterPointer] 2.18.0 xarchiver-0.5.4.25/src/archive.c:575:10: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 xarchiver-0.5.4.25/src/archive.c:578:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/archive.c:607:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/archive.c:611:17: warning: Uninitialized variable: status [uninitvar] xarchiver-0.5.4.25/src/archive.c:605:36: note: Assuming condition is false xarchiver-0.5.4.25/src/archive.c:611:17: note: Uninitialized variable: status 2.18.0 xarchiver-0.5.4.25/src/archive.c:641:13: style: Variable 'page' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.25/src/archive.c:691:22: portability: 'current_column' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 xarchiver-0.5.4.25/src/archive.c:695:22: portability: 'current_column' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 xarchiver-0.5.4.25/src/archive.c:78:2: error: Memory pointed to by 'ioc' is freed twice. [doubleFree] xarchiver-0.5.4.25/src/archive.c:77:2: note: Memory pointed to by 'ioc' is freed twice. xarchiver-0.5.4.25/src/archive.c:78:2: note: Memory pointed to by 'ioc' is freed twice. 2.18.0 xarchiver-0.5.4.25/src/archive.c:899:96: style: Parameter 'archive' can be declared as pointer to const [constParameterPointer] 2.18.0 xarchiver-0.5.4.25/src/archive.c:90:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/arj.c:61:46: style: Parameter 'archive' can be declared as pointer to const [constParameterPointer] 2.18.0 xarchiver-0.5.4.25/src/arj.c:90:16: style: Variable 'flags' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.25/src/arj.c:93:2: style: Variable 'peek' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.25/src/cpio.c:113:24: portability: 'item[2]' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 xarchiver-0.5.4.25/src/cpio.c:247:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/cpio.c:36:40: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] 2.18.0 xarchiver-0.5.4.25/src/cpio.c:74:9: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.25/src/cpio.c:77:2: style: Variable '_len' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.25/src/extract_dialog.c:1025:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/extract_dialog.c:114:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/extract_dialog.c:142:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/extract_dialog.c:221:12: style: Local variable 'archive' shadows outer variable [shadowVariable] xarchiver-0.5.4.25/src/archive.h:231:18: note: Shadowed declaration xarchiver-0.5.4.25/src/extract_dialog.c:221:12: note: Shadow variable 2.18.0 xarchiver-0.5.4.25/src/extract_dialog.c:224:9: style: Variable '_filename' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.25/src/extract_dialog.c:244:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/extract_dialog.c:324:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WIN_POS_CENTER_ON_PARENT [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/extract_dialog.c:328:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/extract_dialog.c:332:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/extract_dialog.c:364:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/extract_dialog.c:380:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/extract_dialog.c:400:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/extract_dialog.c:431:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/extract_dialog.c:456:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/extract_dialog.c:476:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/extract_dialog.c:49:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/extract_dialog.c:585:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/extract_dialog.c:712:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WIN_POS_CENTER [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/extract_dialog.c:717:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/extract_dialog.c:752:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/extract_dialog.c:768:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/extract_dialog.c:779:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/extract_dialog.c:782:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/extract_dialog.c:808:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/extract_dialog.c:828:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/extract_dialog.c:849:11: style: Local variable 'archive' shadows outer variable [shadowVariable] xarchiver-0.5.4.25/src/archive.h:231:18: note: Shadowed declaration xarchiver-0.5.4.25/src/extract_dialog.c:849:11: note: Shadow variable 2.18.0 xarchiver-0.5.4.25/src/extract_dialog.c:864:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/extract_dialog.c:909:51: style: Variable 'message' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.25/src/extract_dialog.c:909:61: style: Variable 'name' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.25/src/extract_dialog.c:932:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/extract_dialog.c:936:3: error: Memory leak: output [memleak] 2.18.0 xarchiver-0.5.4.25/src/gzip_et_al.c:183:57: style: Parameter 'archive' can be declared as pointer to const [constParameterPointer] 2.18.0 xarchiver-0.5.4.25/src/gzip_et_al.c:266:10: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.25/src/gzip_et_al.c:270:2: style: Variable '_len' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.25/src/gzip_et_al.c:385:2: style: Variable 'peek' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.25/src/gzip_et_al.c:480:10: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.25/src/gzip_et_al.c:481:9: style: Variable 'skipframes' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.25/src/gzip_et_al.c:484:2: style: Variable 'peek' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.25/src/gzip_et_al.c:576:9: style: Local variable 'filename' shadows outer variable [shadowVariable] xarchiver-0.5.4.25/src/gzip_et_al.c:57:15: note: Shadowed declaration xarchiver-0.5.4.25/src/gzip_et_al.c:576:9: note: Shadow variable 2.18.0 xarchiver-0.5.4.25/src/gzip_et_al.c:796:47: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] 2.18.0 xarchiver-0.5.4.25/src/gzip_et_al.c:800:47: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] 2.18.0 xarchiver-0.5.4.25/src/gzip_et_al.c:825:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/gzip_et_al.c:90:14: style: Redundant condition: The condition '*nl' is redundant since '*nl == ' '' is sufficient. [redundantCondition] 2.18.0 xarchiver-0.5.4.25/src/gzip_et_al.c:954:19: style: Local variable 'filename' shadows outer variable [shadowVariable] xarchiver-0.5.4.25/src/gzip_et_al.c:57:15: note: Shadowed declaration xarchiver-0.5.4.25/src/gzip_et_al.c:954:19: note: Shadow variable 2.18.0 xarchiver-0.5.4.25/src/gzip_et_al.c:983:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/interface.c:1129:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/interface.c:1191:14: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/interface.c:130:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/interface.c:1315:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_POLICY_AUTOMATIC [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/interface.c:1318:14: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/interface.c:1391:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_NAME [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/interface.c:1405:12: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/interface.c:1410:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/interface.c:1419:12: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/interface.c:1445:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/interface.c:1488:99: style: Parameter 'string' can be declared as pointer to const. However it seems that 'select_matched_rows' is a callback function, if 'string' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xarchiver-0.5.4.25/src/interface.c:592:46: note: You might need to cast the function pointer here xarchiver-0.5.4.25/src/interface.c:1488:99: note: Parameter 'string' can be declared as pointer to const 2.18.0 xarchiver-0.5.4.25/src/interface.c:1525:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WIN_POS_CENTER_ON_PARENT [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/interface.c:1660:206: style: Parameter 'output' can be declared as pointer to const [constParameterPointer] 2.18.0 xarchiver-0.5.4.25/src/interface.c:1692:51: style: Local variable 'total_label' shadows outer variable [shadowVariable] xarchiver-0.5.4.25/src/interface.h:79:19: note: Shadowed declaration xarchiver-0.5.4.25/src/interface.c:1692:51: note: Shadow variable 2.18.0 xarchiver-0.5.4.25/src/interface.c:1711:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/interface.c:1721:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/interface.c:1725:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/interface.c:1736:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/interface.c:1787:59: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] 2.18.0 xarchiver-0.5.4.25/src/interface.c:1799:112: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_ELLIPSIZE_END [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/interface.c:271:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/interface.c:371:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/interface.c:389:77: style: Parameter 'event' can be declared as pointer to const. However it seems that 'xa_dir_sidebar_key_pressed' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xarchiver-0.5.4.25/src/interface.c:1164:2: note: You might need to cast the function pointer here xarchiver-0.5.4.25/src/interface.c:389:77: note: Parameter 'event' can be declared as pointer to const 2.18.0 xarchiver-0.5.4.25/src/interface.c:399:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Left [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/interface.c:526:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WINDOW_TYPE_HINT_DIALOG [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/interface.c:532:11: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/interface.c:556:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/interface.c:637:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/interface.c:679:49: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] 2.18.0 xarchiver-0.5.4.25/src/interface.c:686:50: style: Parameter 'archive' can be declared as pointer to const [constParameterPointer] 2.18.0 xarchiver-0.5.4.25/src/interface.c:714:48: style: Parameter 'button' can be declared as pointer to const. However it seems that 'xa_cancel_progress_bar' is a callback function, if 'button' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xarchiver-0.5.4.25/src/interface.c:1781:3: note: You might need to cast the function pointer here xarchiver-0.5.4.25/src/interface.c:714:48: note: Parameter 'button' can be declared as pointer to const 2.18.0 xarchiver-0.5.4.25/src/interface.c:714:62: style: Parameter 'pid' can be declared as pointer to const. However it seems that 'xa_cancel_progress_bar' is a callback function, if 'pid' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xarchiver-0.5.4.25/src/interface.c:1781:3: note: You might need to cast the function pointer here xarchiver-0.5.4.25/src/interface.c:714:62: note: Parameter 'pid' can be declared as pointer to const 2.18.0 xarchiver-0.5.4.25/src/interface.c:720:51: style: Parameter 'caller' can be declared as pointer to const. However it seems that 'xa_close_progress_bar' is a callback function, if 'caller' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xarchiver-0.5.4.25/src/interface.c:1782:3: note: You might need to cast the function pointer here xarchiver-0.5.4.25/src/interface.c:720:51: note: Parameter 'caller' can be declared as pointer to const 2.18.0 xarchiver-0.5.4.25/src/interface.c:720:69: style: Parameter 'event' can be declared as pointer to const. However it seems that 'xa_close_progress_bar' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xarchiver-0.5.4.25/src/interface.c:1782:3: note: You might need to cast the function pointer here xarchiver-0.5.4.25/src/interface.c:720:69: note: Parameter 'event' can be declared as pointer to const 2.18.0 xarchiver-0.5.4.25/src/interface.c:720:82: style: Parameter 'pid' can be declared as pointer to const. However it seems that 'xa_close_progress_bar' is a callback function, if 'pid' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xarchiver-0.5.4.25/src/interface.c:1782:3: note: You might need to cast the function pointer here xarchiver-0.5.4.25/src/interface.c:720:82: note: Parameter 'pid' can be declared as pointer to const 2.18.0 xarchiver-0.5.4.25/src/interface.c:763:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/interface.c:790:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/lha.c:120:24: portability: 'item[3]' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 xarchiver-0.5.4.25/src/lha.c:72:9: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.25/src/lha.c:75:2: style: Variable '_len' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.25/src/main.c:1220:12: style: Local variable 'archive' shadows outer variable [shadowVariable] xarchiver-0.5.4.25/src/archive.h:231:18: note: Shadowed declaration xarchiver-0.5.4.25/src/main.c:1220:12: note: Shadow variable 2.18.0 xarchiver-0.5.4.25/src/main.c:1235:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONS_OK [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/main.c:1262:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONS_OK [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/main.c:1270:12: style: Local variable 'archive' shadows outer variable [shadowVariable] xarchiver-0.5.4.25/src/archive.h:231:18: note: Shadowed declaration xarchiver-0.5.4.25/src/main.c:1270:12: note: Shadow variable 2.18.0 xarchiver-0.5.4.25/src/main.c:1293:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/main.c:1510:12: style: Variable 'list' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.25/src/main.c:166:96: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/new_dialog.c:126:41: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] 2.18.0 xarchiver-0.5.4.25/src/new_dialog.c:126:57: style: Parameter 'archive_open' can be declared as const array [constParameter] 2.18.0 xarchiver-0.5.4.25/src/new_dialog.c:130:12: style: Local variable 'archive' shadows outer variable [shadowVariable] xarchiver-0.5.4.25/src/archive.h:231:18: note: Shadowed declaration xarchiver-0.5.4.25/src/new_dialog.c:130:12: note: Shadow variable 2.18.0 xarchiver-0.5.4.25/src/new_dialog.c:146:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SAVE [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/new_dialog.c:179:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/new_dialog.c:289:13: style: Variable 'list' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.25/src/new_dialog.c:44:11: style: Variable 'list' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.25/src/new_dialog.c:45:11: style: Variable 'glob' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.25/src/new_dialog.c:62:11: style: Variable 'suffix' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.25/src/new_dialog.c:86:11: style: Variable 'list' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.25/src/open-with-dlg.c:116:92: style: Parameter 'event' can be declared as pointer to const. However it seems that 'xa_open_with_dialog_mouse_button_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xarchiver-0.5.4.25/src/open-with-dlg.c:505:2: note: You might need to cast the function pointer here xarchiver-0.5.4.25/src/open-with-dlg.c:116:92: note: Parameter 'event' can be declared as pointer to const 2.18.0 xarchiver-0.5.4.25/src/open-with-dlg.c:142:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/open-with-dlg.c:166:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable l [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/open-with-dlg.c:260:11: style: Variable 'duplicate' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.25/src/open-with-dlg.c:270:9: style: Local variable 'app' shadows outer variable [shadowVariable] xarchiver-0.5.4.25/src/open-with-dlg.c:259:7: note: Shadowed declaration xarchiver-0.5.4.25/src/open-with-dlg.c:270:9: note: Shadow variable 2.18.0 xarchiver-0.5.4.25/src/open-with-dlg.c:328:17: style: Variable 'dirlist' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.25/src/open-with-dlg.c:376:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WIN_POS_CENTER_ON_PARENT [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/open-with-dlg.c:384:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/open-with-dlg.c:387:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/open-with-dlg.c:441:18: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/open-with-dlg.c:72:9: style: Variable 'cmd' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.25/src/pref_dialog.c:147:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/pref_dialog.c:155:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/pref_dialog.c:214:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/pref_dialog.c:217:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/pref_dialog.c:258:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/pref_dialog.c:261:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/pref_dialog.c:296:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 xarchiver-0.5.4.25/src/pref_dialog.c:431:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/pref_dialog.c:44:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/pref_dialog.c:537:2: warning: Return value of function g_file_set_contents() is not used. [ignoredReturnValue] 2.18.0 xarchiver-0.5.4.25/src/pref_dialog.c:557:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/rar.c:116:2: style: Variable '_len' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.25/src/rar.c:116:2: style: Variable 'peek' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.25/src/rar.c:249:2: style: Variable '_len' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.25/src/rar.c:249:2: style: Variable 'peek' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.25/src/rar.c:37:25: style: Variable 'id' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.25/src/rar.c:523:48: style: Variable 'version_switch' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.25/src/rar.c:91:46: style: Parameter 'archive' can be declared as pointer to const [constParameterPointer] 2.18.0 xarchiver-0.5.4.25/src/rpm.c:110:8: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] 2.18.0 xarchiver-0.5.4.25/src/rpm.c:51:34: style: Variable 'executable' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.25/src/rpm.c:56:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/squashfs.c:102:2: style: Variable '_len' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.25/src/squashfs.c:102:2: style: Variable 'peek' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.25/src/string_utils.c:181:62: style: Parameter 'working_dir' can be declared as pointer to const [constParameterPointer] 2.18.0 xarchiver-0.5.4.25/src/string_utils.c:183:9: style: Variable 'slash' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.25/src/string_utils.c:235:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_NAME [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/string_utils.c:322:17: style: Variable 'dirlist' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.25/src/string_utils.c:325:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/string_utils.c:366:17: style: Variable 'dirlist' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.25/src/string_utils.c:49:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/string_utils.c:511:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/string_utils.c:59:45: style: Variable 'v' is assigned a value that is never used. [unreadVariable] head xarchiver-0.5.4.25/src/support.h:45:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] head xarchiver-0.5.4.25/src/support.h:45:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 xarchiver-0.5.4.25/src/tar.c:136:9: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.25/src/tar.c:139:2: style: Variable '_len' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.25/src/tar.c:139:2: style: Variable 'peek' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.25/src/tar.c:284:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.25/src/tar.c:61:59: style: Parameter 'archive' can be declared as pointer to const [constParameterPointer] 2.18.0 xarchiver-0.5.4.25/src/unar.c:41:47: style: Parameter 'archive' can be declared as pointer to const [constParameterPointer] 2.18.0 xarchiver-0.5.4.25/src/unar.c:61:20: style: Variable 'flags' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.25/src/unar.c:61:9: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.25/src/unar.c:65:2: style: Variable '_len' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.25/src/unar.c:65:2: style: Variable 'peek' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.25/src/window.c:331:69: error: There is an unknown macro here somewhere. Configuration is required. If G_GUINT64_FORMAT is a macro then please configure it. [unknownMacro] 2.18.0 xarchiver-0.5.4.25/src/zip.c:64:46: style: Parameter 'archive' can be declared as pointer to const [constParameterPointer] 2.18.0 xarchiver-0.5.4.25/src/zip.c:84:20: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.25/src/zip.c:84:9: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.25/src/zip.c:88:2: style: Variable '_len' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.25/src/zip.c:88:2: style: Variable 'peek' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.25/src/zpaq.c:155:10: style: Variable 'list' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.25/src/zpaq.c:281:10: style: Variable 'list' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.25/src/zpaq.c:50:10: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.25/src/zpaq.c:52:9: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.25/src/zpaq.c:54:2: style: Variable '_len' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.25/src/zpaq.c:54:2: style: Variable 'peek' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.25/src/zpaq.c:92:10: portability: 'item[3]' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] DONE