krb5-1.21.3-3.fc42
List of Findings
Error: SHELLCHECK_WARNING (CWE-88): [#def1]
/usr/bin/k5srvutil:37:10: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-563): [#def2]
/usr/bin/krb5-config:39:1: warning[SC2034]: DL_LIB appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def3]
/usr/bin/krb5-config:43:1: warning[SC2034]: SELINUX_LIBS appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def4]
/usr/bin/krb5-config:45:1: warning[SC2034]: LIBS appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def5]
/usr/bin/krb5-config:46:1: warning[SC2034]: GEN_LIB appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-571): [#def6]
/usr/libexec/krb5-tests-x86_64:8:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-569): [#def7]
/usr/libexec/krb5-tests-x86_64:11:14: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
Error: SHELLCHECK_WARNING (CWE-563): [#def8]
/usr/share/krb5-tests/x86_64/build-tools/krb5-config:39:1: warning[SC2034]: DL_LIB appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def9]
/usr/share/krb5-tests/x86_64/build-tools/krb5-config:43:1: warning[SC2034]: SELINUX_LIBS appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def10]
/usr/share/krb5-tests/x86_64/build-tools/krb5-config:45:1: warning[SC2034]: LIBS appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def11]
/usr/share/krb5-tests/x86_64/build-tools/krb5-config:46:1: warning[SC2034]: GEN_LIB appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def12]
/usr/share/krb5-tests/x86_64/build-tools/krb5-config.in:39:1: warning[SC2034]: DL_LIB appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def13]
/usr/share/krb5-tests/x86_64/build-tools/krb5-config.in:43:1: warning[SC2034]: SELINUX_LIBS appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def14]
/usr/share/krb5-tests/x86_64/build-tools/krb5-config.in:45:1: warning[SC2034]: LIBS appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def15]
/usr/share/krb5-tests/x86_64/build-tools/krb5-config.in:46:1: warning[SC2034]: GEN_LIB appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-398): [#def16]
/usr/share/krb5-tests/x86_64/ccapi/test/test_ccapi.sh:8:1: warning[SC2113]: 'function' keyword is non-standard. Use 'foo()' instead of 'function foo'.
Error: SHELLCHECK_WARNING: [#def17]
/usr/share/krb5-tests/x86_64/ccapi/test/test_ccapi.sh:9:5: warning[SC3010]: In POSIX sh, [[ ]] is undefined.
Error: SHELLCHECK_WARNING (CWE-563): [#def18]
/usr/share/krb5-tests/x86_64/config.status:22:3: warning[SC2034]: NULLCMD appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-398): [#def19]
/usr/share/krb5-tests/x86_64/config.status:25:12: error[SC2142]: Aliases can't use positional parameters. Use a function.
Error: SHELLCHECK_WARNING: [#def20]
/usr/share/krb5-tests/x86_64/config.status:27:11: warning[SC2194]: This word is constant. Did you forget the $ on a variable?
Error: SHELLCHECK_WARNING: [#def21]
/usr/share/krb5-tests/x86_64/config.status:30:12: warning[SC3040]: In POSIX sh, set option posix is undefined.
Error: SHELLCHECK_WARNING (CWE-569): [#def22]
/usr/share/krb5-tests/x86_64/config.status:67:16: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
Error: SHELLCHECK_WARNING (CWE-569): [#def23]
/usr/share/krb5-tests/x86_64/config.status:67:26: warning[SC1083]: This } is literal. Check expression (missing ;/\n?) or quote it.
Error: SHELLCHECK_WARNING (CWE-563): [#def24]
/usr/share/krb5-tests/x86_64/config.status:80:24: warning[SC2034]: FPATH appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def25]
/usr/share/krb5-tests/x86_64/config.status:159:1: warning[SC2034]: as_unset appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING: [#def26]
/usr/share/krb5-tests/x86_64/config.status:173:11: warning[SC2194]: This word is constant. Did you forget the $ on a variable?
Error: SHELLCHECK_WARNING: [#def27]
/usr/share/krb5-tests/x86_64/config.status:192:11: warning[SC2194]: This word is constant. Did you forget the $ on a variable?
Error: SHELLCHECK_WARNING (CWE-563): [#def28]
/usr/share/krb5-tests/x86_64/config.status:195:5: warning[SC2034]: as_val appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-456): [#def29]
/usr/share/krb5-tests/x86_64/config.status:203:3: warning[SC2209]: Use var=$(command) to assign output (or quote to assign string).
Error: SHELLCHECK_WARNING (CWE-456): [#def30]
/usr/share/krb5-tests/x86_64/config.status:209:3: warning[SC2209]: Use var=$(command) to assign output (or quote to assign string).
Error: SHELLCHECK_WARNING (CWE-456): [#def31]
/usr/share/krb5-tests/x86_64/config.status:215:3: warning[SC2209]: Use var=$(command) to assign output (or quote to assign string).
Error: SHELLCHECK_WARNING (CWE-480): [#def32]
/usr/share/krb5-tests/x86_64/config.status:250:8: warning[SC1007]: Remove space after = if trying to assign a value (for empty string, use var='' ... ).
Error: SHELLCHECK_WARNING (CWE-480): [#def33]
/usr/share/krb5-tests/x86_64/config.status:250:16: warning[SC1007]: Remove space after = if trying to assign a value (for empty string, use var='' ... ).
Error: SHELLCHECK_WARNING: [#def34]
/usr/share/krb5-tests/x86_64/config.status:251:12: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING (CWE-563): [#def35]
/usr/share/krb5-tests/x86_64/config.status:255:8: warning[SC2034]: ECHO_C appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-156): [#def36]
/usr/share/krb5-tests/x86_64/config.status:256:13: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-563): [#def37]
/usr/share/krb5-tests/x86_64/config.status:257:8: warning[SC2034]: ECHO_T appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def38]
/usr/share/krb5-tests/x86_64/config.status:260:3: warning[SC2034]: ECHO_N appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def39]
/usr/share/krb5-tests/x86_64/config.status:266:1: warning[SC2034]: as_echo appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def40]
/usr/share/krb5-tests/x86_64/config.status:267:1: warning[SC2034]: as_echo_n appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-456): [#def41]
/usr/share/krb5-tests/x86_64/config.status:286:5: warning[SC2209]: Use var=$(command) to assign output (or quote to assign string).
Error: SHELLCHECK_WARNING (CWE-563): [#def42]
/usr/share/krb5-tests/x86_64/config.status:291:3: warning[SC2034]: as_ln_s appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def43]
/usr/share/krb5-tests/x86_64/config.status:359:1: warning[SC2034]: as_test_x appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def44]
/usr/share/krb5-tests/x86_64/config.status:360:1: warning[SC2034]: as_executable_p appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def45]
/usr/share/krb5-tests/x86_64/config.status:364:1: warning[SC2034]: as_tr_cpp appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def46]
/usr/share/krb5-tests/x86_64/config.status:368:1: warning[SC2034]: as_tr_sh appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-569): [#def47]
/usr/share/krb5-tests/x86_64/config.status:378:8: warning[SC2124]: Assigning an array to a string! Assign as array, or use * instead of @ to concatenate.
Error: SHELLCHECK_WARNING (CWE-456): [#def48]
/usr/share/krb5-tests/x86_64/config.status:436:19: warning[SC2209]: Use var=$(command) to assign output (or quote to assign string).
Error: SHELLCHECK_WARNING (CWE-456): [#def49]
/usr/share/krb5-tests/x86_64/config.status:455:5: warning[SC2209]: Use var=$(command) to assign output (or quote to assign string).
Error: SHELLCHECK_WARNING (CWE-456): [#def50]
/usr/share/krb5-tests/x86_64/config.status:513:7: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
/usr/share/krb5-tests/x86_64/config.status:513:7: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-457): [#def51]
/usr/share/krb5-tests/x86_64/config.status:532:25: warning[SC2154]: ac_config_targets is referenced but not assigned (did you mean 'ac_config_target'?).
Error: SHELLCHECK_WARNING (CWE-480): [#def52]
/usr/share/krb5-tests/x86_64/config.status:688:7: warning[SC1007]: Remove space after = if trying to assign a value (for empty string, use var='' ... ).
Error: SHELLCHECK_WARNING (CWE-457): [#def53]
/usr/share/krb5-tests/x86_64/config.status:689:8: warning[SC2154]: exit_status is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-398): [#def54]
/usr/share/krb5-tests/x86_64/config.status:693:27: warning[SC2172]: Trapping signals by number is not well defined. Prefer signal names.
Error: SHELLCHECK_WARNING: [#def55]
/usr/share/krb5-tests/x86_64/config.status:702:16: warning[SC3028]: In POSIX sh, RANDOM is undefined.
Error: SHELLCHECK_WARNING (CWE-456): [#def56]
/usr/share/krb5-tests/x86_64/config.status:1312:7: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
Error: SHELLCHECK_WARNING (CWE-563): [#def57]
/usr/share/krb5-tests/x86_64/config.status:1319:7: warning[SC2034]: ac_source appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-480): [#def58]
/usr/share/krb5-tests/x86_64/config.status:1393:18: warning[SC1007]: Remove space after = if trying to assign a value (for empty string, use var='' ... ).
Error: SHELLCHECK_WARNING (CWE-563): [#def59]
/usr/share/krb5-tests/x86_64/config.status:1406:1: warning[SC2034]: ac_top_builddir appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def60]
/usr/share/krb5-tests/x86_64/config.status:1461:1: warning[SC2034]: ac_sed_extra appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-569): [#def61]
/usr/share/krb5-tests/x86_64/config/config.sub:245:8: warning[SC2221]: This pattern always overrides a later one on line 247.
Error: SHELLCHECK_WARNING (CWE-569): [#def62]
/usr/share/krb5-tests/x86_64/config/config.sub:247:8: warning[SC2222]: This pattern never matches because of a previous pattern on line 245.
Error: SHELLCHECK_WARNING: [#def63]
/usr/share/krb5-tests/x86_64/config/install-sh:142:33: warning[SC2320]: This $? refers to echo/printf, not a previous command. Assign to variable to avoid it being overwritten.
Error: SHELLCHECK_WARNING: [#def64]
/usr/share/krb5-tests/x86_64/config/install-sh:173:47: warning[SC2320]: This $? refers to echo/printf, not a previous command. Assign to variable to avoid it being overwritten.
Error: SHELLCHECK_WARNING (CWE-456): [#def65]
/usr/share/krb5-tests/x86_64/config/install-sh:204:11: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
Error: SHELLCHECK_WARNING (CWE-569): [#def66]
/usr/share/krb5-tests/x86_64/config/install-sh:237:18: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
Error: SHELLCHECK_WARNING (CWE-569): [#def67]
/usr/share/krb5-tests/x86_64/config/install-sh:238:18: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
Error: SHELLCHECK_WARNING (CWE-569): [#def68]
/usr/share/krb5-tests/x86_64/config/install-sh:239:18: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
Error: SHELLCHECK_WARNING (CWE-398): [#def69]
/usr/share/krb5-tests/x86_64/config/install-sh:239:28: warning[SC2172]: Trapping signals by number is not well defined. Prefer signal names.
Error: SHELLCHECK_WARNING (CWE-569): [#def70]
/usr/share/krb5-tests/x86_64/config/install-sh:240:18: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
Error: SHELLCHECK_WARNING: [#def71]
/usr/share/krb5-tests/x86_64/config/install-sh:339:27: warning[SC3028]: In POSIX sh, RANDOM is undefined.
Error: SHELLCHECK_WARNING (CWE-457): [#def72]
/usr/share/krb5-tests/x86_64/config/install-sh:341:7: warning[SC2154]: ret is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-456): [#def73]
/usr/share/krb5-tests/x86_64/config/install-sh:403:11: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
Error: SHELLCHECK_WARNING (CWE-456): [#def74]
/usr/share/krb5-tests/x86_64/config/install-sh:488:12: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
Error: SHELLCHECK_WARNING (CWE-456): [#def75]
/usr/share/krb5-tests/x86_64/config/install-sh:489:12: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
Error: SHELLCHECK_WARNING (CWE-456): [#def76]
/usr/share/krb5-tests/x86_64/config/mkinstalldirs:13:8: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
Error: SHELLCHECK_WARNING (CWE-156): [#def77]
/usr/share/krb5-tests/x86_64/config/mkinstalldirs:13:14: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-88): [#def78]
/usr/share/krb5-tests/x86_64/kadmin/cli/k5srvutil.sh:37:10: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-456): [#def79]
/usr/share/krb5-tests/x86_64/lib/krb5/krb/transit-tests:26:5: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
Error: SHELLCHECK_WARNING (CWE-456): [#def80]
/usr/share/krb5-tests/x86_64/lib/krb5/krb/transit-tests:30:5: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
Error: SHELLCHECK_WARNING (CWE-456): [#def81]
/usr/share/krb5-tests/x86_64/lib/krb5/krb/transit-tests:34:5: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
Error: SHELLCHECK_WARNING (CWE-563): [#def82]
/usr/share/krb5-tests/x86_64/lib/krb5/krb/transit-tests:50:1: warning[SC2034]: expected appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def83]
/usr/share/krb5-tests/x86_64/tests/pkinit-certs/make-certs.sh:13:1: warning[SC2034]: TLS_SERVER_EKU appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def84]
/usr/share/krb5-tests/x86_64/tests/pkinit-certs/make-certs.sh:14:1: warning[SC2034]: TLS_CLIENT_EKU appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def85]
/usr/share/krb5-tests/x86_64/tests/pkinit-certs/make-certs.sh:15:1: warning[SC2034]: EMAIL_PROTECTION_EKU appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def86]
/usr/share/krb5-tests/x86_64/tests/proxy-certs/make-certs.sh:4:1: warning[SC2034]: NAMETYPE appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def87]
/usr/share/krb5-tests/x86_64/tests/proxy-certs/make-certs.sh:7:1: warning[SC2034]: REALM appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-156): [#def88]
/usr/share/krb5-tests/x86_64/tests/proxy-certs/make-certs.sh:119:47: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def89]
/usr/share/krb5-tests/x86_64/util/check-ac-syms:28:57: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def90]
/usr/share/krb5-tests/x86_64/util/check-ac-syms:28:72: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-477): [#def91]
/usr/share/krb5-tests/x86_64/util/et/compile_et.sh:26:15: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-477): [#def92]
/usr/share/krb5-tests/x86_64/util/et/compile_et.sh:26:37: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-456): [#def93]
/usr/share/krb5-tests/x86_64/util/et/config_script:17:2: warning[SC2209]: Use var=$(command) to assign output (or quote to assign string).
Error: SHELLCHECK_WARNING (CWE-456): [#def94]
/usr/share/krb5-tests/x86_64/util/et/config_script:20:2: warning[SC2209]: Use var=$(command) to assign output (or quote to assign string).
Error: SHELLCHECK_WARNING (CWE-563): [#def95]
/usr/share/krb5-tests/x86_64/util/getsyms:9:2: warning[SC2034]: types appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-477): [#def96]
/usr/share/krb5-tests/x86_64/util/lndir:39:15: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-252): [#def97]
/usr/share/krb5-tests/x86_64/util/lndir:61:1: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-156): [#def98]
/usr/share/krb5-tests/x86_64/util/lndir:72:6: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-398): [#def99]
/usr/share/krb5-tests/x86_64/util/lndir:78:13: warning[SC2045]: Iterating over ls output is fragile. Use globs.
Error: SHELLCHECK_WARNING (CWE-477): [#def100]
/usr/share/krb5-tests/x86_64/util/lndir:84:27: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-477): [#def101]
/usr/share/krb5-tests/x86_64/util/lndir:84:43: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-477): [#def102]
/usr/share/krb5-tests/x86_64/util/lndir:84:57: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-252): [#def103]
/usr/share/krb5-tests/x86_64/util/lndir:88:5: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-156): [#def104]
/usr/share/krb5-tests/x86_64/util/lndir:94:10: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def105]
/usr/share/krb5-tests/x86_64/util/mkrel:115:7: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def106]
/usr/share/krb5-tests/x86_64/util/mkrel:117:26: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-398): [#def107]
/usr/share/krb5-tests/x86_64/util/mkrel:176:1: warning[SC2038]: Use 'find .. -print0 | xargs -0 ..' or 'find .. -exec .. +' to allow non-alphanumeric filenames.
Error: SHELLCHECK_WARNING (CWE-252): [#def108]
/usr/share/krb5-tests/x86_64/util/ss/config_script:19:6: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-456): [#def109]
/usr/share/krb5-tests/x86_64/util/ss/config_script:21:2: warning[SC2209]: Use var=$(command) to assign output (or quote to assign string).
Error: SHELLCHECK_WARNING (CWE-456): [#def110]
/usr/share/krb5-tests/x86_64/util/ss/config_script:24:2: warning[SC2209]: Use var=$(command) to assign output (or quote to assign string).
Error: SHELLCHECK_WARNING (CWE-569): [#def111]
/usr/share/krb5-tests/x86_64/util/trim-valgrind-logs:3:7: warning[SC2125]: Brace expansions and globs are literal in assignments. Quote it or use an array.
Error: SHELLCHECK_WARNING (CWE-569): [#def112]
/usr/share/krb5-tests/x86_64/util/trim-valgrind-logs:15:11: warning[SC2048]: Use "$@" (with quotes) to prevent whitespace problems.
Error: SHELLCHECK_WARNING (CWE-156): [#def113]
/usr/share/krb5-tests/x86_64/util/trim-valgrind-logs:16:13: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-569): [#def114]
/usr/share/krb5-tests/x86_64/util/trim-valgrind-logs:31:11: warning[SC2048]: Use "$@" (with quotes) to prevent whitespace problems.
Error: SHELLCHECK_WARNING (CWE-569): [#def115]
/usr/share/krb5-tests/x86_64/util/trim-valgrind-logs:47:36: warning[SC2048]: Use "$@" (with quotes) to prevent whitespace problems.
Error: SHELLCHECK_WARNING (CWE-156): [#def116]
/usr/share/krb5-tests/x86_64/util/trim-valgrind-logs:48:32: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-569): [#def117]
/usr/share/krb5-tests/x86_64/util/trim-valgrind-logs:57:36: warning[SC2048]: Use "$@" (with quotes) to prevent whitespace problems.
Error: SHELLCHECK_WARNING (CWE-569): [#def118]
/usr/share/krb5-tests/x86_64/util/trim-valgrind-logs:58:41: warning[SC2048]: Use "$@" (with quotes) to prevent whitespace problems.
Error: SHELLCHECK_WARNING (CWE-156): [#def119]
/usr/share/krb5-tests/x86_64/util/trim-valgrind-logs:62:44: warning[SC2046]: Quote this to prevent word splitting.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def120]
krb5-1.21.3-build/krb5-1.21.3/src/appl/gss-sample/gss-server.c: scope_hint: In function ‘main’
krb5-1.21.3-build/krb5-1.21.3/src/appl/gss-sample/gss-server.c:709:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘logfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def121]
krb5-1.21.3-build/krb5-1.21.3/src/appl/gss-sample/gss-server.c:709:25: warning[-Wanalyzer-malloc-leak]: leak of ‘logfile’
Error: GCC_ANALYZER_WARNING (CWE-666): [#def122]
krb5-1.21.3-build/krb5-1.21.3/src/appl/simple/client/sim_client.c: scope_hint: In function ‘main’
krb5-1.21.3-build/krb5-1.21.3/src/appl/simple/client/sim_client.c:215:9: warning[-Wanalyzer-fd-phase-mismatch]: ‘connect’ on file descriptor ‘sock’ in wrong phase
Error: COMPILER_WARNING: [#def123]
krb5-1.21.3-build/krb5-1.21.3/src/clients/kinit/kinit.c: scope_hint: In function ‘extended_com_err_fn’
krb5-1.21.3-build/krb5-1.21.3/src/clients/kinit/kinit.c:191:5: warning[-Wsuggest-attribute=format]: function ‘extended_com_err_fn’ might be a candidate for ‘gnu_printf’ format attribute
Error: COMPILER_WARNING: [#def124]
krb5-1.21.3-build/krb5-1.21.3/src/clients/klist/klist.c: scope_hint: In function ‘extended_com_err_fn’
krb5-1.21.3-build/krb5-1.21.3/src/clients/klist/klist.c:119:5: warning[-Wsuggest-attribute=format]: function ‘extended_com_err_fn’ might be a candidate for ‘gnu_printf’ format attribute
Error: COMPILER_WARNING (CWE-252): [#def125]
krb5-1.21.3-build/krb5-1.21.3/src/clients/ksu/authorization.c: scope_hint: In function ‘fcmd_resolve’
krb5-1.21.3-build/krb5-1.21.3/src/clients/ksu/authorization.c:348:13: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def126]
krb5-1.21.3-build/krb5-1.21.3/src/clients/ksu/authorization.c:371:13: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def127]
krb5-1.21.3-build/krb5-1.21.3/src/clients/ksu/authorization.c:380:17: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: CPPCHECK_WARNING (CWE-401): [#def128]
krb5-1.21.3-build/krb5-1.21.3/src/clients/ksu/heuristic.c:57: error[memleak]: Memory leak: temp_list
Error: CPPCHECK_WARNING (CWE-401): [#def129]
krb5-1.21.3-build/krb5-1.21.3/src/clients/ksu/heuristic.c:69: error[memleakOnRealloc]: Common realloc mistake: 'temp_list' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-476): [#def130]
krb5-1.21.3-build/krb5-1.21.3/src/clients/ksu/main.c: scope_hint: In function ‘resolve_target_cache’
krb5-1.21.3-build/krb5-1.21.3/src/clients/ksu/main.c:992:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sep’
Error: COMPILER_WARNING (CWE-252): [#def131]
krb5-1.21.3-build/krb5-1.21.3/src/clients/ksu/main.c: scope_hint: In function ‘set_env_var’
krb5-1.21.3-build/krb5-1.21.3/src/clients/ksu/main.c:1088:5: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def132]
krb5-1.21.3-build/krb5-1.21.3/src/clients/ksu/xmalloc.c: scope_hint: In function ‘xstrdup’
krb5-1.21.3-build/krb5-1.21.3/src/clients/ksu/xmalloc.c:64:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘xmalloc(len)’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: COMPILER_WARNING: [#def133]
krb5-1.21.3-build/krb5-1.21.3/src/clients/ksu/xmalloc.c: scope_hint: In function ‘xasprintf’
krb5-1.21.3-build/krb5-1.21.3/src/clients/ksu/xmalloc.c:74:5: warning[-Wsuggest-attribute=format]: function ‘xasprintf’ might be a candidate for ‘gnu_printf’ format attribute
Error: COMPILER_WARNING: [#def134]
krb5-1.21.3-build/krb5-1.21.3/src/clients/kvno/kvno.c: scope_hint: In function ‘extended_com_err_fn’
krb5-1.21.3-build/krb5-1.21.3/src/clients/kvno/kvno.c:191:5: warning[-Wsuggest-attribute=format]: function ‘extended_com_err_fn’ might be a candidate for ‘gnu_printf’ format attribute
Error: GCC_ANALYZER_WARNING (CWE-401): [#def135]
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/generic/gssapi_generic.h:31: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/generic/gssapiP_generic.h:42: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/gssapiP_krb5.h:65: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/k5unseal.c:51: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/k5unseal.c: scope_hint: In function ‘kg_unseal_v1’
krb5-1.21.3-build/krb5-1.21.3/src/include/gssapi/gssapi.h:283:31: warning[-Wanalyzer-malloc-leak]: leak of ‘token.value’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/k5unseal.c:96:16: note: in expansion of macro ‘GSS_S_DEFECTIVE_TOKEN’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/k5unseal.c: scope_hint: In function ‘kg_unseal_v1’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/k5unseal.c:96:16: note: in expansion of macro ‘GSS_S_DEFECTIVE_TOKEN’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def136]
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-int.h:2280:11: warning[-Wanalyzer-malloc-leak]: leak of ‘k5alloc((long unsigned int)(length + 1), &code)’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/import_name.c: scope_hint: In function ‘krb5_gss_import_name’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/gssapiP_krb5.h:65: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/import_name.c:212:13: note: in expansion of macro ‘g_OID_equal’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/import_name.c:237:13: note: in expansion of macro ‘BOUNDS_CHECK’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/import_name.c:250:13: note: in expansion of macro ‘BOUNDS_CHECK’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/import_name.c:257:13: note: in expansion of macro ‘BOUNDS_CHECK’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/import_name.c:257:13: note: in expansion of macro ‘BOUNDS_CHECK’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/import_name.c:264:13: note: in expansion of macro ‘BOUNDS_CHECK’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/import_name.c:264:13: note: in expansion of macro ‘BOUNDS_CHECK’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/import_name.c:269:13: note: in expansion of macro ‘BOUNDS_CHECK’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/import_name.c:275:13: note: in expansion of macro ‘BOUNDS_CHECK’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def137]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/test/kdb_test.c:85: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-int.h: scope_hint: In function ‘lookup_princ_by_cert’
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-int.h:2307:17: warning[-Wanalyzer-malloc-leak]: leak of ‘k5memdup0(*client_cert.data, (long unsigned int)*client_cert.length, & ret)’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/test/kdb_test.c: scope_hint: In function ‘lookup_princ_by_cert’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def138]
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-int.h: scope_hint: In function ‘krb5_gss_import_name’
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-int.h:2307:17: warning[-Wanalyzer-malloc-leak]: leak of ‘k5memdup0(*input_name_buffer.value, *input_name_buffer.length, & code)’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/import_name.c:212:13: note: in expansion of macro ‘g_OID_equal’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/import_name.c:237:13: note: in expansion of macro ‘BOUNDS_CHECK’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/import_name.c:250:13: note: in expansion of macro ‘BOUNDS_CHECK’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/import_name.c:257:13: note: in expansion of macro ‘BOUNDS_CHECK’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/import_name.c:257:13: note: in expansion of macro ‘BOUNDS_CHECK’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/import_name.c:264:13: note: in expansion of macro ‘BOUNDS_CHECK’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/import_name.c:264:13: note: in expansion of macro ‘BOUNDS_CHECK’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/import_name.c:269:13: note: in expansion of macro ‘BOUNDS_CHECK’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/import_name.c:275:13: note: in expansion of macro ‘BOUNDS_CHECK’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def139]
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-int.h:130: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/dbutil/kdb5_mkey.c:7: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/dbutil/kdb5_mkey.c: scope_hint: In function ‘kdb5_add_mkey’
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-platform.h:1028:24: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/dbutil/kdb5_mkey.c:341:5: note: in expansion of macro ‘zap’
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-platform.h:1028:39: note: in definition of macro ‘zap’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/dbutil/kdb5_mkey.c:341:5: note: in expansion of macro ‘zap’
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-platform.h:57: included_from: Included from here.
/usr/include/string.h:466:13: note: argument 1 of ‘explicit_bzero’ must be non-null
Error: COMPILER_WARNING (CWE-252): [#def140]
krb5-1.21.3-build/krb5-1.21.3/src/clients/ksu/ksu.h:30: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/clients/ksu/main.c:30: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/clients/ksu/main.c: scope_hint: In function ‘main’
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-util.h:67:34: warning[-Wunused-result]: ignoring return value of ‘seteuid’ declared with attribute ‘warn_unused_result’
krb5-1.21.3-build/krb5-1.21.3/src/clients/ksu/main.c:571:13: note: in expansion of macro ‘krb5_seteuid’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def141]
krb5-1.21.3-build/krb5-1.21.3/src/include/kadm5/admin.h:49: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/clnt/client_init.c:41: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/clnt/client_init.c: scope_hint: In function ‘setup_gss’
krb5-1.21.3-build/krb5-1.21.3/src/include/kadm5/kadm_err.h:54:50: warning[-Wanalyzer-malloc-leak]: leak of ‘ccname_orig’
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/clnt/client_init.c:627:20: note: in expansion of macro ‘KADM5_GSS_ERROR’
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/clnt/client_init.c:627:20: note: in expansion of macro ‘KADM5_GSS_ERROR’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def142]
krb5-1.21.3-build/krb5-1.21.3/src/include/krb5.h:8: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-int.h:161: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/plugins/hostrealm/test/main.c:46: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/plugins/hostrealm/test/main.c: scope_hint: In function ‘split_comps.part.0’
krb5-1.21.3-build/krb5-1.21.3/src/include/krb5/krb5.h:8896:50: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/hostrealm/test/main.c:64:16: note: in expansion of macro ‘KRB5_PLUGIN_NO_HANDLE’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/hostrealm/test/main.c:64:16: note: in expansion of macro ‘KRB5_PLUGIN_NO_HANDLE’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def143]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:218:32: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].Number’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
Error: GCC_ANALYZER_WARNING (CWE-127): [#def144]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:224:32: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:224:32: note: valid subscripts for ‘yyvsa’ are ‘[0]’ to ‘[199]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def145]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:225:35: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].Number’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
Error: GCC_ANALYZER_WARNING (CWE-127): [#def146]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:230:32: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:230:32: note: valid subscripts for ‘yyvsa’ are ‘[0]’ to ‘[199]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def147]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:231:35: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].Number’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
Error: GCC_ANALYZER_WARNING (CWE-127): [#def148]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:237:32: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:237:32: note: valid subscripts for ‘yyvsa’ are ‘[0]’ to ‘[199]’
Error: GCC_ANALYZER_WARNING (CWE-127): [#def149]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:238:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:238:35: note: valid subscripts for ‘yyvsa’ are ‘[0]’ to ‘[199]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def150]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:239:35: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].Number’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
Error: GCC_ANALYZER_WARNING (CWE-127): [#def151]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:243:32: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:243:32: note: valid subscripts for ‘yyvsa’ are ‘[0]’ to ‘[199]’
Error: GCC_ANALYZER_WARNING (CWE-127): [#def152]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:244:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:244:35: note: valid subscripts for ‘yyvsa’ are ‘[0]’ to ‘[199]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def153]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:245:35: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].Number’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def154]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:262:36: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].Number’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def155]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:273:37: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].Number’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def156]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:276:38: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].Number’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
Error: GCC_ANALYZER_WARNING (CWE-127): [#def157]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:282:33: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:282:33: note: valid subscripts for ‘yyvsa’ are ‘[0]’ to ‘[199]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def158]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:282:33: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693950].Number’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:778:1: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
Error: GCC_ANALYZER_WARNING (CWE-127): [#def159]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:286:33: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:286:33: note: valid subscripts for ‘yyvsa’ are ‘[0]’ to ‘[199]’
Error: GCC_ANALYZER_WARNING (CWE-127): [#def160]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:287:31: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:287:31: note: valid subscripts for ‘yyvsa’ are ‘[0]’ to ‘[199]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def161]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:287:31: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693950].Number’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:778:1: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
Error: GCC_ANALYZER_WARNING (CWE-127): [#def162]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:292:32: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:292:32: note: valid subscripts for ‘yyvsa’ are ‘[0]’ to ‘[199]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def163]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:292:32: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693950].Number’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:778:1: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def164]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:293:34: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].Number’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
Error: GCC_ANALYZER_WARNING (CWE-127): [#def165]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:298:31: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:298:31: note: valid subscripts for ‘yyvsa’ are ‘[0]’ to ‘[199]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def166]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:298:31: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693950].Number’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:778:1: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def167]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:299:33: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].Number’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def168]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:303:33: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].Number’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
Error: GCC_ANALYZER_WARNING (CWE-127): [#def169]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:307:33: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:307:33: note: valid subscripts for ‘yyvsa’ are ‘[0]’ to ‘[199]’
Error: GCC_ANALYZER_WARNING (CWE-127): [#def170]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:308:31: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:308:31: note: valid subscripts for ‘yyvsa’ are ‘[0]’ to ‘[199]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def171]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:308:31: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693950].Number’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:778:1: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def172]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:313:31: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].Number’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def173]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:316:33: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].Number’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def174]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:317:31: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693950].Number’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:778:1: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def175]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:330:39: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].Number’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def176]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:333:39: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].Number’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def177]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:339:39: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].Number’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def178]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:342:39: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].Number’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def179]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:348:37: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].Number’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def180]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:351:37: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].Number’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1291:17: note: in expansion of macro ‘YYTRANSLATE’
Error: COMPILER_WARNING: [#def181]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c: scope_hint: In function ‘extended_com_err_fn’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:240:5: warning[-Wsuggest-attribute=format]: function ‘extended_com_err_fn’ might be a candidate for ‘gnu_printf’ format attribute
Error: COMPILER_WARNING (CWE-252): [#def182]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c: scope_hint: In function ‘kadmin_startup’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:356:13: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def183]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c: scope_hint: In function ‘kadmin_delprinc’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:692:9: warning[-Wunused-result]: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def184]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c: scope_hint: In function ‘kadmin_renameprinc’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:753:9: warning[-Wunused-result]: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def185]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c: scope_hint: In function ‘kadmin_delpol’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1716:9: warning[-Wunused-result]: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-704): [#def186]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin_ct.c:10:13: warning[-Wlto-type-mismatch]: type of ‘kadmin_addprinc’ does not match original declaration
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1193:1: note: type mismatch in parameter 3
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1193:1: note: type ‘void’ should match type ‘int’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1193:1: note: ‘kadmin_addprinc’ was previously declared here
Error: COMPILER_WARNING (CWE-704): [#def187]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin_ct.c:16:13: warning[-Wlto-type-mismatch]: type of ‘kadmin_delprinc’ does not match original declaration
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:666:1: note: type mismatch in parameter 3
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:666:1: note: type ‘void’ should match type ‘int’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:666:1: note: ‘kadmin_delprinc’ was previously declared here
Error: COMPILER_WARNING (CWE-704): [#def188]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin_ct.c:22:13: warning[-Wlto-type-mismatch]: type of ‘kadmin_modprinc’ does not match original declaration
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1316:1: note: type mismatch in parameter 3
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1316:1: note: type ‘void’ should match type ‘int’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1316:1: note: ‘kadmin_modprinc’ was previously declared here
Error: COMPILER_WARNING (CWE-704): [#def189]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin_ct.c:28:13: warning[-Wlto-type-mismatch]: type of ‘kadmin_renameprinc’ does not match original declaration
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:714:1: note: type mismatch in parameter 3
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:714:1: note: type ‘void’ should match type ‘int’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:714:1: note: ‘kadmin_renameprinc’ was previously declared here
Error: COMPILER_WARNING (CWE-704): [#def190]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin_ct.c:34:13: warning[-Wlto-type-mismatch]: type of ‘kadmin_cpw’ does not match original declaration
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:787:1: note: type mismatch in parameter 3
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:787:1: note: type ‘void’ should match type ‘int’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:787:1: note: ‘kadmin_cpw’ was previously declared here
Error: COMPILER_WARNING (CWE-704): [#def191]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin_ct.c:40:13: warning[-Wlto-type-mismatch]: type of ‘kadmin_getprinc’ does not match original declaration
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1389:1: note: type mismatch in parameter 3
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1389:1: note: type ‘void’ should match type ‘int’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1389:1: note: ‘kadmin_getprinc’ was previously declared here
Error: COMPILER_WARNING (CWE-704): [#def192]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin_ct.c:48:13: warning[-Wlto-type-mismatch]: type of ‘kadmin_getprincs’ does not match original declaration
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1525:1: note: type mismatch in parameter 3
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1525:1: note: type ‘void’ should match type ‘int’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1525:1: note: ‘kadmin_getprincs’ was previously declared here
Error: COMPILER_WARNING (CWE-704): [#def193]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin_ct.c:54:13: warning[-Wlto-type-mismatch]: type of ‘kadmin_addpol’ does not match original declaration
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1662:1: note: type mismatch in parameter 3
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1662:1: note: type ‘void’ should match type ‘int’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1662:1: note: ‘kadmin_addpol’ was previously declared here
Error: COMPILER_WARNING (CWE-704): [#def194]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin_ct.c:60:13: warning[-Wlto-type-mismatch]: type of ‘kadmin_modpol’ does not match original declaration
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1683:1: note: type mismatch in parameter 3
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1683:1: note: type ‘void’ should match type ‘int’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1683:1: note: ‘kadmin_modpol’ was previously declared here
Error: COMPILER_WARNING (CWE-704): [#def195]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin_ct.c:66:13: warning[-Wlto-type-mismatch]: type of ‘kadmin_delpol’ does not match original declaration
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1704:1: note: type mismatch in parameter 3
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1704:1: note: type ‘void’ should match type ‘int’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1704:1: note: ‘kadmin_delpol’ was previously declared here
Error: COMPILER_WARNING (CWE-704): [#def196]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin_ct.c:72:13: warning[-Wlto-type-mismatch]: type of ‘kadmin_getpol’ does not match original declaration
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1730:1: note: type mismatch in parameter 3
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1730:1: note: type ‘void’ should match type ‘int’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1730:1: note: ‘kadmin_getpol’ was previously declared here
Error: COMPILER_WARNING (CWE-704): [#def197]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin_ct.c:80:13: warning[-Wlto-type-mismatch]: type of ‘kadmin_getpols’ does not match original declaration
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1776:1: note: type mismatch in parameter 3
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1776:1: note: type ‘void’ should match type ‘int’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1776:1: note: ‘kadmin_getpols’ was previously declared here
Error: COMPILER_WARNING (CWE-704): [#def198]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin_ct.c:86:13: warning[-Wlto-type-mismatch]: type of ‘kadmin_getprivs’ does not match original declaration
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1798:1: note: type mismatch in parameter 3
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1798:1: note: type ‘void’ should match type ‘int’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1798:1: note: ‘kadmin_getprivs’ was previously declared here
Error: COMPILER_WARNING (CWE-704): [#def199]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin_ct.c:92:13: warning[-Wlto-type-mismatch]: type of ‘kadmin_keytab_add’ does not match original declaration
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/keytab.c:114:1: note: type mismatch in parameter 3
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/keytab.c:114:1: note: type ‘void’ should match type ‘int’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/keytab.c:114:1: note: ‘kadmin_keytab_add’ was previously declared here
Error: COMPILER_WARNING (CWE-704): [#def200]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin_ct.c:98:13: warning[-Wlto-type-mismatch]: type of ‘kadmin_keytab_remove’ does not match original declaration
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/keytab.c:206:1: note: type mismatch in parameter 3
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/keytab.c:206:1: note: type ‘void’ should match type ‘int’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/keytab.c:206:1: note: ‘kadmin_keytab_remove’ was previously declared here
Error: COMPILER_WARNING (CWE-704): [#def201]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin_ct.c:103:13: warning[-Wlto-type-mismatch]: type of ‘kadmin_lock’ does not match original declaration
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:636:1: note: type mismatch in parameter 3
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:636:1: note: type ‘void’ should match type ‘int’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:636:1: note: ‘kadmin_lock’ was previously declared here
Error: COMPILER_WARNING (CWE-704): [#def202]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin_ct.c:108:13: warning[-Wlto-type-mismatch]: type of ‘kadmin_unlock’ does not match original declaration
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:651:1: note: type mismatch in parameter 3
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:651:1: note: type ‘void’ should match type ‘int’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:651:1: note: ‘kadmin_unlock’ was previously declared here
Error: COMPILER_WARNING (CWE-704): [#def203]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin_ct.c:113:13: warning[-Wlto-type-mismatch]: type of ‘kadmin_purgekeys’ does not match original declaration
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1823:1: note: type mismatch in parameter 3
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1823:1: note: type ‘void’ should match type ‘int’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1823:1: note: ‘kadmin_purgekeys’ was previously declared here
Error: COMPILER_WARNING (CWE-704): [#def204]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin_ct.c:119:13: warning[-Wlto-type-mismatch]: type of ‘kadmin_getstrings’ does not match original declaration
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1875:1: note: type mismatch in parameter 3
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1875:1: note: type ‘void’ should match type ‘int’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1875:1: note: ‘kadmin_getstrings’ was previously declared here
Error: COMPILER_WARNING (CWE-704): [#def205]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin_ct.c:125:13: warning[-Wlto-type-mismatch]: type of ‘kadmin_setstring’ does not match original declaration
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1921:1: note: type mismatch in parameter 3
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1921:1: note: type ‘void’ should match type ‘int’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1921:1: note: ‘kadmin_setstring’ was previously declared here
Error: COMPILER_WARNING (CWE-704): [#def206]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin_ct.c:131:13: warning[-Wlto-type-mismatch]: type of ‘kadmin_delstring’ does not match original declaration
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1962:1: note: type mismatch in parameter 3
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1962:1: note: type ‘void’ should match type ‘int’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/kadmin.c:1962:1: note: ‘kadmin_delstring’ was previously declared here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def207]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/y.tab.c: scope_hint: In function ‘getdate_yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/y.tab.c:686:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/y.tab.c:671:9: note: in expansion of macro ‘YYCOPY’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/y.tab.c:1224:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/y.tab.c:671:9: note: in expansion of macro ‘YYCOPY’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/y.tab.c:1224:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/y.tab.c:671:9: note: in expansion of macro ‘YYCOPY’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/y.tab.c:1224:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def208]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/y.tab.c:1351:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
Error: COMPILER_WARNING (CWE-252): [#def209]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/dbutil/dump.c: scope_hint: In function ‘update_ok_file’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/dbutil/dump.c:239:5: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def210]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/dbutil/dump.c: scope_hint: In function ‘load_db’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/dbutil/dump.c:1659:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘f’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def211]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/dbutil/dump.c:1659:5: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def212]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/dbutil/kdb5_create.c: scope_hint: In function ‘kdb5_create’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/dbutil/kdb5_create.c:193:60: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
krb5-1.21.3-build/krb5-1.21.3/src/include/krb5.h:8: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-int.h:161: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/dbutil/kdb5_create.c:56: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/include/krb5/krb5.h:268:80: note: in definition of macro ‘krb5_princ_set_realm_data’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/dbutil/kdb5_create.c:193:5: note: in expansion of macro ‘krb5_princ_component’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def213]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/dbutil/kdb5_create.c:194:62: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
krb5-1.21.3-build/krb5-1.21.3/src/include/krb5/krb5.h:268:80: note: in definition of macro ‘krb5_princ_set_realm_data’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/dbutil/kdb5_create.c:193:5: note: in expansion of macro ‘krb5_princ_component’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/dbutil/kdb5_create.c:193:5: note: in expansion of macro ‘krb5_princ_component’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/dbutil/kdb5_create.c:194:5: note: in expansion of macro ‘krb5_princ_component’
Error: COMPILER_WARNING: [#def214]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/dbutil/kdb5_util.c: scope_hint: In function ‘extended_com_err_fn’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/dbutil/kdb5_util.c:177:5: warning[-Wsuggest-attribute=format]: function ‘extended_com_err_fn’ might be a candidate for ‘gnu_printf’ format attribute
Error: COMPILER_WARNING: [#def215]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/dbutil/tdumputil.c: scope_hint: In function ‘writequoted’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/dbutil/tdumputil.c:109:5: warning[-Wsuggest-attribute=format]: function ‘writequoted’ might be a candidate for ‘gnu_printf’ format attribute
Error: COMPILER_WARNING (CWE-704): [#def216]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/ktutil/ktutil_ct.c:9:13: warning[-Wlto-type-mismatch]: type of ‘ktutil_clear_list’ does not match original declaration
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/ktutil/ktutil.c:66:1: note: type mismatch in parameter 3
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/ktutil/ktutil.c:66:1: note: type ‘void’ should match type ‘int’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/ktutil/ktutil.c:66:1: note: ‘ktutil_clear_list’ was previously declared here
Error: COMPILER_WARNING (CWE-704): [#def217]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/ktutil/ktutil_ct.c:15:13: warning[-Wlto-type-mismatch]: type of ‘ktutil_read_v5’ does not match original declaration
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/ktutil/ktutil.c:81:1: note: type mismatch in parameter 3
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/ktutil/ktutil.c:81:1: note: type ‘void’ should match type ‘int’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/ktutil/ktutil.c:81:1: note: ‘ktutil_read_v5’ was previously declared here
Error: COMPILER_WARNING (CWE-704): [#def218]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/ktutil/ktutil_ct.c:21:13: warning[-Wlto-type-mismatch]: type of ‘ktutil_read_v4’ does not match original declaration
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/ktutil/ktutil.c:95:1: note: type mismatch in parameter 3
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/ktutil/ktutil.c:95:1: note: type ‘void’ should match type ‘int’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/ktutil/ktutil.c:95:1: note: ‘ktutil_read_v4’ was previously declared here
Error: COMPILER_WARNING (CWE-704): [#def219]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/ktutil/ktutil_ct.c:27:13: warning[-Wlto-type-mismatch]: type of ‘ktutil_write_v5’ does not match original declaration
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/ktutil/ktutil.c:102:1: note: type mismatch in parameter 3
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/ktutil/ktutil.c:102:1: note: type ‘void’ should match type ‘int’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/ktutil/ktutil.c:102:1: note: ‘ktutil_write_v5’ was previously declared here
Error: COMPILER_WARNING (CWE-704): [#def220]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/ktutil/ktutil_ct.c:33:13: warning[-Wlto-type-mismatch]: type of ‘ktutil_write_v4’ does not match original declaration
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/ktutil/ktutil.c:116:1: note: type mismatch in parameter 3
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/ktutil/ktutil.c:116:1: note: type ‘void’ should match type ‘int’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/ktutil/ktutil.c:116:1: note: ‘ktutil_write_v4’ was previously declared here
Error: COMPILER_WARNING (CWE-704): [#def221]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/ktutil/ktutil_ct.c:39:13: warning[-Wlto-type-mismatch]: type of ‘ktutil_add_entry’ does not match original declaration
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/ktutil/ktutil.c:123:1: note: type mismatch in parameter 3
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/ktutil/ktutil.c:123:1: note: type ‘void’ should match type ‘int’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/ktutil/ktutil.c:123:1: note: ‘ktutil_add_entry’ was previously declared here
Error: COMPILER_WARNING (CWE-704): [#def222]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/ktutil/ktutil_ct.c:45:13: warning[-Wlto-type-mismatch]: type of ‘ktutil_delete_entry’ does not match original declaration
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/ktutil/ktutil.c:180:1: note: type mismatch in parameter 3
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/ktutil/ktutil.c:180:1: note: type ‘void’ should match type ‘int’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/ktutil/ktutil.c:180:1: note: ‘ktutil_delete_entry’ was previously declared here
Error: COMPILER_WARNING (CWE-704): [#def223]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/ktutil/ktutil_ct.c:51:13: warning[-Wlto-type-mismatch]: type of ‘ktutil_list’ does not match original declaration
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/ktutil/ktutil.c:194:1: note: type mismatch in parameter 3
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/ktutil/ktutil.c:194:1: note: type ‘void’ should match type ‘int’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/ktutil/ktutil.c:194:1: note: ‘ktutil_list’ was previously declared here
Error: COMPILER_WARNING (CWE-252): [#def224]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/ktutil/ktutil_funcs.c: scope_hint: In function ‘ktutil_add’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/ktutil/ktutil_funcs.c:206:9: warning[-Wunused-result]: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def225]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/server/ipropd_svc.c: scope_hint: In function ‘ipropx_resync’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/server/ipropd_svc.c:122:23: warning[-Wanalyzer-malloc-leak]: leak of ‘buf_to_string(&client_desc)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def226]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/server/ipropd_svc.c:122:23: warning[-Wanalyzer-malloc-leak]: leak of ‘buf_to_string(&service_desc)’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def227]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/server/schpw.c: scope_hint: In function ‘process_chpw_request’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/server/schpw.c:268:20: warning[-Wanalyzer-null-argument]: use of NULL ‘targetstr’ where non-null expected
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/server/schpw.c:2: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/server/schpw.c: scope_hint: In function ‘process_chpw_request’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def228]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/server/server_stubs.c: scope_hint: In function ‘stub_cleanup’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/server/server_stubs.c:306:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘handle’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def229]
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/server/server_stubs.c: scope_hint: In function ‘get_policy_2_svc’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/server/server_stubs.c:1353:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘handle’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def230]
krb5-1.21.3-build/krb5-1.21.3/src/kdc/dispatch.c: scope_hint: In function ‘make_too_big_error’
krb5-1.21.3-build/krb5-1.21.3/src/kdc/dispatch.c:181:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘realm’
krb5-1.21.3-build/krb5-1.21.3/src/kdc/dispatch.c:26: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/kdc/dispatch.c: scope_hint: In function ‘make_too_big_error’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def231]
krb5-1.21.3-build/krb5-1.21.3/src/kdc/do_tgs_req.c: scope_hint: In function ‘prepare_error_tgs’
krb5-1.21.3-build/krb5-1.21.3/src/kdc/do_tgs_req.c:200:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘request’
Error: CPPCHECK_WARNING (CWE-758): [#def232]
krb5-1.21.3-build/krb5-1.21.3/src/kdc/kdc_authdata.c:131: warning[objectIndex]: The address of variable 'ad_type' might be accessed at non-zero index.
Error: GCC_ANALYZER_WARNING (CWE-122): [#def233]
krb5-1.21.3-build/krb5-1.21.3/src/kdc/kdc_preauth.c: scope_hint: In function ‘sort_pa_order’
krb5-1.21.3-build/krb5-1.21.3/src/kdc/kdc_preauth.c:665:27: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
krb5-1.21.3-build/krb5-1.21.3/src/kdc/kdc_preauth.c: scope_hint: In function ‘sort_pa_order’
krb5-1.21.3-build/krb5-1.21.3/src/kdc/kdc_preauth.c:665:27: note: write of 4 bytes to beyond the end of the region
Error: GCC_ANALYZER_WARNING (CWE-126): [#def234]
krb5-1.21.3-build/krb5-1.21.3/src/kdc/kdc_preauth.c:674:37: warning[-Wanalyzer-out-of-bounds]: heap-based buffer over-read
krb5-1.21.3-build/krb5-1.21.3/src/kdc/kdc_preauth.c: scope_hint: In function ‘sort_pa_order’
krb5-1.21.3-build/krb5-1.21.3/src/kdc/kdc_preauth.c:674:37: note: read of 4 bytes from after the end of the region
Error: GCC_ANALYZER_WARNING (CWE-126): [#def235]
krb5-1.21.3-build/krb5-1.21.3/src/kdc/kdc_preauth.c:679:41: warning[-Wanalyzer-out-of-bounds]: heap-based buffer over-read
krb5-1.21.3-build/krb5-1.21.3/src/kdc/kdc_preauth.c: scope_hint: In function ‘sort_pa_order’
krb5-1.21.3-build/krb5-1.21.3/src/kdc/kdc_preauth.c:679:41: note: read of 4 bytes from after the end of the region
Error: GCC_ANALYZER_WARNING (CWE-122): [#def236]
krb5-1.21.3-build/krb5-1.21.3/src/kdc/kdc_preauth.c:681:29: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
krb5-1.21.3-build/krb5-1.21.3/src/kdc/kdc_preauth.c: scope_hint: In function ‘sort_pa_order’
krb5-1.21.3-build/krb5-1.21.3/src/kdc/kdc_preauth.c:681:29: note: write of 4 bytes to beyond the end of the region
Error: GCC_ANALYZER_WARNING (CWE-126): [#def237]
krb5-1.21.3-build/krb5-1.21.3/src/kdc/kdc_preauth.c:704:62: warning[-Wanalyzer-out-of-bounds]: heap-based buffer over-read
krb5-1.21.3-build/krb5-1.21.3/src/kdc/kdc_preauth.c: scope_hint: In function ‘sort_pa_order’
krb5-1.21.3-build/krb5-1.21.3/src/kdc/kdc_preauth.c:704:62: note: read of 4 bytes from after the end of the region
Error: GCC_ANALYZER_WARNING (CWE-126): [#def238]
krb5-1.21.3-build/krb5-1.21.3/src/kdc/kdc_preauth.c: scope_hint: In function ‘return_padata’
krb5-1.21.3-build/krb5-1.21.3/src/kdc/kdc_preauth.c:1438:30: warning[-Wanalyzer-out-of-bounds]: heap-based buffer over-read
krb5-1.21.3-build/krb5-1.21.3/src/kdc/kdc_preauth.c: scope_hint: In function ‘return_padata’
krb5-1.21.3-build/krb5-1.21.3/src/kdc/kdc_preauth.c:1438:30: note: read of 4 bytes from after the end of the region
Error: GCC_ANALYZER_WARNING (CWE-401): [#def239]
krb5-1.21.3-build/krb5-1.21.3/src/kdc/kdc_transit.c: scope_hint: In function ‘add_to_transited’
krb5-1.21.3-build/krb5-1.21.3/src/kdc/kdc_transit.c:134:17: warning[-Wanalyzer-malloc-leak]: leak of ‘data2string(&*tgs.realm)’
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-thread.h:136: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-platform.h:236: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-int.h:130: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/kdc/kdc_transit.c:33: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def240]
krb5-1.21.3-build/krb5-1.21.3/src/kdc/kdc_util.c: scope_hint: In function ‘verify_for_user_checksum’
krb5-1.21.3-build/krb5-1.21.3/src/kdc/kdc_util.c:1278:57: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
krb5-1.21.3-build/krb5-1.21.3/src/include/krb5.h:8: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-int.h:161: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/kdc/kdc_util.c:54: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/kdc/kdc_util.c:1274:13: note: in expansion of macro ‘krb5_princ_component’
krb5-1.21.3-build/krb5-1.21.3/src/kdc/kdc_util.c:1278:14: note: in expansion of macro ‘krb5_princ_component’
krb5-1.21.3-build/krb5-1.21.3/src/kdc/kdc_util.c:1278:14: note: in expansion of macro ‘krb5_princ_component’
krb5-1.21.3-build/krb5-1.21.3/src/kdc/kdc_util.c:1274:13: note: in expansion of macro ‘krb5_princ_component’
krb5-1.21.3-build/krb5-1.21.3/src/include/krb5/krb5.h:269:42: note: in definition of macro ‘krb5_princ_size’
krb5-1.21.3-build/krb5-1.21.3/src/kdc/kdc_util.c:1278:14: note: in expansion of macro ‘krb5_princ_component’
krb5-1.21.3-build/krb5-1.21.3/src/kdc/kdc_util.c:1278:14: note: in expansion of macro ‘krb5_princ_component’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def241]
krb5-1.21.3-build/krb5-1.21.3/src/kdc/rtest.c: scope_hint: In function ‘main’
krb5-1.21.3-build/krb5-1.21.3/src/kdc/rtest.c:88:5: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def242]
krb5-1.21.3-build/krb5-1.21.3/src/kdc/rtest.c:88:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘otrans.data’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: COMPILER_WARNING (CWE-252): [#def243]
krb5-1.21.3-build/krb5-1.21.3/src/kprop/kprop.c: scope_hint: In function ‘update_last_prop_file’
krb5-1.21.3-build/krb5-1.21.3/src/kprop/kprop.c:591:5: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def244]
krb5-1.21.3-build/krb5-1.21.3/src/kprop/kpropd.c: scope_hint: In function ‘alarm_handler’
krb5-1.21.3-build/krb5-1.21.3/src/kprop/kpropd.c:216:5: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def245]
krb5-1.21.3-build/krb5-1.21.3/src/kprop/kpropd.c: scope_hint: In function ‘main’
krb5-1.21.3-build/krb5-1.21.3/src/kprop/kpropd.c:276:13: warning[-Wunused-result]: ignoring return value of ‘daemon’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING: [#def246]
krb5-1.21.3-build/krb5-1.21.3/src/kprop/kpropd.c: scope_hint: In function ‘parse_args’
krb5-1.21.3-build/krb5-1.21.3/src/kprop/kpropd.c:1138:26: warning[-Wsuggest-attribute=format]: argument 1 of ‘set_com_err_hook’ might be a candidate for a format attribute
Error: COMPILER_WARNING (CWE-563): [#def247]
krb5-1.21.3-build/krb5-1.21.3/src/lib/apputils/net-server.c: scope_hint: In function ‘loop_add_address’
krb5-1.21.3-build/krb5-1.21.3/src/lib/apputils/net-server.c:193:39: warning[-Wunused-value]: right-hand operand of comma expression has no effect
krb5-1.21.3-build/krb5-1.21.3/src/lib/apputils/net-server.c:328:13: note: in expansion of macro ‘DEL’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def248]
krb5-1.21.3-build/krb5-1.21.3/src/lib/apputils/net-server.c: scope_hint: In function ‘add_fd’
krb5-1.21.3-build/krb5-1.21.3/src/lib/apputils/net-server.c:575:13: warning[-Wanalyzer-malloc-leak]: leak of ‘newconn’
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-int.h:130: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/apputils/net-server.c:27: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/apputils/net-server.c:1155:5: note: in expansion of macro ‘set_cloexec_fd’
krb5-1.21.3-build/krb5-1.21.3/src/lib/apputils/net-server.c:649:12: note: in expansion of macro ‘ioctlsocket’
krb5-1.21.3-build/krb5-1.21.3/src/lib/apputils/net-server.c: scope_hint: In function ‘add_fd’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def249]
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/gssapiP_krb5.h:65: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/lucid_context.c:29: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/lucid_context.c: scope_hint: In function ‘free_external_lucid_ctx_v1’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/generic/gssapiP_generic.h:64:18: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/lucid_context.c:289:9: note: in expansion of macro ‘xfree’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/lucid_context.c:251:23: note: in expansion of macro ‘xmalloc’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/lucid_context.c:289:9: note: in expansion of macro ‘xfree’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/lucid_context.c:289:9: note: in expansion of macro ‘xfree’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def250]
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/accept_sec_context.c: scope_hint: In function ‘kg_accept_krb5’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/accept_sec_context.c:1163:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def251]
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/iakerb.c: scope_hint: In function ‘iakerb_gss_accept_sec_context’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/iakerb.c:785:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ctx’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def252]
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/iakerb.c:828:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def253]
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/import_cred.c: scope_hint: In function ‘json_to_etypes’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/import_cred.c:100:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘etypes’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/import_cred.c:33: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def254]
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/import_cred.c: scope_hint: In function ‘json_to_address’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/import_cred.c:221:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘addr_out’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def255]
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/import_cred.c: scope_hint: In function ‘json_to_addresses’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/import_cred.c:271:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘addrs’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def256]
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/import_cred.c: scope_hint: In function ‘json_to_authdata_element’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/import_cred.c:290:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ad_out’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def257]
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/import_cred.c: scope_hint: In function ‘json_to_authdata’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/import_cred.c:340:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘authdata’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def258]
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/init_sec_context.c: scope_hint: In function ‘kg_new_connection’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/init_sec_context.c:573:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘k_cred’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/init_sec_context.c:106: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def259]
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/krb5/k5unseal.c:270:12: warning[-Wanalyzer-null-argument]: use of NULL ‘plain’ where non-null expected
<built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null
Error: CPPCHECK_WARNING (CWE-401): [#def260]
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/spnego/spnego_mech.c:3608: error[memleak]: Memory leak: buffer.value
Error: GCC_ANALYZER_WARNING (CWE-457): [#def261]
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/spnego/spnego_mech.c: scope_hint: In function ‘make_spnego_tokenTarg_msg’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/spnego/spnego_mech.c:3767:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘f2len’
krb5-1.21.3-build/krb5-1.21.3/src/lib/gssapi/spnego/spnego_mech.c:63: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-der.h: scope_hint: In function ‘make_spnego_tokenTarg_msg’
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-der.h: scope_hint: In function ‘make_spnego_tokenTarg_msg’
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-der.h: scope_hint: In function ‘make_spnego_tokenTarg_msg’
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-der.h: scope_hint: In function ‘make_spnego_tokenTarg_msg’
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-der.h: scope_hint: In function ‘make_spnego_tokenTarg_msg’
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-der.h: scope_hint: In function ‘make_spnego_tokenTarg_msg’
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-der.h: scope_hint: In function ‘make_spnego_tokenTarg_msg’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def262]
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/alt_prof.c: scope_hint: In function ‘get_string_param’
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/alt_prof.c:325:20: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘svalue’
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/alt_prof.c:496:5: note: in expansion of macro ‘GET_STRING_PARAM’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def263]
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/alt_prof.c: scope_hint: In function ‘get_port_param.part.0’
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/alt_prof.c:356:20: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ivalue’
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/alt_prof.c:496:5: note: in expansion of macro ‘GET_STRING_PARAM’
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/alt_prof.c:496:5: note: in expansion of macro ‘GET_STRING_PARAM’
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/alt_prof.c:505:5: note: in expansion of macro ‘GET_STRING_PARAM’
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/alt_prof.c:505:5: note: in expansion of macro ‘GET_STRING_PARAM’
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/alt_prof.c:505:5: note: in expansion of macro ‘GET_STRING_PARAM’
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/alt_prof.c:509:5: note: in expansion of macro ‘GET_STRING_PARAM’
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/alt_prof.c:509:5: note: in expansion of macro ‘GET_STRING_PARAM’
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/alt_prof.c:513:5: note: in expansion of macro ‘GET_STRING_PARAM’
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/alt_prof.c:513:5: note: in expansion of macro ‘GET_STRING_PARAM’
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/alt_prof.c:517:5: note: in expansion of macro ‘GET_STRING_PARAM’
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/alt_prof.c:517:5: note: in expansion of macro ‘GET_STRING_PARAM’
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/alt_prof.c:519:5: note: in expansion of macro ‘GET_STRING_PARAM’
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/alt_prof.c:519:5: note: in expansion of macro ‘GET_STRING_PARAM’
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/alt_prof.c:521:5: note: in expansion of macro ‘GET_STRING_PARAM’
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/alt_prof.c:521:5: note: in expansion of macro ‘GET_STRING_PARAM’
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/alt_prof.c:530:5: note: in expansion of macro ‘GET_PORT_PARAM’
Error: CPPCHECK_WARNING (CWE-457): [#def264]
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/chpass_util.c:106: warning[uninitvar]: Uninitialized variable: pwsize
Error: GCC_ANALYZER_WARNING (CWE-401): [#def265]
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/logger.c: scope_hint: In function ‘krb5_klog_init’
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/logger.c:435:36: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopen(fileno(stderr), "w")’
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-platform.h:64: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-int.h:130: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/logger.c:33: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def266]
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/logger.c:447:36: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("/dev/console", "a+")’
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/logger.c:446:25: note: in expansion of macro ‘CONSOLE_OPEN’
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/logger.c:446:25: note: in expansion of macro ‘CONSOLE_OPEN’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def267]
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/logger.c:447:36: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("/dev/console", "a+")’
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/logger.c:446:25: note: in expansion of macro ‘CONSOLE_OPEN’
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/logger.c:446:25: note: in expansion of macro ‘CONSOLE_OPEN’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def268]
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/logger.c:463:40: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(cp + 7, "w")’
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/logger.c:154:39: note: in definition of macro ‘DEVICE_OPEN’
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/logger.c:462:29: note: in expansion of macro ‘DEVICE_OPEN’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def269]
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/logger.c:463:40: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(cp + 7, "w")’
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/logger.c:154:39: note: in definition of macro ‘DEVICE_OPEN’
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/logger.c:462:29: note: in expansion of macro ‘DEVICE_OPEN’
Error: COMPILER_WARNING: [#def270]
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/logger.c: scope_hint: In function ‘krb5_klog_init’
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/logger.c:519:37: warning[-Wsuggest-attribute=format]: argument 1 of ‘set_com_err_hook’ might be a candidate for a format attribute
Error: CPPCHECK_WARNING (CWE-457): [#def271]
krb5-1.21.3-build/krb5-1.21.3/src/lib/kadm5/srv/svr_principal.c:1325: error[legacyUninitvar]: Uninitialized variable: hist_kvno
Error: GCC_ANALYZER_WARNING (CWE-476): [#def272]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krad/attr.c: scope_hint: In function ‘user_password_encode’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krad/attr.c:195:57: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘sum.contents’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krad/attr.c:30: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/krad/attr.c:31: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def273]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krad/attr.c: scope_hint: In function ‘user_password_decode.part.0’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krad/attr.c:254:29: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘sum.contents’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def274]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krad/packet.c: scope_hint: In function ‘auth_generate_response’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krad/packet.c:197:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘hash.contents’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krad/internal.h:33: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/krad/packet.c:30: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def275]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/ccache/cc_file.c: scope_hint: In function ‘delete_cred’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/ccache/cc_file.c:1082:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(*data.filename, 524290)’
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-platform.h:64: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-int.h:130: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/ccache/cc_file.c:63: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def276]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/ccache/cc_keyring.c: scope_hint: In function ‘set_primary_name’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/ccache/cc_keyring.c:539:20: warning[-Wanalyzer-null-argument]: use of NULL ‘subsidiary_name’ where non-null expected
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/ccache/cc-int.h:33: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/ccache/cc_keyring.c:97: included_from: Included from here.
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def277]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/ccache/cccursor.c: scope_hint: In function ‘krb5_cccol_cursor_free’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/ccache/cccursor.c:136:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*c.ops’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def278]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c: scope_hint: In function ‘krb5_ktfileint_internal_read_entry.part.0’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:1024:14: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:566:5: note: in expansion of macro ‘KTLOCK’
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-platform.h:236: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-int.h:130: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:56: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:566:5: note: in expansion of macro ‘KTLOCK’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c: scope_hint: In function ‘krb5_ktfileint_internal_read_entry.part.0’
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-int.h:131: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:739:19: note: in expansion of macro ‘WRITABLEFOPEN’
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-label.h:25:50: note: in definition of macro ‘WRITABLEFOPEN’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:739:33: note: in expansion of macro ‘KTFILENAME’
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-platform.h:64: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:772:25: note: in expansion of macro ‘KTFILEBUFP’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:806:28: note: in expansion of macro ‘KTFILEP’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c: scope_hint: In function ‘krb5_ktfileint_internal_read_entry.part.0’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:921:13: note: in expansion of macro ‘KTVERSION’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:937:23: note: in expansion of macro ‘KTFILEP’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:944:9: note: in expansion of macro ‘KTVERSION’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:967:52: note: in expansion of macro ‘KTFILEP’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:971:9: note: in expansion of macro ‘KTVERSION’
krb5-1.21.3-build/krb5-1.21.3/src/include/port-sockets.h:159: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-int.h:165: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:985:41: note: in expansion of macro ‘KTFILEP’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:1023:9: note: in expansion of macro ‘KTVERSION’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def279]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:1033:10: warning[-Wanalyzer-malloc-leak]: leak of ‘*ret_entry.principal’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:921:13: note: in expansion of macro ‘KTVERSION’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:937:23: note: in expansion of macro ‘KTFILEP’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:944:9: note: in expansion of macro ‘KTVERSION’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:967:52: note: in expansion of macro ‘KTFILEP’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:971:9: note: in expansion of macro ‘KTVERSION’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:985:41: note: in expansion of macro ‘KTFILEP’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:1001:13: note: in expansion of macro ‘KTVERSION’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:1015:61: note: in expansion of macro ‘KTFILEP’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:1023:9: note: in expansion of macro ‘KTVERSION’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:1033:72: note: in expansion of macro ‘KTFILEP’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def280]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:1033:10: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:566:5: note: in expansion of macro ‘KTLOCK’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:566:5: note: in expansion of macro ‘KTLOCK’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c: scope_hint: In function ‘krb5_ktfileint_internal_read_entry.part.0’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:739:19: note: in expansion of macro ‘WRITABLEFOPEN’
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-label.h:25:50: note: in definition of macro ‘WRITABLEFOPEN’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:739:33: note: in expansion of macro ‘KTFILENAME’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:772:25: note: in expansion of macro ‘KTFILEBUFP’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:806:28: note: in expansion of macro ‘KTFILEP’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c: scope_hint: In function ‘krb5_ktfileint_internal_read_entry.part.0’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:921:13: note: in expansion of macro ‘KTVERSION’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:937:23: note: in expansion of macro ‘KTFILEP’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:944:9: note: in expansion of macro ‘KTVERSION’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:967:52: note: in expansion of macro ‘KTFILEP’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:971:9: note: in expansion of macro ‘KTVERSION’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:985:41: note: in expansion of macro ‘KTFILEP’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:1023:9: note: in expansion of macro ‘KTVERSION’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:1033:72: note: in expansion of macro ‘KTFILEP’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def281]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:1033:10: warning[-Wanalyzer-malloc-leak]: leak of ‘cur_entry.principal’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:566:5: note: in expansion of macro ‘KTLOCK’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:566:5: note: in expansion of macro ‘KTLOCK’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c: scope_hint: In function ‘krb5_ktfileint_internal_read_entry.part.0’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:739:19: note: in expansion of macro ‘WRITABLEFOPEN’
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-label.h:25:50: note: in definition of macro ‘WRITABLEFOPEN’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:739:33: note: in expansion of macro ‘KTFILENAME’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:772:25: note: in expansion of macro ‘KTFILEBUFP’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:806:28: note: in expansion of macro ‘KTFILEP’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c: scope_hint: In function ‘krb5_ktfileint_internal_read_entry.part.0’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:921:13: note: in expansion of macro ‘KTVERSION’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:937:23: note: in expansion of macro ‘KTFILEP’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:944:9: note: in expansion of macro ‘KTVERSION’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:967:52: note: in expansion of macro ‘KTFILEP’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:971:9: note: in expansion of macro ‘KTVERSION’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:985:41: note: in expansion of macro ‘KTFILEP’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:1023:9: note: in expansion of macro ‘KTVERSION’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_file.c:1033:72: note: in expansion of macro ‘KTFILEP’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def282]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_memory.c: scope_hint: In function ‘krb5_mkt_add’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_memory.c:575:12: warning[-Wanalyzer-malloc-leak]: leak of ‘cursor’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_memory.c:533:5: note: in expansion of macro ‘KTLOCK’
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-platform.h:236: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-int.h:130: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_memory.c:27: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_memory.c:533:5: note: in expansion of macro ‘KTLOCK’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_memory.c:565:9: note: in expansion of macro ‘KTLINK’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_memory.c:574:5: note: in expansion of macro ‘KTUNLOCK’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/keytab/kt_memory.c:574:5: note: in expansion of macro ‘KTUNLOCK’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def283]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/authdata.c: scope_hint: In function ‘krb5_authdata_context_init’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/authdata.c:424:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tables’
Error: CPPCHECK_WARNING (CWE-401): [#def284]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/authdata_exp.c:74: error[memleakOnRealloc]: Common realloc mistake: 'authdata' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-476): [#def285]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/chpw.c: scope_hint: In function ‘krb5int_rd_chpw_rep’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/chpw.c:212:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘clear’
Error: COMPILER_WARNING: [#def286]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/conv_princ.c: scope_hint: In function ‘krb5_524_conv_principal’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/conv_princ.c:246:13: warning[-Wstringop-truncation]: ‘strncpy’ specified bound depends on the length of the source argument
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/conv_princ.c:241:30: note: length computed here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def287]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/deltat.c: scope_hint: In function ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/deltat.c:382:21: warning[-Wanalyzer-malloc-leak]: leak of ‘yyptr’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/deltat.c:368:25: note: in expansion of macro ‘YYMALLOC’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/deltat.c:1187:29: note: in expansion of macro ‘YYSTACK_ALLOC’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/deltat.c:1235:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/deltat.c:1245:17: note: in expansion of macro ‘YYTRANSLATE’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/deltat.c:1235:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/deltat.c:368:25: note: in expansion of macro ‘YYMALLOC’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/deltat.c:1187:29: note: in expansion of macro ‘YYSTACK_ALLOC’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/deltat.c:443:25: note: in definition of macro ‘YYCOPY’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/deltat.c:1190:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/deltat.c:368:25: note: in expansion of macro ‘YYMALLOC’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/deltat.c:1187:29: note: in expansion of macro ‘YYSTACK_ALLOC’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def288]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/deltat.c:443:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/deltat.c:428:9: note: in expansion of macro ‘YYCOPY’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/deltat.c:1190:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/deltat.c:443:25: note: in definition of macro ‘YYCOPY’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/deltat.c:1190:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/deltat.c:428:9: note: in expansion of macro ‘YYCOPY’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/deltat.c:1190:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def289]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/deltat.c:1307:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>.val’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/deltat.c:1235:16: note: in expansion of macro ‘yylex’
Error: GCC_ANALYZER_WARNING (CWE-127): [#def290]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/deltat.c:1428:20: warning[-Wanalyzer-out-of-bounds]: buffer under-read
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/deltat.c:1235:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/deltat.c:1428:20: note: valid subscripts for ‘yypgoto’ are ‘[0]’ to ‘[9]’
Error: GCC_ANALYZER_WARNING (CWE-127): [#def291]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/deltat.c:1432:24: warning[-Wanalyzer-out-of-bounds]: buffer under-read
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/deltat.c:1235:16: note: in expansion of macro ‘yylex’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/deltat.c:1432:24: note: valid subscripts for ‘yydefgoto’ are ‘[0]’ to ‘[9]’
Error: CPPCHECK_WARNING (CWE-457): [#def292]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/fast.c:663: error[legacyUninitvar]: Uninitialized variable: valid
Error: GCC_ANALYZER_WARNING (CWE-401): [#def293]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/get_in_tkt.c: scope_hint: In function ‘make_preauth_list’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/get_in_tkt.c:381:13: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def294]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/gic_opt.c: scope_hint: In function ‘k5_gic_opt_shallow_copy’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/gic_opt.c:472:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘opte’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def295]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/gic_opt.c:474:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘opte’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def296]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/libdef_parse.c: scope_hint: In function ‘krb5int_libdefault_boolean’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/libdef_parse.c:146:15: warning[-Wanalyzer-malloc-leak]: leak of ‘string’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def297]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/mk_cred.c: scope_hint: In function ‘create_krbcred’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/mk_cred.c:113:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/mk_cred.c: scope_hint: In function ‘create_krbcred’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/mk_cred.c: scope_hint: In function ‘create_krbcred’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def298]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/pac.c: scope_hint: In function ‘k5_pac_add_buffer’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/pac.c:68:8: warning[-Wanalyzer-malloc-leak]: leak of ‘nbufs’
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-thread.h:136: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-platform.h:236: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-int.h:130: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/pac.c:27: included_from: Included from here.
/usr/include/asm-generic/errno.h:5: included_from: Included from here.
/usr/include/asm/errno.h:1: included_from: Included from here.
/usr/include/linux/errno.h:1: included_from: Included from here.
/usr/include/bits/errno.h:26: included_from: Included from here.
/usr/include/errno.h:28: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-platform.h:64: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def299]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/preauth2.c: scope_hint: In function ‘copy_cookie’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/preauth2.c:866:16: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/preauth2.c: scope_hint: In function ‘copy_cookie’
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-int.h:178: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/preauth2.c:33: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-trace.h:314:5: note: in expansion of macro ‘TRACE’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/preauth2.c:867:5: note: in expansion of macro ‘TRACE_PREAUTH_COOKIE’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def300]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/preauth_otp.c: scope_hint: In function ‘codec_decode_challenge’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/preauth_otp.c:367:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def301]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/preauth_otp.c: scope_hint: In function ‘codec_decode_answer’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/preauth_otp.c:410:20: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘tmp’
Error: CPPCHECK_WARNING (CWE-401): [#def302]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/rd_req_dec.c:663: error[memleakOnRealloc]: Common realloc mistake: 'desired_etypes' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-476): [#def303]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/s4u_creds.c: scope_hint: In function ‘k5_get_proxy_cred_from_kdc’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/s4u_creds.c:1177:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘creds’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def304]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/send_tgs.c:249:66: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ap_req_asn1’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/send_tgs.c: scope_hint: In function ‘k5_make_tgs_req’
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-trace.h:434:5: note: in expansion of macro ‘TRACE’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/send_tgs.c:176:5: note: in expansion of macro ‘TRACE_SEND_TGS_SUBKEY’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/send_tgs.c: scope_hint: In function ‘k5_make_tgs_req’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def305]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/send_tgs.c: scope_hint: In function ‘k5_make_tgs_req’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/send_tgs.c:249:66: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘authdata_asn1’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/send_tgs.c: scope_hint: In function ‘k5_make_tgs_req’
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-int.h:178: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-trace.h:434:5: note: in expansion of macro ‘TRACE’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/send_tgs.c:176:5: note: in expansion of macro ‘TRACE_SEND_TGS_SUBKEY’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/send_tgs.c: scope_hint: In function ‘k5_make_tgs_req’
Error: COMPILER_WARNING (CWE-704): [#def306]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/ser_ctx.c:30:17: warning[-Wlto-type-mismatch]: type of ‘profile_ser_size’ does not match original declaration
krb5-1.21.3-build/krb5-1.21.3/src/util/profile/prof_init.c:524:11: note: return value type mismatch
krb5-1.21.3-build/krb5-1.21.3/src/util/profile/prof_init.c:524:11: note: type ‘errcode_t’ should match type ‘krb5_error_code’
krb5-1.21.3-build/krb5-1.21.3/src/util/profile/prof_init.c:524:11: note: ‘profile_ser_size’ was previously declared here
krb5-1.21.3-build/krb5-1.21.3/src/util/profile/prof_init.c:524:11: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
Error: COMPILER_WARNING (CWE-704): [#def307]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/ser_ctx.c:31:17: warning[-Wlto-type-mismatch]: type of ‘profile_ser_externalize’ does not match original declaration
krb5-1.21.3-build/krb5-1.21.3/src/util/profile/prof_init.c:546:11: note: return value type mismatch
krb5-1.21.3-build/krb5-1.21.3/src/util/profile/prof_init.c:546:11: note: type ‘errcode_t’ should match type ‘krb5_error_code’
krb5-1.21.3-build/krb5-1.21.3/src/util/profile/prof_init.c:546:11: note: ‘profile_ser_externalize’ was previously declared here
krb5-1.21.3-build/krb5-1.21.3/src/util/profile/prof_init.c:546:11: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
Error: COMPILER_WARNING (CWE-704): [#def308]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/krb/ser_ctx.c:33:17: warning[-Wlto-type-mismatch]: type of ‘profile_ser_internalize’ does not match original declaration
krb5-1.21.3-build/krb5-1.21.3/src/util/profile/prof_init.c:600:11: note: return value type mismatch
krb5-1.21.3-build/krb5-1.21.3/src/util/profile/prof_init.c:600:11: note: type ‘errcode_t’ should match type ‘krb5_error_code’
krb5-1.21.3-build/krb5-1.21.3/src/util/profile/prof_init.c:600:11: note: ‘profile_ser_internalize’ was previously declared here
krb5-1.21.3-build/krb5-1.21.3/src/util/profile/prof_init.c:600:11: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
Error: GCC_ANALYZER_WARNING (CWE-685): [#def309]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/os/expand_path.c: scope_hint: In function ‘k5_expand_path_tokens_extra’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/os/expand_path.c:468:12: warning[-Wanalyzer-va-list-exhausted]: ‘ap’ has no more arguments (1 consumed)
Error: GCC_ANALYZER_WARNING (CWE-685): [#def310]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/os/expand_path.c:481:31: warning[-Wanalyzer-va-list-exhausted]: ‘ap’ has no more arguments (1 consumed)
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/os/expand_path.c: scope_hint: In function ‘k5_expand_path_tokens_extra’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def311]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/os/init_os_ctx.c: scope_hint: In function ‘add_kdc_config_file’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/os/init_os_ctx.c:357:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*pfiles’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def312]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/os/locate_kdc.c: scope_hint: In function ‘new_server_entry’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/os/locate_kdc.c:130:8: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/os/locate_kdc.c:27: included_from: Included from here.
Error: COMPILER_WARNING (CWE-252): [#def313]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/os/trace.c: scope_hint: In function ‘hash_bytes’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/os/trace.c:100:16: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-686): [#def314]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/os/trace.c: scope_hint: In function ‘trace_format’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/os/trace.c:214:13: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘int’ but received ‘char *’ for variadic argument 2 of ‘ap’
Error: GCC_ANALYZER_WARNING (CWE-685): [#def315]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/os/trace.c:214:13: warning[-Wanalyzer-va-list-exhausted]: ‘ap’ has no more arguments (2 consumed)
Error: GCC_ANALYZER_WARNING (CWE-686): [#def316]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/os/trace.c:216:13: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘long int’ but received ‘char *’ for variadic argument 2 of ‘ap’
Error: GCC_ANALYZER_WARNING (CWE-686): [#def317]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/os/trace.c:216:13: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘long int’ but received ‘unsigned int’ for variadic argument 1 of ‘ap’
Error: GCC_ANALYZER_WARNING (CWE-685): [#def318]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/os/trace.c:216:13: warning[-Wanalyzer-va-list-exhausted]: ‘ap’ has no more arguments (2 consumed)
Error: GCC_ANALYZER_WARNING (CWE-686): [#def319]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/os/trace.c:218:15: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘const char *’ but received ‘unsigned int’ for variadic argument 1 of ‘ap’
Error: GCC_ANALYZER_WARNING (CWE-685): [#def320]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/os/trace.c:218:15: warning[-Wanalyzer-va-list-exhausted]: ‘ap’ has no more arguments (2 consumed)
Error: GCC_ANALYZER_WARNING (CWE-686): [#def321]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/os/trace.c:221:17: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘size_t’ {aka ‘long unsigned int’} but received ‘char *’ for variadic argument 2 of ‘ap’
Error: GCC_ANALYZER_WARNING (CWE-686): [#def322]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/os/trace.c:221:17: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘size_t’ {aka ‘long unsigned int’} but received ‘unsigned int’ for variadic argument 1 of ‘ap’
Error: GCC_ANALYZER_WARNING (CWE-685): [#def323]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/os/trace.c:221:17: warning[-Wanalyzer-va-list-exhausted]: ‘ap’ has no more arguments (2 consumed)
Error: GCC_ANALYZER_WARNING (CWE-686): [#def324]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/os/trace.c:228:17: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘size_t’ {aka ‘long unsigned int’} but received ‘char *’ for variadic argument 2 of ‘ap’
Error: GCC_ANALYZER_WARNING (CWE-686): [#def325]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/os/trace.c:228:17: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘size_t’ {aka ‘long unsigned int’} but received ‘unsigned int’ for variadic argument 1 of ‘ap’
Error: GCC_ANALYZER_WARNING (CWE-685): [#def326]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/os/trace.c:228:17: warning[-Wanalyzer-va-list-exhausted]: ‘ap’ has no more arguments (2 consumed)
Error: GCC_ANALYZER_WARNING (CWE-686): [#def327]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/os/trace.c:237:17: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘size_t’ {aka ‘long unsigned int’} but received ‘char *’ for variadic argument 2 of ‘ap’
Error: GCC_ANALYZER_WARNING (CWE-686): [#def328]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/os/trace.c:237:17: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘size_t’ {aka ‘long unsigned int’} but received ‘unsigned int’ for variadic argument 1 of ‘ap’
Error: GCC_ANALYZER_WARNING (CWE-685): [#def329]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/os/trace.c:237:17: warning[-Wanalyzer-va-list-exhausted]: ‘ap’ has no more arguments (2 consumed)
Error: GCC_ANALYZER_WARNING (CWE-686): [#def330]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/os/trace.c:248:16: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘struct remote_address *’ but received ‘unsigned int’ for variadic argument 1 of ‘ap’
Error: GCC_ANALYZER_WARNING (CWE-685): [#def331]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/os/trace.c:248:16: warning[-Wanalyzer-va-list-exhausted]: ‘ap’ has no more arguments (2 consumed)
Error: GCC_ANALYZER_WARNING (CWE-686): [#def332]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/os/trace.c:268:15: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘const krb5_data *’ {aka ‘const struct _krb5_data *’} but received ‘unsigned int’ for variadic argument 1 of ‘ap’
Error: GCC_ANALYZER_WARNING (CWE-685): [#def333]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/os/trace.c:268:15: warning[-Wanalyzer-va-list-exhausted]: ‘ap’ has no more arguments (2 consumed)
Error: GCC_ANALYZER_WARNING (CWE-686): [#def334]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/os/trace.c:274:15: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘const krb5_data *’ {aka ‘const struct _krb5_data *’} but received ‘unsigned int’ for variadic argument 1 of ‘ap’
Error: GCC_ANALYZER_WARNING (CWE-685): [#def335]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/os/trace.c:274:15: warning[-Wanalyzer-va-list-exhausted]: ‘ap’ has no more arguments (2 consumed)
Error: COMPILER_WARNING (CWE-252): [#def336]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/os/trace.c: scope_hint: In function ‘file_trace_cb’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/os/trace.c:451:12: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def337]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/unicode/ucdata/ucdata.c: scope_hint: In function ‘uccanoncompatdecomp’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/unicode/ucdata/ucdata.c:949:22: warning[-Wanalyzer-malloc-leak]: leak of ‘*out’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def338]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/unicode/ucdata/ucdata.c:969:22: warning[-Wanalyzer-malloc-leak]: leak of ‘*out’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def339]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/unicode/ucdata/ucdata.c:980:22: warning[-Wanalyzer-malloc-leak]: leak of ‘*out’
Error: GCC_ANALYZER_WARNING (CWE-122): [#def340]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/unicode/ucdata/ucdata.c:980:38: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
Error: GCC_ANALYZER_WARNING (CWE-457): [#def341]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/unicode/ucstr.c: scope_hint: In function ‘krb5int_ucstrncmp’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/unicode/ucstr.c:33:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*u1’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def342]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/unicode/ucstr.c:33:20: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*u2’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def343]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/unicode/ucstr.c: scope_hint: In function ‘krb5int_ucstrncasecmp’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/unicode/ucstr.c:50:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*u1’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def344]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/unicode/ucstr.c:51:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*u2’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def345]
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/unicode/ucstr.c: scope_hint: In function ‘k5_utf8_validate’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/unicode/ucstr.c:77:12: warning[-Wanalyzer-deref-before-check]: check of ‘*data.data’ for NULL after already dereferencing it
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/unicode/ucstr.c:19: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-utf8.h:100:51: note: in definition of macro ‘KRB5_UTF8_BV’
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-utf8.h:102:31: note: in expansion of macro ‘KRB5_UTF8_ISASCII’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/unicode/ucstr.c:73:15: note: in expansion of macro ‘KRB5_UTF8_CHARLEN’
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-utf8.h:101:33: note: in expansion of macro ‘KRB5_UTF8_BV’
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-utf8.h:102:31: note: in expansion of macro ‘KRB5_UTF8_ISASCII’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/unicode/ucstr.c:73:15: note: in expansion of macro ‘KRB5_UTF8_CHARLEN’
krb5-1.21.3-build/krb5-1.21.3/src/lib/krb5/unicode/ucstr.c:21: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def346]
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/auth_unix.c: scope_hint: In function ‘gssrpc_authunix_create’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/auth_unix.c:119:24: warning[-Wanalyzer-malloc-leak]: leak of ‘auth’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/auth_unix.c:53: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/auth_unix.c:115:24: note: in expansion of macro ‘mem_alloc’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/auth_unix.c:122:31: note: in expansion of macro ‘mem_alloc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def347]
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/auth_unix.c:119:24: warning[-Wanalyzer-malloc-leak]: leak of ‘au’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/auth_unix.c:122:31: note: in expansion of macro ‘mem_alloc’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/auth_unix.c:122:31: note: in expansion of macro ‘mem_alloc’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/auth_unix.c:54: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/auth_unix.c:151:43: note: in expansion of macro ‘XDR_GETPOS’
Error: CPPCHECK_WARNING (CWE-401): [#def348]
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/auth_unix.c:126: error[memleak]: Memory leak: auth
Error: CPPCHECK_WARNING (CWE-401): [#def349]
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/auth_unix.c:158: error[memleak]: Memory leak: auth
Error: GCC_ANALYZER_WARNING (CWE-688): [#def350]
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/clnt_perror.c: scope_hint: In function ‘gssrpc_clnt_perror’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/clnt_perror.c:180:16: warning[-Wanalyzer-null-argument]: use of NULL ‘buf’ where non-null expected
krb5-1.21.3-build/krb5-1.21.3/src/include/gssrpc/types.h:128: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/clnt_perror.c:46: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/clnt_perror.c:178:1: note: in expansion of macro ‘clnt_perror’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/clnt_perror.c:76:1: note: in expansion of macro ‘clnt_sperror’
<built-in>: note: argument 1 of ‘__builtin_fputs’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def351]
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/clnt_perror.c: scope_hint: In function ‘gssrpc_clnt_pcreateerror’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/clnt_perror.c:311:16: warning[-Wanalyzer-null-argument]: use of NULL ‘buf’ where non-null expected
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/clnt_perror.c:309:1: note: in expansion of macro ‘clnt_pcreateerror’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/clnt_perror.c:253:1: note: in expansion of macro ‘clnt_spcreateerror’
<built-in>: note: argument 1 of ‘__builtin_fputs’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-775): [#def352]
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/clnt_tcp.c: scope_hint: In function ‘gssrpc_clnttcp_create’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/clnt_tcp.c:171:49: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*sockp’
krb5-1.21.3-build/krb5-1.21.3/src/include/gssrpc/rpc.h:42: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/clnt_tcp.c:57: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/clnt_tcp.c:144:32: note: in expansion of macro ‘mem_alloc’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def353]
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc.c: scope_hint: In function ‘gssrpc_xprt_register’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc.c:109:17: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘xports’ where non-null expected
krb5-1.21.3-build/krb5-1.21.3/src/include/gssrpc/rpc.h:42: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc.c:50: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc.c:108:25: note: in expansion of macro ‘mem_alloc’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc.c:108:25: note: in expansion of macro ‘mem_alloc’
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-401): [#def354]
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc.c:463:17: warning[-Wanalyzer-malloc-leak]: leak of ‘cookedcred’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc.c:460:22: note: in expansion of macro ‘mem_alloc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def355]
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc.c: scope_hint: In function ‘svc_do_xprt’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc.c:463:17: warning[-Wanalyzer-malloc-leak]: leak of ‘rawcred’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc.c:458:19: note: in expansion of macro ‘mem_alloc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def356]
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc.c:463:17: warning[-Wanalyzer-malloc-leak]: leak of ‘rawverf’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc.c:459:19: note: in expansion of macro ‘mem_alloc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def357]
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_auth_gss.c: scope_hint: In function ‘gssrpc__svcauth_gss’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_auth_gss.c:409:32: warning[-Wanalyzer-malloc-leak]: leak of ‘auth’
Error: CPPCHECK_WARNING (CWE-401): [#def358]
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_auth_gss.c:413: error[memleak]: Memory leak: auth
Error: GCC_ANALYZER_WARNING (CWE-415): [#def359]
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_auth_gssapi.c: scope_hint: In function ‘cleanup’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_auth_gssapi.c:674:11: warning[-Wanalyzer-double-free]: double-‘free’ of ‘c’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def360]
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_auth_gssapi.c: scope_hint: In function ‘create_client’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_auth_gssapi.c:721:9: warning[-Wanalyzer-malloc-leak]: leak of ‘client_data’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def361]
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_auth_gssapi.c: scope_hint: In function ‘gssrpc_svcauth_gssapi_unset_names’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_auth_gssapi.c:1004:37: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
krb5-1.21.3-build/krb5-1.21.3/src/include/gssrpc/types.h:128: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/include/gssrpc/rpc.h:42: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_auth_gssapi.c:17: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_auth_gssapi.c:929:8: note: in expansion of macro ‘svcauth_gssapi_set_names’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_auth_gssapi.c:986:6: note: in expansion of macro ‘svcauth_gssapi_unset_names’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_auth_gssapi.c:997:6: note: in expansion of macro ‘svcauth_gssapi_unset_names’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def362]
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_tcp.c: scope_hint: In function ‘gssrpc_svctcp_create’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_tcp.c:153:33: warning[-Wanalyzer-malloc-leak]: leak of ‘r’
krb5-1.21.3-build/krb5-1.21.3/src/include/gssrpc/types.h:128: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/include/gssrpc/rpc.h:42: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_tcp.c:48: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_tcp.c:167:13: note: in expansion of macro ‘bindresvport_sa’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_tcp.c:184:38: note: in expansion of macro ‘mem_alloc’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_tcp.c:184:38: note: in expansion of macro ‘mem_alloc’
Error: CPPCHECK_WARNING (CWE-401): [#def363]
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_tcp.c:194: error[memleak]: Memory leak: r
Error: GCC_ANALYZER_WARNING (CWE-401): [#def364]
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_udp.c:125:33: warning[-Wanalyzer-malloc-leak]: leak of ‘su’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_udp.c:139:13: note: in expansion of macro ‘bindresvport_sa’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_udp.c:150:27: note: in expansion of macro ‘mem_alloc’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_udp.c:155:36: note: in expansion of macro ‘mem_alloc’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_udp.c:155:36: note: in expansion of macro ‘mem_alloc’
krb5-1.21.3-build/krb5-1.21.3/src/include/gssrpc/types.h:51: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def365]
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_udp.c: scope_hint: In function ‘gssrpc_svcudp_bufcreate’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_udp.c:125:33: warning[-Wanalyzer-malloc-leak]: leak of ‘xprt’
krb5-1.21.3-build/krb5-1.21.3/src/include/gssrpc/types.h:128: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/include/gssrpc/rpc.h:42: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_udp.c:46: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_udp.c:139:13: note: in expansion of macro ‘bindresvport_sa’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_udp.c:150:27: note: in expansion of macro ‘mem_alloc’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_udp.c:150:27: note: in expansion of macro ‘mem_alloc’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_udp.c:155:36: note: in expansion of macro ‘mem_alloc’
Error: CPPCHECK_WARNING (CWE-401): [#def366]
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_udp.c:158: error[memleak]: Memory leak: xprt
Error: CPPCHECK_WARNING (CWE-401): [#def367]
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_udp.c:163: error[memleak]: Memory leak: su
Error: CPPCHECK_WARNING (CWE-401): [#def368]
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_udp.c:163: error[memleak]: Memory leak: xprt
Error: GCC_ANALYZER_WARNING (CWE-401): [#def369]
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_udp.c:346:16: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_udp.c:433:17: note: in expansion of macro ‘CACHE_PERROR’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_udp.c:349:18: note: in expansion of macro ‘mem_alloc’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_udp.c:418:14: note: in expansion of macro ‘ALLOC’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_udp.c:349:18: note: in expansion of macro ‘mem_alloc’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_udp.c:425:26: note: in expansion of macro ‘ALLOC’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_udp.c:352:47: note: in definition of macro ‘BZERO’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_udp.c:433:17: note: in expansion of macro ‘CACHE_PERROR’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_udp.c:433:17: note: in expansion of macro ‘CACHE_PERROR’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def370]
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_udp.c: scope_hint: In function ‘gssrpc_svcudp_enablecache’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_udp.c:346:16: warning[-Wanalyzer-malloc-leak]: leak of ‘uc’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_udp.c:427:17: note: in expansion of macro ‘CACHE_PERROR’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_udp.c:349:18: note: in expansion of macro ‘mem_alloc’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_udp.c:418:14: note: in expansion of macro ‘ALLOC’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_udp.c:349:18: note: in expansion of macro ‘mem_alloc’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_udp.c:418:14: note: in expansion of macro ‘ALLOC’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_udp.c:427:17: note: in expansion of macro ‘CACHE_PERROR’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_udp.c:427:17: note: in expansion of macro ‘CACHE_PERROR’
Error: CPPCHECK_WARNING (CWE-401): [#def371]
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_udp.c:428: error[memleak]: Memory leak: uc
Error: CPPCHECK_WARNING (CWE-401): [#def372]
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/svc_udp.c:434: error[memleak]: Memory leak: uc
Error: COMPILER_WARNING (CWE-252): [#def373]
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/unit-test/server.c: scope_hint: In function ‘rpc_test_echo_1_svc’
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/unit-test/server.c:161:6: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: CPPCHECK_WARNING (CWE-401): [#def374]
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/xdr_rec.c:167: error[memleak]: Memory leak: rstrm
Error: CPPCHECK_WARNING (CWE-457): [#def375]
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/xdr_rec.c:215: error[uninitvar]: Uninitialized variable: mylong
Error: CPPCHECK_WARNING (CWE-457): [#def376]
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/xdr_rec.c:537: error[uninitvar]: Uninitialized variable: header
Error: CPPCHECK_WARNING (CWE-457): [#def377]
krb5-1.21.3-build/krb5-1.21.3/src/lib/rpc/xdr_stdio.c:104: error[uninitvar]: Uninitialized variable: tmp
Error: GCC_ANALYZER_WARNING (CWE-401): [#def378]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/hostrealm/test/main.c:72:12: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
Error: COMPILER_WARNING: [#def379]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kadm5_auth/test/main.c: scope_hint: In function ‘welcomer_end’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kadm5_auth/test/main.c:257:33: warning[-Wformat-truncation=]: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 10
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kadm5_auth/test/main.c:257:32: note: directive argument in the range [-2147483647, 2147483647]
/usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output between 2 and 12 bytes into a destination of size 10
Error: GCC_ANALYZER_WARNING (CWE-401): [#def380]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/db2/adb_openclose.c: scope_hint: In function ‘osa_adb_release_lock’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/db2/adb_openclose.c:306:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopen(krb5int_labeled_open(*db_20(D)->lock.filename, 194, 384), "w+")’
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-int.h:131: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/db2/adb_openclose.c:8: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-label.h:24:52: note: in definition of macro ‘THREEPARAMOPEN’
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-int.h:130: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/db2/adb_openclose.c:305:13: note: in expansion of macro ‘set_cloexec_fd’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def381]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/db2/libdb2/btree/bt_split.c: scope_hint: In function ‘bt_psplit’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/db2/libdb2/btree/bt_split.c:674:25: warning[-Wanalyzer-null-argument]: use of NULL ‘src’ where non-null expected
<built-in>: note: argument 2 of ‘__builtin_memmove’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def382]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/db2/libdb2/hash/hash_bigkey.c: scope_hint: In function ‘collect_key’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/db2/libdb2/hash/hash_bigkey.c:403:9: warning[-Wanalyzer-null-argument]: use of NULL ‘*hashp.bigkey_buf’ where non-null expected
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/db2/libdb2/hash/hash_bigkey.c:70: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/db2/libdb2/hash/hash_bigkey.c:280:1: note: in expansion of macro ‘__get_bigkey’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/db2/libdb2/hash/hash_bigkey.c:69: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/db2/libdb2/hash/page.h:112:9: note: in expansion of macro ‘REFERENCE’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/db2/libdb2/hash/page.h:139:26: note: in expansion of macro ‘KEY_OFF’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/db2/libdb2/hash/hash_bigkey.c:380:13: note: in expansion of macro ‘BIGKEYLEN’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/db2/libdb2/hash/page.h:112:9: note: in expansion of macro ‘REFERENCE’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/db2/libdb2/hash/page.h:139:26: note: in expansion of macro ‘KEY_OFF’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/db2/libdb2/hash/hash_bigkey.c:386:24: note: in expansion of macro ‘BIGKEYLEN’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: COMPILER_WARNING (CWE-252): [#def383]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/db2/libdb2/hash/hash_page.c: scope_hint: In function ‘overflow_page’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/db2/libdb2/hash/hash_page.c:1056:31: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def384]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/db2/libdb2/hash/hash_page.c:1068:31: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def385]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/db2/libdb2/hash/hash_page.c:1092:39: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def386]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/db2/libdb2/hash/hash_page.c:1119:23: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def387]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/db2/libdb2/hash/hash_page.c:1152:23: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def388]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/db2/libdb2/mpool/mpool.c: scope_hint: In function ‘kdb2_mpool_get’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/db2/libdb2/mpool/mpool.c:338:15: warning[-Wanalyzer-malloc-leak]: leak of ‘mpool_bkt(mp)’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/db2/libdb2/mpool/mpool.c:48: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/db2/libdb2/mpool/mpool.c:172:1: note: in expansion of macro ‘mpool_get’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def389]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/db2/libdb2/recno/rec_put.c: scope_hint: In function ‘__kdb2_rec_put’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/db2/libdb2/recno/rec_put.c:90:28: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def390]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_list.c: scope_hint: In function ‘krb5_parse_list’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_list.c:118:12: warning[-Wanalyzer-malloc-leak]: leak of ‘*plist’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def391]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c: scope_hint: In function ‘kdb_ldap_tgt_keysalt_iterate’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c:1211:16: warning[-Wanalyzer-malloc-leak]: leak of ‘*entry.key_data’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def392]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c: scope_hint: In function ‘kdb_ldap_create_principal’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c:1350:24: warning[-Wanalyzer-malloc-leak]: leak of ‘tl_data’
Error: COMPILER_WARNING: [#def393]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c: scope_hint: In function ‘extended_com_err_fn’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c:230:5: warning[-Wsuggest-attribute=format]: function ‘extended_com_err_fn’ might be a candidate for ‘gnu_printf’ format attribute
Error: GCC_ANALYZER_WARNING (CWE-457): [#def394]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c: scope_hint: In function ‘getdate_yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:686:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:671:9: note: in expansion of macro ‘YYCOPY’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1224:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:671:9: note: in expansion of macro ‘YYCOPY’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1224:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:671:9: note: in expansion of macro ‘YYCOPY’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1224:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def395]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1351:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
krb5-1.21.3-build/krb5-1.21.3/src/kadmin/cli/getdate.y:948:9: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1116:1: note: in expansion of macro ‘yyparse’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/ldap_util/y.tab.c:1270:16: note: in expansion of macro ‘yylex’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def396]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/ldap_main.h:34: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c:36: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c: scope_hint: In function ‘krb5_ldap_delete_realm’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap.h:99:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rparam’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap.h:95:51: note: in expansion of macro ‘LDAP_SEARCH_1’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c:259:13: note: in expansion of macro ‘LDAP_SEARCH’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c:219:5: note: in expansion of macro ‘SETUP_CONTEXT’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c:727:5: note: in expansion of macro ‘SETUP_CONTEXT’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c:736:5: note: in expansion of macro ‘GET_HANDLE’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c:736:5: note: in expansion of macro ‘GET_HANDLE’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c:736:5: note: in expansion of macro ‘GET_HANDLE’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c:740:5: note: in expansion of macro ‘CHECK_NULL’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c:767:5: note: in expansion of macro ‘CHECK_NULL’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap.h:99:32: note: in definition of macro ‘LDAP_SEARCH_1’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c:769:5: note: in expansion of macro ‘LDAP_SEARCH’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c:231:5: note: in expansion of macro ‘GET_HANDLE’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c:231:5: note: in expansion of macro ‘GET_HANDLE’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c:231:5: note: in expansion of macro ‘GET_HANDLE’
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-thread.h:136: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-platform.h:236: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-int.h:130: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap.h:35: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap.h:99:38: note: in definition of macro ‘LDAP_SEARCH_1’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c:259:13: note: in expansion of macro ‘LDAP_SEARCH’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap.h:99:38: note: in definition of macro ‘LDAP_SEARCH_1’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c:259:13: note: in expansion of macro ‘LDAP_SEARCH’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap.h:95:51: note: in expansion of macro ‘LDAP_SEARCH_1’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c:259:13: note: in expansion of macro ‘LDAP_SEARCH’
Error: GCC_ANALYZER_WARNING (CWE-127): [#def397]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c: scope_hint: In function ‘remove_overlapping_subtrees’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c:1335:33: warning[-Wanalyzer-out-of-bounds]: heap-based buffer under-read
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c:34: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c:1169:5: note: in expansion of macro ‘SETUP_CONTEXT’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c:1169:5: note: in expansion of macro ‘SETUP_CONTEXT’
Error: GCC_ANALYZER_WARNING (CWE-124): [#def398]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c:1336:31: warning[-Wanalyzer-out-of-bounds]: heap-based buffer underwrite
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c:1169:5: note: in expansion of macro ‘SETUP_CONTEXT’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c:1169:5: note: in expansion of macro ‘SETUP_CONTEXT’
Error: GCC_ANALYZER_WARNING (CWE-127): [#def399]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c:1340:33: warning[-Wanalyzer-out-of-bounds]: heap-based buffer under-read
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c:1169:5: note: in expansion of macro ‘SETUP_CONTEXT’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c:1169:5: note: in expansion of macro ‘SETUP_CONTEXT’
Error: GCC_ANALYZER_WARNING (CWE-124): [#def400]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c:1341:31: warning[-Wanalyzer-out-of-bounds]: heap-based buffer underwrite
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c:1169:5: note: in expansion of macro ‘SETUP_CONTEXT’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c:1169:5: note: in expansion of macro ‘SETUP_CONTEXT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def401]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal.c: scope_hint: In function ‘krb5_ldap_iterate’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal.c:220:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘subtree’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/ldap_main.h:34: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal.c:35: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal.c:153:5: note: in expansion of macro ‘SETUP_CONTEXT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def402]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/test/kdb_test.c: scope_hint: In function ‘test_get_principal’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/test/kdb_test.c:154:11: warning[-Wanalyzer-malloc-leak]: leak of ‘get_string(h, "alias", search_name, 0)’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/test/kdb_test.c: scope_hint: In function ‘test_get_principal’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/test/kdb_test.c: scope_hint: In function ‘test_get_principal’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/test/kdb_test.c: scope_hint: In function ‘test_get_principal’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/test/kdb_test.c: scope_hint: In function ‘test_get_principal’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/test/kdb_test.c: scope_hint: In function ‘test_get_principal’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def403]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/test/kdb_test.c:154:11: warning[-Wanalyzer-malloc-leak]: leak of ‘get_string(h, "princs", ename, "flags")’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/test/kdb_test.c: scope_hint: In function ‘test_get_principal’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/test/kdb_test.c: scope_hint: In function ‘test_get_principal’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/test/kdb_test.c: scope_hint: In function ‘test_get_principal’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/test/kdb_test.c: scope_hint: In function ‘test_get_principal’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/test/kdb_test.c: scope_hint: In function ‘test_get_principal’
/usr/include/bits/types/stack_t.h:23: included_from: Included from here.
/usr/include/signal.h:313: included_from: Included from here.
/usr/include/sys/param.h:28: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/include/port-sockets.h:168: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-int.h:165: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/test/kdb_test.c: scope_hint: In function ‘test_get_principal’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def404]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/test/kdb_test.c: scope_hint: In function ‘make_keyblock’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/test/kdb_test.c:213:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘rndin.data’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/test/kdb_test.c: scope_hint: In function ‘make_keyblock’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/test/kdb_test.c: scope_hint: In function ‘make_keyblock’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/test/kdb_test.c: scope_hint: In function ‘make_keyblock’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/test/kdb_test.c: scope_hint: In function ‘make_keyblock’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/test/kdb_test.c: scope_hint: In function ‘make_keyblock’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/test/kdb_test.c: scope_hint: In function ‘make_keyblock’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/test/kdb_test.c: scope_hint: In function ‘make_keyblock’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/test/kdb_test.c: scope_hint: In function ‘make_keyblock’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def405]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/test/kdb_test.c: scope_hint: In function ‘make_keys’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/test/kdb_test.c:247:20: warning[-Wanalyzer-malloc-leak]: leak of ‘ealloc((long unsigned int)nstrings * 4)’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/test/kdb_test.c: scope_hint: In function ‘make_keys’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/test/kdb_test.c: scope_hint: In function ‘make_keys’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/test/kdb_test.c: scope_hint: In function ‘make_keys’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/test/kdb_test.c: scope_hint: In function ‘make_keys’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/test/kdb_test.c: scope_hint: In function ‘make_keys’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/kdb/test/kdb_test.c: scope_hint: In function ‘make_keys’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def406]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/preauth/pkinit/pkinit_clnt.c: scope_hint: In function ‘pkinit_client_profile’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/preauth/pkinit/pkinit_clnt.c:746:38: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(*cb.get_cc_config(context, rock, "X509_user_identity"))’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def407]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/preauth/pkinit/pkinit_clnt.c: scope_hint: In function ‘handle_gic_opt’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/preauth/pkinit/pkinit_clnt.c:1357:19: warning[-Wanalyzer-malloc-leak]: leak of ‘*((struct _pkinit_context)*((struct krb5_clpreauth_moddata_st *)plgctx)).idopts.identity’
Error: CPPCHECK_WARNING (CWE-457): [#def408]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c:285: error[legacyUninitvar]: Uninitialized variable: codes
Error: CPPCHECK_WARNING (CWE-401): [#def409]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c:3283: error[memleak]: Memory leak: rdat.data
Error: GCC_ANALYZER_WARNING (CWE-457): [#def410]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c: scope_hint: In function ‘pkinit_open_session’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c:3408:14: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘tinfo.flags’
Error: COMPILER_WARNING: [#def411]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c: scope_hint: In function ‘pkinit_get_certs_dir.isra.0’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c:3972:50: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing likely 5 or more bytes into a region of size between 1 and 1023
krb5-1.21.3-build/krb5-1.21.3/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c:3972:46: note: assuming directive output of 5 bytes
/usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output 2 or more bytes (assuming 1029) into a destination of size 1024
Error: COMPILER_WARNING: [#def412]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c: scope_hint: In function ‘load_cas_and_crls_dir.isra.0’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c:4854:50: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 1 and 1023
/usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output between 2 and 1279 bytes into a destination of size 1024
Error: GCC_ANALYZER_WARNING (CWE-457): [#def413]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/preauth/pkinit/pkinit_matching.c: scope_hint: In function ‘parse_rule_component’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/preauth/pkinit/pkinit_matching.c:295:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘kw_type’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/preauth/pkinit/pkinit_trace.h:36: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/plugins/preauth/pkinit/pkinit.h:40: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/plugins/preauth/pkinit/pkinit_matching.c:38: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/plugins/preauth/pkinit/pkinit_trace.h:145:5: note: in expansion of macro ‘TRACE’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/preauth/pkinit/pkinit_matching.c:645:9: note: in expansion of macro ‘TRACE_PKINIT_CERT_RULE’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def414]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/preauth/pkinit/pkinit_matching.c:372:12: warning[-Wanalyzer-malloc-leak]: leak of ‘rc’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/preauth/pkinit/pkinit_trace.h:145:5: note: in expansion of macro ‘TRACE’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/preauth/pkinit/pkinit_matching.c:645:9: note: in expansion of macro ‘TRACE_PKINIT_CERT_RULE’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def415]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/preauth/pkinit/pkinit_srv.c: scope_hint: In function ‘pkinit_server_verify_padata’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/preauth/pkinit/pkinit_srv.c:630:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘reqctx’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def416]
krb5-1.21.3-build/krb5-1.21.3/src/plugins/preauth/spake/spake_kdc.c: scope_hint: In function ‘verify_response’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/preauth/spake/spake_kdc.c:401:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘stage’
krb5-1.21.3-build/krb5-1.21.3/src/plugins/preauth/spake/spake_kdc.c:34: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/include/krb5.h:8: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-int.h:161: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/plugins/preauth/spake/spake_kdc.c:33: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/plugins/preauth/spake/spake_kdc.c:105:16: note: in expansion of macro ‘KRB5KDC_ERR_PREAUTH_FAILED’
Error: CPPCHECK_WARNING (CWE-401): [#def417]
krb5-1.21.3-build/krb5-1.21.3/src/tests/asn.1/trval.c:151: error[memleakOnRealloc]: Common realloc mistake: 'p' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-476): [#def418]
krb5-1.21.3-build/krb5-1.21.3/src/tests/asn.1/t_trval.c:37: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/tests/asn.1/trval.c: scope_hint: In function ‘trval’
krb5-1.21.3-build/krb5-1.21.3/src/tests/asn.1/trval.c:163:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def419]
krb5-1.21.3-build/krb5-1.21.3/src/tests/asn.1/trval.c: scope_hint: In function ‘trval2’
krb5-1.21.3-build/krb5-1.21.3/src/tests/asn.1/trval.c:190:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘enc’
Error: COMPILER_WARNING: [#def420]
krb5-1.21.3-build/krb5-1.21.3/src/tests/create/kdb5_mkdums.c: scope_hint: In function ‘main’
krb5-1.21.3-build/krb5-1.21.3/src/tests/create/kdb5_mkdums.c:188:13: warning[-Wstringop-truncation]: ‘__strncat_chk’ output may be truncated copying between 0 and 4095 bytes from a string of length 8191
Error: GCC_ANALYZER_WARNING (CWE-401): [#def421]
krb5-1.21.3-build/krb5-1.21.3/src/tests/create/kdb5_mkdums.c: scope_hint: In function ‘add_princ’
krb5-1.21.3-build/krb5-1.21.3/src/tests/create/kdb5_mkdums.c:218:9: warning[-Wanalyzer-malloc-leak]: leak of ‘newentry’
Error: CPPCHECK_WARNING (CWE-401): [#def422]
krb5-1.21.3-build/krb5-1.21.3/src/tests/create/kdb5_mkdums.c:223: error[memleak]: Memory leak: newentry
Error: GCC_ANALYZER_WARNING (CWE-775): [#def423]
krb5-1.21.3-build/krb5-1.21.3/src/tests/gss-threads/gss-server.c: scope_hint: In function ‘main’
krb5-1.21.3-build/krb5-1.21.3/src/tests/gss-threads/gss-server.c:734:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘logfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def424]
krb5-1.21.3-build/krb5-1.21.3/src/tests/gss-threads/gss-server.c:734:25: warning[-Wanalyzer-malloc-leak]: leak of ‘logfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def425]
krb5-1.21.3-build/krb5-1.21.3/src/tests/gss-threads/gss-server.c:786:44: warning[-Wanalyzer-malloc-leak]: leak of ‘work’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def426]
krb5-1.21.3-build/krb5-1.21.3/src/tests/gssapi/t_credstore.c: scope_hint: In function ‘main’
krb5-1.21.3-build/krb5-1.21.3/src/tests/gssapi/t_credstore.c:86:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘store.elements’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def427]
krb5-1.21.3-build/krb5-1.21.3/src/tests/gssapi/t_imp_name.c: scope_hint: In function ‘buf_eq_str’
krb5-1.21.3-build/krb5-1.21.3/src/tests/gssapi/t_imp_name.c:57:18: warning[-Wanalyzer-out-of-bounds]: buffer over-read
krb5-1.21.3-build/krb5-1.21.3/src/tests/gssapi/t_imp_name.c:57:18: note: read of 2 bytes from after the end of ‘"p:user@MIT.EDU"’
krb5-1.21.3-build/krb5-1.21.3/src/tests/gssapi/t_imp_name.c:57:18: note: valid subscripts for ‘"p:user@MIT.EDU"’ are ‘[0]’ to ‘[14]’
krb5-1.21.3-build/krb5-1.21.3/src/tests/gssapi/t_imp_name.c:32: included_from: Included from here.
/usr/include/string.h:407:15: note: argument 1 of ‘strlen’ must be a pointer to a null-terminated string
Error: GCC_ANALYZER_WARNING (CWE-688): [#def428]
krb5-1.21.3-build/krb5-1.21.3/src/tests/gssapi/t_iov.c: scope_hint: In function ‘concat_iov’
krb5-1.21.3-build/krb5-1.21.3/src/tests/gssapi/t_iov.c:60:9: warning[-Wanalyzer-null-argument]: use of NULL ‘buf’ where non-null expected
krb5-1.21.3-build/krb5-1.21.3/src/include/gssapi/gssapi_krb5.h:28: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/tests/gssapi/common.h:36: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/tests/gssapi/t_iov.c:37: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/include/gssapi/gssapi_ext.h:276:47: note: in definition of macro ‘GSS_IOV_BUFFER_TYPE’
krb5-1.21.3-build/krb5-1.21.3/src/include/gssapi/gssapi_ext.h:276:47: note: in definition of macro ‘GSS_IOV_BUFFER_TYPE’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-457): [#def429]
krb5-1.21.3-build/krb5-1.21.3/src/tests/gssapi/t_spnego.c: scope_hint: In function ‘der_wrap’
krb5-1.21.3-build/krb5-1.21.3/src/tests/gssapi/t_spnego.c:89:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&lenbuf’
krb5-1.21.3-build/krb5-1.21.3/src/tests/gssapi/t_spnego.c:30: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-457): [#def430]
krb5-1.21.3-build/krb5-1.21.3/src/tests/hammer/kdc5_hammer.c: scope_hint: In function ‘main’
krb5-1.21.3-build/krb5-1.21.3/src/tests/hammer/kdc5_hammer.c:182:33: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘prefix[0]’
Error: COMPILER_WARNING: [#def431]
krb5-1.21.3-build/krb5-1.21.3/src/tests/hammer/kdc5_hammer.c: scope_hint: In function ‘main’
krb5-1.21.3-build/krb5-1.21.3/src/tests/hammer/kdc5_hammer.c:210:54: warning[-Wformat-truncation=]: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 8192
krb5-1.21.3-build/krb5-1.21.3/src/tests/hammer/kdc5_hammer.c:210:49: note: directive argument in the range [1, 2147483647]
krb5-1.21.3-build/krb5-1.21.3/src/tests/hammer/kdc5_hammer.c:210:49: note: directive argument in the range [1, 2147483647]
/usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output between 10 and 8220 bytes into a destination of size 8192
Error: COMPILER_WARNING: [#def432]
krb5-1.21.3-build/krb5-1.21.3/src/tests/hammer/kdc5_hammer.c: scope_hint: In function ‘main’
krb5-1.21.3-build/krb5-1.21.3/src/tests/hammer/kdc5_hammer.c:226:56: warning[-Wformat-truncation=]: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 8192
krb5-1.21.3-build/krb5-1.21.3/src/tests/hammer/kdc5_hammer.c:226:51: note: directive argument in the range [1, 2147483647]
krb5-1.21.3-build/krb5-1.21.3/src/tests/hammer/kdc5_hammer.c:226:51: note: directive argument in the range [1, 2147483647]
/usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output between 10 and 8220 bytes into a destination of size 8192
Error: COMPILER_WARNING: [#def433]
krb5-1.21.3-build/krb5-1.21.3/src/tests/softpkcs11/main.c: scope_hint: In function ‘application_error’
krb5-1.21.3-build/krb5-1.21.3/src/tests/softpkcs11/main.c:161:5: warning[-Wsuggest-attribute=format]: function ‘application_error’ might be a candidate for ‘gnu_printf’ format attribute
Error: COMPILER_WARNING: [#def434]
krb5-1.21.3-build/krb5-1.21.3/src/tests/softpkcs11/main.c: scope_hint: In function ‘st_logf’
krb5-1.21.3-build/krb5-1.21.3/src/tests/softpkcs11/main.c:174:5: warning[-Wsuggest-attribute=format]: function ‘st_logf’ might be a candidate for ‘gnu_printf’ format attribute
Error: COMPILER_WARNING: [#def435]
krb5-1.21.3-build/krb5-1.21.3/src/tests/softpkcs11/main.c: scope_hint: In function ‘snprintf_fill’
krb5-1.21.3-build/krb5-1.21.3/src/tests/softpkcs11/main.c:185:5: warning[-Wsuggest-attribute=format]: function ‘snprintf_fill’ might be a candidate for ‘gnu_printf’ format attribute
Error: COMPILER_WARNING: [#def436]
krb5-1.21.3-build/krb5-1.21.3/src/tests/verify/kdb5_verify.c: scope_hint: In function ‘main’
krb5-1.21.3-build/krb5-1.21.3/src/tests/verify/kdb5_verify.c:189:13: warning[-Wstringop-truncation]: ‘__strncat_chk’ output may be truncated copying between 0 and 4095 bytes from a string of length 8191
Error: GCC_ANALYZER_WARNING (CWE-688): [#def437]
krb5-1.21.3-build/krb5-1.21.3/src/util/profile/prof_parse.c: scope_hint: In function ‘add_data_to_buffer.part.0’
krb5-1.21.3-build/krb5-1.21.3/src/util/profile/prof_parse.c:607:5: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
krb5-1.21.3-build/krb5-1.21.3/src/util/profile/prof_parse.c: scope_hint: In function ‘add_data_to_buffer.part.0’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-457): [#def438]
krb5-1.21.3-build/krb5-1.21.3/src/util/profile/prof_parse.c:607:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘d’
krb5-1.21.3-build/krb5-1.21.3/src/util/profile/prof_parse.c: scope_hint: In function ‘add_data_to_buffer.part.0’
krb5-1.21.3-build/krb5-1.21.3/src/util/profile/prof_parse.c: scope_hint: In function ‘add_data_to_buffer.part.0’
krb5-1.21.3-build/krb5-1.21.3/src/util/profile/prof_parse.c: scope_hint: In function ‘add_data_to_buffer.part.0’
krb5-1.21.3-build/krb5-1.21.3/src/util/profile/prof_parse.c: scope_hint: In function ‘add_data_to_buffer.part.0’
krb5-1.21.3-build/krb5-1.21.3/src/util/profile/prof_parse.c: scope_hint: In function ‘add_data_to_buffer.part.0’
krb5-1.21.3-build/krb5-1.21.3/src/util/profile/prof_parse.c: scope_hint: In function ‘add_data_to_buffer.part.0’
krb5-1.21.3-build/krb5-1.21.3/src/util/profile/prof_parse.c: scope_hint: In function ‘add_data_to_buffer.part.0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def439]
krb5-1.21.3-build/krb5-1.21.3/src/util/support/dir_filenames.c: scope_hint: In function ‘add_filename’
krb5-1.21.3-build/krb5-1.21.3/src/util/support/dir_filenames.c:52:8: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def440]
krb5-1.21.3-build/krb5-1.21.3/src/util/support/dir_filenames.c: scope_hint: In function ‘k5_dir_filenames’
krb5-1.21.3-build/krb5-1.21.3/src/util/support/dir_filenames.c:130:5: warning[-Wanalyzer-null-argument]: use of NULL ‘fnames’ where non-null expected
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-platform.h:61: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/util/support/dir_filenames.c:33: included_from: Included from here.
/usr/include/stdlib.h:970:13: note: argument 1 of ‘qsort’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-401): [#def441]
krb5-1.21.3-build/krb5-1.21.3/src/util/support/threads.c: scope_hint: In function ‘krb5int_setspecific’
krb5-1.21.3-build/krb5-1.21.3/src/util/support/threads.c:321:23: warning[-Wanalyzer-malloc-leak]: leak of ‘t’
krb5-1.21.3-build/krb5-1.21.3/src/util/support/threads.c:28: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-platform.h:284:9: note: in expansion of macro ‘k5_call_init_function’
krb5-1.21.3-build/krb5-1.21.3/src/util/support/threads.c:267:11: note: in expansion of macro ‘CALL_INIT_FUNCTION’
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-platform.h:284:9: note: in expansion of macro ‘k5_call_init_function’
krb5-1.21.3-build/krb5-1.21.3/src/util/support/threads.c:267:11: note: in expansion of macro ‘CALL_INIT_FUNCTION’
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-thread.h:136: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/include/k5-platform.h:236: included_from: Included from here.
krb5-1.21.3-build/krb5-1.21.3/src/util/support/threads.c:298:9: note: in expansion of macro ‘K5_PTHREADS_LOADED’
Scan Properties
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-99.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | krb5-1.21.3-3.fc42 |
store-results-to | /tmp/tmps_4l_du0/krb5-1.21.3-3.fc42.tar.xz |
time-created | 2024-11-13 01:17:57 |
time-finished | 2024-11-13 01:26:28 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmps_4l_du0/krb5-1.21.3-3.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmps_4l_du0/krb5-1.21.3-3.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |