dogtag-pki-11.8.0-0.6.beta6.fc44
List of Findings
Error: SHELLCHECK_WARNING: [#def1]
/usr/bin/pkidaemon:33:4: warning[SC3010]: In POSIX sh, [[ ]] is undefined.
Error: SHELLCHECK_WARNING: [#def2]
/usr/bin/pkidaemon:33:26: warning[SC3015]: In POSIX sh, =~ regex matching is undefined.
Error: SHELLCHECK_WARNING: [#def3]
/usr/bin/pkidaemon:35:11: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING (CWE-140): [#def4]
/usr/bin/pkidaemon:35:12: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING: [#def5]
/usr/bin/pkidaemon:35:12: warning[SC3060]: In POSIX sh, string replacement is undefined.
Error: SHELLCHECK_WARNING: [#def6]
/usr/bin/pkidaemon:36:23: warning[SC3054]: In POSIX sh, array references are undefined.
Error: SHELLCHECK_WARNING: [#def7]
/usr/bin/pkidaemon:37:23: warning[SC3054]: In POSIX sh, array references are undefined.
Error: SHELLCHECK_WARNING (CWE-457): [#def8]
/usr/bin/pkidaemon:57:10: warning[SC2154]: default_error is referenced but not assigned.
Error: SHELLCHECK_WARNING: [#def9]
/usr/bin/pkidaemon:73:4: warning[SC3010]: In POSIX sh, [[ ]] is undefined.
Error: SHELLCHECK_WARNING (CWE-252): [#def10]
/usr/bin/pkidaemon:74:5: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-252): [#def11]
/usr/bin/pkidaemon:77:5: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING: [#def12]
/usr/share/pki/acme/bin/pki-acme-run:24:7: warning[SC3028]: In POSIX sh, UID is undefined.
Error: SHELLCHECK_WARNING (CWE-569): [#def13]
/usr/share/pki/acme/bin/pki-acme-run:43:5: warning[SC2188]: This redirection doesn't have a command. Move to its command (or use 'true' as no-op).
Error: SHELLCHECK_WARNING (CWE-569): [#def14]
/usr/share/pki/acme/bin/pki-acme-run:65:5: warning[SC2188]: This redirection doesn't have a command. Move to its command (or use 'true' as no-op).
Error: SHELLCHECK_WARNING (CWE-569): [#def15]
/usr/share/pki/acme/bin/pki-acme-run:87:5: warning[SC2188]: This redirection doesn't have a command. Move to its command (or use 'true' as no-op).
Error: SHELLCHECK_WARNING (CWE-569): [#def16]
/usr/share/pki/acme/bin/pki-acme-run:109:5: warning[SC2188]: This redirection doesn't have a command. Move to its command (or use 'true' as no-op).
Error: SHELLCHECK_WARNING: [#def17]
/usr/share/pki/ca/bin/pki-ca-run:25:7: warning[SC3028]: In POSIX sh, UID is undefined.
Error: SHELLCHECK_WARNING: [#def18]
/usr/share/pki/ca/bin/pki-ca-run:255:23: warning[SC3028]: In POSIX sh, HOSTNAME is undefined.
Error: SHELLCHECK_WARNING: [#def19]
/usr/share/pki/ca/bin/pki-ca-run:286:9: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def20]
/usr/share/pki/ca/bin/pki-ca-run:288:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def21]
/usr/share/pki/ca/bin/pki-ca-run:288:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def22]
/usr/share/pki/ca/bin/pki-ca-run:289:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def23]
/usr/share/pki/ca/bin/pki-ca-run:289:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def24]
/usr/share/pki/ca/bin/pki-ca-run:291:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def25]
/usr/share/pki/ca/bin/pki-ca-run:291:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def26]
/usr/share/pki/ca/bin/pki-ca-run:292:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def27]
/usr/share/pki/ca/bin/pki-ca-run:292:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def28]
/usr/share/pki/ca/bin/pki-ca-run:294:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def29]
/usr/share/pki/ca/bin/pki-ca-run:294:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def30]
/usr/share/pki/ca/bin/pki-ca-run:296:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def31]
/usr/share/pki/ca/bin/pki-ca-run:296:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING (CWE-140): [#def32]
/usr/share/pki/ca/bin/pki-ca-run:296:25: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING: [#def33]
/usr/share/pki/ca/bin/pki-ca-run:297:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def34]
/usr/share/pki/ca/bin/pki-ca-run:297:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING (CWE-140): [#def35]
/usr/share/pki/ca/bin/pki-ca-run:297:30: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING: [#def36]
/usr/share/pki/ca/bin/pki-ca-run:298:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def37]
/usr/share/pki/ca/bin/pki-ca-run:298:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def38]
/usr/share/pki/ca/bin/pki-ca-run:299:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def39]
/usr/share/pki/ca/bin/pki-ca-run:299:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def40]
/usr/share/pki/ca/bin/pki-ca-run:300:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def41]
/usr/share/pki/ca/bin/pki-ca-run:300:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def42]
/usr/share/pki/ca/bin/pki-ca-run:301:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def43]
/usr/share/pki/ca/bin/pki-ca-run:301:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def44]
/usr/share/pki/ca/bin/pki-ca-run:303:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def45]
/usr/share/pki/ca/bin/pki-ca-run:303:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def46]
/usr/share/pki/ca/bin/pki-ca-run:305:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def47]
/usr/share/pki/ca/bin/pki-ca-run:305:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def48]
/usr/share/pki/ca/bin/pki-ca-run:306:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def49]
/usr/share/pki/ca/bin/pki-ca-run:306:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def50]
/usr/share/pki/ca/bin/pki-ca-run:308:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def51]
/usr/share/pki/ca/bin/pki-ca-run:308:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def52]
/usr/share/pki/ca/bin/pki-ca-run:309:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def53]
/usr/share/pki/ca/bin/pki-ca-run:309:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def54]
/usr/share/pki/ca/bin/pki-ca-run:311:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def55]
/usr/share/pki/ca/bin/pki-ca-run:311:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def56]
/usr/share/pki/ca/bin/pki-ca-run:314:5: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def57]
/usr/share/pki/ca/bin/pki-ca-run:314:14: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def58]
/usr/share/pki/ca/bin/pki-ca-run:317:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def59]
/usr/share/pki/ca/bin/pki-ca-run:317:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def60]
/usr/share/pki/ca/bin/pki-ca-run:318:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def61]
/usr/share/pki/ca/bin/pki-ca-run:318:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def62]
/usr/share/pki/ca/bin/pki-ca-run:320:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def63]
/usr/share/pki/ca/bin/pki-ca-run:320:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def64]
/usr/share/pki/ca/bin/pki-ca-run:321:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def65]
/usr/share/pki/ca/bin/pki-ca-run:321:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def66]
/usr/share/pki/ca/bin/pki-ca-run:323:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def67]
/usr/share/pki/ca/bin/pki-ca-run:323:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def68]
/usr/share/pki/ca/bin/pki-ca-run:324:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def69]
/usr/share/pki/ca/bin/pki-ca-run:324:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def70]
/usr/share/pki/ca/bin/pki-ca-run:325:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def71]
/usr/share/pki/ca/bin/pki-ca-run:325:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def72]
/usr/share/pki/ca/bin/pki-ca-run:326:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def73]
/usr/share/pki/ca/bin/pki-ca-run:326:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def74]
/usr/share/pki/ca/bin/pki-ca-run:327:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def75]
/usr/share/pki/ca/bin/pki-ca-run:327:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def76]
/usr/share/pki/ca/bin/pki-ca-run:329:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def77]
/usr/share/pki/ca/bin/pki-ca-run:329:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def78]
/usr/share/pki/ca/bin/pki-ca-run:331:11: warning[SC3054]: In POSIX sh, array references are undefined.
Error: SHELLCHECK_WARNING: [#def79]
/usr/share/pki/ca/bin/pki-ca-run:342:7: warning[SC3028]: In POSIX sh, UID is undefined.
Error: SHELLCHECK_WARNING (CWE-569): [#def80]
/usr/share/pki/ca/bin/pki-ca-run:364:16: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
Error: SHELLCHECK_WARNING: [#def81]
/usr/share/pki/ca/bin/pki-ca-run:366:7: warning[SC3028]: In POSIX sh, UID is undefined.
Error: SHELLCHECK_WARNING: [#def82]
/usr/share/pki/kra/bin/pki-kra-run:25:7: warning[SC3028]: In POSIX sh, UID is undefined.
Error: SHELLCHECK_WARNING: [#def83]
/usr/share/pki/kra/bin/pki-kra-run:129:9: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def84]
/usr/share/pki/kra/bin/pki-kra-run:131:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def85]
/usr/share/pki/kra/bin/pki-kra-run:131:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def86]
/usr/share/pki/kra/bin/pki-kra-run:132:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def87]
/usr/share/pki/kra/bin/pki-kra-run:132:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def88]
/usr/share/pki/kra/bin/pki-kra-run:134:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def89]
/usr/share/pki/kra/bin/pki-kra-run:134:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def90]
/usr/share/pki/kra/bin/pki-kra-run:135:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def91]
/usr/share/pki/kra/bin/pki-kra-run:135:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def92]
/usr/share/pki/kra/bin/pki-kra-run:137:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def93]
/usr/share/pki/kra/bin/pki-kra-run:137:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def94]
/usr/share/pki/kra/bin/pki-kra-run:139:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def95]
/usr/share/pki/kra/bin/pki-kra-run:139:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def96]
/usr/share/pki/kra/bin/pki-kra-run:140:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def97]
/usr/share/pki/kra/bin/pki-kra-run:140:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def98]
/usr/share/pki/kra/bin/pki-kra-run:142:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def99]
/usr/share/pki/kra/bin/pki-kra-run:142:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING (CWE-140): [#def100]
/usr/share/pki/kra/bin/pki-kra-run:142:25: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING: [#def101]
/usr/share/pki/kra/bin/pki-kra-run:143:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def102]
/usr/share/pki/kra/bin/pki-kra-run:143:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING (CWE-140): [#def103]
/usr/share/pki/kra/bin/pki-kra-run:143:30: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING: [#def104]
/usr/share/pki/kra/bin/pki-kra-run:144:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def105]
/usr/share/pki/kra/bin/pki-kra-run:144:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def106]
/usr/share/pki/kra/bin/pki-kra-run:145:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def107]
/usr/share/pki/kra/bin/pki-kra-run:145:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def108]
/usr/share/pki/kra/bin/pki-kra-run:146:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def109]
/usr/share/pki/kra/bin/pki-kra-run:146:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def110]
/usr/share/pki/kra/bin/pki-kra-run:147:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def111]
/usr/share/pki/kra/bin/pki-kra-run:147:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def112]
/usr/share/pki/kra/bin/pki-kra-run:149:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def113]
/usr/share/pki/kra/bin/pki-kra-run:149:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def114]
/usr/share/pki/kra/bin/pki-kra-run:150:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def115]
/usr/share/pki/kra/bin/pki-kra-run:150:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def116]
/usr/share/pki/kra/bin/pki-kra-run:152:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def117]
/usr/share/pki/kra/bin/pki-kra-run:152:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def118]
/usr/share/pki/kra/bin/pki-kra-run:153:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def119]
/usr/share/pki/kra/bin/pki-kra-run:153:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def120]
/usr/share/pki/kra/bin/pki-kra-run:155:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def121]
/usr/share/pki/kra/bin/pki-kra-run:155:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def122]
/usr/share/pki/kra/bin/pki-kra-run:156:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def123]
/usr/share/pki/kra/bin/pki-kra-run:156:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def124]
/usr/share/pki/kra/bin/pki-kra-run:158:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def125]
/usr/share/pki/kra/bin/pki-kra-run:158:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def126]
/usr/share/pki/kra/bin/pki-kra-run:161:5: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def127]
/usr/share/pki/kra/bin/pki-kra-run:161:14: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def128]
/usr/share/pki/kra/bin/pki-kra-run:164:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def129]
/usr/share/pki/kra/bin/pki-kra-run:164:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def130]
/usr/share/pki/kra/bin/pki-kra-run:165:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def131]
/usr/share/pki/kra/bin/pki-kra-run:165:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def132]
/usr/share/pki/kra/bin/pki-kra-run:167:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def133]
/usr/share/pki/kra/bin/pki-kra-run:167:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def134]
/usr/share/pki/kra/bin/pki-kra-run:168:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def135]
/usr/share/pki/kra/bin/pki-kra-run:168:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def136]
/usr/share/pki/kra/bin/pki-kra-run:170:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def137]
/usr/share/pki/kra/bin/pki-kra-run:170:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def138]
/usr/share/pki/kra/bin/pki-kra-run:171:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def139]
/usr/share/pki/kra/bin/pki-kra-run:171:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def140]
/usr/share/pki/kra/bin/pki-kra-run:172:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def141]
/usr/share/pki/kra/bin/pki-kra-run:172:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def142]
/usr/share/pki/kra/bin/pki-kra-run:173:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def143]
/usr/share/pki/kra/bin/pki-kra-run:173:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def144]
/usr/share/pki/kra/bin/pki-kra-run:174:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def145]
/usr/share/pki/kra/bin/pki-kra-run:174:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def146]
/usr/share/pki/kra/bin/pki-kra-run:176:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def147]
/usr/share/pki/kra/bin/pki-kra-run:176:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def148]
/usr/share/pki/kra/bin/pki-kra-run:178:11: warning[SC3054]: In POSIX sh, array references are undefined.
Error: SHELLCHECK_WARNING: [#def149]
/usr/share/pki/kra/bin/pki-kra-run:188:7: warning[SC3028]: In POSIX sh, UID is undefined.
Error: SHELLCHECK_WARNING (CWE-569): [#def150]
/usr/share/pki/kra/bin/pki-kra-run:202:16: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
Error: SHELLCHECK_WARNING: [#def151]
/usr/share/pki/kra/bin/pki-kra-run:204:7: warning[SC3028]: In POSIX sh, UID is undefined.
Error: SHELLCHECK_WARNING: [#def152]
/usr/share/pki/ocsp/bin/pki-ocsp-run:24:7: warning[SC3028]: In POSIX sh, UID is undefined.
Error: SHELLCHECK_WARNING: [#def153]
/usr/share/pki/ocsp/bin/pki-ocsp-run:113:9: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def154]
/usr/share/pki/ocsp/bin/pki-ocsp-run:115:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def155]
/usr/share/pki/ocsp/bin/pki-ocsp-run:115:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def156]
/usr/share/pki/ocsp/bin/pki-ocsp-run:116:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def157]
/usr/share/pki/ocsp/bin/pki-ocsp-run:116:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def158]
/usr/share/pki/ocsp/bin/pki-ocsp-run:118:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def159]
/usr/share/pki/ocsp/bin/pki-ocsp-run:118:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def160]
/usr/share/pki/ocsp/bin/pki-ocsp-run:119:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def161]
/usr/share/pki/ocsp/bin/pki-ocsp-run:119:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def162]
/usr/share/pki/ocsp/bin/pki-ocsp-run:121:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def163]
/usr/share/pki/ocsp/bin/pki-ocsp-run:121:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def164]
/usr/share/pki/ocsp/bin/pki-ocsp-run:123:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def165]
/usr/share/pki/ocsp/bin/pki-ocsp-run:123:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def166]
/usr/share/pki/ocsp/bin/pki-ocsp-run:124:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def167]
/usr/share/pki/ocsp/bin/pki-ocsp-run:124:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def168]
/usr/share/pki/ocsp/bin/pki-ocsp-run:126:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def169]
/usr/share/pki/ocsp/bin/pki-ocsp-run:126:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING (CWE-140): [#def170]
/usr/share/pki/ocsp/bin/pki-ocsp-run:126:25: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING: [#def171]
/usr/share/pki/ocsp/bin/pki-ocsp-run:127:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def172]
/usr/share/pki/ocsp/bin/pki-ocsp-run:127:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING (CWE-140): [#def173]
/usr/share/pki/ocsp/bin/pki-ocsp-run:127:30: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING: [#def174]
/usr/share/pki/ocsp/bin/pki-ocsp-run:128:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def175]
/usr/share/pki/ocsp/bin/pki-ocsp-run:128:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def176]
/usr/share/pki/ocsp/bin/pki-ocsp-run:129:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def177]
/usr/share/pki/ocsp/bin/pki-ocsp-run:129:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def178]
/usr/share/pki/ocsp/bin/pki-ocsp-run:130:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def179]
/usr/share/pki/ocsp/bin/pki-ocsp-run:130:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def180]
/usr/share/pki/ocsp/bin/pki-ocsp-run:131:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def181]
/usr/share/pki/ocsp/bin/pki-ocsp-run:131:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def182]
/usr/share/pki/ocsp/bin/pki-ocsp-run:133:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def183]
/usr/share/pki/ocsp/bin/pki-ocsp-run:133:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def184]
/usr/share/pki/ocsp/bin/pki-ocsp-run:134:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def185]
/usr/share/pki/ocsp/bin/pki-ocsp-run:134:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def186]
/usr/share/pki/ocsp/bin/pki-ocsp-run:136:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def187]
/usr/share/pki/ocsp/bin/pki-ocsp-run:136:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def188]
/usr/share/pki/ocsp/bin/pki-ocsp-run:137:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def189]
/usr/share/pki/ocsp/bin/pki-ocsp-run:137:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def190]
/usr/share/pki/ocsp/bin/pki-ocsp-run:139:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def191]
/usr/share/pki/ocsp/bin/pki-ocsp-run:139:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def192]
/usr/share/pki/ocsp/bin/pki-ocsp-run:142:5: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def193]
/usr/share/pki/ocsp/bin/pki-ocsp-run:142:14: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def194]
/usr/share/pki/ocsp/bin/pki-ocsp-run:145:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def195]
/usr/share/pki/ocsp/bin/pki-ocsp-run:145:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def196]
/usr/share/pki/ocsp/bin/pki-ocsp-run:146:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def197]
/usr/share/pki/ocsp/bin/pki-ocsp-run:146:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def198]
/usr/share/pki/ocsp/bin/pki-ocsp-run:148:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def199]
/usr/share/pki/ocsp/bin/pki-ocsp-run:148:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def200]
/usr/share/pki/ocsp/bin/pki-ocsp-run:149:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def201]
/usr/share/pki/ocsp/bin/pki-ocsp-run:149:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def202]
/usr/share/pki/ocsp/bin/pki-ocsp-run:151:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def203]
/usr/share/pki/ocsp/bin/pki-ocsp-run:151:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def204]
/usr/share/pki/ocsp/bin/pki-ocsp-run:152:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def205]
/usr/share/pki/ocsp/bin/pki-ocsp-run:152:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def206]
/usr/share/pki/ocsp/bin/pki-ocsp-run:153:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def207]
/usr/share/pki/ocsp/bin/pki-ocsp-run:153:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def208]
/usr/share/pki/ocsp/bin/pki-ocsp-run:154:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def209]
/usr/share/pki/ocsp/bin/pki-ocsp-run:154:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def210]
/usr/share/pki/ocsp/bin/pki-ocsp-run:155:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def211]
/usr/share/pki/ocsp/bin/pki-ocsp-run:155:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def212]
/usr/share/pki/ocsp/bin/pki-ocsp-run:157:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def213]
/usr/share/pki/ocsp/bin/pki-ocsp-run:157:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def214]
/usr/share/pki/ocsp/bin/pki-ocsp-run:159:11: warning[SC3054]: In POSIX sh, array references are undefined.
Error: SHELLCHECK_WARNING: [#def215]
/usr/share/pki/ocsp/bin/pki-ocsp-run:169:7: warning[SC3028]: In POSIX sh, UID is undefined.
Error: SHELLCHECK_WARNING (CWE-569): [#def216]
/usr/share/pki/ocsp/bin/pki-ocsp-run:183:16: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
Error: SHELLCHECK_WARNING: [#def217]
/usr/share/pki/ocsp/bin/pki-ocsp-run:185:7: warning[SC3028]: In POSIX sh, UID is undefined.
Error: SHELLCHECK_WARNING (CWE-563): [#def218]
/usr/share/pki/scripts/operations:43:5: warning[SC2034]: debian appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-457): [#def219]
/usr/share/pki/scripts/operations:47:6: warning[SC2154]: command is referenced but not assigned (for output from commands, use "$(command ...)" ).
Error: SHELLCHECK_WARNING (CWE-563): [#def220]
/usr/share/pki/scripts/operations:62:1: warning[SC2034]: OS appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def221]
/usr/share/pki/scripts/operations:63:1: warning[SC2034]: ARCHITECTURE appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING: [#def222]
/usr/share/pki/scripts/operations:69:5: warning[SC2327]: This command substitution will be empty because the command's output gets redirected away.
Error: SHELLCHECK_WARNING: [#def223]
/usr/share/pki/scripts/operations:69:15: error[SC2328]: This redirection takes output away from the command substitution.
Error: SHELLCHECK_WARNING (CWE-457): [#def224]
/usr/share/pki/scripts/operations:76:37: warning[SC2154]: pki_instance_id is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-563): [#def225]
/usr/share/pki/scripts/operations:77:1: warning[SC2034]: PKI_SUBSYSTEMS appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def226]
/usr/share/pki/scripts/operations:383:9: warning[SC2034]: error_rv appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING: [#def227]
/usr/share/pki/server/bin/pki-server-run:34:7: warning[SC3028]: In POSIX sh, UID is undefined.
Error: SHELLCHECK_WARNING: [#def228]
/usr/share/pki/server/bin/pki-server-run:187:23: warning[SC3028]: In POSIX sh, HOSTNAME is undefined.
Error: SHELLCHECK_WARNING: [#def229]
/usr/share/pki/server/bin/pki-server-run:220:7: warning[SC3028]: In POSIX sh, UID is undefined.
Error: SHELLCHECK_WARNING (CWE-569): [#def230]
/usr/share/pki/server/bin/pki-server-run:240:16: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
Error: SHELLCHECK_WARNING: [#def231]
/usr/share/pki/server/bin/pki-server-run:242:7: warning[SC3028]: In POSIX sh, UID is undefined.
Error: SHELLCHECK_WARNING: [#def232]
/usr/share/pki/tests/bin/ds-artifacts-save.sh:7:5: warning[SC2213]: getopts specified -v, but it's not handled by this 'case'.
Error: SHELLCHECK_WARNING (CWE-563): [#def233]
/usr/share/pki/tests/bin/ds-certs-import.sh:7:1: warning[SC2034]: SCRIPT_DIR appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def234]
/usr/share/pki/tests/bin/ds-certs-import.sh:46:13: warning[SC2034]: VERBOSE appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def235]
/usr/share/pki/tests/bin/ds-certs-import.sh:47:13: warning[SC2034]: DEBUG appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def236]
/usr/share/pki/tests/bin/ds-create.sh:65:13: warning[SC2034]: VERBOSE appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-569): [#def237]
/usr/share/pki/tests/bin/ds-create.sh:75:30: warning[SC2221]: This pattern always overrides a later one on line 75.
Error: SHELLCHECK_WARNING (CWE-569): [#def238]
/usr/share/pki/tests/bin/ds-create.sh:75:41: warning[SC2222]: This pattern never matches because of a previous pattern on line 75.
Error: SHELLCHECK_WARNING (CWE-140): [#def239]
/usr/share/pki/tests/bin/ds-create.sh:97:26: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING (CWE-140): [#def240]
/usr/share/pki/tests/bin/ds-create.sh:101:29: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING (CWE-140): [#def241]
/usr/share/pki/tests/bin/ds-create.sh:106:35: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING (CWE-140): [#def242]
/usr/share/pki/tests/bin/ds-create.sh:136:22: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING (CWE-140): [#def243]
/usr/share/pki/tests/bin/ds-create.sh:137:26: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING (CWE-140): [#def244]
/usr/share/pki/tests/bin/ds-create.sh:138:18: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING (CWE-140): [#def245]
/usr/share/pki/tests/bin/ds-create.sh:139:18: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING (CWE-140): [#def246]
/usr/share/pki/tests/bin/ds-create.sh:139:36: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING (CWE-140): [#def247]
/usr/share/pki/tests/bin/ds-create.sh:140:33: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING (CWE-140): [#def248]
/usr/share/pki/tests/bin/ds-create.sh:146:29: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING (CWE-140): [#def249]
/usr/share/pki/tests/bin/ds-create.sh:151:35: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING (CWE-140): [#def250]
/usr/share/pki/tests/bin/ds-create.sh:157:23: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING (CWE-140): [#def251]
/usr/share/pki/tests/bin/ds-create.sh:158:26: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING (CWE-563): [#def252]
/usr/share/pki/tests/bin/ds-remove.sh:7:1: warning[SC2034]: SCRIPT_DIR appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def253]
/usr/share/pki/tests/bin/ds-remove.sh:38:13: warning[SC2034]: VERBOSE appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def254]
/usr/share/pki/tests/bin/ds-remove.sh:39:13: warning[SC2034]: DEBUG appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def255]
/usr/share/pki/tests/bin/ds-start.sh:7:1: warning[SC2034]: SCRIPT_DIR appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def256]
/usr/share/pki/tests/bin/ds-start.sh:42:13: warning[SC2034]: VERBOSE appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def257]
/usr/share/pki/tests/bin/ds-stop.sh:7:1: warning[SC2034]: SCRIPT_DIR appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def258]
/usr/share/pki/tests/bin/ds-stop.sh:38:13: warning[SC2034]: VERBOSE appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def259]
/usr/share/pki/tests/bin/ds-stop.sh:39:13: warning[SC2034]: DEBUG appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING: [#def260]
/usr/share/pki/tests/bin/pki-artifacts-save.sh:7:5: warning[SC2213]: getopts specified -v, but it's not handled by this 'case'.
Error: SHELLCHECK_WARNING (CWE-563): [#def261]
/usr/share/pki/tests/bin/runner-init.sh:13:1: warning[SC2034]: SCRIPT_DIR appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def262]
/usr/share/pki/tests/bin/runner-init.sh:56:13: warning[SC2034]: VERBOSE appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-138): [#def263]
/usr/share/pki/tests/bin/runner-init.sh:103:20: error[SC2145]: Argument mixes string and array. Use * or separate argument.
Error: SHELLCHECK_WARNING (CWE-398): [#def264]
/usr/share/pki/tests/bin/runner-init.sh:103:22: error[SC1087]: Use braces when expanding arrays, e.g. ${array[idx]} (or ${var}[.. to quiet).
Error: SHELLCHECK_WARNING: [#def265]
/usr/share/pki/tests/bin/runner-init.sh:103:22: error[SC2298]: ${$x} is invalid. For expansion, use ${x}. For indirection, use arrays, ${!x} or (for sh) eval.
Error: SHELLCHECK_WARNING (CWE-670): [#def266]
/usr/share/pki/tests/bin/runner-init.sh:103:22: warning[SC2128]: Expanding an array without an index only gives the first element.
Error: SHELLCHECK_WARNING (CWE-140): [#def267]
/usr/share/pki/tests/bin/runner-init.sh:107:18: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING (CWE-140): [#def268]
/usr/share/pki/tests/bin/runner-init.sh:108:22: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING (CWE-140): [#def269]
/usr/share/pki/tests/bin/runner-init.sh:111:14: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING (CWE-140): [#def270]
/usr/share/pki/tests/bin/runner-init.sh:111:32: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING (CWE-140): [#def271]
/usr/share/pki/tests/bin/runner-init.sh:116:28: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
Error: SHELLCHECK_WARNING (CWE-140): [#def272]
/usr/share/pki/tests/bin/runner-init.sh:117:28: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
Error: SHELLCHECK_WARNING (CWE-140): [#def273]
/usr/share/pki/tests/bin/runner-init.sh:118:21: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING (CWE-140): [#def274]
/usr/share/pki/tests/bin/runner-init.sh:120:29: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING (CWE-140): [#def275]
/usr/share/pki/tests/bin/runner-init.sh:121:32: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING (CWE-140): [#def276]
/usr/share/pki/tests/bin/runner-init.sh:132:25: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING (CWE-140): [#def277]
/usr/share/pki/tests/bin/runner-init.sh:137:31: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING: [#def278]
/usr/share/pki/tests/ca/bin/ca-cert-next-range.sh:6:5: warning[SC2220]: Invalid flags are not handled. Add a *) case.
Error: SHELLCHECK_WARNING: [#def279]
/usr/share/pki/tests/ca/bin/ca-cert-range-objects.sh:6:5: warning[SC2220]: Invalid flags are not handled. Add a *) case.
Error: SHELLCHECK_WARNING: [#def280]
/usr/share/pki/tests/ca/bin/ca-request-next-range.sh:6:5: warning[SC2220]: Invalid flags are not handled. Add a *) case.
Error: SHELLCHECK_WARNING: [#def281]
/usr/share/pki/tests/ca/bin/ca-request-range-objects.sh:6:5: warning[SC2220]: Invalid flags are not handled. Add a *) case.
Error: SHELLCHECK_WARNING (CWE-156): [#def282]
/usr/share/pki/tests/ca/bin/test-ca-auditor-cert.sh:7:54: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-457): [#def283]
/usr/share/pki/tests/kra/bin/test-cert-key-archival.sh:15:5: warning[SC2154]: CRMFPopClient_Extra is referenced but not assigned.
Error: SHELLCHECK_WARNING: [#def284]
/usr/share/pki/tks/bin/pki-tks-run:23:7: warning[SC3028]: In POSIX sh, UID is undefined.
Error: SHELLCHECK_WARNING: [#def285]
/usr/share/pki/tks/bin/pki-tks-run:97:9: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def286]
/usr/share/pki/tks/bin/pki-tks-run:99:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def287]
/usr/share/pki/tks/bin/pki-tks-run:99:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def288]
/usr/share/pki/tks/bin/pki-tks-run:100:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def289]
/usr/share/pki/tks/bin/pki-tks-run:100:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def290]
/usr/share/pki/tks/bin/pki-tks-run:102:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def291]
/usr/share/pki/tks/bin/pki-tks-run:102:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def292]
/usr/share/pki/tks/bin/pki-tks-run:103:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def293]
/usr/share/pki/tks/bin/pki-tks-run:103:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def294]
/usr/share/pki/tks/bin/pki-tks-run:105:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def295]
/usr/share/pki/tks/bin/pki-tks-run:105:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def296]
/usr/share/pki/tks/bin/pki-tks-run:107:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def297]
/usr/share/pki/tks/bin/pki-tks-run:107:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def298]
/usr/share/pki/tks/bin/pki-tks-run:108:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def299]
/usr/share/pki/tks/bin/pki-tks-run:108:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def300]
/usr/share/pki/tks/bin/pki-tks-run:110:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def301]
/usr/share/pki/tks/bin/pki-tks-run:110:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING (CWE-140): [#def302]
/usr/share/pki/tks/bin/pki-tks-run:110:25: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING: [#def303]
/usr/share/pki/tks/bin/pki-tks-run:111:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def304]
/usr/share/pki/tks/bin/pki-tks-run:111:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING (CWE-140): [#def305]
/usr/share/pki/tks/bin/pki-tks-run:111:30: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING: [#def306]
/usr/share/pki/tks/bin/pki-tks-run:112:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def307]
/usr/share/pki/tks/bin/pki-tks-run:112:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def308]
/usr/share/pki/tks/bin/pki-tks-run:113:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def309]
/usr/share/pki/tks/bin/pki-tks-run:113:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def310]
/usr/share/pki/tks/bin/pki-tks-run:114:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def311]
/usr/share/pki/tks/bin/pki-tks-run:114:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def312]
/usr/share/pki/tks/bin/pki-tks-run:115:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def313]
/usr/share/pki/tks/bin/pki-tks-run:115:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def314]
/usr/share/pki/tks/bin/pki-tks-run:117:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def315]
/usr/share/pki/tks/bin/pki-tks-run:117:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def316]
/usr/share/pki/tks/bin/pki-tks-run:118:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def317]
/usr/share/pki/tks/bin/pki-tks-run:118:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def318]
/usr/share/pki/tks/bin/pki-tks-run:120:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def319]
/usr/share/pki/tks/bin/pki-tks-run:120:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def320]
/usr/share/pki/tks/bin/pki-tks-run:123:5: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def321]
/usr/share/pki/tks/bin/pki-tks-run:123:14: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def322]
/usr/share/pki/tks/bin/pki-tks-run:126:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def323]
/usr/share/pki/tks/bin/pki-tks-run:126:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def324]
/usr/share/pki/tks/bin/pki-tks-run:127:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def325]
/usr/share/pki/tks/bin/pki-tks-run:127:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def326]
/usr/share/pki/tks/bin/pki-tks-run:129:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def327]
/usr/share/pki/tks/bin/pki-tks-run:129:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def328]
/usr/share/pki/tks/bin/pki-tks-run:130:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def329]
/usr/share/pki/tks/bin/pki-tks-run:130:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def330]
/usr/share/pki/tks/bin/pki-tks-run:132:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def331]
/usr/share/pki/tks/bin/pki-tks-run:132:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def332]
/usr/share/pki/tks/bin/pki-tks-run:133:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def333]
/usr/share/pki/tks/bin/pki-tks-run:133:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def334]
/usr/share/pki/tks/bin/pki-tks-run:134:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def335]
/usr/share/pki/tks/bin/pki-tks-run:134:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def336]
/usr/share/pki/tks/bin/pki-tks-run:135:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def337]
/usr/share/pki/tks/bin/pki-tks-run:135:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def338]
/usr/share/pki/tks/bin/pki-tks-run:136:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def339]
/usr/share/pki/tks/bin/pki-tks-run:136:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def340]
/usr/share/pki/tks/bin/pki-tks-run:138:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def341]
/usr/share/pki/tks/bin/pki-tks-run:138:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def342]
/usr/share/pki/tks/bin/pki-tks-run:140:11: warning[SC3054]: In POSIX sh, array references are undefined.
Error: SHELLCHECK_WARNING: [#def343]
/usr/share/pki/tks/bin/pki-tks-run:150:7: warning[SC3028]: In POSIX sh, UID is undefined.
Error: SHELLCHECK_WARNING (CWE-569): [#def344]
/usr/share/pki/tks/bin/pki-tks-run:164:16: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
Error: SHELLCHECK_WARNING: [#def345]
/usr/share/pki/tks/bin/pki-tks-run:166:7: warning[SC3028]: In POSIX sh, UID is undefined.
Error: SHELLCHECK_WARNING: [#def346]
/usr/share/pki/tps/bin/pki-tps-run:23:7: warning[SC3028]: In POSIX sh, UID is undefined.
Error: SHELLCHECK_WARNING: [#def347]
/usr/share/pki/tps/bin/pki-tps-run:97:9: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def348]
/usr/share/pki/tps/bin/pki-tps-run:99:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def349]
/usr/share/pki/tps/bin/pki-tps-run:99:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def350]
/usr/share/pki/tps/bin/pki-tps-run:100:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def351]
/usr/share/pki/tps/bin/pki-tps-run:100:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def352]
/usr/share/pki/tps/bin/pki-tps-run:102:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def353]
/usr/share/pki/tps/bin/pki-tps-run:102:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def354]
/usr/share/pki/tps/bin/pki-tps-run:103:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def355]
/usr/share/pki/tps/bin/pki-tps-run:103:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def356]
/usr/share/pki/tps/bin/pki-tps-run:105:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def357]
/usr/share/pki/tps/bin/pki-tps-run:105:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def358]
/usr/share/pki/tps/bin/pki-tps-run:107:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def359]
/usr/share/pki/tps/bin/pki-tps-run:107:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def360]
/usr/share/pki/tps/bin/pki-tps-run:108:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def361]
/usr/share/pki/tps/bin/pki-tps-run:108:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def362]
/usr/share/pki/tps/bin/pki-tps-run:110:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def363]
/usr/share/pki/tps/bin/pki-tps-run:110:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING (CWE-140): [#def364]
/usr/share/pki/tps/bin/pki-tps-run:110:25: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING: [#def365]
/usr/share/pki/tps/bin/pki-tps-run:111:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def366]
/usr/share/pki/tps/bin/pki-tps-run:111:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING (CWE-140): [#def367]
/usr/share/pki/tps/bin/pki-tps-run:111:30: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING: [#def368]
/usr/share/pki/tps/bin/pki-tps-run:112:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def369]
/usr/share/pki/tps/bin/pki-tps-run:112:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def370]
/usr/share/pki/tps/bin/pki-tps-run:113:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def371]
/usr/share/pki/tps/bin/pki-tps-run:113:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def372]
/usr/share/pki/tps/bin/pki-tps-run:114:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def373]
/usr/share/pki/tps/bin/pki-tps-run:114:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def374]
/usr/share/pki/tps/bin/pki-tps-run:115:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def375]
/usr/share/pki/tps/bin/pki-tps-run:115:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def376]
/usr/share/pki/tps/bin/pki-tps-run:117:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def377]
/usr/share/pki/tps/bin/pki-tps-run:117:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def378]
/usr/share/pki/tps/bin/pki-tps-run:118:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def379]
/usr/share/pki/tps/bin/pki-tps-run:118:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def380]
/usr/share/pki/tps/bin/pki-tps-run:120:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def381]
/usr/share/pki/tps/bin/pki-tps-run:120:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def382]
/usr/share/pki/tps/bin/pki-tps-run:123:5: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def383]
/usr/share/pki/tps/bin/pki-tps-run:123:14: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def384]
/usr/share/pki/tps/bin/pki-tps-run:126:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def385]
/usr/share/pki/tps/bin/pki-tps-run:126:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def386]
/usr/share/pki/tps/bin/pki-tps-run:127:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def387]
/usr/share/pki/tps/bin/pki-tps-run:127:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def388]
/usr/share/pki/tps/bin/pki-tps-run:129:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def389]
/usr/share/pki/tps/bin/pki-tps-run:129:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def390]
/usr/share/pki/tps/bin/pki-tps-run:130:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def391]
/usr/share/pki/tps/bin/pki-tps-run:130:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def392]
/usr/share/pki/tps/bin/pki-tps-run:132:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def393]
/usr/share/pki/tps/bin/pki-tps-run:132:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def394]
/usr/share/pki/tps/bin/pki-tps-run:133:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def395]
/usr/share/pki/tps/bin/pki-tps-run:133:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def396]
/usr/share/pki/tps/bin/pki-tps-run:134:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def397]
/usr/share/pki/tps/bin/pki-tps-run:134:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def398]
/usr/share/pki/tps/bin/pki-tps-run:136:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def399]
/usr/share/pki/tps/bin/pki-tps-run:136:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def400]
/usr/share/pki/tps/bin/pki-tps-run:137:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def401]
/usr/share/pki/tps/bin/pki-tps-run:137:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def402]
/usr/share/pki/tps/bin/pki-tps-run:138:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def403]
/usr/share/pki/tps/bin/pki-tps-run:138:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def404]
/usr/share/pki/tps/bin/pki-tps-run:142:5: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def405]
/usr/share/pki/tps/bin/pki-tps-run:142:14: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def406]
/usr/share/pki/tps/bin/pki-tps-run:144:5: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def407]
/usr/share/pki/tps/bin/pki-tps-run:144:14: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING (CWE-140): [#def408]
/usr/share/pki/tps/bin/pki-tps-run:144:33: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING: [#def409]
/usr/share/pki/tps/bin/pki-tps-run:149:5: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def410]
/usr/share/pki/tps/bin/pki-tps-run:149:14: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def411]
/usr/share/pki/tps/bin/pki-tps-run:151:5: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def412]
/usr/share/pki/tps/bin/pki-tps-run:151:14: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING (CWE-140): [#def413]
/usr/share/pki/tps/bin/pki-tps-run:151:36: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING: [#def414]
/usr/share/pki/tps/bin/pki-tps-run:154:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def415]
/usr/share/pki/tps/bin/pki-tps-run:154:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def416]
/usr/share/pki/tps/bin/pki-tps-run:156:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def417]
/usr/share/pki/tps/bin/pki-tps-run:156:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def418]
/usr/share/pki/tps/bin/pki-tps-run:157:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def419]
/usr/share/pki/tps/bin/pki-tps-run:157:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def420]
/usr/share/pki/tps/bin/pki-tps-run:159:1: warning[SC3024]: In POSIX sh, += is undefined.
Error: SHELLCHECK_WARNING: [#def421]
/usr/share/pki/tps/bin/pki-tps-run:159:10: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING: [#def422]
/usr/share/pki/tps/bin/pki-tps-run:161:11: warning[SC3054]: In POSIX sh, array references are undefined.
Error: SHELLCHECK_WARNING: [#def423]
/usr/share/pki/tps/bin/pki-tps-run:172:7: warning[SC3028]: In POSIX sh, UID is undefined.
Error: SHELLCHECK_WARNING (CWE-569): [#def424]
/usr/share/pki/tps/bin/pki-tps-run:186:16: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
Error: SHELLCHECK_WARNING: [#def425]
/usr/share/pki/tps/bin/pki-tps-run:188:7: warning[SC3028]: In POSIX sh, UID is undefined.
Error: COMPILER_WARNING (CWE-704): [#def426]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/pistool.h:91:48: warning[-Wdiscarded-qualifiers]: passing argument 1 of ‘TKS_GenerateSessionKeyShare’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pistool.c:1187:42: note: in expansion of macro ‘FIRST_SESSION_KEY_SHARE’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/pistool.h:236:46: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def427]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/pistool.h:91:48: warning[-Wdiscarded-qualifiers]: passing argument 1 of ‘TKS_InputSessionKeyShare’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pistool.c:1206:46: note: in expansion of macro ‘FIRST_SESSION_KEY_SHARE’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/pistool.h:241:42: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def428]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/pistool.h:93:48: warning[-Wdiscarded-qualifiers]: passing argument 1 of ‘TKS_GenerateSessionKeyShare’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pistool.c:1271:43: note: in expansion of macro ‘SECOND_SESSION_KEY_SHARE’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/pistool.h:236:46: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def429]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/pistool.h:93:48: warning[-Wdiscarded-qualifiers]: passing argument 1 of ‘TKS_InputSessionKeyShare’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pistool.c:1290:47: note: in expansion of macro ‘SECOND_SESSION_KEY_SHARE’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/pistool.h:241:42: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def430]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/pistool.h:95:48: warning[-Wdiscarded-qualifiers]: passing argument 1 of ‘TKS_GenerateSessionKeyShare’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pistool.c:1422:42: note: in expansion of macro ‘THIRD_SESSION_KEY_SHARE’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/pistool.h:236:46: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def431]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/pistool.h:95:48: warning[-Wdiscarded-qualifiers]: passing argument 1 of ‘TKS_InputSessionKeyShare’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pistool.c:1441:46: note: in expansion of macro ‘THIRD_SESSION_KEY_SHARE’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/pistool.h:241:42: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def432]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/pistool.h:132:48: warning[-Wdiscarded-qualifiers]: passing argument 1 of ‘TKS_ImportSymmetricKey’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pistool.c:1569:21: note: in expansion of macro ‘FIRST_SYMMETRIC_KEY’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/pistool.h:246:44: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def433]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/pistool.h:133:48: warning[-Wdiscarded-qualifiers]: passing argument 1 of ‘TKS_DeriveSymmetricKey’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pistool.c:1624:21: note: in expansion of macro ‘SECOND_SYMMETRIC_KEY’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/pistool.h:254:44: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def434]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/pistool.h:134:48: warning[-Wdiscarded-qualifiers]: passing argument 1 of ‘TKS_DeriveSymmetricKey’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pistool.c:1684:21: note: in expansion of macro ‘THIRD_SYMMETRIC_KEY’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/pistool.h:254:44: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def435]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/pistool.h:136:48: warning[-Wdiscarded-qualifiers]: passing argument 7 of ‘TKS_ComputeAndDisplayKCV’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pistool.c:1840:57: note: in expansion of macro ‘RESIDENT_KEY’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/pistool.h:230:42: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def436]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/pistool.h:137:48: warning[-Wdiscarded-qualifiers]: passing argument 7 of ‘TKS_ComputeAndDisplayKCV’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/key.c:998:53: note: in expansion of macro ‘SESSION_KEY’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/key.c:487:42: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def437]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/pistool.h:139:48: warning[-Wdiscarded-qualifiers]: passing argument 1 of ‘TKS_StoreSymmetricKeyAndNameIt’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pistool.c:1739:62: note: in expansion of macro ‘TRANSPORT_KEY’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/pistool.h:263:52: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def438]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/key.c: scope_hint: In function ‘TKS_StoreSymmetricKeyAndNameIt’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/pistool.h:139:48: warning[-Wdiscarded-qualifiers]: passing argument 7 of ‘TKS_ComputeAndDisplayKCV’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/key.c:1376:61: note: in expansion of macro ‘TRANSPORT_KEY’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/key.c:487:42: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def439]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/pistool.h:140:48: warning[-Wdiscarded-qualifiers]: passing argument 7 of ‘TKS_ComputeAndDisplayKCV’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pistool.c:2498:43: note: in expansion of macro ‘UNWRAPPED_KEY’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/pistool.h:230:42: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def440]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/pistool.h:141:48: warning[-Wdiscarded-qualifiers]: passing argument 7 of ‘TKS_ComputeAndDisplayKCV’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pistool.c:2863:57: note: in expansion of macro ‘WRAPPED_KEY’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/pistool.h:230:42: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-563): [#def441]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/file.c: scope_hint: In function ‘TKS_ReadInputFileIntoSECItem’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/file.c:26:40: warning[-Wunused-parameter]: unused parameter ‘wrappedKeyName’
Error: COMPILER_WARNING (CWE-563): [#def442]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/file.c: scope_hint: In function ‘TKS_WriteSECItemIntoOutputFile’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/file.c:318:42: warning[-Wunused-parameter]: unused parameter ‘wrappedKeyName’
Error: COMPILER_WARNING (CWE-563): [#def443]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/help.c: scope_hint: In function ‘TKS_PrintHelp’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/help.c:86:22: warning[-Wunused-parameter]: unused parameter ‘progName’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/secutil.h:51: included_from: Included from here.
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/pistool.h:58: included_from: Included from here.
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/key.c:20: included_from: Included from here.
/usr/include/nss3/key.h:9:9: note: ‘#pragma message: key.h is deprecated. Please include keyhi.h instead.’
Error: COMPILER_WARNING (CWE-195): [#def444]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/key.c: scope_hint: In function ‘InputHexSessionKey’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/key.c:224:19: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘PRUint32’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def445]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/key.c:229:23: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def446]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/key.c: scope_hint: In function ‘TKS_GenerateSessionKeyShare’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/key.c:974:23: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘PRIntn’ {aka ‘int’} and ‘PRUint32’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def447]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/key.c:979:27: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘PRIntn’ {aka ‘int’} and ‘unsigned int’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def448]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/key.c:1031:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘hexSessionKeyShare.data’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/key.c:912:7: branch_true: following ‘true’ branch...
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/key.c:913:9: branch_true: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/key.c:1031:7: danger: use of uninitialized value ‘hexSessionKeyShare.data’ here
Error: COMPILER_WARNING (CWE-457): [#def449]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/key.c: scope_hint: In function ‘TKS_GenerateSessionKeyShare’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/key.c:1031:7: warning[-Wmaybe-uninitialized]: ‘hexSessionKeyShare.data’ may be used uninitialized
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/key.c:896:18: note: ‘hexSessionKeyShare.data’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def450]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/key.c:1032:9: warning[-Wmaybe-uninitialized]: ‘hexSessionKeyShare.len’ may be used uninitialized
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/key.c:896:18: note: ‘hexSessionKeyShare.len’ was declared here
Error: COMPILER_WARNING: [#def451]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/key.c: scope_hint: In function ‘TKS_DetectKeyAlgorithm’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/key.c:1482:5: warning[-Wdeclaration-after-statement]: ISO C90 forbids mixed declarations and code
Error: COMPILER_WARNING (CWE-563): [#def452]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/list.c: scope_hint: In function ‘TKS_ListKeys’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/list.c:153:19: warning[-Wunused-parameter]: unused parameter ‘index’
Error: COMPILER_WARNING (CWE-563): [#def453]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/list.c:154:22: warning[-Wunused-parameter]: unused parameter ‘dopriv’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/secutil.h:51: included_from: Included from here.
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/pistool.h:58: included_from: Included from here.
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/modules.c:20: included_from: Included from here.
/usr/include/nss3/key.h:9:9: note: ‘#pragma message: key.h is deprecated. Please include keyhi.h instead.’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/secutil.h:51: included_from: Included from here.
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/pistool.h:58: included_from: Included from here.
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pistool.c:20: included_from: Included from here.
/usr/include/nss3/key.h:9:9: note: ‘#pragma message: key.h is deprecated. Please include keyhi.h instead.’
Error: COMPILER_WARNING (CWE-563): [#def454]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pistool.c:160:36: warning[-Wunused-but-set-variable]: variable ‘DBDir’ set but not used
Error: COMPILER_WARNING (CWE-704): [#def455]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pistool.c: scope_hint: In function ‘main’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pistool.c:161:66: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def456]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pistool.c:167:66: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-195): [#def457]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pistool.c:996:34: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘PRInt32’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def458]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pistool.c:1006:34: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘PRInt32’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def459]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pistool.c:1037:38: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘PRInt32’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def460]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pistool.c:1049:38: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘PRInt32’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING: [#def461]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pistool.c:1816:9: warning[-Wdeclaration-after-statement]: ISO C90 forbids mixed declarations and code
Error: COMPILER_WARNING (CWE-1023): [#def462]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pistool.c:1827:9: warning[-Wswitch]: enumeration value ‘KEY_ALG_UNKNOWN’ not handled in switch
Error: COMPILER_WARNING: [#def463]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pistool.c:2178:9: warning[-Wdeclaration-after-statement]: ISO C90 forbids mixed declarations and code
Error: COMPILER_WARNING (CWE-1023): [#def464]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pistool.c:2189:9: warning[-Wswitch]: enumeration value ‘KEY_ALG_UNKNOWN’ not handled in switch
Error: COMPILER_WARNING: [#def465]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pistool.c:2378:9: warning[-Wdeclaration-after-statement]: ISO C90 forbids mixed declarations and code
Error: COMPILER_WARNING (CWE-1023): [#def466]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pistool.c:2389:9: warning[-Wswitch]: enumeration value ‘KEY_ALG_UNKNOWN’ not handled in switch
Error: COMPILER_WARNING: [#def467]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pistool.c:2564:9: warning[-Wdeclaration-after-statement]: ISO C90 forbids mixed declarations and code
Error: COMPILER_WARNING: [#def468]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pistool.c:2698:9: warning[-Wdeclaration-after-statement]: ISO C90 forbids mixed declarations and code
Error: COMPILER_WARNING (CWE-195): [#def469]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pistool.c:2707:29: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘KeyAlgorithm’ and ‘int’
Error: COMPILER_WARNING (CWE-1023): [#def470]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pistool.c:2710:13: warning[-Wswitch]: enumeration value ‘KEY_ALG_UNKNOWN’ not handled in switch
Error: COMPILER_WARNING (CWE-704): [#def471]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pistool.c:2712:49: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def472]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pistool.c:2713:49: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-457): [#def473]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pistool.c:2716:13: warning[-Wmaybe-uninitialized]: ‘detectedAlgString’ may be used uninitialized
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pistool.c:2709:19: note: ‘detectedAlgString’ was declared here
Error: COMPILER_WARNING: [#def474]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pistool.c:2962:9: warning[-Wdeclaration-after-statement]: ISO C90 forbids mixed declarations and code
Error: COMPILER_WARNING (CWE-909): [#def475]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pppolicy.c:76:11: warning[-Wmissing-field-initializers]: missing initializer for field ‘sub’ of ‘SEC_ASN1Template’ {aka ‘const struct sec_ASN1Template_struct’}
/usr/include/nss3/secoid.h:18: included_from: Included from here.
/usr/include/nss3/secmodt.h:9: included_from: Included from here.
/usr/include/nss3/keythi.h:12: included_from: Included from here.
/usr/include/nss3/cert.h:21: included_from: Included from here.
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pppolicy.c:53: included_from: Included from here.
/usr/include/nss3/secasn1t.h:47:17: note: ‘sub’ declared here
Error: COMPILER_WARNING (CWE-909): [#def476]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pppolicy.c:78:11: warning[-Wmissing-field-initializers]: missing initializer for field ‘sub’ of ‘SEC_ASN1Template’ {aka ‘const struct sec_ASN1Template_struct’}
/usr/include/nss3/secasn1t.h:47:17: note: ‘sub’ declared here
Error: COMPILER_WARNING (CWE-909): [#def477]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pppolicy.c:86:11: warning[-Wmissing-field-initializers]: missing initializer for field ‘sub’ of ‘SEC_ASN1Template’ {aka ‘const struct sec_ASN1Template_struct’}
/usr/include/nss3/secasn1t.h:47:17: note: ‘sub’ declared here
Error: COMPILER_WARNING (CWE-909): [#def478]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pppolicy.c:89:11: warning[-Wmissing-field-initializers]: missing initializer for field ‘size’ of ‘SEC_ASN1Template’ {aka ‘const struct sec_ASN1Template_struct’}
/usr/include/nss3/secasn1t.h:55:18: note: ‘size’ declared here
Error: COMPILER_WARNING (CWE-563): [#def479]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pppolicy.c:181:37: warning[-Wunused-parameter]: unused parameter ‘msg’
Error: COMPILER_WARNING (CWE-704): [#def480]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pppolicy.c: scope_hint: In function ‘secu_PrintUserNoticeQualifier’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pppolicy.c:200:30: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintString’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/secutil.h:283:60: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def481]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pppolicy.c: scope_hint: In function ‘secu_PrintPolicyQualifier’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pppolicy.c:216:41: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintObjectID’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/secutil.h:200:68: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING: [#def482]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pppolicy.c: scope_hint: In function ‘secu_PrintPolicyQualifier’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pppolicy.c:224:11: warning[-Wimplicit-fallthrough=]: this statement may fall through
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pppolicy.c:227:4: note: here
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/secutil.h:51: included_from: Included from here.
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/pistool.h:58: included_from: Included from here.
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/random.c:20: included_from: Included from here.
/usr/include/nss3/key.h:9:9: note: ‘#pragma message: key.h is deprecated. Please include keyhi.h instead.’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/secutil.h:51: included_from: Included from here.
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/pistool.h:58: included_from: Included from here.
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/retrieve.c:20: included_from: Included from here.
/usr/include/nss3/key.h:9:9: note: ‘#pragma message: key.h is deprecated. Please include keyhi.h instead.’
Error: COMPILER_WARNING (CWE-704): [#def483]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pppolicy.c:229:44: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintAny’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/secutil.h:284:56: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-563): [#def484]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pppolicy.c:236:65: warning[-Wunused-parameter]: unused parameter ‘msg’
Error: COMPILER_WARNING (CWE-704): [#def485]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pppolicy.c: scope_hint: In function ‘secu_PrintPolicyInfo’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pppolicy.c:241:52: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintObjectID’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/secutil.h:200:68: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def486]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pppolicy.c:244:57: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘secu_PrintPolicyQualifier’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pppolicy.c:210:33: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def487]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pppolicy.c: scope_hint: In function ‘SECU_PrintPolicy’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pppolicy.c:263:35: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintAny’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/secutil.h:284:56: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def488]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pppolicy.c:269:47: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘secu_PrintPolicyInfo’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pppolicy.c:236:65: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def489]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pppolicy.c: scope_hint: In function ‘SECU_PrintPrivKeyUsagePeriodExtension’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pppolicy.c:292:57: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintGeneralizedTime’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/secutil.h:224:68: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def490]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/pppolicy.c:295:57: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintGeneralizedTime’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/secutil.h:224:68: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-758): [#def491]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secerror.c:74:1: warning[-Wmissing-prototypes]: no previous prototype for ‘SECU_Strerror’
Error: COMPILER_WARNING (CWE-252): [#def492]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secpwd.c: scope_hint: In function ‘SEC_GetPassword’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secpwd.c:69:21: warning[-Wunused-result]: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secpwd.c:117:9: note: in expansion of macro ‘QUIET_FGETS’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/secutil.h:51: included_from: Included from here.
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:60: included_from: Included from here.
/usr/include/nss3/key.h:9:9: note: ‘#pragma message: key.h is deprecated. Please include keyhi.h instead.’
Error: COMPILER_WARNING (CWE-758): [#def493]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:99:1: warning[-Wmissing-prototypes]: no previous prototype for ‘SECU_GetString’
Error: COMPILER_WARNING (CWE-758): [#def494]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:108:1: warning[-Wmissing-prototypes]: no previous prototype for ‘SECU_PrintErrMsg’
Error: COMPILER_WARNING: [#def495]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘SECU_PrintErrMsg’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:118:5: warning[-Wsuggest-attribute=format]: function ‘SECU_PrintErrMsg’ might be a candidate for ‘gnu_printf’ format attribute
Error: COMPILER_WARNING: [#def496]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘SECU_PrintError’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:137:5: warning[-Wsuggest-attribute=format]: function ‘SECU_PrintError’ might be a candidate for ‘gnu_printf’ format attribute
Error: COMPILER_WARNING: [#def497]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘SECU_PrintSystemError’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:153:5: warning[-Wsuggest-attribute=format]: function ‘SECU_PrintSystemError’ might be a candidate for ‘gnu_printf’ format attribute
Error: COMPILER_WARNING (CWE-563): [#def498]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘SECU_GetPasswordString’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:172:30: warning[-Wunused-parameter]: unused parameter ‘arg’
Error: CPPCHECK_WARNING (CWE-404): [#def499]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:188: error[resourceLeak]: Resource leak: input
Error: COMPILER_WARNING (CWE-563): [#def500]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘SECU_FilePasswd’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:221:31: warning[-Wunused-parameter]: unused parameter ‘slot’
Error: COMPILER_WARNING (CWE-704): [#def501]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘SECU_GetModulePassword’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:262:40: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-758): [#def502]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: At top level
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:307:1: warning[-Wmissing-prototypes]: no previous prototype for ‘secu_InitSlotPassword’
Error: CPPCHECK_WARNING (CWE-404): [#def503]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:342: error[resourceLeak]: Resource leak: input
Error: COMPILER_WARNING (CWE-704): [#def504]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘secu_InitSlotPassword’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:349:45: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SEC_GetPassword’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/secutil.h:123:57: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def505]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:354:45: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SEC_GetPassword’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/secutil.h:123:57: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-563): [#def506]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘SECU_ChangePW’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:374:15: warning[-Wunused-but-set-variable]: variable ‘rv’ set but not used
Error: COMPILER_WARNING (CWE-704): [#def507]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘SECU_ConfigDirectory’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:483:25: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-563): [#def508]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘SECU_GetClientAuthData’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:503:47: warning[-Wunused-parameter]: unused parameter ‘fd’
Error: COMPILER_WARNING (CWE-563): [#def509]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:504:49: warning[-Wunused-parameter]: unused parameter ‘caNames’
Error: COMPILER_WARNING (CWE-758): [#def510]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: At top level
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:544:1: warning[-Wmissing-prototypes]: no previous prototype for ‘secu_StdinToItem’
Error: COMPILER_WARNING (CWE-758): [#def511]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:875:1: warning[-Wmissing-prototypes]: no previous prototype for ‘SECU_StripTagAndLength’
Error: COMPILER_WARNING (CWE-758): [#def512]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1075:1: warning[-Wmissing-prototypes]: no previous prototype for ‘SECU_PrintSet’
Error: COMPILER_WARNING (CWE-758): [#def513]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1207:1: warning[-Wmissing-prototypes]: no previous prototype for ‘SECU_PrintEncodedBoolean’
Error: COMPILER_WARNING (CWE-758): [#def514]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1216:1: warning[-Wmissing-prototypes]: no previous prototype for ‘SECU_PrintEncodedInteger’
Error: COMPILER_WARNING (CWE-758): [#def515]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1225:1: warning[-Wmissing-prototypes]: no previous prototype for ‘SECU_PrintEncodedObjectID’
Error: COMPILER_WARNING (CWE-704): [#def516]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘secu_PrintValidity’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1379:46: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintTimeChoice’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1055:51: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def517]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1380:46: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintTimeChoice’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1055:51: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def518]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘secu_PrintAttribute’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1445:44: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintObjectID’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1386:51: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def519]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘secu_PrintRSAPublicKey’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1474:48: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintInteger’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def520]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1475:55: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintInteger’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def521]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘secu_PrintDSAPublicKey’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1486:53: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintInteger’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def522]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1487:56: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintInteger’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def523]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1488:52: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintInteger’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def524]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1489:52: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintInteger’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-563): [#def525]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1513:56: warning[-Wunused-parameter]: unused parameter ‘arena’
Error: COMPILER_WARNING (CWE-704): [#def526]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘secu_PrintSubjectPublicKeyInfo’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1519:47: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintAlgorithmID’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1416:59: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def527]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1525:45: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘secu_PrintRSAPublicKey’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1470:62: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def528]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1529:45: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘secu_PrintDSAPublicKey’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1483:62: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def529]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1551:38: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintErrMsg’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:108:46: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def530]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1551:47: warning[-Wdiscarded-qualifiers]: passing argument 4 of ‘SECU_PrintErrMsg’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:108:62: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def531]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1554:54: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintAny’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def532]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘secu_PrintX509InvalidDate’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1575:43: warning[-Wdiscarded-qualifiers]: passing argument 2 of ‘CERT_GenTime2FormattedAscii’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/secutil.h:54: included_from: Included from here.
/usr/include/nss3/secder.h:158:64: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def533]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘secu_PrintNSCertType’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1649:35: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintAny’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-563): [#def534]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1688:57: warning[-Wunused-parameter]: unused parameter ‘msg’
Error: COMPILER_WARNING (CWE-704): [#def535]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘secu_PrintX509KeyUsage’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1698:35: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintAny’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def536]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘secu_PrintGeneralName’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1766:60: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintAny’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def537]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1767:60: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintObjectID’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1386:51: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def538]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1770:57: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintName’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/secutil.h:293:61: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def539]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1773:57: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘secu_PrintRawString’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:922:51: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def540]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1776:57: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘secu_PrintRawString’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:922:51: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def541]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1779:57: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘secu_PrintRawString’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:922:51: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def542]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1782:54: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘secu_PrintIPAddress’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1723:54: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def543]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1785:54: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintObjectID’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1386:51: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def544]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1788:54: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintAny’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def545]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1791:54: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintAny’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-563): [#def546]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1802:63: warning[-Wunused-parameter]: unused parameter ‘msg’
Error: COMPILER_WARNING (CWE-704): [#def547]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘secu_PrintAuthKeyIDExtension’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1808:25: warning[-Wdiscarded-qualifiers]: passing argument 1 of ‘SECU_PrintError’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:128:23: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def548]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1808:34: warning[-Wdiscarded-qualifiers]: passing argument 2 of ‘SECU_PrintError’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:128:39: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def549]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1813:38: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintErrMsg’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:108:46: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def550]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1813:47: warning[-Wdiscarded-qualifiers]: passing argument 4 of ‘SECU_PrintErrMsg’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:108:62: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def551]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1814:35: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintAny’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def552]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1832:61: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘secu_PrintGeneralName’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1758:64: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def553]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1835:29: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintInteger’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def554]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘secu_PrintAltNameExtension’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1849:25: warning[-Wdiscarded-qualifiers]: passing argument 1 of ‘SECU_PrintError’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:128:23: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def555]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1849:34: warning[-Wdiscarded-qualifiers]: passing argument 2 of ‘SECU_PrintError’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:128:39: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def556]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1858:38: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintErrMsg’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:108:46: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def557]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1858:47: warning[-Wdiscarded-qualifiers]: passing argument 4 of ‘SECU_PrintErrMsg’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:108:62: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def558]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1859:35: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintAny’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-563): [#def559]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1870:64: warning[-Wunused-parameter]: unused parameter ‘msg’
Error: COMPILER_WARNING (CWE-704): [#def560]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘secu_PrintCRLDistPtsExtension’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1876:25: warning[-Wdiscarded-qualifiers]: passing argument 1 of ‘SECU_PrintError’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:128:23: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def561]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1876:34: warning[-Wdiscarded-qualifiers]: passing argument 2 of ‘SECU_PrintError’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:128:39: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def562]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1893:59: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintAny’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def563]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1896:67: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘secu_PrintDecodedBitString’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1188:57: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def564]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1900:63: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘secu_PrintGeneralName’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1758:64: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def565]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1904:38: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintErrMsg’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:108:46: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def566]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1904:47: warning[-Wdiscarded-qualifiers]: passing argument 4 of ‘SECU_PrintErrMsg’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:108:62: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def567]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1905:35: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintAny’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def568]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘secu_PrintNameConstraintSubtree’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1921:49: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintInteger’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def569]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1923:49: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintInteger’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-563): [#def570]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1929:69: warning[-Wunused-parameter]: unused parameter ‘msg’
Error: COMPILER_WARNING (CWE-704): [#def571]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘secu_PrintNameConstraintsExtension’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1935:25: warning[-Wdiscarded-qualifiers]: passing argument 1 of ‘SECU_PrintError’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:128:23: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def572]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1935:34: warning[-Wdiscarded-qualifiers]: passing argument 2 of ‘SECU_PrintError’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:128:39: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def573]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1940:38: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintErrMsg’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:108:46: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def574]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1940:47: warning[-Wdiscarded-qualifiers]: passing argument 4 of ‘SECU_PrintErrMsg’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:108:62: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def575]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1941:35: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintAny’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def576]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1945:45: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘secu_PrintNameConstraintSubtree’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1913:39: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def577]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1948:45: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘secu_PrintNameConstraintSubtree’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1913:39: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-563): [#def578]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1955:63: warning[-Wunused-parameter]: unused parameter ‘msg’
Error: COMPILER_WARNING (CWE-704): [#def579]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘secu_PrintAuthorityInfoAcess’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1961:25: warning[-Wdiscarded-qualifiers]: passing argument 1 of ‘SECU_PrintError’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:128:23: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def580]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1961:34: warning[-Wdiscarded-qualifiers]: passing argument 2 of ‘SECU_PrintError’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:128:39: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def581]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1966:38: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintErrMsg’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:108:46: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def582]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1966:47: warning[-Wdiscarded-qualifiers]: passing argument 4 of ‘SECU_PrintErrMsg’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:108:62: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def583]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1967:35: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintAny’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def584]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1972:56: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintObjectID’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1386:51: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def585]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1978:60: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘secu_PrintGeneralName’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1758:64: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def586]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1980:56: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintAny’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def587]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘SECU_PrintExtensions’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2003:46: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintObjectID’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1386:51: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def588]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2016:60: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘secu_PrintX509InvalidDate’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1560:60: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def589]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2019:51: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintPolicy’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/secutil.h:286:63: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def590]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2031:51: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintString’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:954:48: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def591]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2034:51: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintString’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:954:48: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def592]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2037:51: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintString’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:954:48: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def593]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2040:54: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘secu_PrintNSCertType’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1639:55: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def594]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2043:60: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘secu_PrintBasicConstraints’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1604:61: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def595]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2108:49: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintAny’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def596]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘SECU_PrintName’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2128:13: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-477): [#def597]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘printflags’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2149:5: warning[-Wdeprecated-declarations]: ‘__CERTDB_VALID_PEER’ is deprecated: CERTDB_VALID_PEER is now CERTDB_TERMINAL_RECORD
Error: COMPILER_WARNING (CWE-477): [#def598]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2149:5: warning[-Wdeprecated-declarations]: ‘__CERTDB_VALID_PEER’ is deprecated: CERTDB_VALID_PEER is now CERTDB_TERMINAL_RECORD
Error: COMPILER_WARNING (CWE-704): [#def599]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘SECU_PrintCertNickname’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2192:14: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-758): [#def600]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: At top level
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2211:1: warning[-Wmissing-prototypes]: no previous prototype for ‘SECU_DecodeAndPrintExtensions’
Error: COMPILER_WARNING (CWE-758): [#def601]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2232:1: warning[-Wmissing-prototypes]: no previous prototype for ‘SECU_PrintSetOfExtensions’
Error: COMPILER_WARNING (CWE-704): [#def602]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘SECU_PrintSetOfExtensions’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2239:58: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_DecodeAndPrintExtensions’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2211:62: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-758): [#def603]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: At top level
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2247:1: warning[-Wmissing-prototypes]: no previous prototype for ‘SECU_PrintSetOfAny’
Error: COMPILER_WARNING (CWE-704): [#def604]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘SECU_PrintSetOfAny’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2254:36: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintAny’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-758): [#def605]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: At top level
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2261:1: warning[-Wmissing-prototypes]: no previous prototype for ‘SECU_PrintCertAttribute’
Error: COMPILER_WARNING (CWE-563): [#def606]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2261:63: warning[-Wunused-parameter]: unused parameter ‘m’
Error: COMPILER_WARNING (CWE-704): [#def607]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘SECU_PrintCertAttribute’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2265:52: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintObjectID’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1386:51: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def608]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2267:62: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintSetOfExtensions’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2232:59: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def609]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2269:55: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintSetOfAny’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2247:52: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-758): [#def610]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: At top level
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2275:1: warning[-Wmissing-prototypes]: no previous prototype for ‘SECU_PrintCertAttributes’
Error: COMPILER_WARNING (CWE-704): [#def611]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘SECU_PrintCertificateRequest’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2307:42: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintInteger’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def612]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2308:39: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintName’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2120:49: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def613]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2310:31: warning[-Wdiscarded-qualifiers]: passing argument 4 of ‘secu_PrintSubjectPublicKeyInfo’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1514:60: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def614]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2312:55: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintCertAttributes’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2275:66: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def615]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘SECU_PrintCertificate’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2339:38: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintErrMsg’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:108:46: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def616]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2339:47: warning[-Wdiscarded-qualifiers]: passing argument 4 of ‘SECU_PrintErrMsg’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:108:62: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def617]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2340:33: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintAny’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1358:44: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def618]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2348:46: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintInteger’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def619]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2349:47: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintAlgorithmID’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1416:59: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def620]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2350:37: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintName’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2120:49: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def621]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2351:43: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘secu_PrintValidity’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1376:54: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def622]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2352:38: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintName’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2120:49: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def623]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2354:31: warning[-Wdiscarded-qualifiers]: passing argument 4 of ‘secu_PrintSubjectPublicKeyInfo’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1514:60: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def624]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2356:55: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘secu_PrintDecodedBitString’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1188:57: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def625]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2358:56: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘secu_PrintDecodedBitString’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1188:57: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def626]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2359:46: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintExtensions’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1990:28: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def627]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘secu_PrintPKCS7EncContent’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2482:27: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintAlgorithmID’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1416:59: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def628]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘secu_PrintRecipientInfo’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2496:46: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintInteger’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def629]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2498:55: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintName’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2120:49: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def630]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2501:23: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintInteger’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def631]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2505:25: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintAlgorithmID’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1416:59: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def632]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘secu_PrintSignerInfo’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2521:46: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintInteger’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def633]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2523:55: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintName’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2120:49: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def634]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2526:23: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintInteger’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def635]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2528:52: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintAlgorithmID’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1416:59: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def636]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2543:25: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintAlgorithmID’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1416:59: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def637]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘SECU_PrintCRLInfo’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2574:54: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintAlgorithmID’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1416:59: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def638]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2576:39: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintName’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2120:49: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def639]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2577:51: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintTimeChoice’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1055:51: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def640]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2579:55: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintTimeChoice’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1055:51: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def641]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2586:60: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintInteger’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def642]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2589:34: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintTimeChoice’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1055:51: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def643]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2591:34: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintExtensions’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1990:28: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def644]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2594:48: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintExtensions’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1990:28: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def645]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘secu_PrintPKCS7Signed’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2613:45: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintInteger’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def646]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2627:37: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘secu_PrintPKCS7ContentInfo’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2462:60: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def647]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2653:35: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintAlgorithmID’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1416:59: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def648]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2657:48: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintCRLInfo’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2563:50: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def649]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘secu_PrintPKCS7Enveloped’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2689:45: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintInteger’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def650]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2703:31: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘secu_PrintPKCS7EncContent’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2470:33: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def651]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘secu_PrintPKCS7SignedAndEnveloped’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2724:45: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintInteger’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def652]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2748:31: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘secu_PrintPKCS7EncContent’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2470:33: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def653]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2772:35: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintAlgorithmID’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1416:59: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def654]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2776:48: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintCRLInfo’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2563:50: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def655]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘secu_PrintPKCS7Encrypted’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2829:45: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintInteger’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def656]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2832:31: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘secu_PrintPKCS7EncContent’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2470:33: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def657]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘secu_PrintPKCS7Digested’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2844:45: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintInteger’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:897:48: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def658]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2846:49: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintAlgorithmID’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1416:59: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def659]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2848:56: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘secu_PrintPKCS7ContentInfo’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2462:60: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-758): [#def660]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: At top level
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2946:1: warning[-Wmissing-prototypes]: no previous prototype for ‘printFlags’
Error: COMPILER_WARNING (CWE-477): [#def661]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘printFlags’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2948:5: warning[-Wdeprecated-declarations]: ‘__CERTDB_VALID_PEER’ is deprecated: CERTDB_VALID_PEER is now CERTDB_TERMINAL_RECORD
Error: COMPILER_WARNING (CWE-477): [#def662]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2948:5: warning[-Wdeprecated-declarations]: ‘__CERTDB_VALID_PEER’ is deprecated: CERTDB_VALID_PEER is now CERTDB_TERMINAL_RECORD
Error: COMPILER_WARNING (CWE-704): [#def663]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘SECU_PrintSignedData’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:3010:35: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘inner’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:3010:35: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def664]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:3012:57: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintAlgorithmID’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:1416:59: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def665]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:3016:38: warning[-Wdiscarded-qualifiers]: passing argument 3 of ‘SECU_PrintFingerprints’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:2416:59: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-563): [#def666]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘SECU_ParseCommandLine’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:3024:52: warning[-Wunused-parameter]: unused parameter ‘progName’
Error: CPPCHECK_WARNING (CWE-476): [#def667]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:3036: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: optstring
Error: CPPCHECK_WARNING (CWE-476): [#def668]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:3039: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: optstring
Error: CPPCHECK_WARNING (CWE-476): [#def669]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:3043: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: optstring
Error: COMPILER_WARNING (CWE-195): [#def670]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘SECU_PrintPRandOSError’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:3224:30: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘PRInt32’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-704): [#def671]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:3227:31: warning[-Wdiscarded-qualifiers]: passing argument 2 of ‘SECU_PrintError’ discards ‘const’ qualifier from pointer target type
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:128:39: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-195): [#def672]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:3228:30: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘PRInt32’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-704): [#def673]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘SECU_printCertProblems’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:3288:25: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def674]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:3288:25: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING: [#def675]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘SECU_printCertProblems’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:3289:17: warning[-Wimplicit-fallthrough=]: this statement may fall through
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:3303:13: note: here
Error: COMPILER_WARNING (CWE-704): [#def676]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:3291:28: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def677]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:3294:28: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def678]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:3297:28: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def679]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:3300:28: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def680]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:3304:25: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def681]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:3304:25: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING: [#def682]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:3305:17: warning[-Wimplicit-fallthrough=]: this statement may fall through
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:3329:13: note: here
Error: COMPILER_WARNING (CWE-704): [#def683]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:3308:28: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def684]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:3311:28: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def685]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:3314:28: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def686]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:3317:28: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def687]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:3320:28: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def688]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:3323:28: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def689]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:3326:28: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-195): [#def690]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘SECU_StoreCRL’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:3388:62: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘PRInt32’ {aka ‘int’} and ‘unsigned int’
Error: COMPILER_WARNING (CWE-805): [#def691]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘SECU_DerSignDataCRL’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:3544:30: warning[-Wsizeof-pointer-memaccess]: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to dereference it?
Error: COMPILER_WARNING (CWE-563): [#def692]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c: scope_hint: In function ‘SECU_FindCrlIssuer’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/secutil.c:3604:35: warning[-Wunused-parameter]: unused parameter ‘authorityKeyID’
Error: COMPILER_WARNING (CWE-252): [#def693]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/util.c: scope_hint: In function ‘TKS_ClearScreen’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/util.c:351:5: warning[-Wunused-result]: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/secutil.h:51: included_from: Included from here.
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/pistool.h:58: included_from: Included from here.
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/version.c:20: included_from: Included from here.
/usr/include/nss3/key.h:9:9: note: ‘#pragma message: key.h is deprecated. Please include keyhi.h instead.’
Error: COMPILER_WARNING (CWE-563): [#def694]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/util.c:383:20: warning[-Wunused-but-set-variable]: variable ‘rv’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def695]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/util.c:385:20: warning[-Wunused-but-set-variable]: variable ‘orig_cc_min’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def696]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/util.c:386:20: warning[-Wunused-but-set-variable]: variable ‘orig_cc_time’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def697]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/util.c:387:20: warning[-Wunused-but-set-variable]: variable ‘orig_lflag’ set but not used
Error: COMPILER_WARNING: [#def698]
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/util.c: scope_hint: In function ‘TKS_TypeProceedToContinue’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/util.c:390:60: warning[-Wunterminated-string-initialization]: initializer-string for array of ‘char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (10 chars into 9 available)
Error: COMPILER_WARNING (CWE-563): [#def699]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/b64.c: scope_hint: In function ‘ldif_base64_encode_internal’
pki-11.8.0-beta6/base/tools/src/main/native/setpin/b64.c:38:21: warning[-Wunused-but-set-variable]: variable ‘len’ set but not used
Error: COMPILER_WARNING (CWE-758): [#def700]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/b64.c: scope_hint: At top level
pki-11.8.0-beta6/base/tools/src/main/native/setpin/b64.c:98:1: warning[-Wmissing-prototypes]: no previous prototype for ‘ldif_base64_encode’
Error: CPPCHECK_WARNING (CWE-476): [#def701]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:103: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: arg
Error: GCC_ANALYZER_WARNING (CWE-688): [#def702]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:103:8: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘arg’ where non-null expected
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:166:8: enter_function: entry to ‘OPT_parseOptions’
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:170:3: branch_true: following ‘true’ branch...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:171:3: branch_true: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:171:3: branch_true: following ‘true’ branch...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:172:3: branch_true: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:172:3: branch_true: following ‘true’ branch (when ‘av’ is non-NULL)...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:174:6: branch_true: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:174:6: branch_false: following ‘false’ branch (when ‘ac != 1’)...
branch_false: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:176:13: branch_true: following ‘true’ branch...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:177:30: branch_true: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:177:9: call_function: calling ‘OPT_parseArgument’ from ‘OPT_parseOptions’
Error: COMPILER_WARNING (CWE-704): [#def703]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c: scope_hint: In function ‘OPT_parseArgument’
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:104:13: warning[-Wdiscarded-qualifiers]: return discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def704]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:104:13: warning[-Wdiscarded-qualifiers]: return discards ‘const’ qualifier from pointer target type
Error: CPPCHECK_WARNING (CWE-476): [#def705]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:109: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_opt
Error: GCC_ANALYZER_WARNING (CWE-476): [#def706]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:109:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘new_opt’
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:107:22: acquire_memory: this call could return NULL
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:109:3: danger: ‘new_opt’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def707]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:110: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: arg
Error: CPPCHECK_WARNING (CWE-476): [#def708]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:110: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_opt
Error: CPPCHECK_WARNING (CWE-476): [#def709]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:111: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_opt
Error: GCC_ANALYZER_WARNING (CWE-688): [#def710]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:111:8: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘strdup(arg)’ where non-null expected
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:110:19: acquire_memory: this call could return NULL
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:111:8: danger: argument 1 (‘strdup(arg)’) from [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: CPPCHECK_WARNING (CWE-476): [#def711]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:115: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_opt
Error: CPPCHECK_WARNING (CWE-476): [#def712]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:118: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_opt
Error: GCC_ANALYZER_WARNING (CWE-401): [#def713]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:122:7: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(&buffer)’
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:166:8: enter_function: entry to ‘OPT_parseOptions’
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:170:3: branch_true: following ‘true’ branch...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:171:3: branch_true: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:171:3: branch_true: following ‘true’ branch...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:172:3: branch_true: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:172:3: branch_true: following ‘true’ branch (when ‘av’ is non-NULL)...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:174:6: branch_true: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:174:6: branch_false: following ‘false’ branch (when ‘ac != 1’)...
branch_false: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:176:13: branch_true: following ‘true’ branch...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:177:30: branch_true: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:177:9: call_function: calling ‘OPT_parseArgument’ from ‘OPT_parseOptions’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def714]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:144:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘error’ where non-null expected
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:112:6: branch_false: following ‘false’ branch (when ‘eq’ is NULL)...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:115:20: branch_false: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:118:6: branch_false: following ‘false’ branch...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:122:7: branch_false: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:130:6: branch_false: following ‘false’ branch (when ‘validlist’ is non-NULL)...
branch_false: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:143:19: acquire_memory: this call could return NULL
pki-11.8.0-beta6/base/tools/src/main/native/setpin/options.c:144:3: danger: argument 1 (‘error’) from [(9)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/8) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def715]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:117:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘errbuf’ where non-null expected
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:1056:6: enter_function: entry to ‘initrandom’
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:1068:9: call_function: calling ‘exitError’ from ‘initrandom’
Error: COMPILER_WARNING (CWE-758): [#def716]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:138:8: warning[-Wmissing-prototypes]: no previous prototype for ‘trim_strdup’
Error: COMPILER_WARNING (CWE-758): [#def717]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:147:6: warning[-Wmissing-prototypes]: no previous prototype for ‘readInputFile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def718]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:204:34: warning[-Wanalyzer-malloc-leak]: leak of ‘thepin’
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:147:6: enter_function: entry to ‘readInputFile’
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:174:20: branch_false: following ‘false’ branch...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:181:22: branch_false: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:183:20: branch_true: following ‘true’ branch...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:184:29: branch_true: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:184:29: call_function: calling ‘trim_strdup’ from ‘readInputFile’
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:184:29: return_function: returning to ‘readInputFile’ from ‘trim_strdup’
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:185:24: branch_false: following ‘false’ branch...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:190:23: branch_false: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:198:16: branch_true: following ‘true’ branch (when ‘thepin’ is NULL)...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:199:26: branch_true: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:199:26: acquire_memory: allocated here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:202:16: branch_true: following ‘true’ branch...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:204:34: branch_true: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:204:34: danger: ‘thepin’ leaks here; was allocated at [(15)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def719]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:213:16: warning[-Wanalyzer-malloc-leak]: leak of ‘thepin’
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:147:6: enter_function: entry to ‘readInputFile’
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:174:20: branch_false: following ‘false’ branch...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:181:22: branch_false: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:183:20: branch_true: following ‘true’ branch...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:184:29: branch_true: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:184:29: call_function: calling ‘trim_strdup’ from ‘readInputFile’
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:184:29: return_function: returning to ‘readInputFile’ from ‘trim_strdup’
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:185:24: branch_false: following ‘false’ branch...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:190:23: branch_false: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:198:16: branch_true: following ‘true’ branch (when ‘thepin’ is NULL)...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:199:26: branch_true: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:199:26: acquire_memory: allocated here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:202:16: branch_true: following ‘true’ branch...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:204:34: branch_true: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:205:19: branch_false: following ‘false’ branch...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:213:16: branch_false: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:213:16: danger: ‘thepin’ leaks here; was allocated at [(15)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/14)
Error: COMPILER_WARNING (CWE-704): [#def720]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c: scope_hint: In function ‘do_setup’
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:384:20: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def721]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:408:20: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def722]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:439:22: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def723]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:442:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def724]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:445:22: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def725]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:448:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def726]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:454:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def727]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:457:22: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def728]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:460:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def729]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:506:20: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-681): [#def730]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c: scope_hint: In function ‘sha256_pw_enc’
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:544:38: warning[-Wpointer-sign]: pointer targets in passing argument 3 of ‘PK11_HashBuf’ differ in signedness
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:70:52: note: expected ‘const unsigned char *’ but argument is of type ‘char *’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def731]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:547:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘enc’ where non-null expected
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:545:11: acquire_memory: this call could return NULL
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:547:5: danger: argument 1 (‘enc’) from [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def732]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:549:11: warning[-Wanalyzer-malloc-leak]: leak of ‘enc’
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:545:11: acquire_memory: allocated here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:549:11: danger: ‘enc’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-758): [#def733]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c: scope_hint: At top level
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:557:5: warning[-Wmissing-prototypes]: no previous prototype for ‘isstring’
Error: COMPILER_WARNING: [#def734]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c: scope_hint: In function ‘doLDAPBind’
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:609:5: warning[-Wdeclaration-after-statement]: ISO C90 forbids mixed declarations and code
Error: COMPILER_WARNING (CWE-563): [#def735]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:663:9: warning[-Wunused-but-set-variable]: variable ‘change’ set but not used
Error: COMPILER_WARNING (CWE-704): [#def736]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c: scope_hint: In function ‘processSearchResults’
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:732:29: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def737]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:808:34: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-401): [#def738]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:876:26: warning[-Wanalyzer-malloc-leak]: leak of ‘hashbuf_source’
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:689:42: branch_true: following ‘true’ branch (when ‘e’ is non-NULL)...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:694:20: branch_true: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:694:12: branch_true: following ‘true’ branch...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:695:13: branch_true: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:696:16: branch_true: following ‘true’ branch...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:697:45: branch_true: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:698:20: branch_true: following ‘true’ branch...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:699:21: branch_true: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:801:12: branch_true: following ‘true’ branch (when ‘pin_objectclass_exists == 0’)...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:802:17: branch_true: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:813:16: branch_false: following ‘false’ branch...
branch_false: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:825:12: branch_false: following ‘false’ branch...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:828:13: branch_false: following ‘false’ branch...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:834:13: branch_false: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:834:12: branch_true: following ‘true’ branch...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:838:17: branch_true: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:841:16: branch_true: following ‘true’ branch (when ‘saltval’ is NULL)...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:842:21: branch_true: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:842:20: branch_false: following ‘false’ branch...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:846:21: branch_false: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:853:17: acquire_memory: allocated here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:854:16: branch_false: following ‘false’ branch (when ‘hashbuf_source’ is non-NULL)...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:858:13: branch_false: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:876:26: danger: ‘hashbuf_source’ leaks here; was allocated at [(23)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/22)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def739]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:897:17: warning[-Wanalyzer-malloc-leak]: leak of ‘hashbuf_source’
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:689:42: branch_true: following ‘true’ branch (when ‘e’ is non-NULL)...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:694:20: branch_true: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:694:12: branch_true: following ‘true’ branch...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:695:13: branch_true: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:696:16: branch_true: following ‘true’ branch...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:697:45: branch_true: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:698:20: branch_true: following ‘true’ branch...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:699:21: branch_true: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:801:12: branch_true: following ‘true’ branch (when ‘pin_objectclass_exists == 0’)...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:802:17: branch_true: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:813:16: branch_false: following ‘false’ branch...
branch_false: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:825:12: branch_false: following ‘false’ branch...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:828:13: branch_false: following ‘false’ branch...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:834:13: branch_false: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:834:12: branch_true: following ‘true’ branch...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:838:17: branch_true: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:841:16: branch_true: following ‘true’ branch (when ‘saltval’ is NULL)...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:842:21: branch_true: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:842:20: branch_false: following ‘false’ branch...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:846:21: branch_false: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:853:17: acquire_memory: allocated here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:854:16: branch_false: following ‘false’ branch (when ‘hashbuf_source’ is non-NULL)...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:858:13: branch_false: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:896:16: branch_true: following ‘true’ branch (when ‘status != 0’)...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:897:17: branch_true: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:897:17: danger: ‘hashbuf_source’ leaks here; was allocated at [(23)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/22)
Error: COMPILER_WARNING (CWE-704): [#def740]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:959:46: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def741]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:959:46: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-758): [#def742]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c: scope_hint: At top level
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:1015:6: warning[-Wmissing-prototypes]: no previous prototype for ‘buildCharpool’
Error: CPPCHECK_WARNING (CWE-476): [#def743]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:1019: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: charpool
Error: GCC_ANALYZER_WARNING (CWE-476): [#def744]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:1019:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘charpool’
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:1017:24: acquire_memory: this call could return NULL
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:1019:5: danger: ‘malloc(256)’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-758): [#def745]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:1077:16: warning[-Wmissing-prototypes]: no previous prototype for ‘getRandomShort’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def746]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:1080:5: warning[-Wanalyzer-malloc-leak]: leak of ‘totals’
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:1171:6: enter_function: entry to ‘testpingen’
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:1180:8: branch_false: following ‘false’ branch...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:1184:9: branch_false: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:1184:8: branch_false: following ‘false’ branch...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:1189:33: branch_false: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:1189:14: acquire_memory: allocated here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:1190:8: branch_true: following ‘true’ branch (when ‘totals’ is non-NULL)...
branch_true: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:1195:18: branch_true: following ‘true’ branch (when ‘i != 256’)...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:1196:13: branch_true: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:1202:18: branch_true: following ‘true’ branch (when ‘count > i’)...
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:1203:18: branch_true: ...to here
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:1203:18: call_function: calling ‘newPassword’ from ‘testpingen’
Error: COMPILER_WARNING (CWE-758): [#def747]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin.c:1119:16: warning[-Wmissing-prototypes]: no previous prototype for ‘getRandomInRange’
Error: COMPILER_WARNING (CWE-758): [#def748]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin_options.c:82:6: warning[-Wmissing-prototypes]: no previous prototype for ‘setDefaultOptions’
Error: COMPILER_WARNING (CWE-704): [#def749]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin_options.c: scope_hint: In function ‘setDefaultOptions’
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin_options.c:83:10: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def750]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin_options.c:96:7: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def751]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin_options.c:98:13: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def752]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin_options.c:99:8: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def753]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin_options.c:100:15: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def754]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin_options.c:102:9: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-758): [#def755]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin_options.c: scope_hint: At top level
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin_options.c:114:6: warning[-Wmissing-prototypes]: no previous prototype for ‘getOptions’
Error: COMPILER_WARNING (CWE-704): [#def756]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin_options.c: scope_hint: In function ‘getOptions’
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin_options.c:128:18: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def757]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin_options.c:159:15: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def758]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin_options.c:163:20: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def759]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin_options.c:165:20: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def760]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin_options.c:170:30: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-758): [#def761]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin_options.c: scope_hint: At top level
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin_options.c:181:5: warning[-Wmissing-prototypes]: no previous prototype for ‘equals’
Error: COMPILER_WARNING (CWE-758): [#def762]
pki-11.8.0-beta6/base/tools/src/main/native/setpin/setpin_options.c:185:6: warning[-Wmissing-prototypes]: no previous prototype for ‘validateOptions’
Error: COMPILER_WARNING (CWE-563): [#def763]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/file.c: scope_hint: In function ‘TKS_ReadInputFileIntoSECItem’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/file.c:26:40: warning[-Wunused-parameter]: unused parameter ‘wrappedKeyName’
Error: COMPILER_WARNING (CWE-563): [#def764]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/file.c: scope_hint: In function ‘TKS_WriteSECItemIntoOutputFile’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/file.c:318:42: warning[-Wunused-parameter]: unused parameter ‘wrappedKeyName’
Error: COMPILER_WARNING (CWE-563): [#def765]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/help.c: scope_hint: In function ‘TKS_PrintHelp’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/help.c:86:22: warning[-Wunused-parameter]: unused parameter ‘progName’
Error: COMPILER_WARNING (CWE-195): [#def766]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/key.c: scope_hint: In function ‘InputHexSessionKey’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/key.c:229:19: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘PRUint32’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def767]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/key.c:234:23: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def768]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/key.c: scope_hint: In function ‘TKS_GenerateSessionKeyShare’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/key.c:904:23: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘PRIntn’ {aka ‘int’} and ‘PRUint32’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def769]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/key.c:909:27: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘PRIntn’ {aka ‘int’} and ‘unsigned int’
Error: COMPILER_WARNING (CWE-563): [#def770]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/key.c:1077:44: warning[-Wunused-parameter]: unused parameter ‘mechanism’
Error: COMPILER_WARNING (CWE-563): [#def771]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/key.c:1078:44: warning[-Wunused-parameter]: unused parameter ‘operation’
Error: COMPILER_WARNING (CWE-694): [#def772]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/key.c: scope_hint: In function ‘TKS_ImportSymmetricKey’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/key.c:1080:44: warning[-Wshadow]: declaration of ‘pwdata’ shadows a global declaration
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/key.c:22:15: note: shadowed declaration is here
Error: COMPILER_WARNING (CWE-563): [#def773]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/key.c:1080:44: warning[-Wunused-parameter]: unused parameter ‘pwdata’
Error: COMPILER_WARNING (CWE-563): [#def774]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/key.c:1082:17: warning[-Wunused-variable]: unused variable ‘origin’
Error: COMPILER_WARNING (CWE-563): [#def775]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/list.c: scope_hint: In function ‘TKS_ListKeys’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/list.c:132:19: warning[-Wunused-parameter]: unused parameter ‘index’
Error: COMPILER_WARNING (CWE-563): [#def776]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/list.c:133:22: warning[-Wunused-parameter]: unused parameter ‘dopriv’
Error: COMPILER_WARNING (CWE-909): [#def777]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/pppolicy.c:76:11: warning[-Wmissing-field-initializers]: missing initializer for field ‘sub’ of ‘SEC_ASN1Template’ {aka ‘const struct sec_ASN1Template_struct’}
/usr/include/nss3/secoid.h:18: included_from: Included from here.
/usr/include/nss3/secmodt.h:9: included_from: Included from here.
/usr/include/nss3/keythi.h:12: included_from: Included from here.
/usr/include/nss3/cert.h:21: included_from: Included from here.
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/pppolicy.c:53: included_from: Included from here.
/usr/include/nss3/secasn1t.h:47:17: note: ‘sub’ declared here
Error: COMPILER_WARNING (CWE-909): [#def778]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/pppolicy.c:78:11: warning[-Wmissing-field-initializers]: missing initializer for field ‘sub’ of ‘SEC_ASN1Template’ {aka ‘const struct sec_ASN1Template_struct’}
/usr/include/nss3/secasn1t.h:47:17: note: ‘sub’ declared here
Error: COMPILER_WARNING (CWE-909): [#def779]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/pppolicy.c:86:11: warning[-Wmissing-field-initializers]: missing initializer for field ‘sub’ of ‘SEC_ASN1Template’ {aka ‘const struct sec_ASN1Template_struct’}
/usr/include/nss3/secasn1t.h:47:17: note: ‘sub’ declared here
Error: COMPILER_WARNING (CWE-909): [#def780]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/pppolicy.c:89:11: warning[-Wmissing-field-initializers]: missing initializer for field ‘size’ of ‘SEC_ASN1Template’ {aka ‘const struct sec_ASN1Template_struct’}
/usr/include/nss3/secasn1t.h:55:18: note: ‘size’ declared here
Error: COMPILER_WARNING (CWE-563): [#def781]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/pppolicy.c: scope_hint: In function ‘secu_PrintUserNoticeQualifier’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/pppolicy.c:181:43: warning[-Wunused-parameter]: unused parameter ‘msg’
Error: COMPILER_WARNING: [#def782]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/pppolicy.c: scope_hint: In function ‘secu_PrintPolicyQualifier’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/pppolicy.c:224:11: warning[-Wimplicit-fallthrough=]: this statement may fall through
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/pppolicy.c:227:4: note: here
Error: COMPILER_WARNING (CWE-563): [#def783]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/pppolicy.c: scope_hint: In function ‘secu_PrintPolicyInfo’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/pppolicy.c:236:71: warning[-Wunused-parameter]: unused parameter ‘msg’
Error: COMPILER_WARNING (CWE-758): [#def784]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secerror.c:74:1: warning[-Wmissing-prototypes]: no previous prototype for ‘SECU_Strerror’
Error: COMPILER_WARNING (CWE-252): [#def785]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secpwd.c: scope_hint: In function ‘SEC_GetPassword’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secpwd.c:69:21: warning[-Wunused-result]: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secpwd.c:117:9: note: in expansion of macro ‘QUIET_FGETS’
Error: COMPILER_WARNING (CWE-758): [#def786]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:99:1: warning[-Wmissing-prototypes]: no previous prototype for ‘SECU_GetString’
Error: COMPILER_WARNING (CWE-758): [#def787]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:108:1: warning[-Wmissing-prototypes]: no previous prototype for ‘SECU_PrintErrMsg’
Error: COMPILER_WARNING: [#def788]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c: scope_hint: In function ‘SECU_PrintErrMsg’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:118:5: warning[-Wsuggest-attribute=format]: function ‘SECU_PrintErrMsg’ might be a candidate for ‘gnu_printf’ format attribute
Error: COMPILER_WARNING: [#def789]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c: scope_hint: In function ‘SECU_PrintError’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:137:5: warning[-Wsuggest-attribute=format]: function ‘SECU_PrintError’ might be a candidate for ‘gnu_printf’ format attribute
Error: COMPILER_WARNING: [#def790]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c: scope_hint: In function ‘SECU_PrintSystemError’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:153:5: warning[-Wsuggest-attribute=format]: function ‘SECU_PrintSystemError’ might be a candidate for ‘gnu_printf’ format attribute
Error: COMPILER_WARNING (CWE-563): [#def791]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c: scope_hint: In function ‘SECU_GetPasswordString’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:172:30: warning[-Wunused-parameter]: unused parameter ‘arg’
Error: COMPILER_WARNING (CWE-563): [#def792]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c: scope_hint: In function ‘SECU_FilePasswd’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:222:31: warning[-Wunused-parameter]: unused parameter ‘slot’
Error: COMPILER_WARNING (CWE-704): [#def793]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c: scope_hint: In function ‘SECU_GetModulePassword’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:263:40: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-758): [#def794]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c: scope_hint: At top level
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:308:1: warning[-Wmissing-prototypes]: no previous prototype for ‘secu_InitSlotPassword’
Error: COMPILER_WARNING (CWE-563): [#def795]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c: scope_hint: In function ‘SECU_ChangePW’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:376:15: warning[-Wunused-but-set-variable]: variable ‘rv’ set but not used
Error: COMPILER_WARNING (CWE-704): [#def796]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c: scope_hint: In function ‘SECU_ConfigDirectory’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:485:25: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-563): [#def797]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c: scope_hint: In function ‘SECU_GetClientAuthData’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:505:47: warning[-Wunused-parameter]: unused parameter ‘fd’
Error: COMPILER_WARNING (CWE-563): [#def798]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:506:49: warning[-Wunused-parameter]: unused parameter ‘caNames’
Error: COMPILER_WARNING (CWE-758): [#def799]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c: scope_hint: At top level
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:546:1: warning[-Wmissing-prototypes]: no previous prototype for ‘secu_StdinToItem’
Error: COMPILER_WARNING (CWE-909): [#def800]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c: scope_hint: In function ‘SECU_ReadDERFromFile’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:671:9: warning[-Wmissing-field-initializers]: missing initializer for field ‘len’ of ‘SECItem’ {aka ‘struct SECItemStr’}
/usr/include/nss3/blapit.h:11: included_from: Included from here.
/usr/include/nss3/cryptohi.h:11: included_from: Included from here.
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:59: included_from: Included from here.
/usr/include/nss3/seccomon.h:53:18: note: ‘len’ declared here
Error: COMPILER_WARNING (CWE-758): [#def801]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c: scope_hint: At top level
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:877:1: warning[-Wmissing-prototypes]: no previous prototype for ‘SECU_StripTagAndLength’
Error: COMPILER_WARNING (CWE-758): [#def802]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:1077:1: warning[-Wmissing-prototypes]: no previous prototype for ‘SECU_PrintSet’
Error: COMPILER_WARNING (CWE-758): [#def803]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:1209:1: warning[-Wmissing-prototypes]: no previous prototype for ‘SECU_PrintEncodedBoolean’
Error: COMPILER_WARNING (CWE-758): [#def804]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:1218:1: warning[-Wmissing-prototypes]: no previous prototype for ‘SECU_PrintEncodedInteger’
Error: COMPILER_WARNING (CWE-758): [#def805]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:1227:1: warning[-Wmissing-prototypes]: no previous prototype for ‘SECU_PrintEncodedObjectID’
Error: COMPILER_WARNING (CWE-563): [#def806]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c: scope_hint: In function ‘secu_PrintSubjectPublicKeyInfo’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:1515:56: warning[-Wunused-parameter]: unused parameter ‘arena’
Error: COMPILER_WARNING (CWE-563): [#def807]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c: scope_hint: In function ‘secu_PrintX509KeyUsage’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:1690:57: warning[-Wunused-parameter]: unused parameter ‘msg’
Error: COMPILER_WARNING (CWE-563): [#def808]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c: scope_hint: In function ‘secu_PrintAuthKeyIDExtension’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:1804:63: warning[-Wunused-parameter]: unused parameter ‘msg’
Error: COMPILER_WARNING (CWE-563): [#def809]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c: scope_hint: In function ‘secu_PrintCRLDistPtsExtension’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:1872:64: warning[-Wunused-parameter]: unused parameter ‘msg’
Error: COMPILER_WARNING (CWE-563): [#def810]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c: scope_hint: In function ‘secu_PrintNameConstraintsExtension’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:1931:69: warning[-Wunused-parameter]: unused parameter ‘msg’
Error: COMPILER_WARNING (CWE-563): [#def811]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c: scope_hint: In function ‘secu_PrintAuthorityInfoAcess’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:1957:63: warning[-Wunused-parameter]: unused parameter ‘msg’
Error: COMPILER_WARNING (CWE-704): [#def812]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c: scope_hint: In function ‘SECU_PrintName’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:2130:13: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-477): [#def813]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c: scope_hint: In function ‘printflags’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:2151:5: warning[-Wdeprecated-declarations]: ‘__CERTDB_VALID_PEER’ is deprecated: CERTDB_VALID_PEER is now CERTDB_TERMINAL_RECORD
Error: COMPILER_WARNING (CWE-477): [#def814]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:2151:5: warning[-Wdeprecated-declarations]: ‘__CERTDB_VALID_PEER’ is deprecated: CERTDB_VALID_PEER is now CERTDB_TERMINAL_RECORD
Error: COMPILER_WARNING (CWE-704): [#def815]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c: scope_hint: In function ‘SECU_PrintCertNickname’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:2194:14: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-758): [#def816]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c: scope_hint: At top level
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:2213:1: warning[-Wmissing-prototypes]: no previous prototype for ‘SECU_DecodeAndPrintExtensions’
Error: COMPILER_WARNING (CWE-758): [#def817]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:2234:1: warning[-Wmissing-prototypes]: no previous prototype for ‘SECU_PrintSetOfExtensions’
Error: COMPILER_WARNING (CWE-758): [#def818]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:2249:1: warning[-Wmissing-prototypes]: no previous prototype for ‘SECU_PrintSetOfAny’
Error: COMPILER_WARNING (CWE-758): [#def819]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:2263:1: warning[-Wmissing-prototypes]: no previous prototype for ‘SECU_PrintCertAttribute’
Error: COMPILER_WARNING (CWE-563): [#def820]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c: scope_hint: In function ‘SECU_PrintCertAttribute’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:2263:69: warning[-Wunused-parameter]: unused parameter ‘m’
Error: COMPILER_WARNING (CWE-758): [#def821]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c: scope_hint: At top level
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:2277:1: warning[-Wmissing-prototypes]: no previous prototype for ‘SECU_PrintCertAttributes’
Error: COMPILER_WARNING (CWE-758): [#def822]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:2952:1: warning[-Wmissing-prototypes]: no previous prototype for ‘printFlags’
Error: COMPILER_WARNING (CWE-477): [#def823]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c: scope_hint: In function ‘printFlags’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:2954:5: warning[-Wdeprecated-declarations]: ‘__CERTDB_VALID_PEER’ is deprecated: CERTDB_VALID_PEER is now CERTDB_TERMINAL_RECORD
Error: COMPILER_WARNING (CWE-477): [#def824]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:2954:5: warning[-Wdeprecated-declarations]: ‘__CERTDB_VALID_PEER’ is deprecated: CERTDB_VALID_PEER is now CERTDB_TERMINAL_RECORD
Error: COMPILER_WARNING (CWE-563): [#def825]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c: scope_hint: In function ‘SECU_ParseCommandLine’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:3030:52: warning[-Wunused-parameter]: unused parameter ‘progName’
Error: CPPCHECK_WARNING (CWE-476): [#def826]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:3042: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: optstring
Error: CPPCHECK_WARNING (CWE-476): [#def827]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:3045: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: optstring
Error: CPPCHECK_WARNING (CWE-476): [#def828]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:3049: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: optstring
Error: COMPILER_WARNING (CWE-195): [#def829]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c: scope_hint: In function ‘SECU_PrintPRandOSError’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:3235:30: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘PRInt32’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def830]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:3239:30: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘PRInt32’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-704): [#def831]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c: scope_hint: In function ‘SECU_printCertProblems’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:3299:25: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def832]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:3299:25: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING: [#def833]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c: scope_hint: In function ‘SECU_printCertProblems’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:3300:17: warning[-Wimplicit-fallthrough=]: this statement may fall through
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:3314:13: note: here
Error: COMPILER_WARNING (CWE-704): [#def834]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:3302:28: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def835]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:3305:28: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def836]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:3308:28: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def837]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:3311:28: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def838]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:3315:25: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def839]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:3315:25: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING: [#def840]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:3316:17: warning[-Wimplicit-fallthrough=]: this statement may fall through
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:3340:13: note: here
Error: COMPILER_WARNING (CWE-704): [#def841]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:3319:28: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def842]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:3322:28: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def843]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:3325:28: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def844]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:3328:28: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def845]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:3331:28: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def846]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:3334:28: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def847]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:3337:28: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-195): [#def848]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c: scope_hint: In function ‘SECU_StoreCRL’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:3399:62: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘PRInt32’ {aka ‘int’} and ‘unsigned int’
Error: COMPILER_WARNING (CWE-563): [#def849]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c: scope_hint: In function ‘SECU_FindCrlIssuer’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/secutil.c:3613:35: warning[-Wunused-parameter]: unused parameter ‘authorityKeyID’
Error: COMPILER_WARNING (CWE-704): [#def850]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/tkstool.c: scope_hint: In function ‘main’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/tkstool.c:155:66: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def851]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/tkstool.c:161:66: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-195): [#def852]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/tkstool.c:878:34: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘PRInt32’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def853]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/tkstool.c:888:34: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘PRInt32’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def854]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/tkstool.c:919:38: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘PRInt32’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def855]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/tkstool.c:931:38: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘PRInt32’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-252): [#def856]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/util.c: scope_hint: In function ‘TKS_ClearScreen’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/util.c:351:5: warning[-Wunused-result]: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/secutil.h:51: included_from: Included from here.
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/pistool.h:58: included_from: Included from here.
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/delete.c:20: included_from: Included from here.
/usr/include/nss3/key.h:9:9: note: ‘#pragma message: key.h is deprecated. Please include keyhi.h instead.’
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/secutil.h:51: included_from: Included from here.
pki-11.8.0-beta6/base/tools/src/main/native/pistool/include/pistool.h:58: included_from: Included from here.
pki-11.8.0-beta6/base/tools/src/main/native/pistool/src/file.c:20: included_from: Included from here.
/usr/include/nss3/key.h:9:9: note: ‘#pragma message: key.h is deprecated. Please include keyhi.h instead.’
Error: COMPILER_WARNING (CWE-563): [#def857]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/util.c:383:20: warning[-Wunused-but-set-variable]: variable ‘rv’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def858]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/util.c:385:20: warning[-Wunused-but-set-variable]: variable ‘orig_cc_min’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def859]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/util.c:386:20: warning[-Wunused-but-set-variable]: variable ‘orig_cc_time’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def860]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/util.c:387:20: warning[-Wunused-but-set-variable]: variable ‘orig_lflag’ set but not used
Error: COMPILER_WARNING: [#def861]
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/util.c: scope_hint: In function ‘TKS_TypeProceedToContinue’
pki-11.8.0-beta6/base/tools/src/main/native/tkstool/util.c:390:60: warning[-Wunterminated-string-initialization]: initializer-string for array of ‘char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (10 chars into 9 available)
Error: CPPCHECK_WARNING (CWE-628): [#def862]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Client.cpp:147: error[sprintfOverlappingData]: Undefined behavior: Variable 'output' is used as parameter and destination in sprintf().
Error: COMPILER_WARNING: [#def863]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Client.cpp: scope_hint: In member function ‘RA_Client::OpTokenStatus(NameValueSet*)’
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Client.cpp:147:27: warning[-Wformat-overflow=]: ‘%02x’ directive writing 2 bytes into a region of size between 1 and 2048
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Client.cpp:147:24: note: directive argument in the range [0, 255]
/usr/include/bits/stdio2.h:30:34: note: ‘__sprintf_chk’ output between 3 and 2050 bytes into a destination of size 2048
Error: COMPILER_WARNING (CWE-1164): [#def864]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Conn.cpp:156:1: warning[-Wunused-function]: ‘void printBuf(Buffer*)’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def865]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Conn.cpp: scope_hint: At global scope
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Conn.cpp:213:1: warning[-Wunused-function]: ‘PRUint32 GetIPAddress(const char*)’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def866]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Conn.cpp: scope_hint: In function ‘int ReadResponseHeader(PRFileDesc*)’
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Conn.cpp:457:11: warning[-Wunused-but-set-variable]: variable ‘rc’ set but not used
Error: COMPILER_WARNING (CWE-710): [#def867]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:59:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def868]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:60:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def869]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:61:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def870]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:62:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def871]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:63:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def872]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:64:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def873]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:65:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def874]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:66:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def875]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:67:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def876]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:68:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def877]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:69:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def878]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:70:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def879]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:71:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def880]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:72:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def881]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:73:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def882]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:74:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def883]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:75:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def884]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:76:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def885]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:77:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def886]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:78:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def887]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:79:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def888]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:80:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def889]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:81:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def890]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:82:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def891]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:83:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def892]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:84:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def893]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:85:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def894]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:86:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def895]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:87:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def896]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:88:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def897]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:89:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def898]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:90:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def899]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:91:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def900]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:92:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def901]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:93:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def902]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:94:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def903]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:95:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def904]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:96:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def905]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:97:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def906]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:98:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def907]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:100:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def908]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:101:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def909]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:102:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def910]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:103:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def911]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:104:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def912]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:105:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def913]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:107:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def914]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:108:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def915]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:109:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def916]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:110:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def917]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:111:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def918]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:112:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def919]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:113:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def920]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:114:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def921]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:115:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def922]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:116:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def923]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:117:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def924]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:118:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def925]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:119:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def926]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:120:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def927]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:121:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def928]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:122:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def929]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:123:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def930]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:124:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def931]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:125:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def932]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:126:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def933]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:128:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def934]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:129:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def935]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:130:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def936]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:131:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def937]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:133:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def938]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:134:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def939]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:135:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def940]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:136:5: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def941]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp: scope_hint: In member function ‘void RA_Token::SetMSN(Buffer&)’
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:348:25: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-563): [#def942]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp: scope_hint: In member function ‘PK11SymKey* RA_Token::CreateSessionKey(keyType, Buffer&, Buffer&)’
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:761:8: warning[-Wunused-but-set-variable]: variable ‘input’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def943]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp: scope_hint: In member function ‘APDU_Response* RA_Token::ProcessGenerateKey(Generate_Key_APDU*, NameValueSet*, NameValueSet*)’
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:1076:13: warning[-Wunused-but-set-variable]: variable ‘algtag’ set but not used
Error: COMPILER_WARNING (CWE-710): [#def944]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp: scope_hint: In member function ‘APDU_Response* RA_Token::ProcessGenerateKeyECC(Generate_Key_ECC_APDU*, NameValueSet*, NameValueSet*)’
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:1380:20: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def945]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:1382:20: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def946]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:1384:20: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def947]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:1387:20: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-563): [#def948]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:1397:19: warning[-Wunused-variable]: unused variable ‘attrFlags’
Error: COMPILER_WARNING (CWE-563): [#def949]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:1418:17: warning[-Wunused-variable]: unused variable ‘n’
Error: COMPILER_WARNING (CWE-563): [#def950]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:1521:28: warning[-Wunused-variable]: unused variable ‘pkeyb’
Error: COMPILER_WARNING (CWE-563): [#def951]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:1522:17: warning[-Wunused-variable]: unused variable ‘pkeyb_len’
Error: CPPCHECK_WARNING (CWE-476): [#def952]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:2393: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_pin
Error: CPPCHECK_WARNING (CWE-476): [#def953]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/RA_Token.cpp:2395: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_pin
Error: COMPILER_WARNING (CWE-563): [#def954]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/TPSClientCLI.cpp: scope_hint: In function ‘void Java_com_netscape_cmstools_tps_TPSClientCLI_handleSecureIdRequest(JNIEnv*, jobject, jlong, jobject, jlong, jlong, jlong)’
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/TPSClientCLI.cpp:364:30: warning[-Wunused-variable]: unused variable ‘msg’
Error: COMPILER_WARNING (CWE-563): [#def955]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/Util.cpp: scope_hint: In static member function ‘static PK11SymKey* Util::DiversifyKey(PK11SymKey*, Buffer&, PK11SlotInfo*)’
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/Util.cpp:528:14: warning[-Wunused-but-set-variable]: variable ‘status’ set but not used
Error: COMPILER_WARNING (CWE-457): [#def956]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/tools/raclient/tpsclient.cpp: scope_hint: In function ‘EnrollToken(RA_Client*, NameValueSet*, NameValueSet*, RA_Token*, RA_Conn*)’
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/tools/raclient/tpsclient.cpp:581:10: warning[-Wmaybe-uninitialized]: ‘status’ may be used uninitialized
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/tools/raclient/tpsclient.cpp:487:7: note: ‘status’ was declared here
Error: COMPILER_WARNING (CWE-686): [#def957]
pki-11.8.0-beta6/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-KyDXc2/CheckFunctionExists.c:7:3: warning[-Wbuiltin-declaration-mismatch]: conflicting types for built-in function ‘vsnprintf’; expected ‘int(char *, long unsigned int, const char *, __va_list_tag *)’
Error: COMPILER_WARNING (CWE-686): [#def958]
pki-11.8.0-beta6/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-WhaiHW/CheckFunctionExists.c:7:3: warning[-Wbuiltin-declaration-mismatch]: conflicting types for built-in function ‘snprintf’; expected ‘int(char *, long unsigned int, const char *, ...)’
Error: COMPILER_WARNING (CWE-686): [#def959]
pki-11.8.0-beta6/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-aNKzcb/CheckFunctionExists.c:7:3: warning[-Wbuiltin-declaration-mismatch]: conflicting types for built-in function ‘strncpy’; expected ‘char *(char *, const char *, long unsigned int)’
Error: COMPILER_WARNING: [#def960]
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/include/main/NameValueSet.h:36: included_from: Included from here.
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/NameValueSet.cpp:28: included_from: Included from here.
pki-11.8.0-beta6/redhat-linux-build/config.h:42:9: warning: ‘XP_UNIX’ redefined
/usr/include/nspr4/prtypes.h:26: included_from: Included from here.
/usr/include/nspr4/prmem.h:14: included_from: Included from here.
pki-11.8.0-beta6/base/tools/src/main/native/tpsclient/src/main/NameValueSet.cpp:23: included_from: Included from here.
/usr/include/nspr4/prcpucfg.h:15:9: note: this is the location of the previous definition
Scan Properties
| analyzer-version-clippy | 1.90.0 |
| analyzer-version-cppcheck | 2.18.3 |
| analyzer-version-gcc | 15.2.1 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-79.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-gcc-latest-x86_64 |
| project-name | dogtag-pki-11.8.0-0.6.beta6.fc44 |
| store-results-to | /tmp/tmpyc43znla/dogtag-pki-11.8.0-0.6.beta6.fc44.tar.xz |
| time-created | 2025-10-28 17:56:15 |
| time-finished | 2025-10-28 18:02:18 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpyc43znla/dogtag-pki-11.8.0-0.6.beta6.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpyc43znla/dogtag-pki-11.8.0-0.6.beta6.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251027.143044.ge6b947b-1.el9 |