2026-09-21 12:21 ftp://ftp.de.debian.org/debian/pool/main/t/tar/tar_1.35+dfsg.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=selinux --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 -j96 platform: Linux-6.8.0-137-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.4.0 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 cppcheck: head 2.22.0 head-info: f1c0820 (2026-09-21 13:01:57 +0200) count: 963 991 elapsed-time: 1.1 1.2 head-timing-info: old-timing-info: head results: tar-1.35+dfsg/gnu/acl.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/acl-internal.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/inttostr.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/careadlinkat.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/openat.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/argmatch.h:27:4: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/argp.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/argp-fmtstream.h:30:3: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/areadlink-with-size.c:79:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/argp-version-etc.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable argp_program_version_hook [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/vasnprintf.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/backupfile.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/filenamecat.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/basename-lgpl.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/dirname.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/bitrotate.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/btowc.c:30:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/c-ctype.h:28:3: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/c-strcase.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/calloc.c:41:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/pathmax.h:44:4: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/chmod.c:41:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/chown.c:38:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/fpending.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/cloexec.c:62:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/cloexec.c:82:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_DUPFD_CLOEXEC [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/closedir.c:64:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/quotearg.h:26:4: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/dirfd.c:94:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/dup-safer-flag.c:36:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CLOEXEC [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/dup-safer.c:33:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_DUPFD [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/dup2.c:182:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/error.c:141:5: error: #error Please port fcntl to your platform [preprocessorErrorDirective] tar-1.35+dfsg/gnu/exclude.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/fchown-stub.c:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/euidaccess.c:149:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/fcntl.c:437:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/fd-safer-flag.c:45:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/fd-safer.c:42:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/fcntl.c:492:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CLOEXEC [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/utimens.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/areadlink-with-size.c:56:39: style: Condition 'symlink_max' definition 'file'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/gnu/malloc/dynarray-skeleton.c:95:3: error: #error "DYNARRAY_STRUCT must be defined" [preprocessorErrorDirective] tar-1.35+dfsg/gnu/creat-safer.c:28:39: style:inconclusive: Function 'creat_safer' argument 2 names different: declaration '' definition 'mode'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/gnu/dup-safer.c:31:16: style:inconclusive: Function 'dup_safer' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/gnu/malloc/dynarray_emplace_enlarge.c:53:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/malloc/dynarray_finalize.c:59:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable array [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/malloc/dynarray_resize.c:48:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/malloc/scratch_buffer_grow.c:40:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/malloc/scratch_buffer_grow_preserve.c:49:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/malloca.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/malloc/scratch_buffer_set_array_size.c:41:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/mbchar.h:148:3: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/mbuiter.h:94:3: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/strnlen1.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/getopt.c:278:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/getopt.c:621:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/mbtowc-impl.h:37:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/human.c:62:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTMAX_MAX [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/fd-safer.c:37:15: style:inconclusive: Function 'fd_safer' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/gnu/human.c:85:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/human.c:181:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_LEN_MAX [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/human.c:441:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LONGINT_OK [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/human.c:470:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LONGINT_INVALID [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/mkfifo.c:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/mkfifoat.c:72:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/mknod.c:33:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/mknodat.c:72:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/modechange.h:24:4: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/mktime.c:577:1: error: There is an unknown macro here somewhere. Configuration is required. If weak_alias is a macro then please configure it. [unknownMacro] tar-1.35+dfsg/gnu/msvc-inval.h:57:3: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/msvc-nothrow.h:30:3: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/euidaccess.c:175:41: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] tar-1.35+dfsg/gnu/euidaccess.c:176:43: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] tar-1.35+dfsg/gnu/euidaccess.c:177:43: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] tar-1.35+dfsg/gnu/euidaccess.c:178:43: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] tar-1.35+dfsg/gnu/obstack.h:108:3: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/euidaccess.c:179:43: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] tar-1.35+dfsg/gnu/open-safer.c:33:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/euidaccess.c:180:43: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] tar-1.35+dfsg/gnu/euidaccess.c:181:43: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] tar-1.35+dfsg/gnu/localcharset.c:1088:14: style: Condition 'locale==NULL' is always true [knownConditionTrueFalse] tar-1.35+dfsg/gnu/localcharset.c:1079:24: note: Assignment 'locale=NULL', assigned value is 0 tar-1.35+dfsg/gnu/localcharset.c:1088:14: note: Condition 'locale==NULL' is always true tar-1.35+dfsg/gnu/open.c:72:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/euidaccess.c:182:43: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] tar-1.35+dfsg/gnu/openat-safer.c:33:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/euidaccess.c:183:43: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] tar-1.35+dfsg/gnu/dirent-safer.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/nl_langinfo.c:77:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SETLOCALE_NULL_MAX [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/opendirat.c:38:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/fnmatch_loop.c:63:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FNM_EXTMATCH [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/nl_langinfo.c:377:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable decimal_point [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/openat-proc.c:82:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_SEARCH [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/fnmatch_loop.c:945:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable posixly_correct [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/pipe-safer.c:41:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/pipe.c:48:3: error: #error "This platform lacks a pipe function, and Gnulib doesn't provide a replacement. This is a bug in Gnulib." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/fnmatch_loop.c:1007:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable posixly_correct [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/getopt1.c:36:21: style:inconclusive: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] tar-1.35+dfsg/gnu/getopt_int.h:107:32: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. tar-1.35+dfsg/gnu/getopt1.c:36:21: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. tar-1.35+dfsg/gnu/opendir.c:115:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/getopt1.c:36:34: style:inconclusive: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] tar-1.35+dfsg/gnu/getopt_int.h:107:48: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. tar-1.35+dfsg/gnu/getopt1.c:36:34: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. tar-1.35+dfsg/gnu/getopt1.c:36:52: style:inconclusive: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] tar-1.35+dfsg/gnu/getopt_int.h:108:19: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. tar-1.35+dfsg/gnu/getopt1.c:36:52: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. tar-1.35+dfsg/gnu/priv-set.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/getgroups.c:33:54: style: Parameter 'groups' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/gnu/getopt1.c:37:24: style:inconclusive: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] tar-1.35+dfsg/gnu/getopt_int.h:109:28: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. tar-1.35+dfsg/gnu/getopt1.c:37:24: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. tar-1.35+dfsg/gnu/getopt1.c:37:43: style:inconclusive: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] tar-1.35+dfsg/gnu/getopt_int.h:109:45: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. tar-1.35+dfsg/gnu/getopt1.c:37:43: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. tar-1.35+dfsg/gnu/xsize.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/getopt1.c:38:24: style:inconclusive: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] tar-1.35+dfsg/gnu/getopt_int.h:110:28: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. tar-1.35+dfsg/gnu/getopt1.c:38:24: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. tar-1.35+dfsg/gnu/getopt1.c:59:26: style:inconclusive: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] tar-1.35+dfsg/gnu/getopt_int.h:112:37: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. tar-1.35+dfsg/gnu/getopt1.c:59:26: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. tar-1.35+dfsg/gnu/progname.c:55:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/getopt1.c:59:39: style:inconclusive: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] tar-1.35+dfsg/gnu/getopt_int.h:112:53: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. tar-1.35+dfsg/gnu/getopt1.c:59:39: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. tar-1.35+dfsg/gnu/getopt1.c:59:57: style:inconclusive: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] tar-1.35+dfsg/gnu/getopt_int.h:113:17: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. tar-1.35+dfsg/gnu/getopt1.c:59:57: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. tar-1.35+dfsg/gnu/getopt1.c:60:29: style:inconclusive: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] tar-1.35+dfsg/gnu/getopt_int.h:114:26: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. tar-1.35+dfsg/gnu/getopt1.c:60:29: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. tar-1.35+dfsg/gnu/getopt1.c:60:48: style:inconclusive: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] tar-1.35+dfsg/gnu/getopt_int.h:115:10: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. tar-1.35+dfsg/gnu/getopt1.c:60:48: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. tar-1.35+dfsg/gnu/rawmemchr.c:37:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTPTR_WIDTH [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/readdir.c:68:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/readlink.c:41:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/getopt1.c:61:29: style:inconclusive: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] tar-1.35+dfsg/gnu/getopt_int.h:116:26: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. tar-1.35+dfsg/gnu/getopt1.c:61:29: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. tar-1.35+dfsg/gnu/realloc.c:49:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/reallocarray.c:32:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regex.c:25:3: error: failed to evaluate #if condition, undefined function-like macro invocation: __GNUC_PREREQ( ... ) [syntaxError] tar-1.35+dfsg/gnu/rewinddir.c:40:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/renameatu.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/renameatu.c:55:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/rmdir.c:46:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/renameatu.c:103:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/safe-read.c:66:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/savedir.h:26:3: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/sleep.c:72:3: error: #error "Please port gnulib sleep.c to your platform, possibly using usleep() or select(), then report this to bug-gnulib." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/setlocale_null.c:150:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/setlocale_null.c:317:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/open-safer.c:45:20: error: Allocation with open, fd_safer doesn't release it. [leakNoVarFunctionCall] tar-1.35+dfsg/gnu/malloc/dynarray_finalize.c:29:33: style: Parameter 'scratch' can be declared as pointer to const. However it seems that '__libc_dynarray_finalize' is a callback function, if 'scratch' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tar-1.35+dfsg/gnu/malloc/dynarray_finalize.c:66:18: note: You might need to cast the function pointer here tar-1.35+dfsg/gnu/malloc/dynarray_finalize.c:29:33: note: Parameter 'scratch' can be declared as pointer to const tar-1.35+dfsg/gnu/stdopen.c:42:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFD [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/malloc/dynarray_resize.c:31:31: style: Parameter 'scratch' can be declared as pointer to const. However it seems that '__libc_dynarray_resize' is a callback function, if 'scratch' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tar-1.35+dfsg/gnu/malloc/dynarray_resize.c:68:18: note: You might need to cast the function pointer here tar-1.35+dfsg/gnu/malloc/dynarray_resize.c:31:31: note: Parameter 'scratch' can be declared as pointer to const tar-1.35+dfsg/gnu/openat-safer.c:45:20: error: Allocation with openat, fd_safer doesn't release it. [leakNoVarFunctionCall] tar-1.35+dfsg/gnu/strerror-override.h:23:4: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/malloc/dynarray_emplace_enlarge.c:31:40: style: Parameter 'scratch' can be declared as pointer to const. However it seems that '__libc_dynarray_emplace_enlarge' is a callback function, if 'scratch' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tar-1.35+dfsg/gnu/malloc/dynarray_emplace_enlarge.c:77:18: note: You might need to cast the function pointer here tar-1.35+dfsg/gnu/malloc/dynarray_emplace_enlarge.c:31:40: note: Parameter 'scratch' can be declared as pointer to const tar-1.35+dfsg/gnu/renameatu.c:113:7: style: Condition '!(ret_val<0&&(err==EINVAL||err==ENOSYS||err==ENOTSUP))' is always false [knownConditionTrueFalse] tar-1.35+dfsg/gnu/renameatu.c:102:18: note: Assignment 'ret_val=-1', assigned value is -1 tar-1.35+dfsg/gnu/renameatu.c:113:7: note: Condition '!(ret_val<0&&(err==EINVAL||err==ENOSYS||err==ENOTSUP))' is always false tar-1.35+dfsg/gnu/renameatu.c:113:18: style: Condition 'ret_val<0' is always true [knownConditionTrueFalse] tar-1.35+dfsg/gnu/renameatu.c:102:18: note: Assignment 'ret_val=-1', assigned value is -1 tar-1.35+dfsg/gnu/renameatu.c:113:18: note: Condition 'ret_val<0' is always true tar-1.35+dfsg/gnu/symlink.c:53:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/symlinkat.c:58:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/strtol.c:257:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/flexmember.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/open-safer.c:29:25: style:inconclusive: Function 'open_safer' argument 1 names different: declaration '' definition 'file'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/gnu/regcomp.c:125:5: error: There is an unknown macro here somewhere. Configuration is required. If gettext_noop is a macro then please configure it. [unknownMacro] tar-1.35+dfsg/gnu/open-safer.c:29:35: style:inconclusive: Function 'open_safer' argument 2 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/gnu/localcharset.c:579:14: style: struct member 'table_entry::locale' is never used. [unusedStructMember] tar-1.35+dfsg/gnu/tempname.c:96:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRND_NONBLOCK [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/localcharset.c:580:14: style: struct member 'table_entry::canonical' is never used. [unusedStructMember] tar-1.35+dfsg/gnu/tempname.c:130:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_ACCMODE [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/tempname.c:137:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/localcharset.c:1097:22: style: Variable 'locale' is assigned a value that is never used. [unreadVariable] tar-1.35+dfsg/gnu/tempname.c:145:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/tempname.c:196:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/rawmemchr.c:109:16: style: Variable 's' is reassigned a value before the old one has been used. [redundantAssignment] tar-1.35+dfsg/gnu/rawmemchr.c:50:36: note: s is assigned tar-1.35+dfsg/gnu/rawmemchr.c:109:16: note: s is overwritten tar-1.35+dfsg/gnu/pipe-safer.c:31:17: style:inconclusive: Function 'pipe_safer' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/gnu/nl_langinfo.c:451:5: style: Statements following 'return' will never be executed. [unreachableCode] tar-1.35+dfsg/gnu/uniwidth/width.c:61:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nonspacing_table_ind [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/renameatu.c:113:30: style: The comparison 'err == EINVAL' is always true because 'err' and 'EINVAL' represent the same value. [knownConditionTrueFalse] tar-1.35+dfsg/gnu/renameatu.c:103:13: note: 'err' is assigned value 'EINVAL' here. tar-1.35+dfsg/gnu/renameatu.c:113:30: note: The comparison 'err == EINVAL' is always true because 'err' and 'EINVAL' represent the same value. tar-1.35+dfsg/gnu/unlink.c:66:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/unsetenv.c:64:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/version-etc.h:24:4: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/wcrtomb.c:35:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/time_r.c:37:30: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] tar-1.35+dfsg/gnu/time_r.c:43:30: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] tar-1.35+dfsg/gnu/renameatu.c:99:16: style:inconclusive: Function 'renameatu' argument 1 names different: declaration '' definition 'fd1'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/gnu/renameatu.c:99:33: style:inconclusive: Function 'renameatu' argument 2 names different: declaration '' definition 'src'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/gnu/xalloc.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/xvasprintf.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/renameatu.c:99:42: style:inconclusive: Function 'renameatu' argument 3 names different: declaration '' definition 'fd2'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/gnu/xgetcwd.h:19:3: error: #error "Please include config.h first." [preprocessorErrorDirective] tar-1.35+dfsg/gnu/renameatu.c:99:59: style:inconclusive: Function 'renameatu' argument 4 names different: declaration '' definition 'dst'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/gnu/renameatu.c:100:25: style:inconclusive: Function 'renameatu' argument 5 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/gnu/strchrnul.c:138:12: style: Variable 'char_ptr' is reassigned a value before the old one has been used. [redundantAssignment] tar-1.35+dfsg/gnu/strchrnul.c:129:12: note: char_ptr is assigned tar-1.35+dfsg/gnu/strchrnul.c:138:12: note: char_ptr is overwritten tar-1.35+dfsg/lib/paxerror.c:32:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/paxerror.c:55:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/xstrtol.c:90:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/paxerror.c:68:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/paxerror.c:81:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/rmt/rmt.c:688:44: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE_NAME is a macro then please configure it. [unknownMacro] tar-1.35+dfsg/lib/paxerror.c:92:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/rawmemchr.c:109:16: style: Variable 's' is assigned a value that is never used. [unreadVariable] tar-1.35+dfsg/lib/paxerror.c:103:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/paxerror.c:129:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/paxerror.c:180:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/paxerror.c:192:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/paxerror.c:210:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/paxerror.c:258:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/paxerror.c:272:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/paxerror.c:280:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/strtol.c:329:13: warning: Either the condition 's==end' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] tar-1.35+dfsg/gnu/strtol.c:322:11: note: Assignment 'end=NULL', assigned value is 0 tar-1.35+dfsg/gnu/strtol.c:331:13: note: Assuming that condition 's==end' is not redundant tar-1.35+dfsg/gnu/strtol.c:329:13: note: Null pointer dereference tar-1.35+dfsg/lib/rtapelib.c:120:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/tests/ckmtime.c:65:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/rtapelib.c:147:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EIO [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/rtapelib.c:217:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EIO [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/rtapelib.c:370:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPERM [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/rtapelib.c:407:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EMFILE [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/rtapelib.c:616:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAFE_READ_ERROR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/tests/ckmtime.c:56:11: warning: Assert statement calls a function which may have desired side effects: 'fstat'. [assertWithSideEffect] tar-1.35+dfsg/lib/rtapelib.c:646:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/rtapelib.c:696:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/tempname.c:247:17: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] tar-1.35+dfsg/gnu/wcrtomb.c:28:42: style: Parameter 'ps' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/gnu/tempname.c:126:17: style: Parameter 'tmpl' can be declared as pointer to const. However it seems that 'try_file' is a callback function, if 'tmpl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tar-1.35+dfsg/gnu/tempname.c:177:21: note: You might need to cast the function pointer here tar-1.35+dfsg/gnu/tempname.c:126:17: note: Parameter 'tmpl' can be declared as pointer to const tar-1.35+dfsg/gnu/tempname.c:128:8: style: Variable 'openflags' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/gnu/tempname.c:135:16: style: Parameter 'tmpl' can be declared as pointer to const. However it seems that 'try_dir' is a callback function, if 'tmpl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tar-1.35+dfsg/gnu/tempname.c:178:20: note: You might need to cast the function pointer here tar-1.35+dfsg/gnu/tempname.c:135:16: note: Parameter 'tmpl' can be declared as pointer to const tar-1.35+dfsg/gnu/tempname.c:135:39: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'try_dir' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tar-1.35+dfsg/gnu/tempname.c:178:20: note: You might need to cast the function pointer here tar-1.35+dfsg/gnu/tempname.c:135:39: note: Parameter 'flags' can be declared as pointer to const tar-1.35+dfsg/gnu/tempname.c:141:21: style: Parameter 'tmpl' can be declared as pointer to const. However it seems that 'try_nocreate' is a callback function, if 'tmpl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tar-1.35+dfsg/gnu/tempname.c:179:25: note: You might need to cast the function pointer here tar-1.35+dfsg/gnu/tempname.c:141:21: note: Parameter 'tmpl' can be declared as pointer to const tar-1.35+dfsg/lib/paxnames.c:54:15: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] tar-1.35+dfsg/lib/paxnames.c:53:19: note: Assuming allocation function fails tar-1.35+dfsg/lib/paxnames.c:53:19: note: Assignment 's=xmalloc(len+1)', assigned value is 0 tar-1.35+dfsg/lib/paxnames.c:54:15: note: Null pointer dereference tar-1.35+dfsg/lib/paxnames.c:55:7: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] tar-1.35+dfsg/lib/paxnames.c:53:19: note: Assuming allocation function fails tar-1.35+dfsg/lib/paxnames.c:53:19: note: Assignment 's=xmalloc(len+1)', assigned value is 0 tar-1.35+dfsg/lib/paxnames.c:55:7: note: Null pointer dereference tar-1.35+dfsg/tests/checkseekhole.c:61:26: error: Invalid lseek() argument nr 3. The value is 3 but the valid values are '0:2'. [invalidFunctionArg] tar-1.35+dfsg/tests/checkseekhole.c:65:31: error: Invalid lseek() argument nr 3. The value is 4 but the valid values are '0:2'. [invalidFunctionArg] tar-1.35+dfsg/lib/paxnames.c:129:2: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] tar-1.35+dfsg/tests/genfile.c:113:48: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE is a macro then please configure it. [unknownMacro] tar-1.35+dfsg/lib/paxnames.c:49:9: style: Variable 'e' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/common.h:669:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTMAX_MAX [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/exit.c:30:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAXEXIT_FAILURE [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/xstrtol.c:78:24: style:inconclusive: Function 'xstrtol' argument 1 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/gnu/xstrtol.c:78:34: style:inconclusive: Function 'xstrtol' argument 2 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/gnu/xstrtol.c:78:43: style:inconclusive: Function 'xstrtol' argument 3 names different: declaration '' definition 'strtol_base'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/gnu/xstrtol.c:79:24: style:inconclusive: Function 'xstrtol' argument 4 names different: declaration '' definition 'val'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/gnu/xstrtol.c:79:41: style:inconclusive: Function 'xstrtol' argument 5 names different: declaration '' definition 'valid_suffixes'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/lib/paxerror.c:35:9: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] tar-1.35+dfsg/lib/paxerror.c:40:9: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] tar-1.35+dfsg/lib/paxerror.c:45:9: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] tar-1.35+dfsg/gnu/regex_internal.c:60:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regex_internal.c:79:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_string_t [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regex_internal.c:141:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regex_internal.c:261:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEOF [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regex_internal.c:337:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEOF [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regex_internal.c:494:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEOF [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regex_internal.c:586:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTBOL [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regex_internal.c:902:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTEOL [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regex_internal.c:939:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regex_internal.c:952:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/xstrtol.c:57:15: style: Checking if unsigned expression '*x' is less than zero. [unsignedLessThanZero] tar-1.35+dfsg/gnu/regex_internal.c:967:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regex_internal.c:1000:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regex_internal.c:1024:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regex_internal.c:1117:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regex_internal.c:1167:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regex_internal.c:1255:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regex_internal.c:1312:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regex_internal.c:1388:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_token_t [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regex_internal.c:1461:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regex_internal.c:1509:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/xstrtol.c:78:24: style:inconclusive: Function 'xstrtoul' argument 1 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/gnu/regex_internal.c:1546:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/xstrtol.c:78:34: style:inconclusive: Function 'xstrtoul' argument 2 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/gnu/regex_internal.c:1599:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_dfastate_t [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/xstrtol.c:78:43: style:inconclusive: Function 'xstrtoul' argument 3 names different: declaration '' definition 'strtol_base'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/gnu/regex_internal.c:1647:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_dfastate_t [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/xstrtol.c:79:24: style:inconclusive: Function 'xstrtoul' argument 4 names different: declaration '' definition 'val'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/gnu/xstrtol.c:79:41: style:inconclusive: Function 'xstrtoul' argument 5 names different: declaration '' definition 'valid_suffixes'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/gnu/xstrtol.c:78:24: style:inconclusive: Function 'xstrtoumax' argument 1 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/gnu/xstrtol.c:78:34: style:inconclusive: Function 'xstrtoumax' argument 2 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/gnu/xstrtol.c:78:43: style:inconclusive: Function 'xstrtoumax' argument 3 names different: declaration '' definition 'strtol_base'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/gnu/xstrtol.c:79:24: style:inconclusive: Function 'xstrtoumax' argument 4 names different: declaration '' definition 'val'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/gnu/xstrtol.c:79:41: style:inconclusive: Function 'xstrtoumax' argument 5 names different: declaration '' definition 'valid_suffixes'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/src/delete.c:69:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOVERFLOW [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/delete.c:131:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/delete.c:198:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALLTHROUGH [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/utf8.c:84:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_LEN_MAX [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/update.c:52:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/update.c:194:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALLTHROUGH [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/compare.c:71:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAXEXIT_DIFFERS [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/compare.c:88:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAFE_READ_ERROR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/checkpoint.c:162:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/compare.c:159:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/checkpoint.c:306:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WRDSF_NOVAR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/compare.c:181:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MODE_ALL [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/checkpoint.c:399:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/compare.c:201:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MODE_ALL [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/compare.c:327:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MODE_ALL [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/compare.c:481:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALLTHROUGH [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/utf8.c:110:29: style:inconclusive: Function 'string_ascii_p' argument 1 names different: declaration 'str' definition 'p'. [funcArgNamesDifferent] tar-1.35+dfsg/src/common.h:941:34: note: Function 'string_ascii_p' argument 1 names different: declaration 'str' definition 'p'. tar-1.35+dfsg/src/utf8.c:110:29: note: Function 'string_ascii_p' argument 1 names different: declaration 'str' definition 'p'. tar-1.35+dfsg/src/utf8.c:69:21: style: Variable 'ib' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/exclist.c:86:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/tar.c:849:15: error: There is an unknown macro here somewhere. Configuration is required. If ATTRIBUTE_FORMAT is a macro then please configure it. [unknownMacro] tar-1.35+dfsg/src/exclist.c:209:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXCLUDE_ALLOC [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/exclist.c:244:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXCLUDE_INCLUDE [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/exclist.c:262:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXCLUDE_REGEX [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/exclist.c:282:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXCLUDE_REGEX [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/utf8.c:86:6: style: Variable 'ib' is assigned a value that is never used. [unreadVariable] tar-1.35+dfsg/src/map.c:56:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/map.c:91:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WRDSF_COMMENT [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/map.c:193:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTMAX_MAX [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/map.c:243:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTMAX_MAX [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/suffix.c:115:15: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] tar-1.35+dfsg/src/suffix.c:114:19: note: Assuming allocation function fails tar-1.35+dfsg/src/suffix.c:114:19: note: Assignment 's=xmalloc(len+1)', assigned value is 0 tar-1.35+dfsg/src/suffix.c:115:15: note: Null pointer dereference tar-1.35+dfsg/src/suffix.c:116:7: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] tar-1.35+dfsg/src/suffix.c:114:19: note: Assuming allocation function fails tar-1.35+dfsg/src/suffix.c:114:19: note: Assignment 's=xmalloc(len+1)', assigned value is 0 tar-1.35+dfsg/src/suffix.c:116:7: note: Null pointer dereference tar-1.35+dfsg/src/unlink.c:120:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_REMOVEDIR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/suffix.c:58:9: style: Variable 'suf' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/tests/argcv.c:360:7: error: Common realloc mistake: 'buffer' nulled but not freed upon failure [memleakOnRealloc] tar-1.35+dfsg/tests/argcv.c:313:4: warning: If memory allocation fails, then there is a possible null pointer dereference: *argv [nullPointerOutOfMemory] tar-1.35+dfsg/tests/argcv.c:291:18: note: Assuming allocation function fails tar-1.35+dfsg/tests/argcv.c:291:18: note: Assignment '*argv=calloc(*argc+1,sizeof(char*))', assigned value is 0 tar-1.35+dfsg/tests/argcv.c:295:17: note: Assuming condition is false tar-1.35+dfsg/tests/argcv.c:313:4: note: Null pointer dereference tar-1.35+dfsg/tests/argcv.c:41:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] tar-1.35+dfsg/lib/rtapelib.c:366:23: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] tar-1.35+dfsg/lib/rtapelib.c:456:7: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] tar-1.35+dfsg/src/transform.c:241:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ICASE [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/transform.c:494:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rm_eo [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/rtapelib.c:421:36: warning: If memory allocation fails, then there is a possible null pointer dereference: cursor [nullPointerOutOfMemory] tar-1.35+dfsg/lib/rtapelib.c:416:30: note: Assuming allocation function fails tar-1.35+dfsg/lib/rtapelib.c:416:30: note: Assignment 'file_name_copy=xstrdup(file_name)', assigned value is 0 tar-1.35+dfsg/lib/rtapelib.c:421:19: note: Assignment 'cursor=file_name_copy', assigned value is 0 tar-1.35+dfsg/lib/rtapelib.c:421:36: note: Null pointer dereference tar-1.35+dfsg/lib/rtapelib.c:422:16: warning: If memory allocation fails, then there is a possible null pointer dereference: cursor [nullPointerOutOfMemory] tar-1.35+dfsg/lib/rtapelib.c:416:30: note: Assuming allocation function fails tar-1.35+dfsg/lib/rtapelib.c:416:30: note: Assignment 'file_name_copy=xstrdup(file_name)', assigned value is 0 tar-1.35+dfsg/lib/rtapelib.c:421:19: note: Assignment 'cursor=file_name_copy', assigned value is 0 tar-1.35+dfsg/lib/rtapelib.c:422:16: note: Null pointer dereference tar-1.35+dfsg/lib/rtapelib.c:456:22: warning: If memory allocation fails, then there is a possible null pointer dereference: remote_host [nullPointerOutOfMemory] tar-1.35+dfsg/lib/rtapelib.c:416:30: note: Assuming allocation function fails tar-1.35+dfsg/lib/rtapelib.c:416:30: note: Assignment 'file_name_copy=xstrdup(file_name)', assigned value is 0 tar-1.35+dfsg/lib/rtapelib.c:417:19: note: Assignment 'remote_host=file_name_copy', assigned value is 0 tar-1.35+dfsg/lib/rtapelib.c:421:35: note: Assuming condition is false tar-1.35+dfsg/lib/rtapelib.c:456:22: note: Null pointer dereference tar-1.35+dfsg/src/system.c:210:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/system.c:246:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/system.c:290:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/system.c:316:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/system.c:331:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/system.c:354:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/system.c:495:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WRDSF_DEFFLAGS [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/system.c:549:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/system.c:700:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/system.c:753:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/system.c:782:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/system.c:816:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/system.c:896:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/rtapelib.c:509:2: style: Variable 'errno' is assigned an expression that holds the same value. [redundantAssignment] tar-1.35+dfsg/lib/rtapelib.c:505:8: note: e is assigned 'errno' here. tar-1.35+dfsg/lib/rtapelib.c:509:2: note: Variable 'errno' is assigned an expression that holds the same value. tar-1.35+dfsg/lib/rtapelib.c:522:2: style: Variable 'errno' is assigned an expression that holds the same value. [redundantAssignment] tar-1.35+dfsg/lib/rtapelib.c:516:8: note: e is assigned 'errno' here. tar-1.35+dfsg/lib/rtapelib.c:522:2: note: Variable 'errno' is assigned an expression that holds the same value. tar-1.35+dfsg/lib/rtapelib.c:240:2: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] tar-1.35+dfsg/lib/rtapelib.c:691:61: style: Parameter 'argument' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/gnu/human.c:186:12: style: Redundant initialization for 'grouping'. The initialized value is overwritten before it is read. [redundantInitialization] tar-1.35+dfsg/gnu/human.c:177:24: note: grouping is initialized tar-1.35+dfsg/gnu/human.c:186:12: note: grouping is overwritten tar-1.35+dfsg/gnu/human.c:155:27: style:inconclusive: Function 'human_readable' argument 1 names different: declaration '' definition 'n'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/gnu/human.c:155:36: style:inconclusive: Function 'human_readable' argument 2 names different: declaration '' definition 'buf'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/gnu/human.c:155:45: style:inconclusive: Function 'human_readable' argument 3 names different: declaration '' definition 'opts'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/gnu/human.c:156:27: style:inconclusive: Function 'human_readable' argument 4 names different: declaration '' definition 'from_block_size'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/gnu/human.c:156:54: style:inconclusive: Function 'human_readable' argument 5 names different: declaration '' definition 'to_block_size'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/gnu/human.c:464:28: style:inconclusive: Function 'human_options' argument 1 names different: declaration '' definition 'spec'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/gnu/human.c:464:39: style:inconclusive: Function 'human_options' argument 2 names different: declaration '' definition 'opts'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/gnu/human.c:464:56: style:inconclusive: Function 'human_options' argument 3 names different: declaration '' definition 'block_size'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/src/delete.c:113:35: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/src/misc.c:341:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DIRECTORY_SEPARATOR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/misc.c:414:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/misc.c:510:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/misc.c:622:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/misc.c:657:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/misc.c:744:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/misc.c:793:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/misc.c:836:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/misc.c:875:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_nsec [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/misc.c:940:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/misc.c:989:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_NOFOLLOW [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/misc.c:1183:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/misc.c:1257:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DIRECTORY_SEPARATOR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/misc.c:1281:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DIRECTORY_SEPARATOR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/misc.c:1313:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_DIRECTORY [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/compare.c:58:42: style: Parameter 'st' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/src/compare.c:76:60: style: Parameter 'data' can be declared as pointer to const. However it seems that 'process_noop' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tar-1.35+dfsg/src/compare.c:399:28: note: You might need to cast the function pointer here tar-1.35+dfsg/src/compare.c:76:60: note: Parameter 'data' can be declared as pointer to const tar-1.35+dfsg/src/compare.c:82:38: style: Parameter 'buffer' can be declared as pointer to const. However it seems that 'process_rawdata' is a callback function, if 'buffer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tar-1.35+dfsg/src/compare.c:452:43: note: You might need to cast the function pointer here tar-1.35+dfsg/src/compare.c:82:38: note: Parameter 'buffer' can be declared as pointer to const tar-1.35+dfsg/gnu/gettext.h:247:16: error: Returning pointer to local variable 'msg_ctxt_id' that will be invalid when returning. [returnDanglingLifetime] tar-1.35+dfsg/gnu/gettext.h:239:15: note: Array decayed to pointer here. tar-1.35+dfsg/gnu/gettext.h:246:11: note: Assuming condition is true tar-1.35+dfsg/gnu/gettext.h:226:8: note: Variable created here. tar-1.35+dfsg/gnu/gettext.h:247:16: note: Returning pointer to local variable 'msg_ctxt_id' that will be invalid when returning. tar-1.35+dfsg/src/checkpoint.c:334:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] parse-datetime.y:323:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] parse-datetime.y:434:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parse-datetime.y:516:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parse-datetime.y:536:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parse-datetime.y:681:106: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] parse-datetime.y:1482:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] parse-datetime.y:1814:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/checkpoint.c:85:24: warning: If memory allocation fails, then there is a possible null pointer dereference: output [nullPointerOutOfMemory] tar-1.35+dfsg/src/checkpoint.c:84:26: note: Assuming allocation function fails tar-1.35+dfsg/src/checkpoint.c:84:26: note: Assignment 'output=xstrdup(str)', assigned value is 0 tar-1.35+dfsg/src/checkpoint.c:85:24: note: Null pointer dereference tar-1.35+dfsg/src/checkpoint.c:86:9: warning: If memory allocation fails, then there is a possible null pointer dereference: output [nullPointerOutOfMemory] tar-1.35+dfsg/src/checkpoint.c:84:26: note: Assuming allocation function fails tar-1.35+dfsg/src/checkpoint.c:84:26: note: Assignment 'output=xstrdup(str)', assigned value is 0 tar-1.35+dfsg/src/checkpoint.c:86:9: note: Null pointer dereference tar-1.35+dfsg/src/checkpoint.c:86:27: warning: If memory allocation fails, then there is a possible null pointer dereference: output [nullPointerOutOfMemory] tar-1.35+dfsg/src/checkpoint.c:84:26: note: Assuming allocation function fails tar-1.35+dfsg/src/checkpoint.c:84:26: note: Assignment 'output=xstrdup(str)', assigned value is 0 tar-1.35+dfsg/src/checkpoint.c:86:27: note: Null pointer dereference tar-1.35+dfsg/gnu/getopt.c:471:25: style:inconclusive: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] tar-1.35+dfsg/gnu/getopt_int.h:101:36: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. tar-1.35+dfsg/gnu/getopt.c:471:25: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. tar-1.35+dfsg/src/checkpoint.c:179:17: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/gnu/getopt.c:471:38: style:inconclusive: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] tar-1.35+dfsg/gnu/getopt_int.h:101:52: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. tar-1.35+dfsg/gnu/getopt.c:471:38: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. tar-1.35+dfsg/gnu/getopt.c:471:56: style:inconclusive: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] tar-1.35+dfsg/gnu/getopt_int.h:102:23: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. tar-1.35+dfsg/gnu/getopt.c:471:56: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. tar-1.35+dfsg/gnu/getopt.c:472:28: style:inconclusive: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] tar-1.35+dfsg/gnu/getopt_int.h:103:32: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. tar-1.35+dfsg/gnu/getopt.c:472:28: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. tar-1.35+dfsg/gnu/getopt.c:472:43: style:inconclusive: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] tar-1.35+dfsg/gnu/getopt_int.h:103:49: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. tar-1.35+dfsg/gnu/getopt.c:472:43: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. tar-1.35+dfsg/src/checkpoint.c:238:9: style: Variable 'cps' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/gnu/getopt.c:473:11: style:inconclusive: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] tar-1.35+dfsg/gnu/getopt_int.h:104:15: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. tar-1.35+dfsg/gnu/getopt.c:473:11: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. tar-1.35+dfsg/gnu/getopt.c:473:43: style:inconclusive: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] tar-1.35+dfsg/gnu/getopt_int.h:104:49: note: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. tar-1.35+dfsg/gnu/getopt.c:473:43: note: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. tar-1.35+dfsg/src/checkpoint.c:376:29: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/gnu/getopt.c:473:50: style:inconclusive: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] tar-1.35+dfsg/gnu/getopt_int.h:105:15: note: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. tar-1.35+dfsg/gnu/getopt.c:473:50: note: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. tar-1.35+dfsg/src/checkpoint.c:441:29: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/gnu/getopt.c:703:23: style:inconclusive: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] tar-1.35+dfsg/gnu/getopt_int.h:25:34: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. tar-1.35+dfsg/gnu/getopt.c:703:23: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. tar-1.35+dfsg/gnu/getopt.c:703:36: style:inconclusive: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] tar-1.35+dfsg/gnu/getopt_int.h:25:50: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. tar-1.35+dfsg/gnu/getopt.c:703:36: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. tar-1.35+dfsg/gnu/getopt.c:703:54: style:inconclusive: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] tar-1.35+dfsg/gnu/getopt_int.h:26:21: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. tar-1.35+dfsg/gnu/getopt.c:703:54: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. tar-1.35+dfsg/gnu/getopt.c:704:26: style:inconclusive: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] tar-1.35+dfsg/gnu/getopt_int.h:27:30: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. tar-1.35+dfsg/gnu/getopt.c:704:26: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. tar-1.35+dfsg/gnu/getopt.c:704:41: style:inconclusive: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] tar-1.35+dfsg/gnu/getopt_int.h:27:47: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. tar-1.35+dfsg/gnu/getopt.c:704:41: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. tar-1.35+dfsg/gnu/getopt.c:704:54: style:inconclusive: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] tar-1.35+dfsg/gnu/getopt_int.h:28:13: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. tar-1.35+dfsg/gnu/getopt.c:704:54: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. tar-1.35+dfsg/gnu/getopt.c:705:9: style:inconclusive: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] tar-1.35+dfsg/gnu/getopt_int.h:28:30: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. tar-1.35+dfsg/gnu/getopt.c:705:9: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. tar-1.35+dfsg/src/exclist.c:100:8: style: Condition '!ex' is always true [knownConditionTrueFalse] tar-1.35+dfsg/src/exclist.c:85:25: note: Assignment 'ex=NULL', assigned value is 0 tar-1.35+dfsg/src/exclist.c:87:11: note: Assuming condition is false tar-1.35+dfsg/src/exclist.c:93:8: note: Assuming condition is false tar-1.35+dfsg/src/exclist.c:100:8: note: Condition '!ex' is always true tar-1.35+dfsg/src/exclist.c:54:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tar-1.35+dfsg/src/exclist.c:52:31: note: Assuming allocation function fails tar-1.35+dfsg/src/exclist.c:52:31: note: Assignment 'p=xmalloc(FLEXNSIZEOF(struct excfile,name,strlen(name)+1))', assigned value is 0 tar-1.35+dfsg/src/exclist.c:54:3: note: Null pointer dereference tar-1.35+dfsg/src/exclist.c:55:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tar-1.35+dfsg/src/exclist.c:52:31: note: Assuming allocation function fails tar-1.35+dfsg/src/exclist.c:52:31: note: Assignment 'p=xmalloc(FLEXNSIZEOF(struct excfile,name,strlen(name)+1))', assigned value is 0 tar-1.35+dfsg/src/exclist.c:55:3: note: Null pointer dereference tar-1.35+dfsg/src/exclist.c:56:11: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tar-1.35+dfsg/src/exclist.c:52:31: note: Assuming allocation function fails tar-1.35+dfsg/src/exclist.c:52:31: note: Assignment 'p=xmalloc(FLEXNSIZEOF(struct excfile,name,strlen(name)+1))', assigned value is 0 tar-1.35+dfsg/src/exclist.c:56:11: note: Null pointer dereference tar-1.35+dfsg/src/exclist.c:78:7: warning: Either the condition 'dir' is redundant or there is possible null pointer dereference: dir. [nullPointerRedundantCheck] tar-1.35+dfsg/src/exclist.c:82:22: note: Assuming that condition 'dir' is not redundant tar-1.35+dfsg/src/exclist.c:78:7: note: Null pointer dereference tar-1.35+dfsg/src/exclist.c:119:4: warning: If memory allocation fails, then there is a possible null pointer dereference: ent [nullPointerOutOfMemory] tar-1.35+dfsg/src/exclist.c:118:18: note: Assuming allocation function fails tar-1.35+dfsg/src/exclist.c:118:18: note: Assignment 'ent=xmalloc(sizeof(*ent))', assigned value is 0 tar-1.35+dfsg/src/exclist.c:119:4: note: Null pointer dereference tar-1.35+dfsg/src/exclist.c:120:4: warning: If memory allocation fails, then there is a possible null pointer dereference: ent [nullPointerOutOfMemory] tar-1.35+dfsg/src/exclist.c:118:18: note: Assuming allocation function fails tar-1.35+dfsg/src/exclist.c:118:18: note: Assignment 'ent=xmalloc(sizeof(*ent))', assigned value is 0 tar-1.35+dfsg/src/exclist.c:120:4: note: Null pointer dereference tar-1.35+dfsg/src/exclist.c:122:4: warning: If memory allocation fails, then there is a possible null pointer dereference: ent [nullPointerOutOfMemory] tar-1.35+dfsg/src/exclist.c:118:18: note: Assuming allocation function fails tar-1.35+dfsg/src/exclist.c:118:18: note: Assignment 'ent=xmalloc(sizeof(*ent))', assigned value is 0 tar-1.35+dfsg/src/exclist.c:122:4: note: Null pointer dereference tar-1.35+dfsg/src/exclist.c:123:4: warning: If memory allocation fails, then there is a possible null pointer dereference: ent [nullPointerOutOfMemory] tar-1.35+dfsg/src/exclist.c:118:18: note: Assuming allocation function fails tar-1.35+dfsg/src/exclist.c:118:18: note: Assignment 'ent=xmalloc(sizeof(*ent))', assigned value is 0 tar-1.35+dfsg/src/exclist.c:123:4: note: Null pointer dereference tar-1.35+dfsg/src/exclist.c:296:15: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tar-1.35+dfsg/src/exclist.c:295:19: note: Assuming allocation function fails tar-1.35+dfsg/src/exclist.c:295:19: note: Assignment 'p=xmalloc(len+1)', assigned value is 0 tar-1.35+dfsg/src/exclist.c:296:15: note: Null pointer dereference tar-1.35+dfsg/src/exclist.c:297:7: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tar-1.35+dfsg/src/exclist.c:295:19: note: Assuming allocation function fails tar-1.35+dfsg/src/exclist.c:295:19: note: Assignment 'p=xmalloc(len+1)', assigned value is 0 tar-1.35+dfsg/src/exclist.c:297:7: note: Null pointer dereference tar-1.35+dfsg/src/xattrs.c:77:22: warning: If memory allocation fails, then there is a possible null pointer dereference: key [nullPointerOutOfMemory] tar-1.35+dfsg/src/xattrs.c:88:24: note: Assuming allocation function fails tar-1.35+dfsg/src/xattrs.c:88:24: note: Assignment 'xkey=xmalloc((sizeof("SCHILY.xattr.")-1)+klen+1)', assigned value is 0 tar-1.35+dfsg/src/xattrs.c:94:34: note: Calling function 'xattr_map_add', 2nd argument 'xkey' value is 0 tar-1.35+dfsg/src/xattrs.c:77:22: note: Null pointer dereference tar-1.35+dfsg/src/xattrs.c:91:17: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] tar-1.35+dfsg/src/xattrs.c:88:24: note: Assuming allocation function fails tar-1.35+dfsg/src/xattrs.c:88:24: note: Assignment 'xkey=xmalloc((sizeof("SCHILY.xattr.")-1)+klen+1)', assigned value is 0 tar-1.35+dfsg/src/xattrs.c:89:13: note: tmp is assigned 'xkey' here. tar-1.35+dfsg/src/xattrs.c:91:17: note: Null pointer dereference tar-1.35+dfsg/src/buffer.c:435:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/buffer.c:488:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LONGEST_HUMAN_READABLE [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/buffer.c:576:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/buffer.c:687:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/buffer.c:757:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/buffer.c:861:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/buffer.c:903:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/buffer.c:968:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAFE_READ_ERROR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/buffer.c:1157:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/buffer.c:1198:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/buffer.c:1301:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TTY_NAME [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/buffer.c:1424:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAFE_READ_ERROR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/buffer.c:1710:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/xattrs.c:451:26: style: Parameter 'st' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/src/buffer.c:1819:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAFE_READ_ERROR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/xattrs.c:545:42: style: Parameter 'st' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/src/buffer.c:1885:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAFE_READ_ERROR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/xattrs.c:644:43: style: Parameter 'st' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/src/buffer.c:1948:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/xattrs.c:703:62: style: Parameter 'mm' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/src/xattrs.c:810:15: style: Variable 'keyword' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/xattrs.c:853:17: style: Variable 'keyword' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/extract.c:66:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSYS [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/extract.c:221:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOT_UID [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/extract.c:245:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/extract.c:259:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/extract.c:294:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/extract.c:326:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MODE_ALL [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/extract.c:402:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_nsec [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/extract.c:719:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MODE_RWX [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/extract.c:789:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/extract.c:823:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/extract.c:1033:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MODE_RWX [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/extract.c:1074:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MODE_RWX [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/extract.c:1182:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/extract.c:1258:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MODE_RWX [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/extract.c:1382:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_SYMLINK_NOFOLLOW [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/extract.c:1408:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/extract.c:1511:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/extract.c:1608:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MODE_RWX [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/extract.c:1763:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/extract.c:1835:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/extract.c:1876:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_SYMLINK_NOFOLLOW [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/extract.c:1974:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/xheader.c:785:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/xheader.c:1084:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTMAX_MAX [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/xheader.c:1095:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/xheader.c:1375:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/xheader.c:1455:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/names.c:210:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAXEXIT_FAILURE [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/names.c:308:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXCLUDE_WILDCARDS [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/names.c:977:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/names.c:999:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WRDSF_DEFFLAGS [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/names.c:1022:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/names.c:1127:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALLTHROUGH [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/names.c:1159:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXCLUDE_WILDCARDS [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/names.c:1468:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAXEXIT_DIFFERS [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/names.c:1657:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/names.c:1782:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXCLUDE_WILDCARDS [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/system.c:49:7: style: The statement 'if (mtioseekable_archive) mtioseekable_archive=false' is logically equivalent to 'mtioseekable_archive=false'. [duplicateConditionalAssign] tar-1.35+dfsg/src/system.c:65:28: note: Assignment 'mtioseekable_archive=false' tar-1.35+dfsg/src/system.c:49:7: note: Condition 'mtioseekable_archive' is redundant tar-1.35+dfsg/src/transform.c:92:3: warning: If memory allocation fails, then there is a possible null pointer dereference: segm [nullPointerOutOfMemory] tar-1.35+dfsg/src/transform.c:91:39: note: Assuming allocation function fails tar-1.35+dfsg/src/transform.c:91:39: note: Assignment 'segm=xmalloc(sizeof(*segm))', assigned value is 0 tar-1.35+dfsg/src/transform.c:92:3: note: Null pointer dereference tar-1.35+dfsg/src/transform.c:265:11: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] tar-1.35+dfsg/src/transform.c:264:17: note: Assuming allocation function fails tar-1.35+dfsg/src/transform.c:264:17: note: Assignment 'str=xmalloc(i-1)', assigned value is 0 tar-1.35+dfsg/src/transform.c:265:11: note: Null pointer dereference tar-1.35+dfsg/src/transform.c:266:3: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] tar-1.35+dfsg/src/transform.c:264:17: note: Assuming allocation function fails tar-1.35+dfsg/src/transform.c:264:17: note: Assignment 'str=xmalloc(i-1)', assigned value is 0 tar-1.35+dfsg/src/transform.c:266:3: note: Null pointer dereference tar-1.35+dfsg/src/transform.c:277:7: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] tar-1.35+dfsg/src/transform.c:264:17: note: Assuming allocation function fails tar-1.35+dfsg/src/transform.c:264:17: note: Assignment 'str=xmalloc(i-1)', assigned value is 0 tar-1.35+dfsg/src/transform.c:277:7: note: Null pointer dereference tar-1.35+dfsg/src/transform.c:277:34: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] tar-1.35+dfsg/src/transform.c:264:17: note: Assuming allocation function fails tar-1.35+dfsg/src/transform.c:264:17: note: Assignment 'str=xmalloc(i-1)', assigned value is 0 tar-1.35+dfsg/src/transform.c:277:34: note: Null pointer dereference tar-1.35+dfsg/src/transform.c:285:11: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] tar-1.35+dfsg/src/transform.c:284:17: note: Assuming allocation function fails tar-1.35+dfsg/src/transform.c:284:17: note: Assignment 'str=xmalloc(j-i+1)', assigned value is 0 tar-1.35+dfsg/src/transform.c:285:11: note: Null pointer dereference tar-1.35+dfsg/src/transform.c:286:3: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] tar-1.35+dfsg/src/transform.c:284:17: note: Assuming allocation function fails tar-1.35+dfsg/src/transform.c:284:17: note: Assignment 'str=xmalloc(j-i+1)', assigned value is 0 tar-1.35+dfsg/src/transform.c:286:3: note: Null pointer dereference tar-1.35+dfsg/src/transform.c:288:26: warning: If memory allocation fails, then there is a possible null pointer dereference: cur [nullPointerOutOfMemory] tar-1.35+dfsg/src/transform.c:284:17: note: Assuming allocation function fails tar-1.35+dfsg/src/transform.c:284:17: note: Assignment 'str=xmalloc(j-i+1)', assigned value is 0 tar-1.35+dfsg/src/transform.c:288:18: note: Assignment 'cur=beg=str', assigned value is 0 tar-1.35+dfsg/src/transform.c:288:26: note: Null pointer dereference tar-1.35+dfsg/src/transform.c:290:12: warning: If memory allocation fails, then there is a possible null pointer dereference: cur [nullPointerOutOfMemory] tar-1.35+dfsg/src/transform.c:284:17: note: Assuming allocation function fails tar-1.35+dfsg/src/transform.c:284:17: note: Assignment 'str=xmalloc(j-i+1)', assigned value is 0 tar-1.35+dfsg/src/transform.c:288:18: note: Assignment 'cur=beg=str', assigned value is 0 tar-1.35+dfsg/src/transform.c:290:12: note: Null pointer dereference tar-1.35+dfsg/src/system.c:832:34: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] tar-1.35+dfsg/src/system.c:831:19: note: Assuming allocation function fails tar-1.35+dfsg/src/system.c:831:19: note: Assignment 'fp=fdopen(p[0],"r")', assigned value is 0 tar-1.35+dfsg/src/system.c:832:34: note: Null pointer dereference tar-1.35+dfsg/src/transform.c:610:39: style:inconclusive: Function 'transform_name_fp' argument 2 names different: declaration 'type' definition 'flags'. [funcArgNamesDifferent] tar-1.35+dfsg/src/common.h:952:44: note: Function 'transform_name_fp' argument 2 names different: declaration 'type' definition 'flags'. tar-1.35+dfsg/src/transform.c:610:39: note: Function 'transform_name_fp' argument 2 names different: declaration 'type' definition 'flags'. tar-1.35+dfsg/src/transform.c:611:42: style:inconclusive: Function 'transform_name_fp' argument 4 names different: declaration '' definition 'dat'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/src/system.c:203:27: style:inconclusive: Function 'sys_wait_for_child' argument 1 names different: declaration '' definition 'child_pid'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/src/system.c:203:43: style:inconclusive: Function 'sys_wait_for_child' argument 2 names different: declaration '' definition 'eof'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/src/transform.c:184:15: style: Variable 'beg' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/transform.c:422:51: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/src/sparse.c:70:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/sparse.c:228:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAFE_READ_ERROR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/sparse.c:306:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/sparse.c:362:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALLTHROUGH [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/sparse.c:419:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAFE_READ_ERROR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/sparse.c:631:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAFE_READ_ERROR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/sparse.c:689:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAFE_READ_ERROR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/sparse.c:1257:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/incremen.c:787:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/incremen.c:1003:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/incremen.c:1171:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/incremen.c:1336:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/incremen.c:1722:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/system.c:255:31: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/src/system.c:255:47: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/src/system.c:261:31: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/src/system.c:261:47: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/src/system.c:267:33: style: Parameter 'link_data' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/src/system.c:267:57: style: Parameter 'stat_data' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/src/system.c:650:9: style: Variable 'numstr' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/system.c:698:20: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/src/map.c:192:23: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] tar-1.35+dfsg/src/map.c:242:22: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] tar-1.35+dfsg/src/map.c:94:40: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] tar-1.35+dfsg/src/map.c:86:14: note: Assuming allocation function fails tar-1.35+dfsg/src/map.c:86:14: note: Assignment 'fp=fopen(file,"r")', assigned value is 0 tar-1.35+dfsg/src/map.c:94:40: note: Null pointer dereference tar-1.35+dfsg/src/map.c:169:7: warning: If memory allocation fails, then there is a possible null pointer dereference: ent [nullPointerOutOfMemory] tar-1.35+dfsg/src/map.c:168:21: note: Assuming allocation function fails tar-1.35+dfsg/src/map.c:168:21: note: Assignment 'ent=xmalloc(sizeof(*ent))', assigned value is 0 tar-1.35+dfsg/src/map.c:169:7: note: Null pointer dereference tar-1.35+dfsg/src/map.c:170:7: warning: If memory allocation fails, then there is a possible null pointer dereference: ent [nullPointerOutOfMemory] tar-1.35+dfsg/src/map.c:168:21: note: Assuming allocation function fails tar-1.35+dfsg/src/map.c:168:21: note: Assignment 'ent=xmalloc(sizeof(*ent))', assigned value is 0 tar-1.35+dfsg/src/map.c:170:7: note: Null pointer dereference tar-1.35+dfsg/src/map.c:171:7: warning: If memory allocation fails, then there is a possible null pointer dereference: ent [nullPointerOutOfMemory] tar-1.35+dfsg/src/map.c:168:21: note: Assuming allocation function fails tar-1.35+dfsg/src/map.c:168:21: note: Assignment 'ent=xmalloc(sizeof(*ent))', assigned value is 0 tar-1.35+dfsg/src/map.c:171:7: note: Null pointer dereference tar-1.35+dfsg/src/map.c:197:29: style:inconclusive: Function 'owner_map_read' argument 1 names different: declaration 'name' definition 'file'. [funcArgNamesDifferent] tar-1.35+dfsg/src/common.h:1033:34: note: Function 'owner_map_read' argument 1 names different: declaration 'name' definition 'file'. tar-1.35+dfsg/src/map.c:197:29: note: Function 'owner_map_read' argument 1 names different: declaration 'name' definition 'file'. tar-1.35+dfsg/src/map.c:98:13: style: Variable 'name' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/map.c:192:18: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/map.c:209:29: style: Variable 'res' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/map.c:242:17: style: Variable 'gr' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/map.c:259:29: style: Variable 'res' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/map.c:169:22: error: Uninitialized variable: orig_id [legacyUninitvar] tar-1.35+dfsg/src/create.c:389:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_ISUID [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/create.c:485:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MODE_R [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/create.c:518:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/create.c:761:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MODE_ALL [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/create.c:1079:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAFE_READ_ERROR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/create.c:1280:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/create.c:1368:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DIRECTORY_SEPARATOR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/create.c:1448:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAXEXIT_FAILURE [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/create.c:1578:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/create.c:1602:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/create.c:1661:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/wordsplit.c:86:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WRDSF_SHOWERR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/wordsplit.c:94:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/wordsplit.c:127:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WRDSF_NOVAR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/wordsplit.c:173:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WRDSE_USERERR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/wordsplit.c:187:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WRDSF_REUSE [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/wordsplit.c:211:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WRDSF_ALLOC_DIE [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/wordsplit.c:303:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WRDSF_DOOFFS [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/wordsplit.c:642:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WRDSF_QUOTE [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/wordsplit.c:742:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WRDSF_RETURN_DELIMS [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/wordsplit.c:986:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WRDSF_ENV [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/wordsplit.c:1031:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WRDSF_ENV_KV [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/wordsplit.c:1164:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WRDSE_CBRACE [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/wordsplit.c:1545:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WRDSE_PAREN [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/wordsplit.c:1828:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WRDSO_NULLGLOB [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/wordsplit.c:1927:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WRDSF_RETURN_DELIMS [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/wordsplit.c:1933:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WRDSF_RETURN_DELIMS [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/wordsplit.c:1963:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WRDSE_QUOTE [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/wordsplit.c:1983:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WRDSE_EOF [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/wordsplit.c:2179:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WRDSO_XESC [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/wordsplit.c:2342:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WRDSF_SHOWDBG [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/wordsplit.c:2412:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WRDSF_INCREMENTAL [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/wordsplit.c:2473:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WRDSF_NOCMD [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/wordsplit.c:2490:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WRDSE_USERERR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/lib/wordsplit.c:2540:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WRDSE_USERERR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:194:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTBOL [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:413:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable regmatch_t [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:457:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGS_REALLOCATE [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:537:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGS_REALLOCATE [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:609:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOMATCH [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:909:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:1042:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:1164:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:1205:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:1315:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_fail_stack_ent_t [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:1342:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:1381:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_fail_stack_ent_t [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:1465:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eps_via_nodes [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:1477:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:1557:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:1605:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable non_eps_nodes [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:1668:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:1695:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nodes [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:1714:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:1760:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:1798:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:1846:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:1880:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:1994:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:2076:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:2172:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nodes [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:2203:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:2279:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:2371:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:2442:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable accept_mb [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:2511:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_BACK_REF [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:2620:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:2768:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_OPEN_SUBEXP [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:2815:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:2982:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:3059:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:3110:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:3156:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:3244:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SBC_MAX [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:3444:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHARACTER [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:3619:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_UTF8_PERIOD [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:3918:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASCII_CHARS [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:3956:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:4018:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_backref_cache_entry [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:4094:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_backref_cache_entry [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:4143:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable str_idx [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:4170:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/gnu/regexec.c:4201:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_sub_match_last_t [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/list.c:220:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALLTHROUGH [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/list.c:928:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable locale_quoting_style [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/list.c:979:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable major_t [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/list.c:987:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minor_t [valueFlowBailoutIncompleteVar] tar-1.35+dfsg/src/misc.c:77:15: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tar-1.35+dfsg/src/misc.c:76:25: note: Assuming allocation function fails tar-1.35+dfsg/src/misc.c:76:25: note: Assignment 'p=xmalloc(l+1)', assigned value is 0 tar-1.35+dfsg/src/misc.c:77:15: note: Null pointer dereference tar-1.35+dfsg/src/misc.c:78:7: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tar-1.35+dfsg/src/misc.c:76:25: note: Assuming allocation function fails tar-1.35+dfsg/src/misc.c:76:25: note: Assignment 'p=xmalloc(l+1)', assigned value is 0 tar-1.35+dfsg/src/misc.c:78:7: note: Null pointer dereference tar-1.35+dfsg/src/misc.c:340:15: warning: If memory allocation fails, then there is a possible null pointer dereference: copy [nullPointerOutOfMemory] tar-1.35+dfsg/src/misc.c:339:22: note: Assuming allocation function fails tar-1.35+dfsg/src/misc.c:339:22: note: Assignment 'copy=xmalloc(copylen+need_separator+strlen(name)+1)', assigned value is 0 tar-1.35+dfsg/src/misc.c:340:15: note: Null pointer dereference tar-1.35+dfsg/src/misc.c:341:7: warning: If memory allocation fails, then there is a possible null pointer dereference: copy [nullPointerOutOfMemory] tar-1.35+dfsg/src/misc.c:339:22: note: Assuming allocation function fails tar-1.35+dfsg/src/misc.c:339:22: note: Assignment 'copy=xmalloc(copylen+need_separator+strlen(name)+1)', assigned value is 0 tar-1.35+dfsg/src/misc.c:341:7: note: Null pointer dereference tar-1.35+dfsg/src/misc.c:1252:3: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] tar-1.35+dfsg/src/misc.c:1251:27: note: Assuming allocation function fails tar-1.35+dfsg/src/misc.c:1251:27: note: Assignment 'buf=xmalloc(sizeof(*buf))', assigned value is 0 tar-1.35+dfsg/src/misc.c:1252:3: note: Null pointer dereference tar-1.35+dfsg/src/misc.c:1253:3: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] tar-1.35+dfsg/src/misc.c:1251:27: note: Assuming allocation function fails tar-1.35+dfsg/src/misc.c:1251:27: note: Assignment 'buf=xmalloc(sizeof(*buf))', assigned value is 0 tar-1.35+dfsg/src/misc.c:1253:3: note: Null pointer dereference tar-1.35+dfsg/src/misc.c:1253:26: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] tar-1.35+dfsg/src/misc.c:1251:27: note: Assuming allocation function fails tar-1.35+dfsg/src/misc.c:1251:27: note: Assignment 'buf=xmalloc(sizeof(*buf))', assigned value is 0 tar-1.35+dfsg/src/misc.c:1253:26: note: Null pointer dereference tar-1.35+dfsg/src/misc.c:1254:11: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] tar-1.35+dfsg/src/misc.c:1251:27: note: Assuming allocation function fails tar-1.35+dfsg/src/misc.c:1251:27: note: Assignment 'buf=xmalloc(sizeof(*buf))', assigned value is 0 tar-1.35+dfsg/src/misc.c:1254:11: note: Null pointer dereference tar-1.35+dfsg/src/misc.c:1255:3: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] tar-1.35+dfsg/src/misc.c:1251:27: note: Assuming allocation function fails tar-1.35+dfsg/src/misc.c:1251:27: note: Assignment 'buf=xmalloc(sizeof(*buf))', assigned value is 0 tar-1.35+dfsg/src/misc.c:1255:3: note: Null pointer dereference tar-1.35+dfsg/src/misc.c:1255:29: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] tar-1.35+dfsg/src/misc.c:1251:27: note: Assuming allocation function fails tar-1.35+dfsg/src/misc.c:1251:27: note: Assignment 'buf=xmalloc(sizeof(*buf))', assigned value is 0 tar-1.35+dfsg/src/misc.c:1255:29: note: Null pointer dereference tar-1.35+dfsg/src/misc.c:1256:17: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] tar-1.35+dfsg/src/misc.c:1251:27: note: Assuming allocation function fails tar-1.35+dfsg/src/misc.c:1251:27: note: Assignment 'buf=xmalloc(sizeof(*buf))', assigned value is 0 tar-1.35+dfsg/src/misc.c:1256:17: note: Null pointer dereference tar-1.35+dfsg/src/misc.c:1256:29: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] tar-1.35+dfsg/src/misc.c:1251:27: note: Assuming allocation function fails tar-1.35+dfsg/src/misc.c:1251:27: note: Assignment 'buf=xmalloc(sizeof(*buf))', assigned value is 0 tar-1.35+dfsg/src/misc.c:1256:29: note: Null pointer dereference tar-1.35+dfsg/src/misc.c:281:26: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tar-1.35+dfsg/src/misc.c:346:20: note: Assuming allocation function fails tar-1.35+dfsg/src/misc.c:346:20: note: Assignment 'copy=xstrdup(name)', assigned value is 0 tar-1.35+dfsg/src/misc.c:345:7: note: Assuming condition is true tar-1.35+dfsg/src/misc.c:347:25: note: Calling function 'normalize_filename_x', 1st argument 'copy' value is 0 tar-1.35+dfsg/src/misc.c:281:26: note: Null pointer addition tar-1.35+dfsg/src/misc.c:342:20: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tar-1.35+dfsg/src/misc.c:339:22: note: Assuming allocation function fails tar-1.35+dfsg/src/misc.c:339:22: note: Assignment 'copy=xmalloc(copylen+need_separator+strlen(name)+1)', assigned value is 0 tar-1.35+dfsg/src/misc.c:342:20: note: Null pointer addition tar-1.35+dfsg/src/misc.c:1221:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tar-1.35+dfsg/src/misc.c:1235:18: note: Assuming allocation function fails tar-1.35+dfsg/src/misc.c:1235:18: note: Assignment '*ptr=xmalloc(size1)', assigned value is 0 tar-1.35+dfsg/src/misc.c:1236:21: note: Calling function 'ptr_align', 1st argument '*ptr' value is 0 tar-1.35+dfsg/src/misc.c:1220:14: note: Assignment 'p0=ptr', assigned value is 0 tar-1.35+dfsg/src/misc.c:1221:17: note: Null pointer addition tar-1.35+dfsg/src/misc.c:293:7: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] tar-1.35+dfsg/src/misc.c:951:4: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] tar-1.35+dfsg/src/misc.c:154:23: style:inconclusive: Function 'unquote_string' argument 1 names different: declaration 'str' definition 'string'. [funcArgNamesDifferent] tar-1.35+dfsg/src/common.h:645:27: note: Function 'unquote_string' argument 1 names different: declaration 'str' definition 'string'. tar-1.35+dfsg/src/misc.c:154:23: note: Function 'unquote_string' argument 1 names different: declaration 'str' definition 'string'. tar-1.35+dfsg/src/misc.c:279:29: style:inconclusive: Function 'normalize_filename_x' argument 1 names different: declaration 'name' definition 'file_name'. [funcArgNamesDifferent] tar-1.35+dfsg/src/common.h:648:34: note: Function 'normalize_filename_x' argument 1 names different: declaration 'name' definition 'file_name'. tar-1.35+dfsg/src/misc.c:279:29: note: Function 'normalize_filename_x' argument 1 names different: declaration 'name' definition 'file_name'. tar-1.35+dfsg/src/misc.c:383:24: style:inconclusive: Function 'sysinttostr' argument 1 names different: declaration '' definition 'value'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/src/misc.c:383:40: style:inconclusive: Function 'sysinttostr' argument 2 names different: declaration '' definition 'minval'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/src/misc.c:383:58: style:inconclusive: Function 'sysinttostr' argument 3 names different: declaration '' definition 'maxval'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/src/misc.c:412:26: style:inconclusive: Function 'strtosysint' argument 1 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/src/misc.c:412:38: style:inconclusive: Function 'strtosysint' argument 2 names different: declaration '' definition 'arglim'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/src/misc.c:412:55: style:inconclusive: Function 'strtosysint' argument 3 names different: declaration '' definition 'minval'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/src/misc.c:412:73: style:inconclusive: Function 'strtosysint' argument 4 names different: declaration '' definition 'maxval'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/src/misc.c:476:32: style:inconclusive: Function 'code_timespec' argument 1 names different: declaration 'ts' definition 't'. [funcArgNamesDifferent] tar-1.35+dfsg/src/common.h:689:44: note: Function 'code_timespec' argument 1 names different: declaration 'ts' definition 't'. tar-1.35+dfsg/src/misc.c:476:32: note: Function 'code_timespec' argument 1 names different: declaration 'ts' definition 't'. tar-1.35+dfsg/src/misc.c:501:30: style:inconclusive: Function 'decode_timespec' argument 1 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/src/misc.c:501:42: style:inconclusive: Function 'decode_timespec' argument 2 names different: declaration '' definition 'arg_lim'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/src/misc.c:501:56: style:inconclusive: Function 'decode_timespec' argument 3 names different: declaration '' definition 'parse_fraction'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/src/misc.c:586:35: style:inconclusive: Function 'must_be_dot_or_slash' argument 1 names different: declaration '' definition 'file_name'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/src/misc.c:977:15: style:inconclusive: Function 'chdir_do' argument 1 names different: declaration 'dir' definition 'i'. [funcArgNamesDifferent] tar-1.35+dfsg/src/common.h:728:20: note: Function 'chdir_do' argument 1 names different: declaration 'dir' definition 'i'. tar-1.35+dfsg/src/misc.c:977:15: note: Function 'chdir_do' argument 1 names different: declaration 'dir' definition 'i'. tar-1.35+dfsg/src/misc.c:1045:20: style:inconclusive: Function 'tar_getcdpath' argument 1 names different: declaration '' definition 'idx'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/src/misc.c:1279:28: style:inconclusive: Function 'namebuf_add_dir' argument 1 names different: declaration '' definition 'buf'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/src/misc.c:1279:45: style:inconclusive: Function 'namebuf_add_dir' argument 2 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/src/misc.c:1292:27: style:inconclusive: Function 'namebuf_finish' argument 1 names different: declaration '' definition 'buf'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/src/misc.c:1221:9: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/misc.c:1281:15: style: Variable 'dirsep' can be declared as const array [constVariable] tar-1.35+dfsg/src/xheader.c:974:12: style: Condition 'size!=p' is always false [knownConditionTrueFalse] tar-1.35+dfsg/src/xheader.c:973:8: note: size is assigned 'p' here. tar-1.35+dfsg/src/xheader.c:974:12: note: Condition 'size!=p' is always false tar-1.35+dfsg/src/xheader.c:232:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] tar-1.35+dfsg/src/xheader.c:232:53: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] tar-1.35+dfsg/src/xheader.c:136:3: warning: If memory allocation fails, then there is a possible null pointer dereference: kp [nullPointerOutOfMemory] tar-1.35+dfsg/src/xheader.c:135:37: note: Assuming allocation function fails tar-1.35+dfsg/src/xheader.c:135:37: note: Assignment 'kp=xmalloc(sizeof(*kp))', assigned value is 0 tar-1.35+dfsg/src/xheader.c:136:3: note: Null pointer dereference tar-1.35+dfsg/src/xheader.c:137:3: warning: If memory allocation fails, then there is a possible null pointer dereference: kp [nullPointerOutOfMemory] tar-1.35+dfsg/src/xheader.c:135:37: note: Assuming allocation function fails tar-1.35+dfsg/src/xheader.c:135:37: note: Assignment 'kp=xmalloc(sizeof(*kp))', assigned value is 0 tar-1.35+dfsg/src/xheader.c:137:3: note: Null pointer dereference tar-1.35+dfsg/src/xheader.c:138:3: warning: If memory allocation fails, then there is a possible null pointer dereference: kp [nullPointerOutOfMemory] tar-1.35+dfsg/src/xheader.c:135:37: note: Assuming allocation function fails tar-1.35+dfsg/src/xheader.c:135:37: note: Assignment 'kp=xmalloc(sizeof(*kp))', assigned value is 0 tar-1.35+dfsg/src/xheader.c:138:3: note: Null pointer dereference tar-1.35+dfsg/src/xheader.c:409:14: warning: If memory allocation fails, then there is a possible null pointer dereference: globexthdr_name [nullPointerOutOfMemory] tar-1.35+dfsg/src/xheader.c:408:33: note: Assuming allocation function fails tar-1.35+dfsg/src/xheader.c:408:33: note: Assignment 'globexthdr_name=xmalloc(len)', assigned value is 0 tar-1.35+dfsg/src/xheader.c:409:14: note: Null pointer dereference tar-1.35+dfsg/src/xheader.c:410:14: warning: If memory allocation fails, then there is a possible null pointer dereference: globexthdr_name [nullPointerOutOfMemory] tar-1.35+dfsg/src/xheader.c:408:33: note: Assuming allocation function fails tar-1.35+dfsg/src/xheader.c:408:33: note: Assignment 'globexthdr_name=xmalloc(len)', assigned value is 0 tar-1.35+dfsg/src/xheader.c:410:14: note: Null pointer dereference tar-1.35+dfsg/src/xheader.c:505:12: warning: If memory allocation fails, then there is a possible null pointer dereference: kpr [nullPointerOutOfMemory] tar-1.35+dfsg/src/xheader.c:1656:18: note: Assuming allocation function fails tar-1.35+dfsg/src/xheader.c:1656:18: note: Assignment 'xkey=xstrdup(keyword)', assigned value is 0 tar-1.35+dfsg/src/xheader.c:1658:25: note: Calling function 'xattr_decode_keyword', 1st argument 'xkey' value is 0 tar-1.35+dfsg/src/xheader.c:501:0: note: Assignment 'kpr=keyword', assigned value is 0 tar-1.35+dfsg/src/xheader.c:505:12: note: Null pointer dereference tar-1.35+dfsg/src/xheader.c:507:15: warning: If memory allocation fails, then there is a possible null pointer dereference: kpr [nullPointerOutOfMemory] tar-1.35+dfsg/src/xheader.c:1656:18: note: Assuming allocation function fails tar-1.35+dfsg/src/xheader.c:1656:18: note: Assignment 'xkey=xstrdup(keyword)', assigned value is 0 tar-1.35+dfsg/src/xheader.c:1658:25: note: Calling function 'xattr_decode_keyword', 1st argument 'xkey' value is 0 tar-1.35+dfsg/src/xheader.c:501:0: note: Assignment 'kpr=keyword', assigned value is 0 tar-1.35+dfsg/src/xheader.c:505:16: note: Assuming condition is true tar-1.35+dfsg/src/xheader.c:507:15: note: Null pointer dereference tar-1.35+dfsg/src/xheader.c:523:8: warning: If memory allocation fails, then there is a possible null pointer dereference: kpl [nullPointerOutOfMemory] tar-1.35+dfsg/src/xheader.c:1656:18: note: Assuming allocation function fails tar-1.35+dfsg/src/xheader.c:1656:18: note: Assignment 'xkey=xstrdup(keyword)', assigned value is 0 tar-1.35+dfsg/src/xheader.c:1658:25: note: Calling function 'xattr_decode_keyword', 1st argument 'xkey' value is 0 tar-1.35+dfsg/src/xheader.c:501:15: note: Assignment 'kpl=keyword', assigned value is 0 tar-1.35+dfsg/src/xheader.c:505:16: note: Assuming condition is false tar-1.35+dfsg/src/xheader.c:523:8: note: Null pointer dereference tar-1.35+dfsg/src/xheader.c:523:15: warning: If memory allocation fails, then there is a possible null pointer dereference: kpr [nullPointerOutOfMemory] tar-1.35+dfsg/src/xheader.c:1656:18: note: Assuming allocation function fails tar-1.35+dfsg/src/xheader.c:1656:18: note: Assignment 'xkey=xstrdup(keyword)', assigned value is 0 tar-1.35+dfsg/src/xheader.c:1658:25: note: Calling function 'xattr_decode_keyword', 1st argument 'xkey' value is 0 tar-1.35+dfsg/src/xheader.c:501:0: note: Assignment 'kpr=keyword', assigned value is 0 tar-1.35+dfsg/src/xheader.c:505:16: note: Assuming condition is false tar-1.35+dfsg/src/xheader.c:523:15: note: Null pointer dereference tar-1.35+dfsg/src/xheader.c:525:12: warning: If memory allocation fails, then there is a possible null pointer dereference: kpr [nullPointerOutOfMemory] tar-1.35+dfsg/src/xheader.c:1656:18: note: Assuming allocation function fails tar-1.35+dfsg/src/xheader.c:1656:18: note: Assignment 'xkey=xstrdup(keyword)', assigned value is 0 tar-1.35+dfsg/src/xheader.c:1658:25: note: Calling function 'xattr_decode_keyword', 1st argument 'xkey' value is 0 tar-1.35+dfsg/src/xheader.c:501:0: note: Assignment 'kpr=keyword', assigned value is 0 tar-1.35+dfsg/src/xheader.c:505:16: note: Assuming condition is false tar-1.35+dfsg/src/xheader.c:525:12: note: Null pointer dereference tar-1.35+dfsg/src/xheader.c:803:33: warning: Either the condition '!p' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] tar-1.35+dfsg/src/xheader.c:800:11: note: Assuming that condition '!p' is not redundant tar-1.35+dfsg/src/xheader.c:803:33: note: Null pointer dereference tar-1.35+dfsg/src/xheader.c:899:50: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] tar-1.35+dfsg/src/xheader.c:1018:24: note: Assuming allocation function fails tar-1.35+dfsg/src/xheader.c:1018:24: note: Assignment 'outstr=xstrdup(string)', assigned value is 0 tar-1.35+dfsg/src/xheader.c:1015:7: note: Assuming condition is true tar-1.35+dfsg/src/xheader.c:1020:33: note: Calling function 'xheader_print', 3rd argument 'outstr' value is 0 tar-1.35+dfsg/src/xheader.c:899:50: note: Null pointer dereference tar-1.35+dfsg/src/xheader.c:437:27: style: Variable 'header' is reassigned a value before the old one has been used. [redundantAssignment] tar-1.35+dfsg/src/xheader.c:436:10: note: header is assigned tar-1.35+dfsg/src/xheader.c:437:27: note: header is overwritten tar-1.35+dfsg/src/xheader.c:639:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] tar-1.35+dfsg/src/xheader.c:709:2: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] tar-1.35+dfsg/src/xheader.c:745:2: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] tar-1.35+dfsg/src/xheader.c:700:39: style:inconclusive: Function 'xheader_decode' argument 1 names different: declaration 'stat' definition 'st'. [funcArgNamesDifferent] tar-1.35+dfsg/src/common.h:875:44: note: Function 'xheader_decode' argument 1 names different: declaration 'stat' definition 'st'. tar-1.35+dfsg/src/xheader.c:700:39: note: Function 'xheader_decode' argument 1 names different: declaration 'stat' definition 'st'. tar-1.35+dfsg/src/xheader.c:778:50: style:inconclusive: Function 'xheader_read' argument 2 names different: declaration 'header' definition 'p'. [funcArgNamesDifferent] tar-1.35+dfsg/src/common.h:879:55: note: Function 'xheader_read' argument 2 names different: declaration 'header' definition 'p'. tar-1.35+dfsg/src/xheader.c:778:50: note: Function 'xheader_read' argument 2 names different: declaration 'header' definition 'p'. tar-1.35+dfsg/src/xheader.c:903:33: style:inconclusive: Function 'xheader_finish' argument 1 names different: declaration 'hdr' definition 'xhdr'. [funcArgNamesDifferent] tar-1.35+dfsg/src/common.h:883:38: note: Function 'xheader_finish' argument 1 names different: declaration 'hdr' definition 'xhdr'. tar-1.35+dfsg/src/xheader.c:903:33: note: Function 'xheader_finish' argument 1 names different: declaration 'hdr' definition 'xhdr'. tar-1.35+dfsg/src/xheader.c:914:34: style:inconclusive: Function 'xheader_destroy' argument 1 names different: declaration 'hdr' definition 'xhdr'. [funcArgNamesDifferent] tar-1.35+dfsg/src/common.h:884:39: note: Function 'xheader_destroy' argument 1 names different: declaration 'hdr' definition 'xhdr'. tar-1.35+dfsg/src/xheader.c:914:34: note: Function 'xheader_destroy' argument 1 names different: declaration 'hdr' definition 'xhdr'. tar-1.35+dfsg/src/xheader.c:112:24: style: Variable 'kp' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/xheader.c:123:24: style: Variable 'kp' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/xheader.c:263:9: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/xheader.c:264:9: style: Variable 'base' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/xheader.c:417:33: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/src/xheader.c:470:28: style: Variable 'kp' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/xheader.c:603:32: style: Parameter 'xhdr' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/src/xheader.c:905:24: style: Variable 'kp' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/xheader.c:1126:36: style: Parameter 'xhdr' can be declared as pointer to const. However it seems that 'dummy_coder' is a callback function, if 'xhdr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tar-1.35+dfsg/src/xheader.c:1704:17: note: You might need to cast the function pointer here tar-1.35+dfsg/src/xheader.c:1126:36: note: Parameter 'xhdr' can be declared as pointer to const tar-1.35+dfsg/src/xheader.c:1132:51: style: Parameter 'st' can be declared as pointer to const. However it seems that 'dummy_decoder' is a callback function, if 'st' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tar-1.35+dfsg/src/xheader.c:1704:33: note: You might need to cast the function pointer here tar-1.35+dfsg/src/xheader.c:1132:51: note: Parameter 'st' can be declared as pointer to const tar-1.35+dfsg/src/buffer.c:155:7: warning: If memory allocation fails, then there is a possible null pointer dereference: bp [nullPointerOutOfMemory] tar-1.35+dfsg/src/buffer.c:148:35: note: Assuming allocation function fails tar-1.35+dfsg/src/buffer.c:148:35: note: Assignment 'bp=xmalloc(sizeof(bp[0]))', assigned value is 0 tar-1.35+dfsg/src/buffer.c:155:7: note: Null pointer dereference tar-1.35+dfsg/src/buffer.c:156:7: warning: If memory allocation fails, then there is a possible null pointer dereference: bp [nullPointerOutOfMemory] tar-1.35+dfsg/src/buffer.c:148:35: note: Assuming allocation function fails tar-1.35+dfsg/src/buffer.c:148:35: note: Assignment 'bp=xmalloc(sizeof(bp[0]))', assigned value is 0 tar-1.35+dfsg/src/buffer.c:156:7: note: Null pointer dereference tar-1.35+dfsg/src/buffer.c:157:7: warning: If memory allocation fails, then there is a possible null pointer dereference: bp [nullPointerOutOfMemory] tar-1.35+dfsg/src/buffer.c:148:35: note: Assuming allocation function fails tar-1.35+dfsg/src/buffer.c:148:35: note: Assignment 'bp=xmalloc(sizeof(bp[0]))', assigned value is 0 tar-1.35+dfsg/src/buffer.c:157:7: note: Null pointer dereference tar-1.35+dfsg/src/buffer.c:158:7: warning: If memory allocation fails, then there is a possible null pointer dereference: bp [nullPointerOutOfMemory] tar-1.35+dfsg/src/buffer.c:148:35: note: Assuming allocation function fails tar-1.35+dfsg/src/buffer.c:148:35: note: Assignment 'bp=xmalloc(sizeof(bp[0]))', assigned value is 0 tar-1.35+dfsg/src/buffer.c:158:7: note: Null pointer dereference tar-1.35+dfsg/src/buffer.c:159:7: warning: If memory allocation fails, then there is a possible null pointer dereference: bp [nullPointerOutOfMemory] tar-1.35+dfsg/src/buffer.c:148:35: note: Assuming allocation function fails tar-1.35+dfsg/src/buffer.c:148:35: note: Assignment 'bp=xmalloc(sizeof(bp[0]))', assigned value is 0 tar-1.35+dfsg/src/buffer.c:159:7: note: Null pointer dereference tar-1.35+dfsg/src/buffer.c:160:7: warning: If memory allocation fails, then there is a possible null pointer dereference: bp [nullPointerOutOfMemory] tar-1.35+dfsg/src/buffer.c:148:35: note: Assuming allocation function fails tar-1.35+dfsg/src/buffer.c:148:35: note: Assignment 'bp=xmalloc(sizeof(bp[0]))', assigned value is 0 tar-1.35+dfsg/src/buffer.c:160:7: note: Null pointer dereference tar-1.35+dfsg/src/buffer.c:1589:12: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] tar-1.35+dfsg/src/buffer.c:1588:22: note: Assuming allocation function fails tar-1.35+dfsg/src/buffer.c:1588:22: note: Assignment 's=xmalloc((len=p-label)+1)', assigned value is 0 tar-1.35+dfsg/src/buffer.c:1589:12: note: Null pointer dereference tar-1.35+dfsg/src/buffer.c:1590:4: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] tar-1.35+dfsg/src/buffer.c:1588:22: note: Assuming allocation function fails tar-1.35+dfsg/src/buffer.c:1588:22: note: Assignment 's=xmalloc((len=p-label)+1)', assigned value is 0 tar-1.35+dfsg/src/buffer.c:1590:4: note: Null pointer dereference tar-1.35+dfsg/src/buffer.c:1635:11: warning: Either the condition '!label' is redundant or there is possible null pointer dereference: label. [nullPointerRedundantCheck] tar-1.35+dfsg/src/buffer.c:1632:11: note: Assuming that condition '!label' is not redundant tar-1.35+dfsg/src/buffer.c:1635:11: note: Null pointer dereference tar-1.35+dfsg/src/buffer.c:1639:16: warning: Either the condition '!label' is redundant or there is possible null pointer dereference: label. [nullPointerRedundantCheck] tar-1.35+dfsg/src/buffer.c:1632:11: note: Assuming that condition '!label' is not redundant tar-1.35+dfsg/src/buffer.c:1639:16: note: Null pointer dereference tar-1.35+dfsg/src/buffer.c:1713:25: style: Variable 'st.orig_file_name' is reassigned a value before the old one has been used. [redundantAssignment] tar-1.35+dfsg/src/buffer.c:1709:25: note: st.orig_file_name is assigned tar-1.35+dfsg/src/buffer.c:1713:25: note: st.orig_file_name is overwritten tar-1.35+dfsg/src/buffer.c:2020:32: style:inconclusive: Function 'open_archive' argument 1 names different: declaration 'mode' definition 'wanted_access'. [funcArgNamesDifferent] tar-1.35+dfsg/src/common.h:467:37: note: Function 'open_archive' argument 1 names different: declaration 'mode' definition 'wanted_access'. tar-1.35+dfsg/src/buffer.c:2020:32: note: Function 'open_archive' argument 1 names different: declaration 'mode' definition 'wanted_access'. tar-1.35+dfsg/src/buffer.c:178:29: style: Parameter 'mark' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/src/buffer.c:217:38: style: Parameter 'st' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/src/buffer.c:621:36: style: Parameter 'block' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/src/buffer.c:639:37: style: Parameter 'pointer' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/src/buffer.c:1692:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/gnu/fnmatch_loop.c:925:38: style: Condition 'n!=string_end' is always true [knownConditionTrueFalse] tar-1.35+dfsg/gnu/fnmatch_loop.c:1109:36: style: Condition 'rs==string' is always false [knownConditionTrueFalse] tar-1.35+dfsg/gnu/fnmatch_loop.c:934:18: style:inconclusive: Function 'END' argument 1 names different: declaration 'patternp' definition 'pattern'. [funcArgNamesDifferent] tar-1.35+dfsg/gnu/fnmatch_loop.c:37:37: note: Function 'END' argument 1 names different: declaration 'patternp' definition 'pattern'. tar-1.35+dfsg/gnu/fnmatch_loop.c:934:18: note: Function 'END' argument 1 names different: declaration 'patternp' definition 'pattern'. tar-1.35+dfsg/gnu/fnmatch_loop.c:1096:44: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] tar-1.35+dfsg/gnu/fnmatch_loop.c:1105:26: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] tar-1.35+dfsg/gnu/fnmatch_loop.c:1113:33: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] tar-1.35+dfsg/gnu/fnmatch_loop.c:1137:40: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] tar-1.35+dfsg/gnu/fnmatch_loop.c:1154:44: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] tar-1.35+dfsg/gnu/fnmatch_loop.c:1164:46: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] tar-1.35+dfsg/gnu/fnmatch_loop.c:1150:31: style: Variable 'runp' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/names.c:486:16: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] tar-1.35+dfsg/src/names.c:516:15: portability: Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'. [prohibitedgetgrgidCalled] tar-1.35+dfsg/src/names.c:546:16: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] tar-1.35+dfsg/src/names.c:576:15: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] tar-1.35+dfsg/src/names.c:686:3: warning: If memory allocation fails, then there is a possible null pointer dereference: elt [nullPointerOutOfMemory] tar-1.35+dfsg/src/names.c:677:17: note: Assuming allocation function fails tar-1.35+dfsg/src/names.c:677:17: note: Assignment 'elt=xmalloc(sizeof(*elt))', assigned value is 0 tar-1.35+dfsg/src/names.c:678:7: note: Assuming condition is false tar-1.35+dfsg/src/names.c:686:3: note: Null pointer dereference tar-1.35+dfsg/src/names.c:689:3: warning: If memory allocation fails, then there is a possible null pointer dereference: elt [nullPointerOutOfMemory] tar-1.35+dfsg/src/names.c:683:21: note: Assuming allocation function fails tar-1.35+dfsg/src/names.c:683:21: note: Assignment 'elt=xmalloc(sizeof(*elt))', assigned value is 0 tar-1.35+dfsg/src/names.c:678:7: note: Assuming condition is true tar-1.35+dfsg/src/names.c:689:3: note: Null pointer dereference tar-1.35+dfsg/src/names.c:927:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tar-1.35+dfsg/src/names.c:926:15: note: Assuming allocation function fails tar-1.35+dfsg/src/names.c:926:15: note: Assignment 'p=xmalloc(sizeof(*p))', assigned value is 0 tar-1.35+dfsg/src/names.c:927:3: note: Null pointer dereference tar-1.35+dfsg/src/names.c:928:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tar-1.35+dfsg/src/names.c:926:15: note: Assuming allocation function fails tar-1.35+dfsg/src/names.c:926:15: note: Assignment 'p=xmalloc(sizeof(*p))', assigned value is 0 tar-1.35+dfsg/src/names.c:928:3: note: Null pointer dereference tar-1.35+dfsg/src/names.c:929:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tar-1.35+dfsg/src/names.c:926:15: note: Assuming allocation function fails tar-1.35+dfsg/src/names.c:926:15: note: Assignment 'p=xmalloc(sizeof(*p))', assigned value is 0 tar-1.35+dfsg/src/names.c:929:3: note: Null pointer dereference tar-1.35+dfsg/src/names.c:930:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tar-1.35+dfsg/src/names.c:926:15: note: Assuming allocation function fails tar-1.35+dfsg/src/names.c:926:15: note: Assignment 'p=xmalloc(sizeof(*p))', assigned value is 0 tar-1.35+dfsg/src/names.c:930:3: note: Null pointer dereference tar-1.35+dfsg/src/names.c:1624:15: warning: If memory allocation fails, then there is a possible null pointer dereference: namebuf [nullPointerOutOfMemory] tar-1.35+dfsg/src/names.c:1619:31: note: Assuming allocation function fails tar-1.35+dfsg/src/names.c:1619:31: note: Assignment 'namebuf=xmalloc(allocated_length)', assigned value is 0 tar-1.35+dfsg/src/names.c:1624:15: note: Null pointer dereference tar-1.35+dfsg/src/names.c:1625:22: warning: If memory allocation fails, then there is a possible null pointer dereference: namebuf [nullPointerOutOfMemory] tar-1.35+dfsg/src/names.c:1619:31: note: Assuming allocation function fails tar-1.35+dfsg/src/names.c:1619:31: note: Assignment 'namebuf=xmalloc(allocated_length)', assigned value is 0 tar-1.35+dfsg/src/names.c:1625:22: note: Null pointer dereference tar-1.35+dfsg/src/names.c:1723:15: warning: If memory allocation fails, then there is a possible null pointer dereference: newp [nullPointerOutOfMemory] tar-1.35+dfsg/src/names.c:1722:28: note: Assuming allocation function fails tar-1.35+dfsg/src/names.c:1722:28: note: Assignment 'newp=xmalloc(size+1)', assigned value is 0 tar-1.35+dfsg/src/names.c:1723:15: note: Null pointer dereference tar-1.35+dfsg/src/names.c:1724:15: warning: If memory allocation fails, then there is a possible null pointer dereference: newp [nullPointerOutOfMemory] tar-1.35+dfsg/src/names.c:1722:28: note: Assuming allocation function fails tar-1.35+dfsg/src/names.c:1722:28: note: Assignment 'newp=xmalloc(size+1)', assigned value is 0 tar-1.35+dfsg/src/names.c:1724:15: note: Null pointer dereference tar-1.35+dfsg/src/names.c:1956:11: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] tar-1.35+dfsg/src/names.c:1955:26: note: Assuming allocation function fails tar-1.35+dfsg/src/names.c:1955:26: note: Assignment 'buffer=xmalloc(dirlen+slash+namelen)', assigned value is 0 tar-1.35+dfsg/src/names.c:1956:11: note: Null pointer dereference tar-1.35+dfsg/src/names.c:1957:3: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] tar-1.35+dfsg/src/names.c:1955:26: note: Assuming allocation function fails tar-1.35+dfsg/src/names.c:1955:26: note: Assignment 'buffer=xmalloc(dirlen+slash+namelen)', assigned value is 0 tar-1.35+dfsg/src/names.c:1957:3: note: Null pointer dereference tar-1.35+dfsg/src/names.c:1958:18: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tar-1.35+dfsg/src/names.c:1955:26: note: Assuming allocation function fails tar-1.35+dfsg/src/names.c:1955:26: note: Assignment 'buffer=xmalloc(dirlen+slash+namelen)', assigned value is 0 tar-1.35+dfsg/src/names.c:1958:18: note: Null pointer addition tar-1.35+dfsg/src/names.c:1537:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] tar-1.35+dfsg/src/names.c:534:41: style:inconclusive: Function 'uname_to_uid' argument 2 names different: declaration 'puid' definition 'uidp'. [funcArgNamesDifferent] tar-1.35+dfsg/src/common.h:773:45: note: Function 'uname_to_uid' argument 2 names different: declaration 'puid' definition 'uidp'. tar-1.35+dfsg/src/names.c:534:41: note: Function 'uname_to_uid' argument 2 names different: declaration 'puid' definition 'uidp'. tar-1.35+dfsg/src/names.c:564:41: style:inconclusive: Function 'gname_to_gid' argument 2 names different: declaration 'pgid' definition 'gidp'. [funcArgNamesDifferent] tar-1.35+dfsg/src/common.h:771:45: note: Function 'gname_to_gid' argument 2 names different: declaration 'pgid' definition 'gidp'. tar-1.35+dfsg/src/names.c:564:41: note: Function 'gname_to_gid' argument 2 names different: declaration 'pgid' definition 'gidp'. tar-1.35+dfsg/src/names.c:1319:25: style:inconclusive: Function 'name_match' argument 1 names different: declaration 'name' definition 'file_name'. [funcArgNamesDifferent] tar-1.35+dfsg/src/common.h:784:30: note: Function 'name_match' argument 1 names different: declaration 'name' definition 'file_name'. tar-1.35+dfsg/src/names.c:1319:25: note: Function 'name_match' argument 1 names different: declaration 'name' definition 'file_name'. tar-1.35+dfsg/src/names.c:1383:40: style:inconclusive: Function 'all_names_found' argument 1 names different: declaration 'st' definition 'p'. [funcArgNamesDifferent] tar-1.35+dfsg/src/common.h:793:45: note: Function 'all_names_found' argument 1 names different: declaration 'st' definition 'p'. tar-1.35+dfsg/src/names.c:1383:40: note: Function 'all_names_found' argument 1 names different: declaration 'st' definition 'p'. tar-1.35+dfsg/src/names.c:1888:24: style:inconclusive: Function 'name_scan' argument 1 names different: declaration 'name' definition 'file_name'. [funcArgNamesDifferent] tar-1.35+dfsg/src/common.h:788:37: note: Function 'name_scan' argument 1 names different: declaration 'name' definition 'file_name'. tar-1.35+dfsg/src/names.c:1888:24: note: Function 'name_scan' argument 1 names different: declaration 'name' definition 'file_name'. tar-1.35+dfsg/src/names.c:1950:29: style:inconclusive: Function 'make_file_name' argument 1 names different: declaration 'dir_name' definition 'directory_name'. [funcArgNamesDifferent] tar-1.35+dfsg/src/common.h:791:35: note: Function 'make_file_name' argument 1 names different: declaration 'dir_name' definition 'directory_name'. tar-1.35+dfsg/src/names.c:1950:29: note: Function 'make_file_name' argument 1 names different: declaration 'dir_name' definition 'directory_name'. tar-1.35+dfsg/src/names.c:187:33: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'names_parse_opt' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tar-1.35+dfsg/src/names.c:441:3: note: You might need to cast the function pointer here tar-1.35+dfsg/src/names.c:187:33: note: Parameter 'arg' can be declared as pointer to const tar-1.35+dfsg/src/names.c:187:57: style: Parameter 'state' can be declared as pointer to const. However it seems that 'names_parse_opt' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tar-1.35+dfsg/src/names.c:441:3: note: You might need to cast the function pointer here tar-1.35+dfsg/src/names.c:187:57: note: Parameter 'state' can be declared as pointer to const tar-1.35+dfsg/src/names.c:566:17: style: Variable 'group' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/names.c:1179:20: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/names.c:1717:9: style: Variable 'new_prefix' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/sparse.c:301:40: error: Invalid lseek() argument nr 3. The value is 3 but the valid values are '0:2'. [invalidFunctionArg] tar-1.35+dfsg/src/sparse.c:317:45: error: Invalid lseek() argument nr 3. The value is 4 but the valid values are '0:2'. [invalidFunctionArg] tar-1.35+dfsg/src/sparse.c:1311:11: warning: Either the condition '!blk' is redundant or there is possible null pointer dereference: blk. [nullPointerRedundantCheck] tar-1.35+dfsg/src/sparse.c:1309:11: note: Assuming that condition '!blk' is not redundant tar-1.35+dfsg/src/sparse.c:1311:11: note: Null pointer dereference tar-1.35+dfsg/src/sparse.c:1312:7: warning: Either the condition '!blk' is redundant or there is possible null pointer dereference: blk. [nullPointerRedundantCheck] tar-1.35+dfsg/src/sparse.c:1309:11: note: Assuming that condition '!blk' is not redundant tar-1.35+dfsg/src/sparse.c:1312:7: note: Null pointer dereference tar-1.35+dfsg/src/sparse.c:1312:7: warning: Either the condition '!blk' is redundant or there is possible null pointer dereference: blk. [nullPointerRedundantCheck] tar-1.35+dfsg/src/sparse.c:1312:7: note: Assuming that condition '!blk' is not redundant tar-1.35+dfsg/src/sparse.c:1312:7: note: Null pointer dereference tar-1.35+dfsg/src/sparse.c:1327:4: warning: Either the condition '!blk' is redundant or there is possible null pointer dereference: blk. [nullPointerRedundantCheck] tar-1.35+dfsg/src/sparse.c:1327:4: note: Assuming that condition '!blk' is not redundant tar-1.35+dfsg/src/sparse.c:1327:4: note: Null pointer dereference tar-1.35+dfsg/src/sparse.c:1335:4: warning: Either the condition '!blk' is redundant or there is possible null pointer dereference: blk. [nullPointerRedundantCheck] tar-1.35+dfsg/src/sparse.c:1335:4: note: Assuming that condition '!blk' is not redundant tar-1.35+dfsg/src/sparse.c:1335:4: note: Null pointer dereference tar-1.35+dfsg/src/sparse.c:880:24: style: Variable 'blk' is reassigned a value before the old one has been used. [redundantAssignment] tar-1.35+dfsg/src/sparse.c:879:7: note: blk is assigned tar-1.35+dfsg/src/sparse.c:880:24: note: blk is overwritten tar-1.35+dfsg/src/sparse.c:520:23: style:inconclusive: Function 'sparse_dump_file' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/src/sparse.c:722:23: style:inconclusive: Function 'sparse_diff_file' argument 1 names different: declaration '' definition 'fd'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/src/sparse.c:782:62: style: Parameter 'file' can be declared as pointer to const. However it seems that 'oldgnu_sparse_member_p' is a callback function, if 'file' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tar-1.35+dfsg/src/sparse.c:913:3: note: You might need to cast the function pointer here tar-1.35+dfsg/src/sparse.c:782:62: note: Parameter 'file' can be declared as pointer to const tar-1.35+dfsg/src/sparse.c:789:65: style: Parameter 's' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/src/sparse.c:859:51: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/src/sparse.c:926:60: style: Parameter 'file' can be declared as pointer to const. However it seems that 'star_sparse_member_p' is a callback function, if 'file' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tar-1.35+dfsg/src/sparse.c:995:3: note: You might need to cast the function pointer here tar-1.35+dfsg/src/sparse.c:926:60: note: Parameter 'file' can be declared as pointer to const tar-1.35+dfsg/src/sparse.c:1164:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/sparse.c:1222:3: style: Variable 'endp' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/sparse.c:1223:3: style: Variable 'endp' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/sparse.c:1227:7: style: Variable 'endp' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/sparse.c:1228:7: style: Variable 'endp' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/sparse.c:1230:7: style: Variable 'endp' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/sparse.c:1231:7: style: Variable 'endp' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/sparse.c:1275:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/sparse.c:1312:7: style: Variable 'endp' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/sparse.c:1327:4: style: Variable 'endp' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/sparse.c:1335:4: style: Variable 'endp' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/sparse.c:57:9: style: struct member 'tar_sparse_file::closure' is never used. [unusedStructMember] tar-1.35+dfsg/src/extract.c:214:31: style:inconclusive: Boolean expression 'da->dev==db->dev' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] tar-1.35+dfsg/src/extract.c:246:18: style: Condition 'result==0' is always false [knownConditionTrueFalse] tar-1.35+dfsg/src/extract.c:245:20: note: Assignment 'result=(errno=ENOSYS,-1)', assigned value is -1 tar-1.35+dfsg/src/extract.c:246:18: note: Condition 'result==0' is always false tar-1.35+dfsg/src/extract.c:295:18: style: Condition 'result==0' is always false [knownConditionTrueFalse] tar-1.35+dfsg/src/extract.c:294:20: note: Assignment 'result=(errno=ENOSYS,-1)', assigned value is -1 tar-1.35+dfsg/src/extract.c:295:18: note: Condition 'result==0' is always false tar-1.35+dfsg/src/extract.c:540:7: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] tar-1.35+dfsg/src/extract.c:539:22: note: Assuming allocation function fails tar-1.35+dfsg/src/extract.c:539:22: note: Assignment 'data=xmalloc(sizeof(*data))', assigned value is 0 tar-1.35+dfsg/src/extract.c:540:7: note: Null pointer dereference tar-1.35+dfsg/src/extract.c:542:7: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] tar-1.35+dfsg/src/extract.c:539:22: note: Assuming allocation function fails tar-1.35+dfsg/src/extract.c:539:22: note: Assignment 'data=xmalloc(sizeof(*data))', assigned value is 0 tar-1.35+dfsg/src/extract.c:542:7: note: Null pointer dereference tar-1.35+dfsg/src/extract.c:543:7: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] tar-1.35+dfsg/src/extract.c:539:22: note: Assuming allocation function fails tar-1.35+dfsg/src/extract.c:539:22: note: Assignment 'data=xmalloc(sizeof(*data))', assigned value is 0 tar-1.35+dfsg/src/extract.c:543:7: note: Null pointer dereference tar-1.35+dfsg/src/extract.c:544:7: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] tar-1.35+dfsg/src/extract.c:539:22: note: Assuming allocation function fails tar-1.35+dfsg/src/extract.c:539:22: note: Assignment 'data=xmalloc(sizeof(*data))', assigned value is 0 tar-1.35+dfsg/src/extract.c:544:7: note: Null pointer dereference tar-1.35+dfsg/src/extract.c:553:3: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] tar-1.35+dfsg/src/extract.c:539:22: note: Assuming allocation function fails tar-1.35+dfsg/src/extract.c:539:22: note: Assignment 'data=xmalloc(sizeof(*data))', assigned value is 0 tar-1.35+dfsg/src/extract.c:520:7: note: Assuming condition is false tar-1.35+dfsg/src/extract.c:553:3: note: Null pointer dereference tar-1.35+dfsg/src/extract.c:1446:7: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tar-1.35+dfsg/src/extract.c:1444:10: note: Assuming allocation function fails tar-1.35+dfsg/src/extract.c:1444:10: note: Assignment 'p=xmalloc(FLEXNSIZEOF(struct delayed_link,target,strlen(current_stat_info.link_name)+1))', assigned value is 0 tar-1.35+dfsg/src/extract.c:1446:7: note: Null pointer dereference tar-1.35+dfsg/src/extract.c:1447:7: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tar-1.35+dfsg/src/extract.c:1444:10: note: Assuming allocation function fails tar-1.35+dfsg/src/extract.c:1444:10: note: Assignment 'p=xmalloc(FLEXNSIZEOF(struct delayed_link,target,strlen(current_stat_info.link_name)+1))', assigned value is 0 tar-1.35+dfsg/src/extract.c:1447:7: note: Null pointer dereference tar-1.35+dfsg/src/extract.c:1448:7: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tar-1.35+dfsg/src/extract.c:1444:10: note: Assuming allocation function fails tar-1.35+dfsg/src/extract.c:1444:10: note: Assignment 'p=xmalloc(FLEXNSIZEOF(struct delayed_link,target,strlen(current_stat_info.link_name)+1))', assigned value is 0 tar-1.35+dfsg/src/extract.c:1448:7: note: Null pointer dereference tar-1.35+dfsg/src/extract.c:1452:7: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tar-1.35+dfsg/src/extract.c:1444:10: note: Assuming allocation function fails tar-1.35+dfsg/src/extract.c:1444:10: note: Assignment 'p=xmalloc(FLEXNSIZEOF(struct delayed_link,target,strlen(current_stat_info.link_name)+1))', assigned value is 0 tar-1.35+dfsg/src/extract.c:1452:7: note: Null pointer dereference tar-1.35+dfsg/src/extract.c:1461:7: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tar-1.35+dfsg/src/extract.c:1444:10: note: Assuming allocation function fails tar-1.35+dfsg/src/extract.c:1444:10: note: Assignment 'p=xmalloc(FLEXNSIZEOF(struct delayed_link,target,strlen(current_stat_info.link_name)+1))', assigned value is 0 tar-1.35+dfsg/src/extract.c:1461:7: note: Null pointer dereference tar-1.35+dfsg/src/extract.c:1462:7: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tar-1.35+dfsg/src/extract.c:1444:10: note: Assuming allocation function fails tar-1.35+dfsg/src/extract.c:1444:10: note: Assignment 'p=xmalloc(FLEXNSIZEOF(struct delayed_link,target,strlen(current_stat_info.link_name)+1))', assigned value is 0 tar-1.35+dfsg/src/extract.c:1462:7: note: Null pointer dereference tar-1.35+dfsg/src/extract.c:1464:7: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tar-1.35+dfsg/src/extract.c:1444:10: note: Assuming allocation function fails tar-1.35+dfsg/src/extract.c:1444:10: note: Assignment 'p=xmalloc(FLEXNSIZEOF(struct delayed_link,target,strlen(current_stat_info.link_name)+1))', assigned value is 0 tar-1.35+dfsg/src/extract.c:1464:7: note: Null pointer dereference tar-1.35+dfsg/src/extract.c:1464:8: warning: If memory allocation fails, then there is a possible null pointer dereference: p->sources [nullPointerOutOfMemory] tar-1.35+dfsg/src/extract.c:1462:28: note: Assuming allocation function fails tar-1.35+dfsg/src/extract.c:1462:28: note: Assignment 'p->sources=xmalloc(FLEXNSIZEOF(struct string_list,string,strlen(file_name)+1))', assigned value is 0 tar-1.35+dfsg/src/extract.c:1464:8: note: Null pointer dereference tar-1.35+dfsg/src/extract.c:1465:15: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tar-1.35+dfsg/src/extract.c:1444:10: note: Assuming allocation function fails tar-1.35+dfsg/src/extract.c:1444:10: note: Assignment 'p=xmalloc(FLEXNSIZEOF(struct delayed_link,target,strlen(current_stat_info.link_name)+1))', assigned value is 0 tar-1.35+dfsg/src/extract.c:1465:15: note: Null pointer dereference tar-1.35+dfsg/src/extract.c:1466:7: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tar-1.35+dfsg/src/extract.c:1444:10: note: Assuming allocation function fails tar-1.35+dfsg/src/extract.c:1444:10: note: Assignment 'p=xmalloc(FLEXNSIZEOF(struct delayed_link,target,strlen(current_stat_info.link_name)+1))', assigned value is 0 tar-1.35+dfsg/src/extract.c:1466:7: note: Null pointer dereference tar-1.35+dfsg/src/extract.c:1468:7: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tar-1.35+dfsg/src/extract.c:1444:10: note: Assuming allocation function fails tar-1.35+dfsg/src/extract.c:1444:10: note: Assignment 'p=xmalloc(FLEXNSIZEOF(struct delayed_link,target,strlen(current_stat_info.link_name)+1))', assigned value is 0 tar-1.35+dfsg/src/extract.c:1468:7: note: Null pointer dereference tar-1.35+dfsg/src/extract.c:1469:7: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tar-1.35+dfsg/src/extract.c:1444:10: note: Assuming allocation function fails tar-1.35+dfsg/src/extract.c:1444:10: note: Assignment 'p=xmalloc(FLEXNSIZEOF(struct delayed_link,target,strlen(current_stat_info.link_name)+1))', assigned value is 0 tar-1.35+dfsg/src/extract.c:1469:7: note: Null pointer dereference tar-1.35+dfsg/src/extract.c:1470:7: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tar-1.35+dfsg/src/extract.c:1444:10: note: Assuming allocation function fails tar-1.35+dfsg/src/extract.c:1444:10: note: Assignment 'p=xmalloc(FLEXNSIZEOF(struct delayed_link,target,strlen(current_stat_info.link_name)+1))', assigned value is 0 tar-1.35+dfsg/src/extract.c:1470:7: note: Null pointer dereference tar-1.35+dfsg/src/extract.c:1471:7: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tar-1.35+dfsg/src/extract.c:1444:10: note: Assuming allocation function fails tar-1.35+dfsg/src/extract.c:1444:10: note: Assignment 'p=xmalloc(FLEXNSIZEOF(struct delayed_link,target,strlen(current_stat_info.link_name)+1))', assigned value is 0 tar-1.35+dfsg/src/extract.c:1471:7: note: Null pointer dereference tar-1.35+dfsg/src/extract.c:1474:15: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tar-1.35+dfsg/src/extract.c:1444:10: note: Assuming allocation function fails tar-1.35+dfsg/src/extract.c:1444:10: note: Assignment 'p=xmalloc(FLEXNSIZEOF(struct delayed_link,target,strlen(current_stat_info.link_name)+1))', assigned value is 0 tar-1.35+dfsg/src/extract.c:1474:15: note: Null pointer dereference tar-1.35+dfsg/src/extract.c:1528:13: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tar-1.35+dfsg/src/extract.c:1526:17: note: Assuming allocation function fails tar-1.35+dfsg/src/extract.c:1526:17: note: Assignment 'p=xmalloc(FLEXNSIZEOF(struct string_list,string,strlen(file_name)+1))', assigned value is 0 tar-1.35+dfsg/src/extract.c:1528:13: note: Null pointer dereference tar-1.35+dfsg/src/extract.c:1529:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tar-1.35+dfsg/src/extract.c:1526:17: note: Assuming allocation function fails tar-1.35+dfsg/src/extract.c:1526:17: note: Assignment 'p=xmalloc(FLEXNSIZEOF(struct string_list,string,strlen(file_name)+1))', assigned value is 0 tar-1.35+dfsg/src/extract.c:1529:5: note: Null pointer dereference tar-1.35+dfsg/src/extract.c:1868:16: style: Redundant initialization for 'sources'. The initialized value is overwritten before it is read. [redundantInitialization] tar-1.35+dfsg/src/extract.c:1863:31: note: sources is initialized tar-1.35+dfsg/src/extract.c:1868:16: note: sources is overwritten tar-1.35+dfsg/src/extract.c:781:30: style: Parameter 'tar_stat' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/src/extract.c:124:12: style: struct member 'delayed_set_stat::xattr_map_size' is never used. [unusedStructMember] tar-1.35+dfsg/gnu/regex_internal.c:1612:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/gnu/regex_internal.c:1662:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] parse-datetime.c:1608:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] parse-datetime.y:2353:15: style: The if condition is the same as the previous if condition [duplicateCondition] parse-datetime.y:2350:15: note: First condition parse-datetime.y:2353:15: note: Second condition parse-datetime.y:1607:35: style: Condition '!pc->zones_seen' is always false [knownConditionTrueFalse] parse-datetime.y:1886:34: style: Condition 'pc.local_time_zone_table[0].name' is always false [knownConditionTrueFalse] parse-datetime.y:1882:38: note: Assignment 'pc.local_time_zone_table[0].name=NULL', assigned value is 0 parse-datetime.y:1886:34: note: Condition 'pc.local_time_zone_table[0].name' is always false tar-1.35+dfsg/src/incremen.c:104:3: warning: If memory allocation fails, then there is a possible null pointer dereference: dump [nullPointerOutOfMemory] tar-1.35+dfsg/src/incremen.c:103:18: note: Assuming allocation function fails tar-1.35+dfsg/src/incremen.c:103:18: note: Assignment 'dump=xmalloc(sizeof(*dump)+ctsize)', assigned value is 0 tar-1.35+dfsg/src/incremen.c:104:3: note: Null pointer dereference tar-1.35+dfsg/src/incremen.c:105:11: warning: If memory allocation fails, then there is a possible null pointer dereference: dump [nullPointerOutOfMemory] tar-1.35+dfsg/src/incremen.c:103:18: note: Assuming allocation function fails tar-1.35+dfsg/src/incremen.c:103:18: note: Assignment 'dump=xmalloc(sizeof(*dump)+ctsize)', assigned value is 0 tar-1.35+dfsg/src/incremen.c:105:11: note: Null pointer dereference tar-1.35+dfsg/src/incremen.c:105:27: warning: If memory allocation fails, then there is a possible null pointer dereference: contents [nullPointerOutOfMemory] tar-1.35+dfsg/src/incremen.c:720:28: note: Assuming allocation function fails tar-1.35+dfsg/src/incremen.c:720:28: note: Assignment 'new_dump=xmalloc(len+2)', assigned value is 0 tar-1.35+dfsg/src/incremen.c:726:38: note: Calling function 'dumpdir_create0', 1st argument 'new_dump' value is 0 tar-1.35+dfsg/src/incremen.c:105:27: note: Null pointer dereference tar-1.35+dfsg/src/incremen.c:106:3: warning: If memory allocation fails, then there is a possible null pointer dereference: dump [nullPointerOutOfMemory] tar-1.35+dfsg/src/incremen.c:103:18: note: Assuming allocation function fails tar-1.35+dfsg/src/incremen.c:103:18: note: Assignment 'dump=xmalloc(sizeof(*dump)+ctsize)', assigned value is 0 tar-1.35+dfsg/src/incremen.c:106:3: note: Null pointer dereference tar-1.35+dfsg/src/incremen.c:107:3: warning: If memory allocation fails, then there is a possible null pointer dereference: dump [nullPointerOutOfMemory] tar-1.35+dfsg/src/incremen.c:103:18: note: Assuming allocation function fails tar-1.35+dfsg/src/incremen.c:103:18: note: Assignment 'dump=xmalloc(sizeof(*dump)+ctsize)', assigned value is 0 tar-1.35+dfsg/src/incremen.c:107:3: note: Null pointer dereference tar-1.35+dfsg/src/incremen.c:108:3: warning: If memory allocation fails, then there is a possible null pointer dereference: dump [nullPointerOutOfMemory] tar-1.35+dfsg/src/incremen.c:103:18: note: Assuming allocation function fails tar-1.35+dfsg/src/incremen.c:103:18: note: Assignment 'dump=xmalloc(sizeof(*dump)+ctsize)', assigned value is 0 tar-1.35+dfsg/src/incremen.c:108:3: note: Null pointer dereference tar-1.35+dfsg/src/incremen.c:110:19: warning: If memory allocation fails, then there is a possible null pointer dereference: dump [nullPointerOutOfMemory] tar-1.35+dfsg/src/incremen.c:103:18: note: Assuming allocation function fails tar-1.35+dfsg/src/incremen.c:103:18: note: Assignment 'dump=xmalloc(sizeof(*dump)+ctsize)', assigned value is 0 tar-1.35+dfsg/src/incremen.c:110:19: note: Null pointer dereference tar-1.35+dfsg/src/incremen.c:115:3: warning: If memory allocation fails, then there is a possible null pointer dereference: dump [nullPointerOutOfMemory] tar-1.35+dfsg/src/incremen.c:103:18: note: Assuming allocation function fails tar-1.35+dfsg/src/incremen.c:103:18: note: Assignment 'dump=xmalloc(sizeof(*dump)+ctsize)', assigned value is 0 tar-1.35+dfsg/src/incremen.c:115:3: note: Null pointer dereference tar-1.35+dfsg/src/incremen.c:164:16: warning: If memory allocation fails, then there is a possible null pointer dereference: itr [nullPointerOutOfMemory] tar-1.35+dfsg/src/incremen.c:186:38: note: Assuming allocation function fails tar-1.35+dfsg/src/incremen.c:186:38: note: Assignment 'itr=xmalloc(sizeof(*itr))', assigned value is 0 tar-1.35+dfsg/src/incremen.c:191:24: note: Calling function 'dumpdir_next', 1st argument 'itr' value is 0 tar-1.35+dfsg/src/incremen.c:164:16: note: Null pointer dereference tar-1.35+dfsg/src/incremen.c:167:7: warning: If memory allocation fails, then there is a possible null pointer dereference: itr [nullPointerOutOfMemory] tar-1.35+dfsg/src/incremen.c:186:38: note: Assuming allocation function fails tar-1.35+dfsg/src/incremen.c:186:38: note: Assignment 'itr=xmalloc(sizeof(*itr))', assigned value is 0 tar-1.35+dfsg/src/incremen.c:191:24: note: Calling function 'dumpdir_next', 1st argument 'itr' value is 0 tar-1.35+dfsg/src/incremen.c:167:7: note: Null pointer dereference tar-1.35+dfsg/src/incremen.c:174:18: warning: If memory allocation fails, then there is a possible null pointer dereference: itr [nullPointerOutOfMemory] tar-1.35+dfsg/src/incremen.c:186:38: note: Assuming allocation function fails tar-1.35+dfsg/src/incremen.c:186:38: note: Assignment 'itr=xmalloc(sizeof(*itr))', assigned value is 0 tar-1.35+dfsg/src/incremen.c:191:24: note: Calling function 'dumpdir_next', 1st argument 'itr' value is 0 tar-1.35+dfsg/src/incremen.c:174:18: note: Null pointer dereference tar-1.35+dfsg/src/incremen.c:187:3: warning: If memory allocation fails, then there is a possible null pointer dereference: itr [nullPointerOutOfMemory] tar-1.35+dfsg/src/incremen.c:186:38: note: Assuming allocation function fails tar-1.35+dfsg/src/incremen.c:186:38: note: Assignment 'itr=xmalloc(sizeof(*itr))', assigned value is 0 tar-1.35+dfsg/src/incremen.c:187:3: note: Null pointer dereference tar-1.35+dfsg/src/incremen.c:188:3: warning: If memory allocation fails, then there is a possible null pointer dereference: itr [nullPointerOutOfMemory] tar-1.35+dfsg/src/incremen.c:186:38: note: Assuming allocation function fails tar-1.35+dfsg/src/incremen.c:186:38: note: Assignment 'itr=xmalloc(sizeof(*itr))', assigned value is 0 tar-1.35+dfsg/src/incremen.c:188:3: note: Null pointer dereference tar-1.35+dfsg/src/incremen.c:189:3: warning: If memory allocation fails, then there is a possible null pointer dereference: itr [nullPointerOutOfMemory] tar-1.35+dfsg/src/incremen.c:186:38: note: Assuming allocation function fails tar-1.35+dfsg/src/incremen.c:186:38: note: Assignment 'itr=xmalloc(sizeof(*itr))', assigned value is 0 tar-1.35+dfsg/src/incremen.c:189:3: note: Null pointer dereference tar-1.35+dfsg/src/incremen.c:263:28: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] tar-1.35+dfsg/src/incremen.c:748:17: note: Assuming allocation function fails tar-1.35+dfsg/src/incremen.c:748:17: note: Assignment 'tmp=xstrdup(dir)', assigned value is 0 tar-1.35+dfsg/src/incremen.c:751:24: note: Calling function 'procdir', 1st argument 'tmp' value is 0 tar-1.35+dfsg/src/incremen.c:459:36: note: Calling function 'find_directory', 1st argument 'name_buffer' value is 0 tar-1.35+dfsg/src/incremen.c:376:7: note: Assuming condition is false tar-1.35+dfsg/src/incremen.c:381:47: note: Calling function 'make_directory', 1st argument 'name' value is 0 tar-1.35+dfsg/src/incremen.c:263:28: note: Null pointer dereference tar-1.35+dfsg/src/incremen.c:265:3: warning: If memory allocation fails, then there is a possible null pointer dereference: directory [nullPointerOutOfMemory] tar-1.35+dfsg/src/incremen.c:264:41: note: Assuming allocation function fails tar-1.35+dfsg/src/incremen.c:264:41: note: Assignment 'directory=xmalloc(sizeof(*directory))', assigned value is 0 tar-1.35+dfsg/src/incremen.c:265:3: note: Null pointer dereference tar-1.35+dfsg/src/incremen.c:266:3: warning: If memory allocation fails, then there is a possible null pointer dereference: directory [nullPointerOutOfMemory] tar-1.35+dfsg/src/incremen.c:264:41: note: Assuming allocation function fails tar-1.35+dfsg/src/incremen.c:264:41: note: Assignment 'directory=xmalloc(sizeof(*directory))', assigned value is 0 tar-1.35+dfsg/src/incremen.c:266:3: note: Null pointer dereference tar-1.35+dfsg/src/incremen.c:266:21: warning: If memory allocation fails, then there is a possible null pointer dereference: directory [nullPointerOutOfMemory] tar-1.35+dfsg/src/incremen.c:264:41: note: Assuming allocation function fails tar-1.35+dfsg/src/incremen.c:264:41: note: Assignment 'directory=xmalloc(sizeof(*directory))', assigned value is 0 tar-1.35+dfsg/src/incremen.c:266:21: note: Null pointer dereference tar-1.35+dfsg/src/incremen.c:267:3: warning: If memory allocation fails, then there is a possible null pointer dereference: directory [nullPointerOutOfMemory] tar-1.35+dfsg/src/incremen.c:264:41: note: Assuming allocation function fails tar-1.35+dfsg/src/incremen.c:264:41: note: Assignment 'directory=xmalloc(sizeof(*directory))', assigned value is 0 tar-1.35+dfsg/src/incremen.c:267:3: note: Null pointer dereference tar-1.35+dfsg/src/incremen.c:268:3: warning: If memory allocation fails, then there is a possible null pointer dereference: directory [nullPointerOutOfMemory] tar-1.35+dfsg/src/incremen.c:264:41: note: Assuming allocation function fails tar-1.35+dfsg/src/incremen.c:264:41: note: Assignment 'directory=xmalloc(sizeof(*directory))', assigned value is 0 tar-1.35+dfsg/src/incremen.c:268:3: note: Null pointer dereference tar-1.35+dfsg/src/incremen.c:271:3: warning: If memory allocation fails, then there is a possible null pointer dereference: directory [nullPointerOutOfMemory] tar-1.35+dfsg/src/incremen.c:264:41: note: Assuming allocation function fails tar-1.35+dfsg/src/incremen.c:264:41: note: Assignment 'directory=xmalloc(sizeof(*directory))', assigned value is 0 tar-1.35+dfsg/src/incremen.c:271:3: note: Null pointer dereference tar-1.35+dfsg/src/incremen.c:272:11: warning: If memory allocation fails, then there is a possible null pointer dereference: directory [nullPointerOutOfMemory] tar-1.35+dfsg/src/incremen.c:264:41: note: Assuming allocation function fails tar-1.35+dfsg/src/incremen.c:264:41: note: Assignment 'directory=xmalloc(sizeof(*directory))', assigned value is 0 tar-1.35+dfsg/src/incremen.c:272:11: note: Null pointer dereference tar-1.35+dfsg/src/incremen.c:273:3: warning: If memory allocation fails, then there is a possible null pointer dereference: directory [nullPointerOutOfMemory] tar-1.35+dfsg/src/incremen.c:264:41: note: Assuming allocation function fails tar-1.35+dfsg/src/incremen.c:264:41: note: Assignment 'directory=xmalloc(sizeof(*directory))', assigned value is 0 tar-1.35+dfsg/src/incremen.c:273:3: note: Null pointer dereference tar-1.35+dfsg/src/incremen.c:274:3: warning: If memory allocation fails, then there is a possible null pointer dereference: directory [nullPointerOutOfMemory] tar-1.35+dfsg/src/incremen.c:264:41: note: Assuming allocation function fails tar-1.35+dfsg/src/incremen.c:264:41: note: Assignment 'directory=xmalloc(sizeof(*directory))', assigned value is 0 tar-1.35+dfsg/src/incremen.c:274:3: note: Null pointer dereference tar-1.35+dfsg/src/incremen.c:275:3: warning: If memory allocation fails, then there is a possible null pointer dereference: directory [nullPointerOutOfMemory] tar-1.35+dfsg/src/incremen.c:264:41: note: Assuming allocation function fails tar-1.35+dfsg/src/incremen.c:264:41: note: Assignment 'directory=xmalloc(sizeof(*directory))', assigned value is 0 tar-1.35+dfsg/src/incremen.c:275:3: note: Null pointer dereference tar-1.35+dfsg/src/incremen.c:678:5: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] tar-1.35+dfsg/src/incremen.c:676:19: note: Assuming allocation function fails tar-1.35+dfsg/src/incremen.c:676:19: note: Assignment 'array=xcalloc(dirsize,sizeof(array[0]))', assigned value is 0 tar-1.35+dfsg/src/incremen.c:678:5: note: Null pointer dereference tar-1.35+dfsg/src/incremen.c:680:10: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] tar-1.35+dfsg/src/incremen.c:676:19: note: Assuming allocation function fails tar-1.35+dfsg/src/incremen.c:676:19: note: Assignment 'array=xcalloc(dirsize,sizeof(array[0]))', assigned value is 0 tar-1.35+dfsg/src/incremen.c:680:10: note: Null pointer dereference tar-1.35+dfsg/src/incremen.c:721:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_dump [nullPointerOutOfMemory] tar-1.35+dfsg/src/incremen.c:720:28: note: Assuming allocation function fails tar-1.35+dfsg/src/incremen.c:720:28: note: Assignment 'new_dump=xmalloc(len+2)', assigned value is 0 tar-1.35+dfsg/src/incremen.c:721:3: note: Null pointer dereference tar-1.35+dfsg/src/incremen.c:723:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_dump [nullPointerOutOfMemory] tar-1.35+dfsg/src/incremen.c:720:28: note: Assuming allocation function fails tar-1.35+dfsg/src/incremen.c:720:28: note: Assignment 'new_dump=xmalloc(len+2)', assigned value is 0 tar-1.35+dfsg/src/incremen.c:723:3: note: Null pointer dereference tar-1.35+dfsg/src/incremen.c:997:25: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] tar-1.35+dfsg/src/incremen.c:996:21: note: Assuming allocation function fails tar-1.35+dfsg/src/incremen.c:996:21: note: Assignment 'buf=xstrdup(initbuf)', assigned value is 0 tar-1.35+dfsg/src/incremen.c:997:25: note: Null pointer dereference tar-1.35+dfsg/src/incremen.c:104:33: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tar-1.35+dfsg/src/incremen.c:103:18: note: Assuming allocation function fails tar-1.35+dfsg/src/incremen.c:103:18: note: Assignment 'dump=xmalloc(sizeof(*dump)+ctsize)', assigned value is 0 tar-1.35+dfsg/src/incremen.c:104:33: note: Null pointer addition tar-1.35+dfsg/src/incremen.c:722:20: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tar-1.35+dfsg/src/incremen.c:720:28: note: Assuming allocation function fails tar-1.35+dfsg/src/incremen.c:720:28: note: Assignment 'new_dump=xmalloc(len+2)', assigned value is 0 tar-1.35+dfsg/src/incremen.c:722:20: note: Null pointer addition tar-1.35+dfsg/src/incremen.c:405:17: style:inconclusive: Function 'rebase_directory' argument 2 names different: declaration 'samp' definition 'old_prefix'. [funcArgNamesDifferent] tar-1.35+dfsg/src/common.h:565:22: note: Function 'rebase_directory' argument 2 names different: declaration 'samp' definition 'old_prefix'. tar-1.35+dfsg/src/incremen.c:405:17: note: Function 'rebase_directory' argument 2 names different: declaration 'samp' definition 'old_prefix'. tar-1.35+dfsg/src/incremen.c:405:36: style:inconclusive: Function 'rebase_directory' argument 3 names different: declaration 'slen' definition 'old_prefix_len'. [funcArgNamesDifferent] tar-1.35+dfsg/src/common.h:565:35: note: Function 'rebase_directory' argument 3 names different: declaration 'slen' definition 'old_prefix_len'. tar-1.35+dfsg/src/incremen.c:405:36: note: Function 'rebase_directory' argument 3 names different: declaration 'slen' definition 'old_prefix_len'. tar-1.35+dfsg/src/incremen.c:406:17: style:inconclusive: Function 'rebase_directory' argument 4 names different: declaration 'repl' definition 'new_prefix'. [funcArgNamesDifferent] tar-1.35+dfsg/src/common.h:566:22: note: Function 'rebase_directory' argument 4 names different: declaration 'repl' definition 'new_prefix'. tar-1.35+dfsg/src/incremen.c:406:17: note: Function 'rebase_directory' argument 4 names different: declaration 'repl' definition 'new_prefix'. tar-1.35+dfsg/src/incremen.c:406:36: style:inconclusive: Function 'rebase_directory' argument 5 names different: declaration 'rlen' definition 'new_prefix_len'. [funcArgNamesDifferent] tar-1.35+dfsg/src/common.h:566:35: note: Function 'rebase_directory' argument 5 names different: declaration 'rlen' definition 'new_prefix_len'. tar-1.35+dfsg/src/incremen.c:406:36: note: Function 'rebase_directory' argument 5 names different: declaration 'rlen' definition 'new_prefix_len'. tar-1.35+dfsg/src/incremen.c:432:48: style:inconclusive: Function 'update_parent_directory' argument 1 names different: declaration 'st' definition 'parent'. [funcArgNamesDifferent] tar-1.35+dfsg/src/common.h:574:53: note: Function 'update_parent_directory' argument 1 names different: declaration 'st' definition 'parent'. tar-1.35+dfsg/src/incremen.c:432:48: note: Function 'update_parent_directory' argument 1 names different: declaration 'st' definition 'parent'. tar-1.35+dfsg/src/incremen.c:432:48: style: Parameter 'parent' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/src/incremen.c:772:14: style: Variable 'full_name' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/incremen.c:891:21: style: Variable 'prev' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/incremen.c:891:28: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/incremen.c:1236:13: style: Variable 'name' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/incremen.c:1367:13: style: Variable 'ebuf' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/incremen.c:1410:35: style: Parameter 'entry' can be declared as pointer to const. However it seems that 'write_directory_file_entry' is a callback function, if 'entry' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tar-1.35+dfsg/src/incremen.c:1478:40: note: You might need to cast the function pointer here tar-1.35+dfsg/src/incremen.c:1410:35: note: Parameter 'entry' can be declared as pointer to const tar-1.35+dfsg/src/incremen.c:1457:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/incremen.c:1772:21: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/src/create.c:230:28: style: Condition 'maxval+1' is always true [knownConditionTrueFalse] parse-datetime.y:1427:17: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] tar-1.35+dfsg/src/create.c:1578:7: warning: Return value of function strerror() is not used. [ignoredReturnValue] tar-1.35+dfsg/src/create.c:1579:7: warning: Return value of function gettext() is not used. [ignoredReturnValue] parse-datetime.y:1204:33: style:inconclusive: Function 'time_zone_hhmm' argument 1 names different: declaration '' definition 'pc'. [funcArgNamesDifferentUnnamed] parse-datetime.y:1204:45: style:inconclusive: Function 'time_zone_hhmm' argument 2 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] parse-datetime.y:1204:57: style:inconclusive: Function 'time_zone_hhmm' argument 3 names different: declaration '' definition 'mm'. [funcArgNamesDifferentUnnamed] parse-datetime.y:1410:23: style:inconclusive: Function 'yylex' argument 1 names different: declaration '' definition 'lvalp'. [funcArgNamesDifferentUnnamed] parse-datetime.y:1410:46: style:inconclusive: Function 'yylex' argument 2 names different: declaration '' definition 'pc'. [funcArgNamesDifferentUnnamed] parse-datetime.y:1543:43: style:inconclusive: Function 'yyerror' argument 1 names different: declaration '' definition 'pc'. [funcArgNamesDifferentUnnamed] parse-datetime.y:1544:33: style:inconclusive: Function 'yyerror' argument 2 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] parse-datetime.y:329:27: style: Parameter 'pc' can be declared as pointer to const [constParameterPointer] parse-datetime.y:1345:9: style: Variable 'q' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/create.c:59:3: warning: If memory allocation fails, then there is a possible null pointer dereference: tag [nullPointerOutOfMemory] tar-1.35+dfsg/src/create.c:58:39: note: Assuming allocation function fails tar-1.35+dfsg/src/create.c:58:39: note: Assignment 'tag=xmalloc(sizeof(tag[0]))', assigned value is 0 tar-1.35+dfsg/src/create.c:59:3: note: Null pointer dereference tar-1.35+dfsg/src/create.c:60:3: warning: If memory allocation fails, then there is a possible null pointer dereference: tag [nullPointerOutOfMemory] tar-1.35+dfsg/src/create.c:58:39: note: Assuming allocation function fails tar-1.35+dfsg/src/create.c:58:39: note: Assignment 'tag=xmalloc(sizeof(tag[0]))', assigned value is 0 tar-1.35+dfsg/src/create.c:60:3: note: Null pointer dereference tar-1.35+dfsg/src/create.c:61:3: warning: If memory allocation fails, then there is a possible null pointer dereference: tag [nullPointerOutOfMemory] tar-1.35+dfsg/src/create.c:58:39: note: Assuming allocation function fails tar-1.35+dfsg/src/create.c:58:39: note: Assignment 'tag=xmalloc(sizeof(tag[0]))', assigned value is 0 tar-1.35+dfsg/src/create.c:61:3: note: Null pointer dereference tar-1.35+dfsg/src/create.c:62:3: warning: If memory allocation fails, then there is a possible null pointer dereference: tag [nullPointerOutOfMemory] tar-1.35+dfsg/src/create.c:58:39: note: Assuming allocation function fails tar-1.35+dfsg/src/create.c:58:39: note: Assignment 'tag=xmalloc(sizeof(tag[0]))', assigned value is 0 tar-1.35+dfsg/src/create.c:62:3: note: Null pointer dereference tar-1.35+dfsg/src/create.c:63:3: warning: If memory allocation fails, then there is a possible null pointer dereference: tag [nullPointerOutOfMemory] tar-1.35+dfsg/src/create.c:58:39: note: Assuming allocation function fails tar-1.35+dfsg/src/create.c:58:39: note: Assignment 'tag=xmalloc(sizeof(tag[0]))', assigned value is 0 tar-1.35+dfsg/src/create.c:63:3: note: Null pointer dereference tar-1.35+dfsg/src/create.c:1214:37: warning: If memory allocation fails, then there is a possible null pointer dereference: name_buf [nullPointerOutOfMemory] tar-1.35+dfsg/src/create.c:1213:25: note: Assuming allocation function fails tar-1.35+dfsg/src/create.c:1213:25: note: Assignment 'name_buf=xstrdup(st->orig_file_name)', assigned value is 0 tar-1.35+dfsg/src/create.c:1214:37: note: Null pointer dereference tar-1.35+dfsg/src/create.c:1239:12: warning: If memory allocation fails, then there is a possible null pointer dereference: name_buf [nullPointerOutOfMemory] tar-1.35+dfsg/src/create.c:1238:23: note: Assuming allocation function fails tar-1.35+dfsg/src/create.c:1238:23: note: Assignment 'name_buf=xmalloc(name_size)', assigned value is 0 tar-1.35+dfsg/src/create.c:1239:12: note: Null pointer dereference tar-1.35+dfsg/src/create.c:1240:12: warning: If memory allocation fails, then there is a possible null pointer dereference: name_buf [nullPointerOutOfMemory] tar-1.35+dfsg/src/create.c:1238:23: note: Assuming allocation function fails tar-1.35+dfsg/src/create.c:1238:23: note: Assignment 'name_buf=xmalloc(name_size)', assigned value is 0 tar-1.35+dfsg/src/create.c:1240:12: note: Null pointer dereference tar-1.35+dfsg/src/create.c:1523:7: warning: If memory allocation fails, then there is a possible null pointer dereference: lp [nullPointerOutOfMemory] tar-1.35+dfsg/src/create.c:1522:20: note: Assuming allocation function fails tar-1.35+dfsg/src/create.c:1522:20: note: Assignment 'lp=xmalloc(FLEXNSIZEOF(struct link,name,strlen(linkname)+1))', assigned value is 0 tar-1.35+dfsg/src/create.c:1523:7: note: Null pointer dereference tar-1.35+dfsg/src/create.c:1524:7: warning: If memory allocation fails, then there is a possible null pointer dereference: lp [nullPointerOutOfMemory] tar-1.35+dfsg/src/create.c:1522:20: note: Assuming allocation function fails tar-1.35+dfsg/src/create.c:1522:20: note: Assignment 'lp=xmalloc(FLEXNSIZEOF(struct link,name,strlen(linkname)+1))', assigned value is 0 tar-1.35+dfsg/src/create.c:1524:7: note: Null pointer dereference tar-1.35+dfsg/src/create.c:1525:7: warning: If memory allocation fails, then there is a possible null pointer dereference: lp [nullPointerOutOfMemory] tar-1.35+dfsg/src/create.c:1522:20: note: Assuming allocation function fails tar-1.35+dfsg/src/create.c:1522:20: note: Assignment 'lp=xmalloc(FLEXNSIZEOF(struct link,name,strlen(linkname)+1))', assigned value is 0 tar-1.35+dfsg/src/create.c:1525:7: note: Null pointer dereference tar-1.35+dfsg/src/create.c:1526:15: warning: If memory allocation fails, then there is a possible null pointer dereference: lp [nullPointerOutOfMemory] tar-1.35+dfsg/src/create.c:1522:20: note: Assuming allocation function fails tar-1.35+dfsg/src/create.c:1522:20: note: Assignment 'lp=xmalloc(FLEXNSIZEOF(struct link,name,strlen(linkname)+1))', assigned value is 0 tar-1.35+dfsg/src/create.c:1526:15: note: Null pointer dereference tar-1.35+dfsg/src/create.c:1537:7: warning:inconclusive: Either the condition 'duplicate=hash_insert(link_table,lp)' is redundant or there is possible null pointer dereference: lp. [nullPointerRedundantCheck] tar-1.35+dfsg/src/create.c:1532:21: note: Assuming that condition 'duplicate=hash_insert(link_table,lp)' is not redundant tar-1.35+dfsg/src/create.c:1535:21: note: Assuming condition is false tar-1.35+dfsg/src/create.c:1535:21: note: Assuming that condition 'duplicate!=lp' is not redundant tar-1.35+dfsg/src/create.c:1537:7: note: Null pointer dereference tar-1.35+dfsg/src/create.c:1584:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] parse-datetime.c:1608:11: style: Variable 'yymsg' is assigned a value that is never used. [unreadVariable] tar-1.35+dfsg/src/create.c:420:21: style:inconclusive: Function 'off_to_chars' argument 1 names different: declaration 'off' definition 'v'. [funcArgNamesDifferent] tar-1.35+dfsg/src/common.h:534:26: note: Function 'off_to_chars' argument 1 names different: declaration 'off' definition 'v'. tar-1.35+dfsg/src/create.c:420:21: note: Function 'off_to_chars' argument 1 names different: declaration 'off' definition 'v'. tar-1.35+dfsg/src/create.c:420:30: style:inconclusive: Function 'off_to_chars' argument 2 names different: declaration 'buf' definition 'p'. [funcArgNamesDifferent] tar-1.35+dfsg/src/common.h:534:37: note: Function 'off_to_chars' argument 2 names different: declaration 'buf' definition 'p'. tar-1.35+dfsg/src/create.c:420:30: note: Function 'off_to_chars' argument 2 names different: declaration 'buf' definition 'p'. tar-1.35+dfsg/src/create.c:420:40: style:inconclusive: Function 'off_to_chars' argument 3 names different: declaration 'size' definition 's'. [funcArgNamesDifferent] tar-1.35+dfsg/src/common.h:534:49: note: Function 'off_to_chars' argument 3 names different: declaration 'size' definition 's'. tar-1.35+dfsg/src/create.c:420:40: note: Function 'off_to_chars' argument 3 names different: declaration 'size' definition 's'. tar-1.35+dfsg/src/create.c:426:23: style:inconclusive: Function 'time_to_chars' argument 1 names different: declaration 't' definition 'v'. [funcArgNamesDifferent] tar-1.35+dfsg/src/common.h:535:28: note: Function 'time_to_chars' argument 1 names different: declaration 't' definition 'v'. tar-1.35+dfsg/src/create.c:426:23: note: Function 'time_to_chars' argument 1 names different: declaration 't' definition 'v'. tar-1.35+dfsg/src/create.c:426:32: style:inconclusive: Function 'time_to_chars' argument 2 names different: declaration 'buf' definition 'p'. [funcArgNamesDifferent] tar-1.35+dfsg/src/common.h:535:37: note: Function 'time_to_chars' argument 2 names different: declaration 'buf' definition 'p'. tar-1.35+dfsg/src/create.c:426:32: note: Function 'time_to_chars' argument 2 names different: declaration 'buf' definition 'p'. tar-1.35+dfsg/src/create.c:426:42: style:inconclusive: Function 'time_to_chars' argument 3 names different: declaration 'size' definition 's'. [funcArgNamesDifferent] tar-1.35+dfsg/src/common.h:535:49: note: Function 'time_to_chars' argument 3 names different: declaration 'size' definition 's'. tar-1.35+dfsg/src/create.c:426:42: note: Function 'time_to_chars' argument 3 names different: declaration 'size' definition 's'. tar-1.35+dfsg/src/create.c:403:25: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] tar-1.35+dfsg/src/create.c:404:20: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] tar-1.35+dfsg/src/create.c:405:20: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] tar-1.35+dfsg/src/create.c:406:20: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] tar-1.35+dfsg/src/create.c:407:20: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] tar-1.35+dfsg/src/create.c:408:20: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] tar-1.35+dfsg/src/create.c:409:20: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] tar-1.35+dfsg/src/create.c:410:20: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] tar-1.35+dfsg/src/create.c:411:20: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] tar-1.35+dfsg/src/create.c:412:20: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] tar-1.35+dfsg/src/create.c:413:20: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] tar-1.35+dfsg/src/create.c:414:20: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] tar-1.35+dfsg/src/create.c:530:41: style: Parameter 'st' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/src/create.c:978:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/create.c:1826:24: error: Uninitialized variable: st2 [uninitvar] tar-1.35+dfsg/src/create.c:1814:14: note: Assuming condition is true tar-1.35+dfsg/src/create.c:1826:24: note: Uninitialized variable: st2 tar-1.35+dfsg/lib/wordsplit.c:1738:13: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] tar-1.35+dfsg/lib/wordsplit.c:1741:11: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] tar-1.35+dfsg/lib/wordsplit.c:1987:3: style: Variable 'start' is assigned an expression that holds the same value. [redundantAssignment] tar-1.35+dfsg/lib/wordsplit.c:1979:12: note: i is assigned 'start' here. tar-1.35+dfsg/lib/wordsplit.c:1981:9: note: Assuming condition is false tar-1.35+dfsg/lib/wordsplit.c:1987:3: note: Variable 'start' is assigned an expression that holds the same value. tar-1.35+dfsg/lib/wordsplit.c:534:41: style:inconclusive: Function 'wordsplit_free_nodes' argument 1 names different: declaration '' definition 'wsp'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/lib/wordsplit.c:1377:21: style: Local variable 'ws' shadows outer variable [shadowVariable] tar-1.35+dfsg/lib/wordsplit.c:1143:20: note: Shadowed variable tar-1.35+dfsg/lib/wordsplit.c:1377:21: note: Shadow local variable tar-1.35+dfsg/lib/wordsplit.c:1378:8: style: Local variable 'rc' shadows outer variable [shadowVariable] tar-1.35+dfsg/lib/wordsplit.c:1142:7: note: Shadowed variable tar-1.35+dfsg/lib/wordsplit.c:1378:8: note: Shadow local variable tar-1.35+dfsg/lib/wordsplit.c:1607:8: style: Local variable 'rc' shadows outer variable [shadowVariable] tar-1.35+dfsg/lib/wordsplit.c:1535:7: note: Shadowed variable tar-1.35+dfsg/lib/wordsplit.c:1607:8: note: Shadow local variable tar-1.35+dfsg/lib/wordsplit.c:1726:11: style: Local variable 'p' shadows outer variable [shadowVariable] tar-1.35+dfsg/lib/wordsplit.c:1699:26: note: Shadowed variable tar-1.35+dfsg/lib/wordsplit.c:1726:11: note: Shadow local variable tar-1.35+dfsg/lib/wordsplit.c:116:36: style: Parameter 'wsp' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/lib/wordsplit.c:398:31: style: Parameter 'wsp' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/lib/wordsplit.c:1029:11: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/lib/wordsplit.c:1715:19: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/lib/wordsplit.c:1919:40: style: Parameter 'wsp' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/lib/wordsplit.c:2324:32: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/lib/wordsplit.c:2324:53: style: Parameter 'wsp' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/lib/wordsplit.c:2538:39: style: Parameter 'ws' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/gnu/regexec.c:1950:27: style:inconclusive: Function 'check_dst_limits_calc_pos' argument 4 names different: declaration 'node' definition 'from_node'. [funcArgNamesDifferent] tar-1.35+dfsg/gnu/regexec.c:94:15: note: Function 'check_dst_limits_calc_pos' argument 4 names different: declaration 'node' definition 'from_node'. tar-1.35+dfsg/gnu/regexec.c:1950:27: note: Function 'check_dst_limits_calc_pos' argument 4 names different: declaration 'node' definition 'from_node'. tar-1.35+dfsg/gnu/regexec.c:3425:21: style:inconclusive: Function 'group_nodes_into_DFAstates' argument 3 names different: declaration 'states_node' definition 'dests_node'. [funcArgNamesDifferent] tar-1.35+dfsg/gnu/regexec.c:163:25: note: Function 'group_nodes_into_DFAstates' argument 3 names different: declaration 'states_node' definition 'dests_node'. tar-1.35+dfsg/gnu/regexec.c:3425:21: note: Function 'group_nodes_into_DFAstates' argument 3 names different: declaration 'states_node' definition 'dests_node'. tar-1.35+dfsg/gnu/regexec.c:3425:43: style:inconclusive: Function 'group_nodes_into_DFAstates' argument 4 names different: declaration 'states_ch' definition 'dests_ch'. [funcArgNamesDifferent] tar-1.35+dfsg/gnu/regexec.c:164:22: note: Function 'group_nodes_into_DFAstates' argument 4 names different: declaration 'states_ch' definition 'dests_ch'. tar-1.35+dfsg/gnu/regexec.c:3425:43: note: Function 'group_nodes_into_DFAstates' argument 4 names different: declaration 'states_ch' definition 'dests_ch'. tar-1.35+dfsg/gnu/regexec.c:3613:35: style:inconclusive: Function 'check_node_accept_bytes' argument 4 names different: declaration 'idx' definition 'str_idx'. [funcArgNamesDifferent] tar-1.35+dfsg/gnu/regexec.c:156:39: note: Function 'check_node_accept_bytes' argument 4 names different: declaration 'idx' definition 'str_idx'. tar-1.35+dfsg/gnu/regexec.c:3613:35: note: Function 'check_node_accept_bytes' argument 4 names different: declaration 'idx' definition 'str_idx'. tar-1.35+dfsg/gnu/regexec.c:4010:37: style:inconclusive: Function 'match_ctx_init' argument 1 names different: declaration 'cache' definition 'mctx'. [funcArgNamesDifferent] tar-1.35+dfsg/gnu/regexec.c:20:58: note: Function 'match_ctx_init' argument 1 names different: declaration 'cache' definition 'mctx'. tar-1.35+dfsg/gnu/regexec.c:4010:37: note: Function 'match_ctx_init' argument 1 names different: declaration 'cache' definition 'mctx'. tar-1.35+dfsg/gnu/regexec.c:4073:37: style:inconclusive: Function 'match_ctx_free' argument 1 names different: declaration 'cache' definition 'mctx'. [funcArgNamesDifferent] tar-1.35+dfsg/gnu/regexec.c:23:49: note: Function 'match_ctx_free' argument 1 names different: declaration 'cache' definition 'mctx'. tar-1.35+dfsg/gnu/regexec.c:4073:37: note: Function 'match_ctx_free' argument 1 names different: declaration 'cache' definition 'mctx'. tar-1.35+dfsg/gnu/regexec.c:4088:42: style:inconclusive: Function 'match_ctx_add_entry' argument 1 names different: declaration 'cache' definition 'mctx'. [funcArgNamesDifferent] tar-1.35+dfsg/gnu/regexec.c:24:63: note: Function 'match_ctx_add_entry' argument 1 names different: declaration 'cache' definition 'mctx'. tar-1.35+dfsg/gnu/regexec.c:4088:42: note: Function 'match_ctx_add_entry' argument 1 names different: declaration 'cache' definition 'mctx'. tar-1.35+dfsg/gnu/regexec.c:596:9: style: Variable 'fastmap' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/gnu/regexec.c:798:20: style: Variable 'pstate' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/gnu/regexec.c:1307:27: style: Parameter 'regs' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/gnu/regexec.c:1307:45: style: Parameter 'prevregs' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/gnu/regexec.c:1844:38: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/gnu/regexec.c:1953:34: style: Variable 'lim' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/gnu/regexec.c:1979:52: style: Parameter 'limits' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/gnu/regexec.c:1988:38: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/gnu/regexec.c:2084:38: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/gnu/regexec.c:2536:35: style: Variable 'bkref_ent' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/list.c:475:22: style: Condition 'name_size!=info->stat.st_size' is always false [knownConditionTrueFalse] tar-1.35+dfsg/src/list.c:469:25: note: name_size is assigned 'info->stat.st_size' here. tar-1.35+dfsg/src/list.c:475:22: note: Condition 'name_size!=info->stat.st_size' is always false tar-1.35+dfsg/src/list.c:871:23: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] tar-1.35+dfsg/src/list.c:1072:21: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] tar-1.35+dfsg/src/list.c:1072:35: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] tar-1.35+dfsg/src/list.c:494:9: warning: If memory allocation fails, then there is a possible null pointer dereference: header_copy [nullPointerOutOfMemory] tar-1.35+dfsg/src/list.c:478:30: note: Assuming allocation function fails tar-1.35+dfsg/src/list.c:478:30: note: Assignment 'header_copy=xmalloc(size+1)', assigned value is 0 tar-1.35+dfsg/src/list.c:494:9: note: Null pointer dereference tar-1.35+dfsg/src/list.c:495:13: warning: If memory allocation fails, then there is a possible null pointer dereference: header_copy [nullPointerOutOfMemory] tar-1.35+dfsg/src/list.c:478:30: note: Assuming allocation function fails tar-1.35+dfsg/src/list.c:478:30: note: Assignment 'header_copy=xmalloc(size+1)', assigned value is 0 tar-1.35+dfsg/src/list.c:495:13: note: Null pointer dereference tar-1.35+dfsg/src/list.c:527:16: warning: If memory allocation fails, then there is a possible null pointer dereference: recent_global_header [nullPointerOutOfMemory] tar-1.35+dfsg/src/list.c:526:34: note: Assuming allocation function fails tar-1.35+dfsg/src/list.c:526:34: note: Assignment 'recent_global_header=xmalloc(sizeof(*recent_global_header))', assigned value is 0 tar-1.35+dfsg/src/list.c:525:12: note: Assuming condition is true tar-1.35+dfsg/src/list.c:527:16: note: Null pointer dereference tar-1.35+dfsg/src/list.c:415:29: style:inconclusive: Function 'read_header' argument 3 names different: declaration 'm' definition 'mode'. [funcArgNamesDifferent] tar-1.35+dfsg/src/common.h:627:32: note: Function 'read_header' argument 3 names different: declaration 'm' definition 'mode'. tar-1.35+dfsg/src/list.c:415:29: note: Function 'read_header' argument 3 names different: declaration 'm' definition 'mode'. tar-1.35+dfsg/src/list.c:751:26: style:inconclusive: Function 'from_header' argument 1 names different: declaration '' definition 'where0'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/src/list.c:751:41: style:inconclusive: Function 'from_header' argument 2 names different: declaration '' definition 'digs'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/src/list.c:751:59: style:inconclusive: Function 'from_header' argument 3 names different: declaration '' definition 'type'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/src/list.c:752:16: style:inconclusive: Function 'from_header' argument 4 names different: declaration '' definition 'minval'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/src/list.c:752:34: style:inconclusive: Function 'from_header' argument 5 names different: declaration '' definition 'maxval'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/src/list.c:753:12: style:inconclusive: Function 'from_header' argument 6 names different: declaration '' definition 'octal_only'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/src/list.c:753:29: style:inconclusive: Function 'from_header' argument 7 names different: declaration '' definition 'silent'. [funcArgNamesDifferentUnnamed] tar-1.35+dfsg/src/list.c:968:30: style:inconclusive: Function 'gid_from_header' argument 1 names different: declaration 'buf' definition 'p'. [funcArgNamesDifferent] tar-1.35+dfsg/src/list.c:44:43: note: Function 'gid_from_header' argument 1 names different: declaration 'buf' definition 'p'. tar-1.35+dfsg/src/list.c:968:30: note: Function 'gid_from_header' argument 1 names different: declaration 'buf' definition 'p'. tar-1.35+dfsg/src/list.c:968:40: style:inconclusive: Function 'gid_from_header' argument 2 names different: declaration 'size' definition 's'. [funcArgNamesDifferent] tar-1.35+dfsg/src/list.c:44:55: note: Function 'gid_from_header' argument 2 names different: declaration 'size' definition 's'. tar-1.35+dfsg/src/list.c:968:40: note: Function 'gid_from_header' argument 2 names different: declaration 'size' definition 's'. tar-1.35+dfsg/src/list.c:976:32: style:inconclusive: Function 'major_from_header' argument 1 names different: declaration 'buf' definition 'p'. [funcArgNamesDifferent] tar-1.35+dfsg/src/list.c:45:47: note: Function 'major_from_header' argument 1 names different: declaration 'buf' definition 'p'. tar-1.35+dfsg/src/list.c:976:32: note: Function 'major_from_header' argument 1 names different: declaration 'buf' definition 'p'. tar-1.35+dfsg/src/list.c:976:42: style:inconclusive: Function 'major_from_header' argument 2 names different: declaration 'size' definition 's'. [funcArgNamesDifferent] tar-1.35+dfsg/src/list.c:45:59: note: Function 'major_from_header' argument 2 names different: declaration 'size' definition 's'. tar-1.35+dfsg/src/list.c:976:42: note: Function 'major_from_header' argument 2 names different: declaration 'size' definition 's'. tar-1.35+dfsg/src/list.c:984:32: style:inconclusive: Function 'minor_from_header' argument 1 names different: declaration 'buf' definition 'p'. [funcArgNamesDifferent] tar-1.35+dfsg/src/list.c:46:47: note: Function 'minor_from_header' argument 1 names different: declaration 'buf' definition 'p'. tar-1.35+dfsg/src/list.c:984:32: note: Function 'minor_from_header' argument 1 names different: declaration 'buf' definition 'p'. tar-1.35+dfsg/src/list.c:984:42: style:inconclusive: Function 'minor_from_header' argument 2 names different: declaration 'size' definition 's'. [funcArgNamesDifferent] tar-1.35+dfsg/src/list.c:46:59: note: Function 'minor_from_header' argument 2 names different: declaration 'size' definition 's'. tar-1.35+dfsg/src/list.c:984:42: note: Function 'minor_from_header' argument 2 names different: declaration 'size' definition 's'. tar-1.35+dfsg/src/list.c:994:31: style:inconclusive: Function 'mode_from_header' argument 1 names different: declaration 'buf' definition 'p'. [funcArgNamesDifferent] tar-1.35+dfsg/src/list.c:47:45: note: Function 'mode_from_header' argument 1 names different: declaration 'buf' definition 'p'. tar-1.35+dfsg/src/list.c:994:31: note: Function 'mode_from_header' argument 1 names different: declaration 'buf' definition 'p'. tar-1.35+dfsg/src/list.c:994:41: style:inconclusive: Function 'mode_from_header' argument 2 names different: declaration 'size' definition 's'. [funcArgNamesDifferent] tar-1.35+dfsg/src/list.c:47:57: note: Function 'mode_from_header' argument 2 names different: declaration 'size' definition 's'. tar-1.35+dfsg/src/list.c:994:41: note: Function 'mode_from_header' argument 2 names different: declaration 'size' definition 's'. tar-1.35+dfsg/src/list.c:1016:30: style:inconclusive: Function 'off_from_header' argument 1 names different: declaration 'buf' definition 'p'. [funcArgNamesDifferent] tar-1.35+dfsg/src/common.h:616:36: note: Function 'off_from_header' argument 1 names different: declaration 'buf' definition 'p'. tar-1.35+dfsg/src/list.c:1016:30: note: Function 'off_from_header' argument 1 names different: declaration 'buf' definition 'p'. tar-1.35+dfsg/src/list.c:1016:40: style:inconclusive: Function 'off_from_header' argument 2 names different: declaration 'size' definition 's'. [funcArgNamesDifferent] tar-1.35+dfsg/src/common.h:616:48: note: Function 'off_from_header' argument 2 names different: declaration 'size' definition 's'. tar-1.35+dfsg/src/list.c:1016:40: note: Function 'off_from_header' argument 2 names different: declaration 'size' definition 's'. tar-1.35+dfsg/src/list.c:1026:31: style:inconclusive: Function 'time_from_header' argument 1 names different: declaration 'buf' definition 'p'. [funcArgNamesDifferent] tar-1.35+dfsg/src/list.c:48:45: note: Function 'time_from_header' argument 1 names different: declaration 'buf' definition 'p'. tar-1.35+dfsg/src/list.c:1026:31: note: Function 'time_from_header' argument 1 names different: declaration 'buf' definition 'p'. tar-1.35+dfsg/src/list.c:1026:41: style:inconclusive: Function 'time_from_header' argument 2 names different: declaration 'size' definition 's'. [funcArgNamesDifferent] tar-1.35+dfsg/src/list.c:48:57: note: Function 'time_from_header' argument 2 names different: declaration 'size' definition 's'. tar-1.35+dfsg/src/list.c:1026:41: note: Function 'time_from_header' argument 2 names different: declaration 'size' definition 's'. tar-1.35+dfsg/src/list.c:1034:30: style:inconclusive: Function 'uid_from_header' argument 1 names different: declaration 'buf' definition 'p'. [funcArgNamesDifferent] tar-1.35+dfsg/src/list.c:49:43: note: Function 'uid_from_header' argument 1 names different: declaration 'buf' definition 'p'. tar-1.35+dfsg/src/list.c:1034:30: note: Function 'uid_from_header' argument 1 names different: declaration 'buf' definition 'p'. tar-1.35+dfsg/src/list.c:1034:40: style:inconclusive: Function 'uid_from_header' argument 2 names different: declaration 'size' definition 's'. [funcArgNamesDifferent] tar-1.35+dfsg/src/list.c:49:55: note: Function 'uid_from_header' argument 2 names different: declaration 'size' definition 's'. tar-1.35+dfsg/src/list.c:1034:40: note: Function 'uid_from_header' argument 2 names different: declaration 'size' definition 's'. tar-1.35+dfsg/src/list.c:1042:34: style:inconclusive: Function 'uintmax_from_header' argument 1 names different: declaration 'buf' definition 'p'. [funcArgNamesDifferent] tar-1.35+dfsg/src/common.h:617:44: note: Function 'uintmax_from_header' argument 1 names different: declaration 'buf' definition 'p'. tar-1.35+dfsg/src/list.c:1042:34: note: Function 'uintmax_from_header' argument 1 names different: declaration 'buf' definition 'p'. tar-1.35+dfsg/src/list.c:1042:44: style:inconclusive: Function 'uintmax_from_header' argument 2 names different: declaration 'size' definition 's'. [funcArgNamesDifferent] tar-1.35+dfsg/src/common.h:617:56: note: Function 'uintmax_from_header' argument 2 names different: declaration 'size' definition 's'. tar-1.35+dfsg/src/list.c:1042:44: note: Function 'uintmax_from_header' argument 2 names different: declaration 'size' definition 's'. tar-1.35+dfsg/src/list.c:356:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/list.c:625:29: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] tar-1.35+dfsg/src/list.c:1060:14: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/list.c:1138:9: style: Variable 'user' can be declared as pointer to const [constVariablePointer] tar-1.35+dfsg/src/list.c:1138:16: style: Variable 'group' can be declared as pointer to const [constVariablePointer] diff: 2.22.0 parse-datetime.y:1515:29: style: Condition 'debugging(pc)' is always false [knownConditionTrueFalse] parse-datetime.y:1515:29: note: Calling function 'debugging' returns 0 parse-datetime.y:1515:29: note: Condition 'debugging(pc)' is always false 2.22.0 parse-datetime.y:1662:7: style: Condition '!debugging(pc)' is always true [knownConditionTrueFalse] parse-datetime.y:1662:18: note: Calling function 'debugging' returns 0 parse-datetime.y:1662:7: note: Condition '!debugging(pc)' is always true 2.22.0 parse-datetime.y:1805:21: style: Condition 'debugging(&pc)' is always false [knownConditionTrueFalse] parse-datetime.y:1805:21: note: Calling function 'debugging' returns 0 parse-datetime.y:1805:21: note: Condition 'debugging(&pc)' is always false 2.22.0 parse-datetime.y:1899:21: style: Condition 'debugging(&pc)' is always false [knownConditionTrueFalse] parse-datetime.y:1899:21: note: Calling function 'debugging' returns 0 parse-datetime.y:1899:21: note: Condition 'debugging(&pc)' is always false 2.22.0 parse-datetime.y:1910:17: style: Condition 'debugging(&pc)' is always false [knownConditionTrueFalse] parse-datetime.y:1910:17: note: Calling function 'debugging' returns 0 parse-datetime.y:1910:17: note: Condition 'debugging(&pc)' is always false 2.22.0 parse-datetime.y:1952:25: style: Condition 'debugging(&pc)' is always false [knownConditionTrueFalse] parse-datetime.y:1952:25: note: Calling function 'debugging' returns 0 parse-datetime.y:1952:25: note: Condition 'debugging(&pc)' is always false 2.22.0 parse-datetime.y:1972:25: style: Condition 'debugging(&pc)' is always false [knownConditionTrueFalse] parse-datetime.y:1972:25: note: Calling function 'debugging' returns 0 parse-datetime.y:1972:25: note: Condition 'debugging(&pc)' is always false 2.22.0 parse-datetime.y:1983:29: style: Condition 'debugging(&pc)' is always false [knownConditionTrueFalse] parse-datetime.y:1983:29: note: Calling function 'debugging' returns 0 parse-datetime.y:1983:29: note: Condition 'debugging(&pc)' is always false 2.22.0 parse-datetime.y:1990:25: style: Condition 'debugging(&pc)' is always false [knownConditionTrueFalse] parse-datetime.y:1990:25: note: Calling function 'debugging' returns 0 parse-datetime.y:1990:25: note: Condition 'debugging(&pc)' is always false 2.22.0 parse-datetime.y:2000:25: style: Condition 'debugging(&pc)' is always false [knownConditionTrueFalse] parse-datetime.y:2000:25: note: Calling function 'debugging' returns 0 parse-datetime.y:2000:25: note: Condition 'debugging(&pc)' is always false 2.22.0 parse-datetime.y:2046:33: style: Condition 'debugging(&pc)' is always false [knownConditionTrueFalse] parse-datetime.y:2046:33: note: Calling function 'debugging' returns 0 parse-datetime.y:2046:33: note: Condition 'debugging(&pc)' is always false 2.22.0 parse-datetime.y:2090:29: style: Condition 'debugging(&pc)' is always false [knownConditionTrueFalse] parse-datetime.y:2090:29: note: Calling function 'debugging' returns 0 parse-datetime.y:2090:29: note: Condition 'debugging(&pc)' is always false 2.22.0 parse-datetime.y:2101:25: style: Condition 'debugging(&pc)' is always false [knownConditionTrueFalse] parse-datetime.y:2101:25: note: Calling function 'debugging' returns 0 parse-datetime.y:2101:25: note: Condition 'debugging(&pc)' is always false 2.22.0 parse-datetime.y:2108:21: style: Condition 'debugging(&pc)' is always false [knownConditionTrueFalse] parse-datetime.y:2108:21: note: Calling function 'debugging' returns 0 parse-datetime.y:2108:21: note: Condition 'debugging(&pc)' is always false 2.22.0 parse-datetime.y:2126:25: style: Condition 'debugging(&pc)' is always false [knownConditionTrueFalse] parse-datetime.y:2126:25: note: Calling function 'debugging' returns 0 parse-datetime.y:2126:25: note: Condition 'debugging(&pc)' is always false 2.22.0 parse-datetime.y:2143:29: style: Condition 'debugging(&pc)' is always false [knownConditionTrueFalse] parse-datetime.y:2143:29: note: Calling function 'debugging' returns 0 parse-datetime.y:2143:29: note: Condition 'debugging(&pc)' is always false 2.22.0 parse-datetime.y:2158:29: style: Condition 'debugging(&pc)' is always false [knownConditionTrueFalse] parse-datetime.y:2158:29: note: Calling function 'debugging' returns 0 parse-datetime.y:2158:29: note: Condition 'debugging(&pc)' is always false 2.22.0 parse-datetime.y:2166:25: style: Condition 'debugging(&pc)' is always false [knownConditionTrueFalse] parse-datetime.y:2166:25: note: Calling function 'debugging' returns 0 parse-datetime.y:2166:25: note: Condition 'debugging(&pc)' is always false 2.22.0 parse-datetime.y:2243:29: style: Condition 'debugging(&pc)' is always false [knownConditionTrueFalse] parse-datetime.y:2243:29: note: Calling function 'debugging' returns 0 parse-datetime.y:2243:29: note: Condition 'debugging(&pc)' is always false 2.22.0 parse-datetime.y:2251:21: style: Condition 'debugging(&pc)' is always false [knownConditionTrueFalse] parse-datetime.y:2251:21: note: Calling function 'debugging' returns 0 parse-datetime.y:2251:21: note: Condition 'debugging(&pc)' is always false 2.22.0 parse-datetime.y:2281:27: style: Condition 'debugging(&pc)' is always false [knownConditionTrueFalse] parse-datetime.y:2281:27: note: Calling function 'debugging' returns 0 parse-datetime.y:2281:27: note: Condition 'debugging(&pc)' is always false 2.22.0 parse-datetime.y:2290:23: style: Condition 'debugging(&pc)' is always false [knownConditionTrueFalse] parse-datetime.y:2290:23: note: Calling function 'debugging' returns 0 parse-datetime.y:2290:23: note: Condition 'debugging(&pc)' is always false 2.22.0 parse-datetime.y:2321:17: style: Condition 'debugging(&pc)' is always false [knownConditionTrueFalse] parse-datetime.y:2321:17: note: Calling function 'debugging' returns 0 parse-datetime.y:2321:17: note: Condition 'debugging(&pc)' is always false 2.22.0 parse-datetime.y:425:7: style: Condition '!debugging(pc)' is always true [knownConditionTrueFalse] parse-datetime.y:425:18: note: Calling function 'debugging' returns 0 parse-datetime.y:425:7: note: Condition '!debugging(pc)' is always true 2.22.0 parse-datetime.y:525:7: style: Condition '!debugging(pc)' is always true [knownConditionTrueFalse] parse-datetime.y:525:18: note: Calling function 'debugging' returns 0 parse-datetime.y:525:7: note: Condition '!debugging(pc)' is always true 2.22.0 parse-datetime.y:811:27: style: Condition 'debugging(pc)' is always false [knownConditionTrueFalse] parse-datetime.y:811:27: note: Calling function 'debugging' returns 0 parse-datetime.y:811:27: note: Condition 'debugging(pc)' is always false 2.22.0 parse-datetime.y:825:27: style: Condition 'debugging(pc)' is always false [knownConditionTrueFalse] parse-datetime.y:825:27: note: Calling function 'debugging' returns 0 parse-datetime.y:825:27: note: Condition 'debugging(pc)' is always false head tar-1.35+dfsg/gnu/areadlink-with-size.c:84:27: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] tar-1.35+dfsg/gnu/areadlink-with-size.c:76:33: note: Assuming allocation function fails tar-1.35+dfsg/gnu/areadlink-with-size.c:76:24: note: Assignment 'buf=buffer=malloc(buf_size)', assigned value is 0 tar-1.35+dfsg/gnu/areadlink-with-size.c:77:15: note: Assuming condition is false tar-1.35+dfsg/gnu/areadlink-with-size.c:74:11: note: Assuming condition is true tar-1.35+dfsg/gnu/areadlink-with-size.c:84:27: note: Null pointer dereference 2.22.0 tar-1.35+dfsg/gnu/areadlink-with-size.c:84:27: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] tar-1.35+dfsg/gnu/areadlink-with-size.c:76:33: note: Assuming allocation function fails tar-1.35+dfsg/gnu/areadlink-with-size.c:76:24: note: Assignment 'buf=buffer=malloc(buf_size)', assigned value is 0 tar-1.35+dfsg/gnu/areadlink-with-size.c:77:15: note: Assuming condition is false tar-1.35+dfsg/gnu/areadlink-with-size.c:84:27: note: Null pointer dereference 2.22.0 tar-1.35+dfsg/src/extract.c:1283:8: style: Condition '(file_created=set_xattr(file_name,¤t_stat_info,mode|S_IWUSR,typeflag))<0' is always false [knownConditionTrueFalse] tar-1.35+dfsg/src/extract.c:1281:41: note: Calling function 'set_xattr' returns 0 tar-1.35+dfsg/src/extract.c:1283:8: note: Condition '(file_created=set_xattr(file_name,¤t_stat_info,mode|S_IWUSR,typeflag))<0' is always false head tar-1.35+dfsg/src/extract.c:553:3: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] tar-1.35+dfsg/src/extract.c:539:22: note: Assuming allocation function fails tar-1.35+dfsg/src/extract.c:539:22: note: Assignment 'data=xmalloc(sizeof(*data))', assigned value is 0 tar-1.35+dfsg/src/extract.c:520:7: note: Assuming condition is false tar-1.35+dfsg/src/extract.c:553:3: note: Null pointer dereference 2.22.0 tar-1.35+dfsg/src/extract.c:553:3: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] tar-1.35+dfsg/src/extract.c:539:22: note: Assuming allocation function fails tar-1.35+dfsg/src/extract.c:539:22: note: Assignment 'data=xmalloc(sizeof(*data))', assigned value is 0 tar-1.35+dfsg/src/extract.c:553:3: note: Null pointer dereference head tar-1.35+dfsg/src/list.c:527:16: warning: If memory allocation fails, then there is a possible null pointer dereference: recent_global_header [nullPointerOutOfMemory] tar-1.35+dfsg/src/list.c:526:34: note: Assuming allocation function fails tar-1.35+dfsg/src/list.c:526:34: note: Assignment 'recent_global_header=xmalloc(sizeof(*recent_global_header))', assigned value is 0 tar-1.35+dfsg/src/list.c:525:12: note: Assuming condition is true tar-1.35+dfsg/src/list.c:527:16: note: Null pointer dereference 2.22.0 tar-1.35+dfsg/src/list.c:527:16: warning: If memory allocation fails, then there is a possible null pointer dereference: recent_global_header [nullPointerOutOfMemory] tar-1.35+dfsg/src/list.c:526:34: note: Assuming allocation function fails tar-1.35+dfsg/src/list.c:526:34: note: Assignment 'recent_global_header=xmalloc(sizeof(*recent_global_header))', assigned value is 0 tar-1.35+dfsg/src/list.c:527:16: note: Null pointer dereference head tar-1.35+dfsg/src/misc.c:281:26: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tar-1.35+dfsg/src/misc.c:346:20: note: Assuming allocation function fails tar-1.35+dfsg/src/misc.c:346:20: note: Assignment 'copy=xstrdup(name)', assigned value is 0 tar-1.35+dfsg/src/misc.c:345:7: note: Assuming condition is true tar-1.35+dfsg/src/misc.c:347:25: note: Calling function 'normalize_filename_x', 1st argument 'copy' value is 0 tar-1.35+dfsg/src/misc.c:281:26: note: Null pointer addition 2.22.0 tar-1.35+dfsg/src/misc.c:281:26: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tar-1.35+dfsg/src/misc.c:346:20: note: Assuming allocation function fails tar-1.35+dfsg/src/misc.c:346:20: note: Assignment 'copy=xstrdup(name)', assigned value is 0 tar-1.35+dfsg/src/misc.c:347:25: note: Calling function 'normalize_filename_x', 1st argument 'copy' value is 0 tar-1.35+dfsg/src/misc.c:281:26: note: Null pointer addition head tar-1.35+dfsg/src/names.c:689:3: warning: If memory allocation fails, then there is a possible null pointer dereference: elt [nullPointerOutOfMemory] tar-1.35+dfsg/src/names.c:683:21: note: Assuming allocation function fails tar-1.35+dfsg/src/names.c:683:21: note: Assignment 'elt=xmalloc(sizeof(*elt))', assigned value is 0 tar-1.35+dfsg/src/names.c:678:7: note: Assuming condition is true tar-1.35+dfsg/src/names.c:689:3: note: Null pointer dereference 2.22.0 tar-1.35+dfsg/src/names.c:689:3: warning: If memory allocation fails, then there is a possible null pointer dereference: elt [nullPointerOutOfMemory] tar-1.35+dfsg/src/names.c:683:21: note: Assuming allocation function fails tar-1.35+dfsg/src/names.c:683:21: note: Assignment 'elt=xmalloc(sizeof(*elt))', assigned value is 0 tar-1.35+dfsg/src/names.c:689:3: note: Null pointer dereference head tar-1.35+dfsg/src/xheader.c:899:50: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] tar-1.35+dfsg/src/xheader.c:1018:24: note: Assuming allocation function fails tar-1.35+dfsg/src/xheader.c:1018:24: note: Assignment 'outstr=xstrdup(string)', assigned value is 0 tar-1.35+dfsg/src/xheader.c:1015:7: note: Assuming condition is true tar-1.35+dfsg/src/xheader.c:1020:33: note: Calling function 'xheader_print', 3rd argument 'outstr' value is 0 tar-1.35+dfsg/src/xheader.c:899:50: note: Null pointer dereference 2.22.0 tar-1.35+dfsg/src/xheader.c:899:50: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] tar-1.35+dfsg/src/xheader.c:1018:24: note: Assuming allocation function fails tar-1.35+dfsg/src/xheader.c:1018:24: note: Assignment 'outstr=xstrdup(string)', assigned value is 0 tar-1.35+dfsg/src/xheader.c:1020:33: note: Calling function 'xheader_print', 3rd argument 'outstr' value is 0 tar-1.35+dfsg/src/xheader.c:899:50: note: Null pointer dereference DONE