2025-07-02 09:37 ftp://ftp.de.debian.org/debian/pool/main/c/cpio/cpio_2.15+dfsg.orig.tar.bz2 cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j6 platform: Linux-6.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.17.0 head-info: f4eb733 (2025-07-01 13:53:18 +0200) count: 404 361 elapsed-time: 1.3 1.3 head-timing-info: old-timing-info: head results: cpio-2.15+dfsg/gnu/argp-fmtstream.h:30:0: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/argp.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/argp-fmtstream.h:30:3: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/argp.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/inttostr.h:22:0: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/inttostr.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/argmatch.h:27:0: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/argmatch.h:27:4: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/vasnprintf.h:22:0: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/vasnprintf.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/argp-version-etc.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable argp_program_version_hook [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/openat.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/openat.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/basename-lgpl.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/basename-lgpl.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/bitrotate.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/bitrotate.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/dirname.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/dirname.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/btowc.c:30:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/c-ctype.h:28:0: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/c-ctype.h:28:3: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/c-strcase.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/c-strcase.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/c32_get_type_test.c:47:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c32isalnum [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/calloc.c:41:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/chown.c:38:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/pathmax.h:44:0: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/pathmax.h:44:4: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/fpending.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/fpending.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/cloexec.c:62:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/cloexec.c:82:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_DUPFD_CLOEXEC [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/closedir.c:60:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/dirfd.c:40:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/quotearg.h:26:0: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/quotearg.h:26:4: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/dup-safer-flag.c:36:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CLOEXEC [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/dup-safer.c:33:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_DUPFD [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/dup2.c:182:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/error.c:141:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/error.c:141:5: error: #error Please port fcntl to your platform [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/fchown-stub.c:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/filenamecat.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/filenamecat.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/fd-safer-flag.c:45:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/fd-safer.c:42:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/fcntl.c:437:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/fcntl.c:492:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CLOEXEC [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/utimens.h:22:0: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/utimens.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/free.c:41:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/fseeko.c:111:0: error: #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/fseeko.c:111:4: error: #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/attribute.h:55:0: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/attribute.h:55:3: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/stat-time.h:26:0: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/stat-time.h:26:3: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/full-write.c:70:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/getcwd-lgpl.c:56:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/getdtablesize.c:114:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_NOFILE [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/getdelim.c:70:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/getcwd-lgpl.c:82:11: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] cpio-2.15+dfsg/gnu/timespec.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/timespec.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/getopt1.c:36:21: style:inconclusive: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] cpio-2.15+dfsg/gnu/getopt_int.h:107:32: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. cpio-2.15+dfsg/gnu/getopt1.c:36:21: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. cpio-2.15+dfsg/gnu/getopt1.c:36:34: style:inconclusive: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] cpio-2.15+dfsg/gnu/getopt_int.h:107:48: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. cpio-2.15+dfsg/gnu/getopt1.c:36:34: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. cpio-2.15+dfsg/gnu/gettimeofday.c:142:0: error: #error "Only 1-second nominal clock resolution found. Is that intended?" \ [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/getopt1.c:36:52: style:inconclusive: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] cpio-2.15+dfsg/gnu/getopt_int.h:108:19: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. cpio-2.15+dfsg/gnu/getopt1.c:36:52: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. cpio-2.15+dfsg/gnu/gettimeofday.c:142:5: error: #error "Only 1-second nominal clock resolution found. Is that intended?" \ [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/getopt1.c:37:24: style:inconclusive: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] cpio-2.15+dfsg/gnu/getopt_int.h:109:28: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. cpio-2.15+dfsg/gnu/getopt1.c:37:24: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. cpio-2.15+dfsg/gnu/getopt1.c:37:43: style:inconclusive: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] cpio-2.15+dfsg/gnu/getopt_int.h:109:45: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. cpio-2.15+dfsg/gnu/getopt1.c:37:43: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. cpio-2.15+dfsg/gnu/getopt1.c:38:24: style:inconclusive: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] cpio-2.15+dfsg/gnu/getopt_int.h:110:28: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. cpio-2.15+dfsg/gnu/getopt1.c:38:24: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. cpio-2.15+dfsg/gnu/getopt1.c:59:26: style:inconclusive: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] cpio-2.15+dfsg/gnu/getopt_int.h:112:37: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. cpio-2.15+dfsg/gnu/getopt1.c:59:26: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. cpio-2.15+dfsg/gnu/getopt1.c:59:39: style:inconclusive: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] cpio-2.15+dfsg/gnu/getopt_int.h:112:53: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. cpio-2.15+dfsg/gnu/getopt1.c:59:39: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. cpio-2.15+dfsg/gnu/getopt1.c:59:57: style:inconclusive: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] cpio-2.15+dfsg/gnu/getopt_int.h:113:17: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. cpio-2.15+dfsg/gnu/getopt1.c:59:57: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. cpio-2.15+dfsg/gnu/getopt1.c:60:29: style:inconclusive: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] cpio-2.15+dfsg/gnu/getopt_int.h:114:26: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. cpio-2.15+dfsg/gnu/getopt1.c:60:29: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. cpio-2.15+dfsg/gnu/getopt1.c:60:48: style:inconclusive: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] cpio-2.15+dfsg/gnu/getopt_int.h:115:10: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. cpio-2.15+dfsg/gnu/getopt1.c:60:48: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. cpio-2.15+dfsg/gnu/getopt1.c:61:29: style:inconclusive: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] cpio-2.15+dfsg/gnu/getopt_int.h:116:26: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. cpio-2.15+dfsg/gnu/getopt1.c:61:29: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. cpio-2.15+dfsg/gnu/hard-locale.c:30:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SETLOCALE_NULL_MAX [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/ialloc.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/ialloc.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/hash.h:31:0: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/hash.h:31:3: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/lchown.c:59:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/lseek.c:80:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/malloc.c:37:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/localcharset.c:1088:14: style: Condition 'locale==NULL' is always true [knownConditionTrueFalse] cpio-2.15+dfsg/gnu/localcharset.c:1079:24: note: Assignment 'locale=NULL', assigned value is 0 cpio-2.15+dfsg/gnu/localcharset.c:1088:14: note: Condition 'locale==NULL' is always true cpio-2.15+dfsg/gnu/malloca.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/malloca.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/localcharset.c:579:14: style: struct member 'table_entry::locale' is never used. [unusedStructMember] cpio-2.15+dfsg/gnu/localcharset.c:580:14: style: struct member 'table_entry::canonical' is never used. [unusedStructMember] cpio-2.15+dfsg/gnu/localcharset.c:1097:22: style: Variable 'locale' is assigned a value that is never used. [unreadVariable] cpio-2.15+dfsg/gnu/strnlen1.h:22:0: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/strnlen1.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/mbtowc-impl.h:37:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+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] cpio-2.15+dfsg/gnu/msvc-inval.h:57:0: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/msvc-inval.h:57:3: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/getopt.c:282:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/getopt.c:624:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/msvc-nothrow.h:30:0: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/msvc-nothrow.h:30:3: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/fnmatch_loop.c:63:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FNM_EXTMATCH [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/fnmatch_loop.c:945:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable posixly_correct [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/fnmatch_loop.c:1007:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable posixly_correct [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/open.c:76:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/dirent-safer.h:22:0: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/dirent-safer.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/openat-proc.c:82:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_SEARCH [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/opendir.c:93:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/obstack.c:117:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable obstack_alloc_failed_handler [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/obstack.c:181:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable obstack_alloc_failed_handler [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/obstack.c:319:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/pipe-safer.c:41:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/pipe.c:48:0: error: #error "This platform lacks a pipe function, and Gnulib doesn't provide a replacement. This is a bug in Gnulib." [preprocessorErrorDirective] cpio-2.15+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] cpio-2.15+dfsg/gnu/xsize.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/xsize.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/progname.c:55:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/gettext.h:247:16: error: Returning pointer to local variable 'msg_ctxt_id' that will be invalid when returning. [returnDanglingLifetime] cpio-2.15+dfsg/gnu/gettext.h:239:15: note: Array decayed to pointer here. cpio-2.15+dfsg/gnu/gettext.h:226:8: note: Variable created here. cpio-2.15+dfsg/gnu/gettext.h:247:16: note: Returning pointer to local variable 'msg_ctxt_id' that will be invalid when returning. cpio-2.15+dfsg/gnu/obstack.c:220:39: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] cpio-2.15+dfsg/gnu/obstack.c:220:48: style: Parameter 'obj' can be declared as pointer to const [constParameterPointer] cpio-2.15+dfsg/gnu/obstack.c:271:39: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] cpio-2.15+dfsg/gnu/rawmemchr.c:47:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTPTR_WIDTH [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/readdir.c:68:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/rawmemchr.c:120:16: style: Variable 's' is reassigned a value before the old one has been used. [redundantAssignment] cpio-2.15+dfsg/gnu/rawmemchr.c:61:36: note: s is assigned cpio-2.15+dfsg/gnu/rawmemchr.c:120:16: note: s is overwritten cpio-2.15+dfsg/gnu/rawmemchr.c:120:16: style: Variable 's' is assigned a value that is never used. [unreadVariable] cpio-2.15+dfsg/gnu/readlink.c:41:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/realloc.c:49:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/reallocarray.c:32:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/rewinddir.c:40:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/safe-read.c:66:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/savedir.h:26:0: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/savedir.h:26:3: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/qsort.c:217:11: style: Variable 'thresh' can be declared as pointer to const [constVariablePointer] cpio-2.15+dfsg/gnu/sleep.c:72:0: error: #error "Please port gnulib sleep.c to your platform, possibly using usleep() or select(), then report this to bug-gnulib." [preprocessorErrorDirective] cpio-2.15+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] parse-datetime.y:323:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] parse-datetime.y:368:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdMAX [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:1275:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdMAX [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] cpio-2.15+dfsg/gnu/setlocale_null.c:156:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/setlocale_null.c:328:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/strerror-override.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/strerror-override.h:23:4: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/strchrnul.c:138:12: style: Variable 'char_ptr' is reassigned a value before the old one has been used. [redundantAssignment] cpio-2.15+dfsg/gnu/strchrnul.c:129:12: note: char_ptr is assigned cpio-2.15+dfsg/gnu/strchrnul.c:138:12: note: char_ptr is overwritten cpio-2.15+dfsg/gnu/strtol.c:257:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/getopt.c:272:18: warning: The address of variable 'ambig_fallback' might be accessed at non-zero index. [objectIndex] cpio-2.15+dfsg/gnu/getopt.c:251:21: note: Address of variable taken here. cpio-2.15+dfsg/gnu/getopt.c:272:18: note: The address of variable 'ambig_fallback' might be accessed at non-zero index. cpio-2.15+dfsg/gnu/getopt.c:265:18: style: Condition 'ambig_set!=&ambig_fallback' is always true [knownConditionTrueFalse] cpio-2.15+dfsg/gnu/getopt.c:252:16: note: Assuming that condition '!ambig_set' is not redundant cpio-2.15+dfsg/gnu/getopt.c:265:18: note: Condition 'ambig_set!=&ambig_fallback' is always true cpio-2.15+dfsg/gnu/getopt.c:267:16: warning: Either the condition '!ambig_set' is redundant or there is possible null pointer dereference: ambig_set. [nullPointerRedundantCheck] cpio-2.15+dfsg/gnu/getopt.c:252:16: note: Assuming that condition '!ambig_set' is not redundant cpio-2.15+dfsg/gnu/getopt.c:267:16: note: Null pointer dereference cpio-2.15+dfsg/gnu/getopt.c:268:8: warning: Either the condition '!ambig_set' is redundant or there is possible null pointer dereference: ambig_set. [nullPointerRedundantCheck] cpio-2.15+dfsg/gnu/getopt.c:252:16: note: Assuming that condition '!ambig_set' is not redundant cpio-2.15+dfsg/gnu/getopt.c:268:8: note: Null pointer dereference cpio-2.15+dfsg/gnu/getopt.c:267:16: error: Null pointer dereference [nullPointer] cpio-2.15+dfsg/gnu/getopt.c:474:25: style:inconclusive: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] cpio-2.15+dfsg/gnu/getopt_int.h:101:36: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. cpio-2.15+dfsg/gnu/getopt.c:474:25: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. cpio-2.15+dfsg/gnu/getopt.c:474:38: style:inconclusive: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] cpio-2.15+dfsg/gnu/getopt_int.h:101:52: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. cpio-2.15+dfsg/gnu/getopt.c:474:38: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. cpio-2.15+dfsg/gnu/getopt.c:474:56: style:inconclusive: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] cpio-2.15+dfsg/gnu/getopt_int.h:102:23: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. cpio-2.15+dfsg/gnu/getopt.c:474:56: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. cpio-2.15+dfsg/gnu/getopt.c:475:28: style:inconclusive: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] cpio-2.15+dfsg/gnu/getopt_int.h:103:32: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. cpio-2.15+dfsg/gnu/getopt.c:475:28: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. cpio-2.15+dfsg/gnu/getopt.c:475:43: style:inconclusive: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] cpio-2.15+dfsg/gnu/getopt_int.h:103:49: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. cpio-2.15+dfsg/gnu/getopt.c:475:43: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. cpio-2.15+dfsg/gnu/getopt.c:476:11: style:inconclusive: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] cpio-2.15+dfsg/gnu/getopt_int.h:104:15: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. cpio-2.15+dfsg/gnu/getopt.c:476:11: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. cpio-2.15+dfsg/gnu/getopt.c:476:43: style:inconclusive: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] cpio-2.15+dfsg/gnu/getopt_int.h:104:49: note: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. cpio-2.15+dfsg/gnu/getopt.c:476:43: note: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. cpio-2.15+dfsg/gnu/getopt.c:476:50: style:inconclusive: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] cpio-2.15+dfsg/gnu/getopt_int.h:105:15: note: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. cpio-2.15+dfsg/gnu/getopt.c:476:50: note: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. cpio-2.15+dfsg/gnu/getopt.c:706:23: style:inconclusive: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] cpio-2.15+dfsg/gnu/getopt_int.h:25:34: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. cpio-2.15+dfsg/gnu/getopt.c:706:23: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. cpio-2.15+dfsg/gnu/getopt.c:706:36: style:inconclusive: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] cpio-2.15+dfsg/gnu/getopt_int.h:25:50: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. cpio-2.15+dfsg/gnu/getopt.c:706:36: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. cpio-2.15+dfsg/gnu/getopt.c:706:54: style:inconclusive: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] cpio-2.15+dfsg/gnu/getopt_int.h:26:21: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. cpio-2.15+dfsg/gnu/getopt.c:706:54: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. cpio-2.15+dfsg/gnu/getopt.c:707:26: style:inconclusive: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] cpio-2.15+dfsg/gnu/getopt_int.h:27:30: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. cpio-2.15+dfsg/gnu/getopt.c:707:26: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. cpio-2.15+dfsg/gnu/getopt.c:707:41: style:inconclusive: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] cpio-2.15+dfsg/gnu/getopt_int.h:27:47: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. cpio-2.15+dfsg/gnu/getopt.c:707:41: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. cpio-2.15+dfsg/gnu/getopt.c:707:54: style:inconclusive: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] cpio-2.15+dfsg/gnu/getopt_int.h:28:13: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. cpio-2.15+dfsg/gnu/getopt.c:707:54: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. cpio-2.15+dfsg/gnu/getopt.c:708:9: style:inconclusive: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] cpio-2.15+dfsg/gnu/getopt_int.h:28:30: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. cpio-2.15+dfsg/gnu/getopt.c:708:9: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. cpio-2.15+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] cpio-2.15+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] cpio-2.15+dfsg/gnu/flexmember.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/flexmember.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/strtol.c:329:13: warning: Either the condition 's==end' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] cpio-2.15+dfsg/gnu/strtol.c:322:11: note: Assignment 'end=NULL', assigned value is 0 cpio-2.15+dfsg/gnu/strtol.c:331:13: note: Assuming that condition 's==end' is not redundant cpio-2.15+dfsg/gnu/strtol.c:303:10: note: Assignment 'save=s', assigned value is 0 cpio-2.15+dfsg/gnu/strtol.c:303:8: note: save is assigned 's' here. cpio-2.15+dfsg/gnu/strtol.c:329:13: note: Null pointer dereference cpio-2.15+dfsg/gnu/fnmatch_loop.c:925:38: style: Condition 'n!=string_end' is always true [knownConditionTrueFalse] cpio-2.15+dfsg/gnu/fnmatch_loop.c:1109:36: style: Condition 'rs==string' is always false [knownConditionTrueFalse] cpio-2.15+dfsg/gnu/fnmatch_loop.c:934:18: style:inconclusive: Function 'END' argument 1 names different: declaration 'patternp' definition 'pattern'. [funcArgNamesDifferent] cpio-2.15+dfsg/gnu/fnmatch_loop.c:37:37: note: Function 'END' argument 1 names different: declaration 'patternp' definition 'pattern'. cpio-2.15+dfsg/gnu/fnmatch_loop.c:934:18: note: Function 'END' argument 1 names different: declaration 'patternp' definition 'pattern'. cpio-2.15+dfsg/gnu/fnmatch_loop.c:1096:44: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] cpio-2.15+dfsg/gnu/fnmatch_loop.c:1105:26: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] cpio-2.15+dfsg/gnu/fnmatch_loop.c:1113:33: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] cpio-2.15+dfsg/gnu/fnmatch_loop.c:1137:40: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] cpio-2.15+dfsg/gnu/fnmatch_loop.c:1154:44: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] cpio-2.15+dfsg/gnu/fnmatch_loop.c:1164:46: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] cpio-2.15+dfsg/gnu/unsetenv.c:64:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/gnu/version-etc.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/version-etc.h:24:4: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/xgetcwd.h:19:0: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/xgetcwd.h:19:3: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/xalloc.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/gnu/xalloc.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] cpio-2.15+dfsg/lib/paxexit.c:25:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exit_status [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/lib/sysdep.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/lib/sysdep.c:49:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/lib/sysdep.c:59:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/lib/sysdep.c:69:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/lib/sysdep.c:79:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/lib/sysdep.c:89:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/lib/sysdep.c:101:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/lib/sysdep.c:113:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/lib/sysdep.c:125:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/lib/sysdep.c:136:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/lib/sysdep.c:146:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/lib/sysdep.c:156:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/lib/sysdep.c:166:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/lib/sysdep.c:176:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/lib/sysdep.c:186:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/lib/sysdep.c:77:12: style: Parameter 'filedes' can be declared as const array [constParameter] cpio-2.15+dfsg/lib/paxerror.c:32:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/lib/paxerror.c:55:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/lib/paxerror.c:68:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/lib/paxerror.c:81:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/lib/paxerror.c:92:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/lib/paxerror.c:103:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/lib/paxerror.c:129:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/lib/paxerror.c:180:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/lib/paxerror.c:192:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/lib/paxerror.c:210:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/lib/paxerror.c:258:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/lib/paxerror.c:272:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/lib/paxerror.c:280:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+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] cpio-2.15+dfsg/lib/paxerror.c:35:9: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] cpio-2.15+dfsg/lib/paxerror.c:40:9: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] cpio-2.15+dfsg/lib/paxerror.c:45:9: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] cpio-2.15+dfsg/lib/paxnames.c:54:15: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] cpio-2.15+dfsg/lib/paxnames.c:53:19: note: Assuming allocation function fails cpio-2.15+dfsg/lib/paxnames.c:53:19: note: Assignment 's=xmalloc(len+1)', assigned value is 0 cpio-2.15+dfsg/lib/paxnames.c:54:15: note: Null pointer dereference cpio-2.15+dfsg/lib/paxnames.c:55:7: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] cpio-2.15+dfsg/lib/paxnames.c:53:19: note: Assuming allocation function fails cpio-2.15+dfsg/lib/paxnames.c:53:19: note: Assignment 's=xmalloc(len+1)', assigned value is 0 cpio-2.15+dfsg/lib/paxnames.c:55:7: note: Null pointer dereference cpio-2.15+dfsg/lib/paxnames.c:129:2: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] cpio-2.15+dfsg/lib/paxnames.c:49:9: style: Variable 'e' can be declared as pointer to const [constVariablePointer] cpio-2.15+dfsg/lib/rtapelib.c:120:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/lib/rtapelib.c:147:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EIO [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/lib/rtapelib.c:217:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EIO [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/lib/rtapelib.c:365:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPERM [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/lib/rtapelib.c:400:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EMFILE [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/lib/rtapelib.c:601:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAFE_READ_ERROR [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/lib/rtapelib.c:631:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/lib/rtapelib.c:682:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/src/defer.c:32:3: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] cpio-2.15+dfsg/src/defer.c:31:36: note: Assuming allocation function fails cpio-2.15+dfsg/src/defer.c:31:7: note: Assignment 'd=(struct deferment*)xmalloc(sizeof(struct deferment))', assigned value is 0 cpio-2.15+dfsg/src/defer.c:32:3: note: Null pointer dereference cpio-2.15+dfsg/src/defer.c:33:3: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] cpio-2.15+dfsg/src/defer.c:31:36: note: Assuming allocation function fails cpio-2.15+dfsg/src/defer.c:31:7: note: Assignment 'd=(struct deferment*)xmalloc(sizeof(struct deferment))', assigned value is 0 cpio-2.15+dfsg/src/defer.c:33:3: note: Null pointer dereference cpio-2.15+dfsg/src/defer.c:34:11: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] cpio-2.15+dfsg/src/defer.c:31:36: note: Assuming allocation function fails cpio-2.15+dfsg/src/defer.c:31:7: note: Assignment 'd=(struct deferment*)xmalloc(sizeof(struct deferment))', assigned value is 0 cpio-2.15+dfsg/src/defer.c:34:11: note: Null pointer dereference cpio-2.15+dfsg/src/defer.c:28:42: style: Parameter 'file_hdr' can be declared as pointer to const [constParameterPointer] cpio-2.15+dfsg/src/copypass.c:86:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/src/dstring.c:85:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/src/copyout.c:39:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/src/copyout.c:204:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/src/copyout.c:636:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/src/fatal.c:25:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAXEXIT_FAILURE [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/lib/rtapelib.c:359:23: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] cpio-2.15+dfsg/lib/rtapelib.c:449:7: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] cpio-2.15+dfsg/lib/rtapelib.c:119:27: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] cpio-2.15+dfsg/lib/rtapelib.c:554:36: note: Assuming allocation function fails cpio-2.15+dfsg/lib/rtapelib.c:554:36: note: Assignment 'command_buffer=xmalloc(remote_file_len+1000)', assigned value is 0 cpio-2.15+dfsg/lib/rtapelib.c:558:41: note: Calling function 'do_command', 2nd argument 'command_buffer' value is 0 cpio-2.15+dfsg/lib/rtapelib.c:119:27: note: Null pointer dereference cpio-2.15+dfsg/lib/rtapelib.c:414:36: warning: If memory allocation fails, then there is a possible null pointer dereference: cursor [nullPointerOutOfMemory] cpio-2.15+dfsg/lib/rtapelib.c:409:30: note: Assuming allocation function fails cpio-2.15+dfsg/lib/rtapelib.c:409:30: note: Assignment 'file_name_copy=xstrdup(file_name)', assigned value is 0 cpio-2.15+dfsg/lib/rtapelib.c:414:19: note: Assignment 'cursor=file_name_copy', assigned value is 0 cpio-2.15+dfsg/lib/rtapelib.c:414:36: note: Null pointer dereference cpio-2.15+dfsg/lib/rtapelib.c:557:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: command_buffer [nullPointerOutOfMemory] cpio-2.15+dfsg/lib/rtapelib.c:554:36: note: Assuming allocation function fails cpio-2.15+dfsg/lib/rtapelib.c:554:36: note: Assignment 'command_buffer=xmalloc(remote_file_len+1000)', assigned value is 0 cpio-2.15+dfsg/lib/rtapelib.c:557:13: note: Null pointer dereference cpio-2.15+dfsg/lib/rtapelib.c:556:34: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cpio-2.15+dfsg/lib/rtapelib.c:554:36: note: Assuming allocation function fails cpio-2.15+dfsg/lib/rtapelib.c:554:36: note: Assignment 'command_buffer=xmalloc(remote_file_len+1000)', assigned value is 0 cpio-2.15+dfsg/lib/rtapelib.c:556:34: note: Null pointer addition cpio-2.15+dfsg/lib/rtapelib.c:497:2: style: Variable 'errno' is assigned an expression that holds the same value. [redundantAssignment] cpio-2.15+dfsg/lib/rtapelib.c:495:8: note: e is assigned 'errno' here. cpio-2.15+dfsg/lib/rtapelib.c:497:2: note: Variable 'errno' is assigned an expression that holds the same value. cpio-2.15+dfsg/lib/rtapelib.c:506:2: style: Variable 'errno' is assigned an expression that holds the same value. [redundantAssignment] cpio-2.15+dfsg/lib/rtapelib.c:504:8: note: e is assigned 'errno' here. cpio-2.15+dfsg/lib/rtapelib.c:506:2: note: Variable 'errno' is assigned an expression that holds the same value. cpio-2.15+dfsg/lib/rtapelib.c:240:2: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] cpio-2.15+dfsg/lib/rtapelib.c:677:61: style: Parameter 'argument' can be declared as pointer to const [constParameterPointer] cpio-2.15+dfsg/src/filemode.c:155:35: style: Parameter 'chars' can be declared as pointer to const [constParameterPointer] cpio-2.15+dfsg/src/filemode.c:239:30: style: Parameter 'statp' can be declared as pointer to const [constParameterPointer] cpio-2.15+dfsg/src/idcache.c:68:11: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] cpio-2.15+dfsg/src/idcache.c:106:11: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] cpio-2.15+dfsg/src/idcache.c:142:11: portability: Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'. [prohibitedgetgrgidCalled] cpio-2.15+dfsg/src/idcache.c:180:11: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] cpio-2.15+dfsg/src/idcache.c:70:3: warning: If memory allocation fails, then there is a possible null pointer dereference: tail [nullPointerOutOfMemory] cpio-2.15+dfsg/src/idcache.c:69:36: note: Assuming allocation function fails cpio-2.15+dfsg/src/idcache.c:69:10: note: Assignment 'tail=(struct userid*)xmalloc(sizeof(struct userid))', assigned value is 0 cpio-2.15+dfsg/src/idcache.c:70:3: note: Null pointer dereference cpio-2.15+dfsg/src/idcache.c:80:3: warning: If memory allocation fails, then there is a possible null pointer dereference: tail [nullPointerOutOfMemory] cpio-2.15+dfsg/src/idcache.c:69:36: note: Assuming allocation function fails cpio-2.15+dfsg/src/idcache.c:69:10: note: Assignment 'tail=(struct userid*)xmalloc(sizeof(struct userid))', assigned value is 0 cpio-2.15+dfsg/src/idcache.c:80:3: note: Null pointer dereference cpio-2.15+dfsg/src/idcache.c:82:10: warning: If memory allocation fails, then there is a possible null pointer dereference: tail [nullPointerOutOfMemory] cpio-2.15+dfsg/src/idcache.c:69:36: note: Assuming allocation function fails cpio-2.15+dfsg/src/idcache.c:69:10: note: Assignment 'tail=(struct userid*)xmalloc(sizeof(struct userid))', assigned value is 0 cpio-2.15+dfsg/src/idcache.c:82:10: note: Null pointer dereference cpio-2.15+dfsg/src/idcache.c:109:3: warning: If memory allocation fails, then there is a possible null pointer dereference: tail [nullPointerOutOfMemory] cpio-2.15+dfsg/src/idcache.c:108:36: note: Assuming allocation function fails cpio-2.15+dfsg/src/idcache.c:108:10: note: Assignment 'tail=(struct userid*)xmalloc(sizeof(struct userid))', assigned value is 0 cpio-2.15+dfsg/src/idcache.c:109:3: note: Null pointer dereference cpio-2.15+dfsg/src/idcache.c:120:3: warning: If memory allocation fails, then there is a possible null pointer dereference: tail [nullPointerOutOfMemory] cpio-2.15+dfsg/src/idcache.c:108:36: note: Assuming allocation function fails cpio-2.15+dfsg/src/idcache.c:108:10: note: Assignment 'tail=(struct userid*)xmalloc(sizeof(struct userid))', assigned value is 0 cpio-2.15+dfsg/src/idcache.c:112:7: note: Assuming condition is false cpio-2.15+dfsg/src/idcache.c:120:3: note: Null pointer dereference cpio-2.15+dfsg/src/idcache.c:144:3: warning: If memory allocation fails, then there is a possible null pointer dereference: tail [nullPointerOutOfMemory] cpio-2.15+dfsg/src/idcache.c:143:36: note: Assuming allocation function fails cpio-2.15+dfsg/src/idcache.c:143:10: note: Assignment 'tail=(struct userid*)xmalloc(sizeof(struct userid))', assigned value is 0 cpio-2.15+dfsg/src/idcache.c:144:3: note: Null pointer dereference cpio-2.15+dfsg/src/idcache.c:154:3: warning: If memory allocation fails, then there is a possible null pointer dereference: tail [nullPointerOutOfMemory] cpio-2.15+dfsg/src/idcache.c:143:36: note: Assuming allocation function fails cpio-2.15+dfsg/src/idcache.c:143:10: note: Assignment 'tail=(struct userid*)xmalloc(sizeof(struct userid))', assigned value is 0 cpio-2.15+dfsg/src/idcache.c:154:3: note: Null pointer dereference cpio-2.15+dfsg/src/idcache.c:156:10: warning: If memory allocation fails, then there is a possible null pointer dereference: tail [nullPointerOutOfMemory] cpio-2.15+dfsg/src/idcache.c:143:36: note: Assuming allocation function fails cpio-2.15+dfsg/src/idcache.c:143:10: note: Assignment 'tail=(struct userid*)xmalloc(sizeof(struct userid))', assigned value is 0 cpio-2.15+dfsg/src/idcache.c:156:10: note: Null pointer dereference cpio-2.15+dfsg/src/idcache.c:183:3: warning: If memory allocation fails, then there is a possible null pointer dereference: tail [nullPointerOutOfMemory] cpio-2.15+dfsg/src/idcache.c:182:36: note: Assuming allocation function fails cpio-2.15+dfsg/src/idcache.c:182:10: note: Assignment 'tail=(struct userid*)xmalloc(sizeof(struct userid))', assigned value is 0 cpio-2.15+dfsg/src/idcache.c:183:3: note: Null pointer dereference cpio-2.15+dfsg/src/idcache.c:194:3: warning: If memory allocation fails, then there is a possible null pointer dereference: tail [nullPointerOutOfMemory] cpio-2.15+dfsg/src/idcache.c:182:36: note: Assuming allocation function fails cpio-2.15+dfsg/src/idcache.c:182:10: note: Assignment 'tail=(struct userid*)xmalloc(sizeof(struct userid))', assigned value is 0 cpio-2.15+dfsg/src/idcache.c:186:7: note: Assuming condition is false cpio-2.15+dfsg/src/idcache.c:194:3: note: Null pointer dereference cpio-2.15+dfsg/src/idcache.c:62:18: style: Variable 'pwent' can be declared as pointer to const [constVariablePointer] cpio-2.15+dfsg/src/idcache.c:91:21: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] cpio-2.15+dfsg/src/idcache.c:94:18: style: Variable 'pwent' can be declared as pointer to const [constVariablePointer] cpio-2.15+dfsg/src/idcache.c:136:17: style: Variable 'grent' can be declared as pointer to const [constVariablePointer] cpio-2.15+dfsg/src/copyin.c:114:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/src/copyin.c:369:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/src/idcache.c:165:21: style: Parameter 'group' can be declared as pointer to const [constParameterPointer] cpio-2.15+dfsg/src/copyin.c:477:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/src/idcache.c:168:17: style: Variable 'grent' can be declared as pointer to const [constVariablePointer] cpio-2.15+dfsg/src/copyin.c:614:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/src/copyin.c:666:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/src/copyin.c:752:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/src/copyin.c:809:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/src/copyin.c:980:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/src/copyin.c:1071:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAXEXIT_FAILURE [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/src/copyin.c:1411:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TTY_NAME [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/src/main.c:76:44: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE_BUGREPORT is a macro then please configure it. [unknownMacro] cpio-2.15+dfsg/src/mt.c:164:44: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE_BUGREPORT is a macro then please configure it. [unknownMacro] parse-datetime.c:1608:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] cpio-2.15+dfsg/src/makepath.c:68:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MODE_RWX [valueFlowBailoutIncompleteVar] 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: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 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 parse-datetime.y:1607:35: style: Condition '!pc->zones_seen' is always false [knownConditionTrueFalse] 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 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 cpio-2.15+dfsg/src/tar.c:161:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MODE_ALL [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/src/tar.c:279:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPIO_TRAILER_NAME [valueFlowBailoutIncompleteVar] parse-datetime.y:1427:17: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] parse-datetime.y:329:27: style: Parameter 'pc' can be declared as pointer to const [constParameterPointer] parse-datetime.c:1608:11: style: Variable 'yymsg' is assigned a value that is never used. [unreadVariable] cpio-2.15+dfsg/src/makepath.c:62:13: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] cpio-2.15+dfsg/src/util.c:81:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSPC [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/src/util.c:144:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAXEXIT_FAILURE [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/src/util.c:207:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAFE_READ_ERROR [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/src/util.c:225:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAFE_READ_ERROR [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/src/util.c:374:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAXEXIT_FAILURE [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/src/util.c:586:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIuMAX [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/src/util.c:606:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAXEXIT_FAILURE [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/src/util.c:649:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAXEXIT_FAILURE [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/src/util.c:802:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/src/util.c:851:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TTY_NAME [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/src/util.c:1231:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPERM [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/src/util.c:1250:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/src/util.c:1373:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MODE_RWX [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/src/util.c:1424:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IWUSR [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/src/util.c:1480:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EEXIST [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/src/util.c:1513:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAXEXIT_FAILURE [valueFlowBailoutIncompleteVar] cpio-2.15+dfsg/src/tar.c:34:27: style: Parameter 'linkname' can be declared as pointer to const [constParameterPointer] cpio-2.15+dfsg/src/tar.c:62:27: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] cpio-2.15+dfsg/src/tar.c:62:41: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] cpio-2.15+dfsg/src/tar.c:102:9: style: Variable 'q' can be declared as pointer to const [constVariablePointer] cpio-2.15+dfsg/src/tar.c:133:46: style: Parameter 'file_hdr' can be declared as pointer to const [constParameterPointer] cpio-2.15+dfsg/src/tar.c:210:13: style: Variable 'name' can be declared as pointer to const [constVariablePointer] cpio-2.15+dfsg/src/tar.c:240:18: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cpio-2.15+dfsg/src/tar.c:259:10: style: Variable 'uidp' can be declared as pointer to const [constVariablePointer] cpio-2.15+dfsg/src/tar.c:260:10: style: Variable 'gidp' can be declared as pointer to const [constVariablePointer] cpio-2.15+dfsg/src/tar.c:449:33: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] cpio-2.15+dfsg/src/copyout.c:785:41: warning: If memory allocation fails, then there is a possible null pointer dereference: link_name [nullPointerOutOfMemory] cpio-2.15+dfsg/src/copyout.c:782:38: note: Assuming allocation function fails cpio-2.15+dfsg/src/copyout.c:782:21: note: Assignment 'link_name=(char*)xmalloc(file_stat.st_size+1)', assigned value is 0 cpio-2.15+dfsg/src/copyout.c:785:41: note: Null pointer dereference cpio-2.15+dfsg/src/copyout.c:793:3: warning: If memory allocation fails, then there is a possible null pointer dereference: link_name [nullPointerOutOfMemory] cpio-2.15+dfsg/src/copyout.c:782:38: note: Assuming allocation function fails cpio-2.15+dfsg/src/copyout.c:782:21: note: Assignment 'link_name=(char*)xmalloc(file_stat.st_size+1)', assigned value is 0 cpio-2.15+dfsg/src/copyout.c:787:17: note: Assuming condition is false cpio-2.15+dfsg/src/copyout.c:793:3: note: Null pointer dereference cpio-2.15+dfsg/src/copyout.c:796:23: warning: If memory allocation fails, then there is a possible null pointer dereference: link_name [nullPointerOutOfMemory] cpio-2.15+dfsg/src/copyout.c:782:38: note: Assuming allocation function fails cpio-2.15+dfsg/src/copyout.c:782:21: note: Assignment 'link_name=(char*)xmalloc(file_stat.st_size+1)', assigned value is 0 cpio-2.15+dfsg/src/copyout.c:787:17: note: Assuming condition is false cpio-2.15+dfsg/src/copyout.c:796:23: note: Null pointer dereference cpio-2.15+dfsg/src/copyout.c:38:12: style: Local variable 'crc' shadows outer variable [shadowVariable] cpio-2.15+dfsg/src/extern.h:81:17: note: Shadowed declaration cpio-2.15+dfsg/src/copyout.c:38:12: note: Shadow variable cpio-2.15+dfsg/src/copyout.c:107:56: style: Parameter 'file_hdr' can be declared as pointer to const [constParameterPointer] cpio-2.15+dfsg/src/copyout.c:153:47: style: Parameter 'file_hdr' can be declared as pointer to const [constParameterPointer] cpio-2.15+dfsg/src/copyout.c:271:15: style: Variable 'codetab' can be declared as const array [constVariable] cpio-2.15+dfsg/src/copyout.c:582:35: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] cpio-2.15+dfsg/src/userspec.c:88:3: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] cpio-2.15+dfsg/src/userspec.c:118:8: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] cpio-2.15+dfsg/src/userspec.c:142:14: portability: Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'. [prohibitedgetgrgidCalled] cpio-2.15+dfsg/src/userspec.c:146:5: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] cpio-2.15+dfsg/src/userspec.c:150:5: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] cpio-2.15+dfsg/src/userspec.c:167:8: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] cpio-2.15+dfsg/src/userspec.c:181:2: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] cpio-2.15+dfsg/src/userspec.c:80:17: style: Variable 'grp' can be declared as pointer to const [constVariablePointer] cpio-2.15+dfsg/src/userspec.c:81:9: style: Variable 'g' can be declared as pointer to const [constVariablePointer] cpio-2.15+dfsg/src/userspec.c:81:13: style: Variable 'u' can be declared as pointer to const [constVariablePointer] cpio-2.15+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] cpio-2.15+dfsg/tests/argcv.c:360:7: error: Common realloc mistake: 'buffer' nulled but not freed upon failure [memleakOnRealloc] cpio-2.15+dfsg/tests/argcv.c:41:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] cpio-2.15+dfsg/src/copypass.c:271:48: warning: If memory allocation fails, then there is a possible null pointer dereference: link_name [nullPointerOutOfMemory] cpio-2.15+dfsg/src/copypass.c:269:33: note: Assuming allocation function fails cpio-2.15+dfsg/src/copypass.c:269:16: note: Assignment 'link_name=(char*)xmalloc((unsigned int)in_file_stat.st_size+1)', assigned value is 0 cpio-2.15+dfsg/src/copypass.c:271:48: note: Null pointer dereference cpio-2.15+dfsg/src/copypass.c:279:4: warning: If memory allocation fails, then there is a possible null pointer dereference: link_name [nullPointerOutOfMemory] cpio-2.15+dfsg/src/copypass.c:269:33: note: Assuming allocation function fails cpio-2.15+dfsg/src/copypass.c:269:16: note: Assignment 'link_name=(char*)xmalloc((unsigned int)in_file_stat.st_size+1)', assigned value is 0 cpio-2.15+dfsg/src/copypass.c:273:18: note: Assuming condition is false cpio-2.15+dfsg/src/copypass.c:279:4: note: Null pointer dereference cpio-2.15+dfsg/src/copypass.c:281:10: warning: If memory allocation fails, then there is a possible null pointer dereference: link_name [nullPointerOutOfMemory] cpio-2.15+dfsg/src/copypass.c:269:33: note: Assuming allocation function fails cpio-2.15+dfsg/src/copypass.c:269:16: note: Assignment 'link_name=(char*)xmalloc((unsigned int)in_file_stat.st_size+1)', assigned value is 0 cpio-2.15+dfsg/src/copypass.c:273:18: note: Assuming condition is false cpio-2.15+dfsg/src/copypass.c:281:10: note: Null pointer dereference cpio-2.15+dfsg/src/copypass.c:80:15: style: Variable 'dirname_len' is reassigned a value before the old one has been used. [redundantAssignment] cpio-2.15+dfsg/src/copypass.c:70:15: note: dirname_len is assigned cpio-2.15+dfsg/src/copypass.c:80:15: note: dirname_len is overwritten cpio-2.15+dfsg/src/copypass.c:73:13: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] cpio-2.15+dfsg/src/copypass.c:355:9: style: Variable 'link_name' can be declared as pointer to const [constVariablePointer] cpio-2.15+dfsg/src/util.c:1171:24: style: Expression is always false because 'else if' condition matches previous condition at line 1167. [multiCondition] cpio-2.15+dfsg/src/util.c:608:7: warning: Either the condition 'dir==NULL' is redundant or there is possible null pointer dereference: dir. [nullPointerRedundantCheck] cpio-2.15+dfsg/src/util.c:605:11: note: Assuming that condition 'dir==NULL' is not redundant cpio-2.15+dfsg/src/util.c:608:7: note: Null pointer dereference cpio-2.15+dfsg/src/util.c:738:3: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] cpio-2.15+dfsg/src/util.c:737:39: note: Assuming allocation function fails cpio-2.15+dfsg/src/util.c:737:10: note: Assignment 'temp=(struct inode_val*)xmalloc(sizeof(struct inode_val))', assigned value is 0 cpio-2.15+dfsg/src/util.c:738:3: note: Null pointer dereference cpio-2.15+dfsg/src/util.c:739:3: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] cpio-2.15+dfsg/src/util.c:737:39: note: Assuming allocation function fails cpio-2.15+dfsg/src/util.c:737:10: note: Assignment 'temp=(struct inode_val*)xmalloc(sizeof(struct inode_val))', assigned value is 0 cpio-2.15+dfsg/src/util.c:739:3: note: Null pointer dereference cpio-2.15+dfsg/src/util.c:740:3: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] cpio-2.15+dfsg/src/util.c:737:39: note: Assuming allocation function fails cpio-2.15+dfsg/src/util.c:737:10: note: Assignment 'temp=(struct inode_val*)xmalloc(sizeof(struct inode_val))', assigned value is 0 cpio-2.15+dfsg/src/util.c:740:3: note: Null pointer dereference cpio-2.15+dfsg/src/util.c:741:3: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] cpio-2.15+dfsg/src/util.c:737:39: note: Assuming allocation function fails cpio-2.15+dfsg/src/util.c:737:10: note: Assignment 'temp=(struct inode_val*)xmalloc(sizeof(struct inode_val))', assigned value is 0 cpio-2.15+dfsg/src/util.c:741:3: note: Null pointer dereference cpio-2.15+dfsg/src/util.c:926:11: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: tty_out [nullPointerOutOfResources] cpio-2.15+dfsg/src/util.c:854:19: note: Assuming allocation function fails cpio-2.15+dfsg/src/util.c:854:19: note: Assignment 'tty_out=fopen(TTY_NAME,"w")', assigned value is 0 cpio-2.15+dfsg/src/util.c:926:11: note: Null pointer dereference cpio-2.15+dfsg/src/util.c:959:16: warning: If memory allocation fails, then there is a possible null pointer dereference: new_media_message_with_number [nullPointerOutOfMemory] cpio-2.15+dfsg/src/util.c:958:47: note: Assuming allocation function fails cpio-2.15+dfsg/src/util.c:958:47: note: Assignment 'new_media_message_with_number=xmalloc(length+1)', assigned value is 0 cpio-2.15+dfsg/src/util.c:959:16: note: Null pointer dereference cpio-2.15+dfsg/src/util.c:960:7: warning: If memory allocation fails, then there is a possible null pointer dereference: new_media_message_with_number [nullPointerOutOfMemory] cpio-2.15+dfsg/src/util.c:958:47: note: Assuming allocation function fails cpio-2.15+dfsg/src/util.c:958:47: note: Assignment 'new_media_message_with_number=xmalloc(length+1)', assigned value is 0 cpio-2.15+dfsg/src/util.c:960:7: note: Null pointer dereference cpio-2.15+dfsg/src/util.c:963:15: warning: If memory allocation fails, then there is a possible null pointer dereference: new_media_message_after_number [nullPointerOutOfMemory] cpio-2.15+dfsg/src/util.c:962:48: note: Assuming allocation function fails cpio-2.15+dfsg/src/util.c:962:48: note: Assignment 'new_media_message_after_number=xmalloc(length+1)', assigned value is 0 cpio-2.15+dfsg/src/util.c:963:15: note: Null pointer dereference cpio-2.15+dfsg/src/util.c:1331:3: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] cpio-2.15+dfsg/src/util.c:1330:13: note: Assuming allocation function fails cpio-2.15+dfsg/src/util.c:1330:13: note: Assignment 'data=xmalloc(sizeof(struct delayed_set_stat)+file_name_len+1)', assigned value is 0 cpio-2.15+dfsg/src/util.c:1331:3: note: Null pointer dereference cpio-2.15+dfsg/src/util.c:1333:3: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] cpio-2.15+dfsg/src/util.c:1330:13: note: Assuming allocation function fails cpio-2.15+dfsg/src/util.c:1330:13: note: Assignment 'data=xmalloc(sizeof(struct delayed_set_stat)+file_name_len+1)', assigned value is 0 cpio-2.15+dfsg/src/util.c:1333:3: note: Null pointer dereference cpio-2.15+dfsg/src/util.c:1334:11: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] cpio-2.15+dfsg/src/util.c:1330:13: note: Assuming allocation function fails cpio-2.15+dfsg/src/util.c:1330:13: note: Assignment 'data=xmalloc(sizeof(struct delayed_set_stat)+file_name_len+1)', assigned value is 0 cpio-2.15+dfsg/src/util.c:1334:11: note: Null pointer dereference cpio-2.15+dfsg/src/util.c:1335:3: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] cpio-2.15+dfsg/src/util.c:1330:13: note: Assuming allocation function fails cpio-2.15+dfsg/src/util.c:1330:13: note: Assignment 'data=xmalloc(sizeof(struct delayed_set_stat)+file_name_len+1)', assigned value is 0 cpio-2.15+dfsg/src/util.c:1335:3: note: Null pointer dereference cpio-2.15+dfsg/src/util.c:1333:37: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cpio-2.15+dfsg/src/util.c:1330:13: note: Assuming allocation function fails cpio-2.15+dfsg/src/util.c:1330:13: note: Assignment 'data=xmalloc(sizeof(struct delayed_set_stat)+file_name_len+1)', assigned value is 0 cpio-2.15+dfsg/src/util.c:1333:37: note: Null pointer addition cpio-2.15+dfsg/src/util.c:1015:45: style:inconclusive: Function 'sparse_write' argument 3 names different: declaration 'nbyte' definition 'nbytes'. [funcArgNamesDifferent] cpio-2.15+dfsg/src/util.c:101:60: note: Function 'sparse_write' argument 3 names different: declaration 'nbyte' definition 'nbytes'. cpio-2.15+dfsg/src/util.c:1015:45: note: Function 'sparse_write' argument 3 names different: declaration 'nbyte' definition 'nbytes'. cpio-2.15+dfsg/src/util.c:730:34: style: Parameter 'file_name' can be declared as pointer to const [constParameterPointer] cpio-2.15+dfsg/src/util.c:763:22: style: Variable 'ival' can be declared as pointer to const [constVariablePointer] cpio-2.15+dfsg/src/util.c:938:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cpio-2.15+dfsg/src/util.c:993:22: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] cpio-2.15+dfsg/src/util.c:1019:9: style: Variable 'start_ptr' can be declared as pointer to const [constVariablePointer] cpio-2.15+dfsg/src/util.c:1325:45: style: Parameter 'file_stat' can be declared as pointer to const [constParameterPointer] cpio-2.15+dfsg/src/util.c:1385:49: style: Parameter 'file_hdr' can be declared as pointer to const [constParameterPointer] cpio-2.15+dfsg/src/copyin.c:660:31: style:inconclusive: Boolean expression 'da->dev==db->dev' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] cpio-2.15+dfsg/src/copyin.c:963:32: warning: Invalid xcalloc() argument nr 1. The value is 0 but the valid values are '1:'. [invalidFunctionArg] cpio-2.15+dfsg/src/copyin.c:960:20: note: Assignment 'num_patterns=0', assigned value is 0 cpio-2.15+dfsg/src/copyin.c:962:22: note: Assignment 'max_new_patterns=num_patterns', assigned value is 0 cpio-2.15+dfsg/src/copyin.c:963:32: note: Invalid argument cpio-2.15+dfsg/src/copyin.c:650:9: style: Condition '0dev' here. cpio-2.15+dfsg/src/copyin.c:649:48: note: Assignment 'nshift=(sizeof(n)-sizeof(dl->dev))*8', assigned value is 0 cpio-2.15+dfsg/src/copyin.c:650:9: note: Condition '0c_filesize+1)', assigned value is 0 cpio-2.15+dfsg/src/copyin.c:124:7: note: Null pointer dereference cpio-2.15+dfsg/src/copyin.c:693:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cpio-2.15+dfsg/src/copyin.c:692:15: note: Assuming allocation function fails cpio-2.15+dfsg/src/copyin.c:692:15: note: Assignment 'p=xmalloc(sizeof(*p)+strlen(oldpath)+newlen+1)', assigned value is 0 cpio-2.15+dfsg/src/copyin.c:693:3: note: Null pointer dereference cpio-2.15+dfsg/src/copyin.c:694:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cpio-2.15+dfsg/src/copyin.c:692:15: note: Assuming allocation function fails cpio-2.15+dfsg/src/copyin.c:692:15: note: Assignment 'p=xmalloc(sizeof(*p)+strlen(oldpath)+newlen+1)', assigned value is 0 cpio-2.15+dfsg/src/copyin.c:694:3: note: Null pointer dereference cpio-2.15+dfsg/src/copyin.c:696:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cpio-2.15+dfsg/src/copyin.c:692:15: note: Assuming allocation function fails cpio-2.15+dfsg/src/copyin.c:692:15: note: Assignment 'p=xmalloc(sizeof(*p)+strlen(oldpath)+newlen+1)', assigned value is 0 cpio-2.15+dfsg/src/copyin.c:696:3: note: Null pointer dereference cpio-2.15+dfsg/src/copyin.c:697:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cpio-2.15+dfsg/src/copyin.c:692:15: note: Assuming allocation function fails cpio-2.15+dfsg/src/copyin.c:692:15: note: Assignment 'p=xmalloc(sizeof(*p)+strlen(oldpath)+newlen+1)', assigned value is 0 cpio-2.15+dfsg/src/copyin.c:697:3: note: Null pointer dereference cpio-2.15+dfsg/src/copyin.c:698:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cpio-2.15+dfsg/src/copyin.c:692:15: note: Assuming allocation function fails cpio-2.15+dfsg/src/copyin.c:692:15: note: Assignment 'p=xmalloc(sizeof(*p)+strlen(oldpath)+newlen+1)', assigned value is 0 cpio-2.15+dfsg/src/copyin.c:698:3: note: Null pointer dereference cpio-2.15+dfsg/src/copyin.c:699:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cpio-2.15+dfsg/src/copyin.c:692:15: note: Assuming allocation function fails cpio-2.15+dfsg/src/copyin.c:692:15: note: Assignment 'p=xmalloc(sizeof(*p)+strlen(oldpath)+newlen+1)', assigned value is 0 cpio-2.15+dfsg/src/copyin.c:699:3: note: Null pointer dereference cpio-2.15+dfsg/src/copyin.c:701:11: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cpio-2.15+dfsg/src/copyin.c:692:15: note: Assuming allocation function fails cpio-2.15+dfsg/src/copyin.c:692:15: note: Assignment 'p=xmalloc(sizeof(*p)+strlen(oldpath)+newlen+1)', assigned value is 0 cpio-2.15+dfsg/src/copyin.c:701:11: note: Null pointer dereference cpio-2.15+dfsg/src/copyin.c:702:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cpio-2.15+dfsg/src/copyin.c:692:15: note: Assuming allocation function fails cpio-2.15+dfsg/src/copyin.c:692:15: note: Assignment 'p=xmalloc(sizeof(*p)+strlen(oldpath)+newlen+1)', assigned value is 0 cpio-2.15+dfsg/src/copyin.c:702:3: note: Null pointer dereference cpio-2.15+dfsg/src/copyin.c:702:15: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cpio-2.15+dfsg/src/copyin.c:692:15: note: Assuming allocation function fails cpio-2.15+dfsg/src/copyin.c:692:15: note: Assignment 'p=xmalloc(sizeof(*p)+strlen(oldpath)+newlen+1)', assigned value is 0 cpio-2.15+dfsg/src/copyin.c:702:15: note: Null pointer dereference cpio-2.15+dfsg/src/copyin.c:703:11: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cpio-2.15+dfsg/src/copyin.c:692:15: note: Assuming allocation function fails cpio-2.15+dfsg/src/copyin.c:692:15: note: Assignment 'p=xmalloc(sizeof(*p)+strlen(oldpath)+newlen+1)', assigned value is 0 cpio-2.15+dfsg/src/copyin.c:703:11: note: Null pointer dereference cpio-2.15+dfsg/src/copyin.c:1361:19: style:inconclusive: Function 'swab_array' argument 1 names different: declaration 'arg' definition 'ptr'. [funcArgNamesDifferent] cpio-2.15+dfsg/src/extern.h:117:24: note: Function 'swab_array' argument 1 names different: declaration 'arg' definition 'ptr'. cpio-2.15+dfsg/src/copyin.c:1361:19: note: Function 'swab_array' argument 1 names different: declaration 'arg' definition 'ptr'. cpio-2.15+dfsg/src/copyin.c:56:9: style: Variable 'str_res' can be declared as pointer to const [constVariablePointer] cpio-2.15+dfsg/src/copyin.c:664:28: style: Parameter 'oldpath' can be declared as pointer to const [constParameterPointer] cpio-2.15+dfsg/src/copyin.c:664:75: style: Parameter 'file_stat' can be declared as pointer to const [constParameterPointer] cpio-2.15+dfsg/src/copyin.c:998:15: style: Variable 'codetab' can be declared as const array [constVariable] cpio-2.15+dfsg/src/copyin.c:1012:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] diff: head cpio-2.15+dfsg/gnu/argmatch.h:27:4: error: #error "Please include config.h first." [preprocessorErrorDirective] head cpio-2.15+dfsg/gnu/argp-fmtstream.h:30:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head cpio-2.15+dfsg/gnu/argp.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head cpio-2.15+dfsg/gnu/attribute.h:55:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head cpio-2.15+dfsg/gnu/basename-lgpl.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head cpio-2.15+dfsg/gnu/bitrotate.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head cpio-2.15+dfsg/gnu/c-ctype.h:28:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head cpio-2.15+dfsg/gnu/c-strcase.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head cpio-2.15+dfsg/gnu/dirent-safer.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head cpio-2.15+dfsg/gnu/dirname.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head cpio-2.15+dfsg/gnu/error.c:141:5: error: #error Please port fcntl to your platform [preprocessorErrorDirective] head cpio-2.15+dfsg/gnu/filenamecat.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head cpio-2.15+dfsg/gnu/flexmember.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head cpio-2.15+dfsg/gnu/fpending.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head cpio-2.15+dfsg/gnu/fseeko.c:111:4: error: #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib." [preprocessorErrorDirective] head cpio-2.15+dfsg/gnu/getopt.c:265:18: style: Condition 'ambig_set!=&ambig_fallback' is always true [knownConditionTrueFalse] cpio-2.15+dfsg/gnu/getopt.c:252:16: note: Assuming that condition '!ambig_set' is not redundant cpio-2.15+dfsg/gnu/getopt.c:265:18: note: Condition 'ambig_set!=&ambig_fallback' is always true head cpio-2.15+dfsg/gnu/getopt.c:267:16: error: Null pointer dereference [nullPointer] head cpio-2.15+dfsg/gnu/getopt.c:267:16: warning: Either the condition '!ambig_set' is redundant or there is possible null pointer dereference: ambig_set. [nullPointerRedundantCheck] cpio-2.15+dfsg/gnu/getopt.c:252:16: note: Assuming that condition '!ambig_set' is not redundant cpio-2.15+dfsg/gnu/getopt.c:267:16: note: Null pointer dereference head cpio-2.15+dfsg/gnu/getopt.c:268:8: warning: Either the condition '!ambig_set' is redundant or there is possible null pointer dereference: ambig_set. [nullPointerRedundantCheck] cpio-2.15+dfsg/gnu/getopt.c:252:16: note: Assuming that condition '!ambig_set' is not redundant cpio-2.15+dfsg/gnu/getopt.c:268:8: note: Null pointer dereference head cpio-2.15+dfsg/gnu/gettimeofday.c:142:5: error: #error "Only 1-second nominal clock resolution found. Is that intended?" \ [preprocessorErrorDirective] head cpio-2.15+dfsg/gnu/hash.h:31:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head cpio-2.15+dfsg/gnu/ialloc.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head cpio-2.15+dfsg/gnu/inttostr.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head cpio-2.15+dfsg/gnu/malloca.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head cpio-2.15+dfsg/gnu/msvc-inval.h:57:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head cpio-2.15+dfsg/gnu/msvc-nothrow.h:30:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head cpio-2.15+dfsg/gnu/openat.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head cpio-2.15+dfsg/gnu/pathmax.h:44:4: error: #error "Please include config.h first." [preprocessorErrorDirective] head cpio-2.15+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] head cpio-2.15+dfsg/gnu/quotearg.h:26:4: error: #error "Please include config.h first." [preprocessorErrorDirective] head cpio-2.15+dfsg/gnu/savedir.h:26:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head cpio-2.15+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] head cpio-2.15+dfsg/gnu/stat-time.h:26:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head cpio-2.15+dfsg/gnu/strerror-override.h:23:4: error: #error "Please include config.h first." [preprocessorErrorDirective] head cpio-2.15+dfsg/gnu/strnlen1.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head cpio-2.15+dfsg/gnu/timespec.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head cpio-2.15+dfsg/gnu/utimens.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head cpio-2.15+dfsg/gnu/vasnprintf.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head cpio-2.15+dfsg/gnu/version-etc.h:24:4: error: #error "Please include config.h first." [preprocessorErrorDirective] head cpio-2.15+dfsg/gnu/xalloc.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head cpio-2.15+dfsg/gnu/xgetcwd.h:19:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head cpio-2.15+dfsg/gnu/xsize.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] 2.17.0 cpio-2.15+dfsg/lib/rtapelib.c:556:34: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cpio-2.15+dfsg/lib/rtapelib.c:554:36: note: Assuming allocation function fails cpio-2.15+dfsg/lib/rtapelib.c:554:36: note: Assignment 'command_buffer=xmalloc(remote_file_len+1000)', assigned value is 0 cpio-2.15+dfsg/lib/rtapelib.c:556:34: note: Null pointer addition head cpio-2.15+dfsg/lib/rtapelib.c:556:34: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cpio-2.15+dfsg/lib/rtapelib.c:554:36: note: Assuming allocation function fails cpio-2.15+dfsg/lib/rtapelib.c:554:36: note: Assignment 'command_buffer=xmalloc(remote_file_len+1000)', assigned value is 0 cpio-2.15+dfsg/lib/rtapelib.c:556:34: note: Null pointer addition head cpio-2.15+dfsg/src/copyin.c:702:15: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cpio-2.15+dfsg/src/copyin.c:692:15: note: Assuming allocation function fails cpio-2.15+dfsg/src/copyin.c:692:15: note: Assignment 'p=xmalloc(sizeof(*p)+strlen(oldpath)+newlen+1)', assigned value is 0 cpio-2.15+dfsg/src/copyin.c:702:15: note: Null pointer dereference 2.17.0 cpio-2.15+dfsg/src/copyin.c:963:32: warning: Invalid xcalloc() argument nr 1. The value is 0 but the valid values are '1:'. [invalidFunctionArg] cpio-2.15+dfsg/src/copyin.c:960:20: note: Assignment 'num_patterns=0', assigned value is 0 cpio-2.15+dfsg/src/copyin.c:962:20: note: max_new_patterns is assigned 'num_patterns' here. cpio-2.15+dfsg/src/copyin.c:963:32: note: Invalid argument head cpio-2.15+dfsg/src/copyin.c:963:32: warning: Invalid xcalloc() argument nr 1. The value is 0 but the valid values are '1:'. [invalidFunctionArg] cpio-2.15+dfsg/src/copyin.c:960:20: note: Assignment 'num_patterns=0', assigned value is 0 cpio-2.15+dfsg/src/copyin.c:962:22: note: Assignment 'max_new_patterns=num_patterns', assigned value is 0 cpio-2.15+dfsg/src/copyin.c:963:32: note: Invalid argument 2.17.0 cpio-2.15+dfsg/src/util.c:1333:37: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cpio-2.15+dfsg/src/util.c:1330:13: note: Assuming allocation function fails cpio-2.15+dfsg/src/util.c:1330:13: note: Assignment 'data=xmalloc(sizeof(struct delayed_set_stat)+file_name_len+1)', assigned value is 0 cpio-2.15+dfsg/src/util.c:1333:37: note: Null pointer addition head cpio-2.15+dfsg/src/util.c:1333:37: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cpio-2.15+dfsg/src/util.c:1330:13: note: Assuming allocation function fails cpio-2.15+dfsg/src/util.c:1330:13: note: Assignment 'data=xmalloc(sizeof(struct delayed_set_stat)+file_name_len+1)', assigned value is 0 cpio-2.15+dfsg/src/util.c:1333:37: note: Null pointer addition DONE