2026-05-01 08:10 ftp://ftp.de.debian.org/debian/pool/main/c/ccrypt/ccrypt_1.11.orig.tar.gz 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 -j4 platform: Linux-6.17.0-23-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.4.0 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 cppcheck: head 2.20.0 head-info: 0fda84e (2026-05-01 02:32:52 +0200) count: 123 123 elapsed-time: 6.6 5.8 head-timing-info: old-timing-info: head results: ccrypt-1.11/check/rijndael-alg-ref.c:73:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Alogtable [valueFlowBailoutIncompleteVar] ccrypt-1.11/check/rijndael-alg-ref.c:183:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S [valueFlowBailoutIncompleteVar] ccrypt-1.11/check/rijndael-alg-ref.c:231:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S [valueFlowBailoutIncompleteVar] ccrypt-1.11/check/rijndael-alg-ref.c:280:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S [valueFlowBailoutIncompleteVar] ccrypt-1.11/check/rijndael-alg-ref.c:329:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Si [valueFlowBailoutIncompleteVar] ccrypt-1.11/check/rijndael-alg-ref.c:384:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Si [valueFlowBailoutIncompleteVar] ccrypt-1.11/intl/bindtextdom.c:203:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable domainname [valueFlowBailoutIncompleteVar] ccrypt-1.11/intl/dgettext.c:50:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] ccrypt-1.11/check/rijndael-alg-ref.c:142:76: style:inconclusive: Function 'rijndaelKeySched' argument 4 names different: declaration 'rk' definition 'W'. [funcArgNamesDifferent] ccrypt-1.11/check/rijndael-alg-ref.h:54:9: note: Function 'rijndaelKeySched' argument 4 names different: declaration 'rk' definition 'W'. ccrypt-1.11/check/rijndael-alg-ref.c:142:76: note: Function 'rijndaelKeySched' argument 4 names different: declaration 'rk' definition 'W'. ccrypt-1.11/intl/dngettext.c:51:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] ccrypt-1.11/intl/gettext.c:55:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] ccrypt-1.11/intl/finddomain.c:59:30: style:inconclusive: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. [funcArgNamesDifferent] ccrypt-1.11/intl/gettextP.h:259:54: note: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. ccrypt-1.11/intl/finddomain.c:59:30: note: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. ccrypt-1.11/intl/finddomain.c:59:45: style:inconclusive: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. [funcArgNamesDifferent] ccrypt-1.11/intl/gettextP.h:259:71: note: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. ccrypt-1.11/intl/finddomain.c:59:45: note: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. ccrypt-1.11/intl/finddomain.c:60:16: style:inconclusive: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] ccrypt-1.11/intl/gettextP.h:260:19: note: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. ccrypt-1.11/intl/finddomain.c:60:16: note: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. ccrypt-1.11/intl/finddomain.c:60:44: style:inconclusive: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. [funcArgNamesDifferent] ccrypt-1.11/intl/gettextP.h:261:23: note: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. ccrypt-1.11/intl/finddomain.c:60:44: note: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. ccrypt-1.11/intl/bindtextdom.c:229:12: style: Local variable 'len' shadows outer variable [shadowVariable] ccrypt-1.11/intl/bindtextdom.c:201:14: note: Shadowed declaration ccrypt-1.11/intl/bindtextdom.c:229:12: note: Shadow variable ccrypt-1.11/intl/bindtextdom.c:258:15: style: Local variable 'len' shadows outer variable [shadowVariable] ccrypt-1.11/intl/bindtextdom.c:201:14: note: Shadowed declaration ccrypt-1.11/intl/bindtextdom.c:258:15: note: Shadow variable ccrypt-1.11/intl/localcharset.c:140:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBDIR [valueFlowBailoutIncompleteVar] ccrypt-1.11/intl/dcigettext.c:641:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] ccrypt-1.11/intl/localcharset.c:473:14: style: Condition 'locale==NULL' is always true [knownConditionTrueFalse] ccrypt-1.11/intl/localcharset.c:464:24: note: Assignment 'locale=NULL', assigned value is 0 ccrypt-1.11/intl/localcharset.c:473:14: note: Condition 'locale==NULL' is always true ccrypt-1.11/intl/loadmsgcat.c:803:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lock [valueFlowBailoutIncompleteVar] ccrypt-1.11/intl/l10nflist.c:315:12: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] ccrypt-1.11/intl/localealias.c:163:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lock [valueFlowBailoutIncompleteVar] ccrypt-1.11/intl/localename.c:2961:14: style: Condition 'retval!=NULL' is always false [knownConditionTrueFalse] ccrypt-1.11/intl/localename.c:2960:34: note: Calling function 'gl_locale_name_thread' returns 0 ccrypt-1.11/intl/localename.c:2960:34: note: Assignment 'retval=gl_locale_name_thread(category,categoryname)', assigned value is 0 ccrypt-1.11/intl/localename.c:2961:14: note: Condition 'retval!=NULL' is always false ccrypt-1.11/intl/log.c:123:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lock [valueFlowBailoutIncompleteVar] ccrypt-1.11/intl/localealias.c:159:21: style: Variable 'retval' can be declared as pointer to const [constVariablePointer] ccrypt-1.11/intl/localealias.c:261:13: style: Variable 'alias' can be declared as pointer to const [constVariablePointer] ccrypt-1.11/intl/localealias.c:262:13: style: Variable 'value' can be declared as pointer to const [constVariablePointer] ccrypt-1.11/intl/localealias.c:175:41: error: Uninitialized variable: &item.value [uninitvar] ccrypt-1.11/intl/ngettext.c:57:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] ccrypt-1.11/intl/os2compat.c:58:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBDIR [valueFlowBailoutIncompleteVar] ccrypt-1.11/intl/os2compat.c:59:19: warning: If memory allocation fails, then there is a possible null pointer dereference: _nlos2_libdir [nullPointerOutOfMemory] ccrypt-1.11/intl/os2compat.c:58:43: note: Assuming allocation function fails ccrypt-1.11/intl/os2compat.c:58:27: note: Assignment '_nlos2_libdir=(char*)malloc(sl+strlen(LIBDIR)+1)', assigned value is 0 ccrypt-1.11/intl/os2compat.c:59:19: note: Null pointer dereference ccrypt-1.11/intl/os2compat.c:73:19: warning: If memory allocation fails, then there is a possible null pointer dereference: _nlos2_localealiaspath [nullPointerOutOfMemory] ccrypt-1.11/intl/os2compat.c:72:52: note: Assuming allocation function fails ccrypt-1.11/intl/os2compat.c:72:36: note: Assignment '_nlos2_localealiaspath=(char*)malloc(sl+strlen(LOCALE_ALIAS_PATH)+1)', assigned value is 0 ccrypt-1.11/intl/os2compat.c:73:19: note: Null pointer dereference ccrypt-1.11/intl/os2compat.c:87:19: warning: If memory allocation fails, then there is a possible null pointer dereference: _nlos2_localedir [nullPointerOutOfMemory] ccrypt-1.11/intl/os2compat.c:86:46: note: Assuming allocation function fails ccrypt-1.11/intl/os2compat.c:86:30: note: Assignment '_nlos2_localedir=(char*)malloc(sl+strlen(LOCALEDIR)+1)', assigned value is 0 ccrypt-1.11/intl/os2compat.c:87:19: note: Null pointer dereference ccrypt-1.11/intl/os2compat.c:94:15: warning: If memory allocation fails, then there is a possible null pointer dereference: _nlos2_localedir [nullPointerOutOfMemory] ccrypt-1.11/intl/os2compat.c:86:46: note: Assuming allocation function fails ccrypt-1.11/intl/os2compat.c:86:30: note: Assignment '_nlos2_localedir=(char*)malloc(sl+strlen(LOCALEDIR)+1)', assigned value is 0 ccrypt-1.11/intl/os2compat.c:94:15: note: Null pointer dereference ccrypt-1.11/intl/os2compat.c:60:33: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] ccrypt-1.11/intl/os2compat.c:58:43: note: Assuming allocation function fails ccrypt-1.11/intl/os2compat.c:58:27: note: Assignment '_nlos2_libdir=(char*)malloc(sl+strlen(LIBDIR)+1)', assigned value is 0 ccrypt-1.11/intl/os2compat.c:60:33: note: Null pointer addition ccrypt-1.11/intl/os2compat.c:74:42: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] ccrypt-1.11/intl/os2compat.c:72:52: note: Assuming allocation function fails ccrypt-1.11/intl/os2compat.c:72:36: note: Assignment '_nlos2_localealiaspath=(char*)malloc(sl+strlen(LOCALE_ALIAS_PATH)+1)', assigned value is 0 ccrypt-1.11/intl/os2compat.c:74:42: note: Null pointer addition ccrypt-1.11/intl/os2compat.c:88:36: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] ccrypt-1.11/intl/os2compat.c:86:46: note: Assuming allocation function fails ccrypt-1.11/intl/os2compat.c:86:30: note: Assignment '_nlos2_localedir=(char*)malloc(sl+strlen(LOCALEDIR)+1)', assigned value is 0 ccrypt-1.11/intl/os2compat.c:88:36: note: Null pointer addition ccrypt-1.11/intl/os2compat.c:49:9: style: Variable 'root' can be declared as pointer to const [constVariablePointer] ccrypt-1.11/intl/plural-exp.c:111:10: style: Variable 'endp' can be declared as pointer to const [constVariablePointer] plural.y:162:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable qmop [valueFlowBailoutIncompleteVar] plural.y:278:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable equal [valueFlowBailoutIncompleteVar] ccrypt-1.11/intl/xsize.h:31:3: error: #error "Please include config.h first." [preprocessorErrorDirective] plural.c:1094:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] plural.y:380:29: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] plural.c:1094:11: style: Variable 'yymsg' is assigned a value that is never used. [unreadVariable] ccrypt-1.11/intl/tsearch.c:622:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable leaf [valueFlowBailoutIncompleteVar] ccrypt-1.11/intl/loadmsgcat.c:868:12: style: The comparison 'data == (struct mo_file_header*)-1' is always true because 'data' and '(struct mo_file_header*)-1' represent the same value. [knownConditionTrueFalse] ccrypt-1.11/intl/loadmsgcat.c:795:33: note: 'data' is assigned value '(struct mo_file_header*)-1' here. ccrypt-1.11/intl/loadmsgcat.c:868:12: note: The comparison 'data == (struct mo_file_header*)-1' is always true because 'data' and '(struct mo_file_header*)-1' represent the same value. ccrypt-1.11/intl/loadmsgcat.c:785:42: style:inconclusive: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. [funcArgNamesDifferent] ccrypt-1.11/intl/gettextP.h:263:47: note: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. ccrypt-1.11/intl/loadmsgcat.c:785:42: note: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. ccrypt-1.11/intl/loadmsgcat.c:786:20: style:inconclusive: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. [funcArgNamesDifferent] ccrypt-1.11/intl/gettextP.h:264:25: note: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. ccrypt-1.11/intl/loadmsgcat.c:786:20: note: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. ccrypt-1.11/src/ccguess.c:433:29: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] ccrypt-1.11/src/ccrypt.c:51:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ccrypt-1.11/src/ccrypt.c:152:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ccrypt-1.11/src/ccrypt.c:211:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ccrypt-1.11/src/ccrypt.c:241:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ccrypt-1.11/src/ccrypt.c:314:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ccrypt-1.11/src/ccrypt.c:420:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ccrypt-1.11/src/ccrypt.c:565:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ccrypt-1.11/src/ccryptlib.c:351:19: style: Variable 'st' can be declared as pointer to const [constVariablePointer] ccrypt-1.11/src/ccrypt.c:275:7: error: Address of local auto-variable assigned to a function parameter. [autoVariables] ccrypt-1.11/src/ccrypt.c:286:5: error: Address of local auto-variable assigned to a function parameter. [autoVariables] ccrypt-1.11/src/ccrypt.c:521:5: error: Address of local auto-variable assigned to a function parameter. [autoVariables] ccrypt-1.11/src/ccrypt.c:523:5: error: Address of local auto-variable assigned to a function parameter. [autoVariables] ccrypt-1.11/src/ccrypt.c:318:3: style: Variable 'ccrypt_errno' is assigned an expression that holds the same value. [redundantAssignment] ccrypt-1.11/src/ccrypt.c:315:8: note: cerr is assigned 'ccrypt_errno' here. ccrypt-1.11/src/ccrypt.c:318:3: note: Variable 'ccrypt_errno' is assigned an expression that holds the same value. ccrypt-1.11/src/ccrypt.c:569:3: style: Variable 'ccrypt_errno' is assigned an expression that holds the same value. [redundantAssignment] ccrypt-1.11/src/ccrypt.c:566:8: note: cerr is assigned 'ccrypt_errno' here. ccrypt-1.11/src/ccrypt.c:569:3: note: Variable 'ccrypt_errno' is assigned an expression that holds the same value. ccrypt-1.11/src/getopt.c:688:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ccrypt-1.11/src/main.c:83:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUF [valueFlowBailoutIncompleteVar] ccrypt-1.11/src/main.c:196:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUF [valueFlowBailoutIncompleteVar] ccrypt-1.11/src/main.c:459:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] ccrypt-1.11/intl/dcigettext.c:640:14: style: Obsolescent function 'getwd' called. It is recommended to use 'getcwd' instead. [prohibitedgetwdCalled] ccrypt-1.11/intl/dcigettext.c:689:39: style: Redundant condition: The condition 'categoryvalue[0] != '\0'' is redundant since 'categoryvalue[0] == ':'' is sufficient. [redundantCondition] ccrypt-1.11/intl/dcigettext.c:485:25: style:inconclusive: Function 'libintl_dcigettext' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] ccrypt-1.11/intl/gettextP.h:79:46: note: Function 'libintl_dcigettext' argument 1 names different: declaration '__domainname' definition 'domainname'. ccrypt-1.11/intl/dcigettext.c:485:25: note: Function 'libintl_dcigettext' argument 1 names different: declaration '__domainname' definition 'domainname'. ccrypt-1.11/intl/dcigettext.c:485:49: style:inconclusive: Function 'libintl_dcigettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. [funcArgNamesDifferent] ccrypt-1.11/intl/gettextP.h:80:18: note: Function 'libintl_dcigettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. ccrypt-1.11/intl/dcigettext.c:485:49: note: Function 'libintl_dcigettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. ccrypt-1.11/intl/dcigettext.c:485:69: style:inconclusive: Function 'libintl_dcigettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. [funcArgNamesDifferent] ccrypt-1.11/intl/gettextP.h:80:40: note: Function 'libintl_dcigettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. ccrypt-1.11/intl/dcigettext.c:485:69: note: Function 'libintl_dcigettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. ccrypt-1.11/intl/dcigettext.c:486:10: style:inconclusive: Function 'libintl_dcigettext' argument 4 names different: declaration '__plural' definition 'plural'. [funcArgNamesDifferent] ccrypt-1.11/intl/gettextP.h:81:10: note: Function 'libintl_dcigettext' argument 4 names different: declaration '__plural' definition 'plural'. ccrypt-1.11/intl/dcigettext.c:486:10: note: Function 'libintl_dcigettext' argument 4 names different: declaration '__plural' definition 'plural'. ccrypt-1.11/intl/dcigettext.c:486:36: style:inconclusive: Function 'libintl_dcigettext' argument 5 names different: declaration '__n' definition 'n'. [funcArgNamesDifferent] ccrypt-1.11/intl/gettextP.h:81:38: note: Function 'libintl_dcigettext' argument 5 names different: declaration '__n' definition 'n'. ccrypt-1.11/intl/dcigettext.c:486:36: note: Function 'libintl_dcigettext' argument 5 names different: declaration '__n' definition 'n'. ccrypt-1.11/intl/dcigettext.c:486:43: style:inconclusive: Function 'libintl_dcigettext' argument 6 names different: declaration '__category' definition 'category'. [funcArgNamesDifferent] ccrypt-1.11/intl/gettextP.h:82:10: note: Function 'libintl_dcigettext' argument 6 names different: declaration '__category' definition 'category'. ccrypt-1.11/intl/dcigettext.c:486:43: note: Function 'libintl_dcigettext' argument 6 names different: declaration '__category' definition 'category'. ccrypt-1.11/intl/tsearch.c:183:8: style: Local variable 'root' shadows outer variable [shadowVariable] ccrypt-1.11/intl/dcigettext.c:275:14: note: Shadowed declaration ccrypt-1.11/intl/tsearch.c:183:8: note: Shadow variable ccrypt-1.11/intl/tsearch.c:283:12: style: Local variable 'root' shadows outer variable [shadowVariable] ccrypt-1.11/intl/dcigettext.c:275:14: note: Shadowed declaration ccrypt-1.11/intl/tsearch.c:283:12: note: Shadow variable ccrypt-1.11/intl/tsearch.c:344:12: style: Local variable 'root' shadows outer variable [shadowVariable] ccrypt-1.11/intl/dcigettext.c:275:14: note: Shadowed declaration ccrypt-1.11/intl/tsearch.c:344:12: note: Shadow variable ccrypt-1.11/intl/tsearch.c:369:8: style: Local variable 'root' shadows outer variable [shadowVariable] ccrypt-1.11/intl/dcigettext.c:275:14: note: Shadowed declaration ccrypt-1.11/intl/tsearch.c:369:8: note: Shadow variable ccrypt-1.11/intl/tsearch.c:619:14: style: Local variable 'root' shadows outer variable [shadowVariable] ccrypt-1.11/intl/dcigettext.c:275:14: note: Shadowed declaration ccrypt-1.11/intl/tsearch.c:619:14: note: Shadow variable ccrypt-1.11/intl/tsearch.c:642:14: style: Local variable 'root' shadows outer variable [shadowVariable] ccrypt-1.11/intl/dcigettext.c:275:14: note: Shadowed declaration ccrypt-1.11/intl/tsearch.c:642:14: note: Shadow variable ccrypt-1.11/intl/dcigettext.c:629:10: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] ccrypt-1.11/intl/dcigettext.c:1421:25: style: Variable 'domaindata' can be declared as pointer to const [constVariablePointer] ccrypt-1.11/src/readkey.c:34:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ccrypt-1.11/src/maketables.c:110:43: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] ccrypt-1.11/src/main.c:186:11: style: Local variable 'cmd' shadows outer variable [shadowVariable] ccrypt-1.11/src/main.h:42:16: note: Shadowed declaration ccrypt-1.11/src/main.c:186:11: note: Shadow variable ccrypt-1.11/src/main.c:517:13: style: Variable 'repeat' can be declared as pointer to const [constVariablePointer] ccrypt-1.11/src/main.c:540:13: style: Variable 'repeat' can be declared as pointer to const [constVariablePointer] ccrypt-1.11/src/getopt.c:783:11: style: Variable 'temp' can be declared as pointer to const [constVariablePointer] ccrypt-1.11/src/rijndael.c:94:8: style: Parameter 'shift' can be declared as const array [constParameter] ccrypt-1.11/src/traverse.c:153:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] ccrypt-1.11/src/traverse.c:190:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ccrypt-1.11/src/traverse.c:234:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ccrypt-1.11/src/traverse.c:266:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ccrypt-1.11/src/traverse.c:474:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ccrypt-1.11/src/traverse.c:633:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ccrypt-1.11/src/traverse.c:687:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ccrypt-1.11/src/traverse.c:748:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ccrypt-1.11/src/traverse.c:879:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ccrypt-1.11/src/unixcryptlib.c:59:3: warning:inconclusive: The buffer 'result' may not be null-terminated after the call to strncpy(). [terminateStrncpy] ccrypt-1.11/src/unixcryptlib.c:46:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] ccrypt-1.11/src/unixcryptlib.c:82:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] ccrypt-1.11/src/traverse.c:380:5: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] ccrypt-1.11/src/traverse.c:568:5: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] ccrypt-1.11/src/traverse.c:494:18: warning: If memory allocation fails, then there is a possible null pointer dereference: tmpfile [nullPointerOutOfMemory] ccrypt-1.11/src/traverse.c:493:21: note: Assuming allocation function fails ccrypt-1.11/src/traverse.c:493:21: note: Assignment 'tmpfile=strdup(outfile)', assigned value is 0 ccrypt-1.11/src/traverse.c:494:18: note: Null pointer dereference ccrypt-1.11/src/xalloc.c:18:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ccrypt-1.11/src/xalloc.c:28:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ccrypt-1.11/src/traverse.c:163:30: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] ccrypt-1.11/src/traverse.c:184:18: style: Variable 'dirent' can be declared as pointer to const [constVariablePointer] ccrypt-1.11/src/traverse.c:254:36: style: Parameter 'infile' can be declared as pointer to const [constParameterPointer] ccrypt-1.11/src/traverse.c:254:50: style: Parameter 'outfile' can be declared as pointer to const [constParameterPointer] ccrypt-1.11/src/traverse.c:429:35: style: Parameter 'infile' can be declared as pointer to const [constParameterPointer] ccrypt-1.11/src/traverse.c:625:30: style: Parameter 'infile' can be declared as pointer to const [constParameterPointer] ccrypt-1.11/src/xalloc.c:45:9: style: Variable 'res' can be declared as pointer to const [constVariablePointer] ccrypt-1.11/src/unixcrypt3.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] ccrypt-1.11/src/unixcrypt3.c:349:16: style: Local variable 'mask1' shadows outer variable [shadowVariable] ccrypt-1.11/src/unixcrypt3.c:293:12: note: Shadowed declaration ccrypt-1.11/src/unixcrypt3.c:349:16: note: Shadow variable ccrypt-1.11/src/unixcrypt3.c:374:28: style: Local variable 'mask1' shadows outer variable [shadowVariable] ccrypt-1.11/src/unixcrypt3.c:293:12: note: Shadowed declaration ccrypt-1.11/src/unixcrypt3.c:374:28: note: Shadow variable ccrypt-1.11/src/unixcrypt3.c:374:35: style: Local variable 'mask2' shadows outer variable [shadowVariable] ccrypt-1.11/src/unixcrypt3.c:293:19: note: Shadowed declaration ccrypt-1.11/src/unixcrypt3.c:374:35: note: Shadow variable ccrypt-1.11/src/unixcrypt3.c:252:14: style: Variable 'k' can be declared as pointer to const [constVariablePointer] ccrypt-1.11/src/unixcrypt3.c:557:54: style: Parameter '__data' can be declared as pointer to const [constParameterPointer] ccrypt-1.11/src/unixcrypt3.c:436:6: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] diff: DONE