grub2-2.12-30.fc43
List of Findings
Error: SHELLCHECK_WARNING (CWE-563): [#def1]
/etc/grub.d/00_header:20:1: warning[SC2034]: prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def2]
/etc/grub.d/00_header:21:1: warning[SC2034]: exec_prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-457): [#def3]
/etc/grub.d/00_header:28:4: warning[SC2154]: pkgdatadir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-156): [#def4]
/etc/grub.d/00_header:162:38: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-457): [#def5]
/etc/grub.d/00_header:162:39: warning[SC2154]: grub_probe is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-156): [#def6]
/etc/grub.d/00_header:185:33: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def7]
/etc/grub.d/00_header:246:32: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def8]
/etc/grub.d/00_header:287:32: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-398): [#def9]
/etc/grub.d/00_header:350:6: warning[SC1010]: Use semicolon or linefeed before 'fi' (or quote to make it literal).
Error: SHELLCHECK_WARNING (CWE-563): [#def10]
/etc/grub.d/10_linux:20:1: warning[SC2034]: prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def11]
/etc/grub.d/10_linux:21:1: warning[SC2034]: exec_prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-457): [#def12]
/etc/grub.d/10_linux:24:4: warning[SC2154]: pkgdatadir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-156): [#def13]
/etc/grub.d/10_linux:32:14: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def14]
/etc/grub.d/10_linux:33:25: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-457): [#def15]
/etc/grub.d/10_linux:81:9: warning[SC2154]: grub_probe is referenced but not assigned.
Error: SHELLCHECK_WARNING: [#def16]
/etc/grub.d/10_linux:147:5: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def17]
/etc/grub.d/10_linux:147:15: warning[SC3003]: In POSIX sh, $'..' is undefined.
Error: SHELLCHECK_WARNING: [#def18]
/etc/grub.d/10_linux:149:11: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING (CWE-140): [#def19]
/etc/grub.d/10_linux:149:12: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
Error: SHELLCHECK_WARNING: [#def20]
/etc/grub.d/10_linux:150:14: warning[SC3010]: In POSIX sh, [[ ]] is undefined.
Error: SHELLCHECK_WARNING: [#def21]
/etc/grub.d/10_linux:158:11: warning[SC3054]: In POSIX sh, array references are undefined.
Error: SHELLCHECK_WARNING: [#def22]
/etc/grub.d/10_linux:163:5: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def23]
/etc/grub.d/10_linux:164:5: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def24]
/etc/grub.d/10_linux:164:20: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING (CWE-156): [#def25]
/etc/grub.d/10_linux:164:21: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-140): [#def26]
/etc/grub.d/10_linux:164:21: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
Error: SHELLCHECK_WARNING: [#def27]
/etc/grub.d/10_linux:167:12: warning[SC3010]: In POSIX sh, [[ ]] is undefined.
Error: SHELLCHECK_WARNING: [#def28]
/etc/grub.d/10_linux:175:17: warning[SC3054]: In POSIX sh, array references are undefined.
Error: SHELLCHECK_WARNING: [#def29]
/etc/grub.d/10_linux:176:9: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def30]
/etc/grub.d/10_linux:187:5: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def31]
/etc/grub.d/10_linux:187:20: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING (CWE-156): [#def32]
/etc/grub.d/10_linux:187:21: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-140): [#def33]
/etc/grub.d/10_linux:187:21: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
Error: SHELLCHECK_WARNING: [#def34]
/etc/grub.d/10_linux:191:17: warning[SC3054]: In POSIX sh, array references are undefined.
Error: SHELLCHECK_WARNING (CWE-457): [#def35]
/etc/grub.d/10_linux:197:36: warning[SC2154]: boot_prefix is referenced but not assigned.
Error: SHELLCHECK_WARNING: [#def36]
/etc/grub.d/10_linux:236:19: warning[SC3045]: In POSIX sh, read -d is undefined.
Error: SHELLCHECK_WARNING: [#def37]
/etc/grub.d/10_linux:237:37: warning[SC3060]: In POSIX sh, string replacement is undefined.
Error: SHELLCHECK_WARNING: [#def38]
/etc/grub.d/10_linux:244:18: warning[SC3010]: In POSIX sh, [[ ]] is undefined.
Error: SHELLCHECK_WARNING: [#def39]
/etc/grub.d/10_linux:244:49: warning[SC3010]: In POSIX sh, [[ ]] is undefined.
Error: SHELLCHECK_WARNING: [#def40]
/etc/grub.d/10_linux:245:19: warning[SC3010]: In POSIX sh, [[ ]] is undefined.
Error: SHELLCHECK_WARNING: [#def41]
/etc/grub.d/10_linux:246:19: warning[SC3010]: In POSIX sh, [[ ]] is undefined.
Error: SHELLCHECK_WARNING (CWE-457): [#def42]
/etc/grub.d/10_linux:290:15: warning[SC2154]: grub_editenv is referenced but not assigned.
Error: SHELLCHECK_WARNING: [#def43]
/etc/grub.d/10_linux:312:3: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def44]
/etc/grub.d/10_linux:313:3: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def45]
/etc/grub.d/10_linux:314:3: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def46]
/etc/grub.d/10_linux:315:3: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING (CWE-156): [#def47]
/etc/grub.d/10_linux:320:19: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def48]
/etc/grub.d/10_linux:321:19: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING: [#def49]
/etc/grub.d/10_linux:333:8: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING (CWE-457): [#def50]
/etc/grub.d/10_linux:565:26: warning[SC2154]: grub_tab is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-563): [#def51]
/etc/grub.d/20_linux_xen:20:1: warning[SC2034]: prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def52]
/etc/grub.d/20_linux_xen:21:1: warning[SC2034]: exec_prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-457): [#def53]
/etc/grub.d/20_linux_xen:24:4: warning[SC2154]: pkgdatadir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def54]
/etc/grub.d/20_linux_xen:88:9: warning[SC2154]: grub_probe is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def55]
/etc/grub.d/20_linux_xen:273:9: warning[SC2154]: grub_file is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def56]
/etc/grub.d/20_linux_xen:360:27: warning[SC2154]: grub_tab is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-563): [#def57]
/etc/grub.d/20_ppc_terminfo:20:1: warning[SC2034]: prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def58]
/etc/grub.d/20_ppc_terminfo:21:1: warning[SC2034]: exec_prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def59]
/etc/grub.d/20_ppc_terminfo:22:1: warning[SC2034]: bindir appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def60]
/etc/grub.d/20_ppc_terminfo:23:1: warning[SC2034]: libdir appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def61]
/etc/grub.d/30_os-prober:20:1: warning[SC2034]: prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def62]
/etc/grub.d/30_os-prober:21:1: warning[SC2034]: exec_prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-457): [#def63]
/etc/grub.d/30_os-prober:27:4: warning[SC2154]: pkgdatadir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-685): [#def64]
/etc/grub.d/30_os-prober:44:1: warning[SC2120]: osx_entry references arguments, but none are ever passed.
Error: SHELLCHECK_WARNING (CWE-457): [#def65]
/etc/grub.d/30_os-prober:49:19: warning[SC2154]: grub_probe is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def66]
/etc/grub.d/30_os-prober:49:43: warning[SC2154]: device is referenced but not assigned (did you mean 'DEVICE'?).
Error: SHELLCHECK_WARNING (CWE-457): [#def67]
/etc/grub.d/30_os-prober:234:35: warning[SC2154]: grub_tab is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def68]
/etc/grub.d/30_os-prober:251:241: warning[SC2154]: version is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def69]
/etc/grub.d/30_os-prober:251:250: warning[SC2154]: type is referenced but not assigned (for output from commands, use "$(type ...)" ).
Error: SHELLCHECK_WARNING: [#def70]
/etc/grub.d/30_os-prober:262:5: warning[SC3010]: In POSIX sh, [[ ]] is undefined.
Error: SHELLCHECK_WARNING (CWE-563): [#def71]
/etc/grub.d/30_uefi-firmware:20:1: warning[SC2034]: prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def72]
/etc/grub.d/30_uefi-firmware:21:1: warning[SC2034]: exec_prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-457): [#def73]
/etc/grub.d/30_uefi-firmware:27:4: warning[SC2154]: pkgdatadir is referenced but not assigned.
Error: SHELLCHECK_WARNING: [#def74]
/usr/bin/grub2-get-kernel-settings:71:26: warning[SC3060]: In POSIX sh, string replacement is undefined.
Error: SHELLCHECK_WARNING: [#def75]
/usr/bin/grub2-get-kernel-settings:75:30: warning[SC3060]: In POSIX sh, string replacement is undefined.
Error: SHELLCHECK_WARNING (CWE-563): [#def76]
/usr/bin/grub2-kbdcomp:3:1: warning[SC2034]: prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def77]
/usr/bin/grub2-kbdcomp:4:1: warning[SC2034]: exec_prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def78]
/usr/bin/grub2-mkconfig:24:1: warning[SC2034]: prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def79]
/usr/bin/grub2-mkconfig:25:1: warning[SC2034]: exec_prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def80]
/usr/bin/grub2-mkconfig:31:1: warning[SC2034]: host_os appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def81]
/usr/bin/grub2-mkconfig:45:1: warning[SC2034]: grub_file appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def82]
/usr/bin/grub2-mkconfig:196:5: warning[SC2034]: termoutdefault appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def83]
/usr/bin/grub2-reboot:20:1: warning[SC2034]: prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def84]
/usr/bin/grub2-reboot:21:1: warning[SC2034]: exec_prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def85]
/usr/bin/grub2-reboot:24:1: warning[SC2034]: sysconfdir appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def86]
/usr/bin/grub2-set-default:20:1: warning[SC2034]: prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def87]
/usr/bin/grub2-set-default:21:1: warning[SC2034]: exec_prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING: [#def88]
/usr/bin/grub2-set-password:40:7: warning[SC3028]: In POSIX sh, EUID is undefined.
Error: SHELLCHECK_WARNING: [#def89]
/usr/bin/grub2-set-password:88:6: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def90]
/usr/bin/grub2-set-password:91:6: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def91]
/usr/bin/grub2-set-password:97:5: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def92]
/usr/bin/grub2-set-password:98:5: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING (CWE-563): [#def93]
/usr/bin/grub2-switch-to-blscfg:23:1: warning[SC2034]: exec_prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def94]
/usr/bin/grub2-switch-to-blscfg:26:1: warning[SC2034]: sysconfdir appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING: [#def95]
/usr/bin/grub2-switch-to-blscfg:31:8: warning[SC3016]: In POSIX sh, unary -v (in place of [ -n "${var+x}" ]) is undefined.
Error: SHELLCHECK_WARNING: [#def96]
/usr/bin/grub2-switch-to-blscfg:155:5: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING (CWE-477): [#def97]
/usr/bin/grub2-switch-to-blscfg:156:31: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
Error: SHELLCHECK_WARNING: [#def98]
/usr/bin/grub2-switch-to-blscfg:191:5: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def99]
/usr/bin/grub2-switch-to-blscfg:192:5: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING (CWE-563): [#def100]
/usr/bin/grub2-switch-to-blscfg:192:11: warning[SC2034]: datetime appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING: [#def101]
/usr/bin/grub2-switch-to-blscfg:193:5: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def102]
/usr/bin/grub2-switch-to-blscfg:195:5: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def103]
/usr/bin/grub2-switch-to-blscfg:196:5: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def104]
/usr/bin/grub2-switch-to-blscfg:197:5: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def105]
/usr/bin/grub2-switch-to-blscfg:199:23: warning[SC3014]: In POSIX sh, == in place of = is undefined.
Error: SHELLCHECK_WARNING (CWE-398): [#def106]
/usr/bin/grub2-switch-to-blscfg:199:26: error[SC2081]: [ .. ] can't match globs. Use a case statement.
Error: SHELLCHECK_WARNING: [#def107]
/usr/bin/grub2-switch-to-blscfg:200:9: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def108]
/usr/bin/grub2-switch-to-blscfg:201:26: warning[SC3014]: In POSIX sh, == in place of = is undefined.
Error: SHELLCHECK_WARNING: [#def109]
/usr/bin/grub2-switch-to-blscfg:202:13: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def110]
/usr/bin/grub2-switch-to-blscfg:203:13: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def111]
/usr/bin/grub2-switch-to-blscfg:207:9: warning[SC3046]: In POSIX sh, 'source' in place of '.' is undefined.
Error: SHELLCHECK_WARNING: [#def112]
/usr/bin/grub2-switch-to-blscfg:207:9: warning[SC3051]: In POSIX sh, 'source' in place of '.' is undefined.
Error: SHELLCHECK_WARNING (CWE-252): [#def113]
/usr/bin/grub2-switch-to-blscfg:223:24: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-457): [#def114]
/usr/bin/grub2-switch-to-blscfg:236:20: warning[SC2154]: grub_mkrelpath is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-398): [#def115]
/usr/bin/grub2-switch-to-blscfg:266:71: warning[SC2061]: Quote the parameter to -name so the shell won't interpret it.
Error: SHELLCHECK_WARNING (CWE-477): [#def116]
/usr/bin/grub2-switch-to-blscfg:295:28: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-563): [#def117]
/usr/lib/grub/i386-efi/modinfo.sh:4:1: warning[SC2034]: grub_modinfo_target_cpu appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def118]
/usr/lib/grub/i386-efi/modinfo.sh:5:1: warning[SC2034]: grub_modinfo_platform appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def119]
/usr/lib/grub/i386-efi/modinfo.sh:6:1: warning[SC2034]: grub_disk_cache_stats appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def120]
/usr/lib/grub/i386-efi/modinfo.sh:7:1: warning[SC2034]: grub_boot_time_stats appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def121]
/usr/lib/grub/i386-efi/modinfo.sh:8:1: warning[SC2034]: grub_have_font_source appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def122]
/usr/lib/grub/i386-efi/modinfo.sh:11:1: warning[SC2034]: grub_have_asm_uscore appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def123]
/usr/lib/grub/i386-efi/modinfo.sh:12:1: warning[SC2034]: grub_bss_start_symbol appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def124]
/usr/lib/grub/i386-efi/modinfo.sh:13:1: warning[SC2034]: grub_end_symbol appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def125]
/usr/lib/grub/i386-efi/modinfo.sh:16:1: warning[SC2034]: grub_target_cc appears unused. Verify use (or export if used externally).
/usr/lib/grub/i386-efi/modinfo.sh:16:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def126]
/usr/lib/grub/i386-efi/modinfo.sh:17:1: warning[SC2034]: grub_target_cc_version appears unused. Verify use (or export if used externally).
/usr/lib/grub/i386-efi/modinfo.sh:17:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def127]
/usr/lib/grub/i386-efi/modinfo.sh:18:1: warning[SC2034]: grub_target_cflags appears unused. Verify use (or export if used externally).
/usr/lib/grub/i386-efi/modinfo.sh:18:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def128]
/usr/lib/grub/i386-efi/modinfo.sh:19:1: warning[SC2034]: grub_target_cppflags appears unused. Verify use (or export if used externally).
/usr/lib/grub/i386-efi/modinfo.sh:19:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def129]
/usr/lib/grub/i386-efi/modinfo.sh:20:1: warning[SC2034]: grub_target_ccasflags appears unused. Verify use (or export if used externally).
/usr/lib/grub/i386-efi/modinfo.sh:20:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def130]
/usr/lib/grub/i386-efi/modinfo.sh:21:1: warning[SC2034]: grub_target_ldflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def131]
/usr/lib/grub/i386-efi/modinfo.sh:22:1: warning[SC2034]: grub_cflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def132]
/usr/lib/grub/i386-efi/modinfo.sh:23:1: warning[SC2034]: grub_cppflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def133]
/usr/lib/grub/i386-efi/modinfo.sh:24:1: warning[SC2034]: grub_ccasflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def134]
/usr/lib/grub/i386-efi/modinfo.sh:25:1: warning[SC2034]: grub_ldflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def135]
/usr/lib/grub/i386-efi/modinfo.sh:26:1: warning[SC2034]: grub_target_strip appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def136]
/usr/lib/grub/i386-efi/modinfo.sh:27:1: warning[SC2034]: grub_target_nm appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def137]
/usr/lib/grub/i386-efi/modinfo.sh:28:1: warning[SC2034]: grub_target_ranlib appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def138]
/usr/lib/grub/i386-efi/modinfo.sh:29:1: warning[SC2034]: grub_target_objconf appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def139]
/usr/lib/grub/i386-efi/modinfo.sh:30:1: warning[SC2034]: grub_target_obj2elf appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def140]
/usr/lib/grub/i386-efi/modinfo.sh:31:1: warning[SC2034]: grub_target_img_base_ldopt appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def141]
/usr/lib/grub/i386-efi/modinfo.sh:32:1: warning[SC2034]: grub_target_img_ldflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def142]
/usr/lib/grub/i386-efi/modinfo.sh:35:1: warning[SC2034]: grub_version appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def143]
/usr/lib/grub/i386-efi/modinfo.sh:36:1: warning[SC2034]: grub_package appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def144]
/usr/lib/grub/i386-efi/modinfo.sh:37:1: warning[SC2034]: grub_package_string appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def145]
/usr/lib/grub/i386-efi/modinfo.sh:38:1: warning[SC2034]: grub_package_version appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def146]
/usr/lib/grub/i386-efi/modinfo.sh:39:1: warning[SC2034]: grub_package_name appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def147]
/usr/lib/grub/i386-efi/modinfo.sh:40:1: warning[SC2034]: grub_package_bugreport appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def148]
/usr/lib/grub/i386-pc/modinfo.sh:4:1: warning[SC2034]: grub_modinfo_target_cpu appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def149]
/usr/lib/grub/i386-pc/modinfo.sh:5:1: warning[SC2034]: grub_modinfo_platform appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def150]
/usr/lib/grub/i386-pc/modinfo.sh:6:1: warning[SC2034]: grub_disk_cache_stats appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def151]
/usr/lib/grub/i386-pc/modinfo.sh:7:1: warning[SC2034]: grub_boot_time_stats appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def152]
/usr/lib/grub/i386-pc/modinfo.sh:8:1: warning[SC2034]: grub_have_font_source appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def153]
/usr/lib/grub/i386-pc/modinfo.sh:11:1: warning[SC2034]: grub_have_asm_uscore appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def154]
/usr/lib/grub/i386-pc/modinfo.sh:12:1: warning[SC2034]: grub_bss_start_symbol appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def155]
/usr/lib/grub/i386-pc/modinfo.sh:13:1: warning[SC2034]: grub_end_symbol appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def156]
/usr/lib/grub/i386-pc/modinfo.sh:16:1: warning[SC2034]: grub_target_cc appears unused. Verify use (or export if used externally).
/usr/lib/grub/i386-pc/modinfo.sh:16:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def157]
/usr/lib/grub/i386-pc/modinfo.sh:17:1: warning[SC2034]: grub_target_cc_version appears unused. Verify use (or export if used externally).
/usr/lib/grub/i386-pc/modinfo.sh:17:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def158]
/usr/lib/grub/i386-pc/modinfo.sh:18:1: warning[SC2034]: grub_target_cflags appears unused. Verify use (or export if used externally).
/usr/lib/grub/i386-pc/modinfo.sh:18:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def159]
/usr/lib/grub/i386-pc/modinfo.sh:19:1: warning[SC2034]: grub_target_cppflags appears unused. Verify use (or export if used externally).
/usr/lib/grub/i386-pc/modinfo.sh:19:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def160]
/usr/lib/grub/i386-pc/modinfo.sh:20:1: warning[SC2034]: grub_target_ccasflags appears unused. Verify use (or export if used externally).
/usr/lib/grub/i386-pc/modinfo.sh:20:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def161]
/usr/lib/grub/i386-pc/modinfo.sh:21:1: warning[SC2034]: grub_target_ldflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def162]
/usr/lib/grub/i386-pc/modinfo.sh:22:1: warning[SC2034]: grub_cflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def163]
/usr/lib/grub/i386-pc/modinfo.sh:23:1: warning[SC2034]: grub_cppflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def164]
/usr/lib/grub/i386-pc/modinfo.sh:24:1: warning[SC2034]: grub_ccasflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def165]
/usr/lib/grub/i386-pc/modinfo.sh:25:1: warning[SC2034]: grub_ldflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def166]
/usr/lib/grub/i386-pc/modinfo.sh:26:1: warning[SC2034]: grub_target_strip appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def167]
/usr/lib/grub/i386-pc/modinfo.sh:27:1: warning[SC2034]: grub_target_nm appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def168]
/usr/lib/grub/i386-pc/modinfo.sh:28:1: warning[SC2034]: grub_target_ranlib appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def169]
/usr/lib/grub/i386-pc/modinfo.sh:29:1: warning[SC2034]: grub_target_objconf appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def170]
/usr/lib/grub/i386-pc/modinfo.sh:30:1: warning[SC2034]: grub_target_obj2elf appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def171]
/usr/lib/grub/i386-pc/modinfo.sh:31:1: warning[SC2034]: grub_target_img_base_ldopt appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def172]
/usr/lib/grub/i386-pc/modinfo.sh:32:1: warning[SC2034]: grub_target_img_ldflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def173]
/usr/lib/grub/i386-pc/modinfo.sh:35:1: warning[SC2034]: grub_version appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def174]
/usr/lib/grub/i386-pc/modinfo.sh:36:1: warning[SC2034]: grub_package appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def175]
/usr/lib/grub/i386-pc/modinfo.sh:37:1: warning[SC2034]: grub_package_string appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def176]
/usr/lib/grub/i386-pc/modinfo.sh:38:1: warning[SC2034]: grub_package_version appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def177]
/usr/lib/grub/i386-pc/modinfo.sh:39:1: warning[SC2034]: grub_package_name appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def178]
/usr/lib/grub/i386-pc/modinfo.sh:40:1: warning[SC2034]: grub_package_bugreport appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def179]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:4:1: warning[SC2034]: grub_modinfo_target_cpu appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def180]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:5:1: warning[SC2034]: grub_modinfo_platform appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def181]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:6:1: warning[SC2034]: grub_disk_cache_stats appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def182]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:7:1: warning[SC2034]: grub_boot_time_stats appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def183]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:8:1: warning[SC2034]: grub_have_font_source appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def184]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:11:1: warning[SC2034]: grub_have_asm_uscore appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def185]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:12:1: warning[SC2034]: grub_bss_start_symbol appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def186]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:13:1: warning[SC2034]: grub_end_symbol appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def187]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:16:1: warning[SC2034]: grub_target_cc appears unused. Verify use (or export if used externally).
/usr/lib/grub/i386-xen_pvh/modinfo.sh:16:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def188]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:17:1: warning[SC2034]: grub_target_cc_version appears unused. Verify use (or export if used externally).
/usr/lib/grub/i386-xen_pvh/modinfo.sh:17:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def189]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:18:1: warning[SC2034]: grub_target_cflags appears unused. Verify use (or export if used externally).
/usr/lib/grub/i386-xen_pvh/modinfo.sh:18:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def190]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:19:1: warning[SC2034]: grub_target_cppflags appears unused. Verify use (or export if used externally).
/usr/lib/grub/i386-xen_pvh/modinfo.sh:19:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def191]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:20:1: warning[SC2034]: grub_target_ccasflags appears unused. Verify use (or export if used externally).
/usr/lib/grub/i386-xen_pvh/modinfo.sh:20:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def192]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:21:1: warning[SC2034]: grub_target_ldflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def193]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:22:1: warning[SC2034]: grub_cflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def194]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:23:1: warning[SC2034]: grub_cppflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def195]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:24:1: warning[SC2034]: grub_ccasflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def196]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:25:1: warning[SC2034]: grub_ldflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def197]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:26:1: warning[SC2034]: grub_target_strip appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def198]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:27:1: warning[SC2034]: grub_target_nm appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def199]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:28:1: warning[SC2034]: grub_target_ranlib appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def200]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:29:1: warning[SC2034]: grub_target_objconf appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def201]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:30:1: warning[SC2034]: grub_target_obj2elf appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def202]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:31:1: warning[SC2034]: grub_target_img_base_ldopt appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def203]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:32:1: warning[SC2034]: grub_target_img_ldflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def204]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:35:1: warning[SC2034]: grub_version appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def205]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:36:1: warning[SC2034]: grub_package appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def206]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:37:1: warning[SC2034]: grub_package_string appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def207]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:38:1: warning[SC2034]: grub_package_version appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def208]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:39:1: warning[SC2034]: grub_package_name appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def209]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:40:1: warning[SC2034]: grub_package_bugreport appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def210]
/usr/lib/grub/x86_64-efi/modinfo.sh:4:1: warning[SC2034]: grub_modinfo_target_cpu appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def211]
/usr/lib/grub/x86_64-efi/modinfo.sh:5:1: warning[SC2034]: grub_modinfo_platform appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def212]
/usr/lib/grub/x86_64-efi/modinfo.sh:6:1: warning[SC2034]: grub_disk_cache_stats appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def213]
/usr/lib/grub/x86_64-efi/modinfo.sh:7:1: warning[SC2034]: grub_boot_time_stats appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def214]
/usr/lib/grub/x86_64-efi/modinfo.sh:8:1: warning[SC2034]: grub_have_font_source appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def215]
/usr/lib/grub/x86_64-efi/modinfo.sh:11:1: warning[SC2034]: grub_have_asm_uscore appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def216]
/usr/lib/grub/x86_64-efi/modinfo.sh:12:1: warning[SC2034]: grub_bss_start_symbol appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def217]
/usr/lib/grub/x86_64-efi/modinfo.sh:13:1: warning[SC2034]: grub_end_symbol appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def218]
/usr/lib/grub/x86_64-efi/modinfo.sh:16:1: warning[SC2034]: grub_target_cc appears unused. Verify use (or export if used externally).
/usr/lib/grub/x86_64-efi/modinfo.sh:16:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def219]
/usr/lib/grub/x86_64-efi/modinfo.sh:17:1: warning[SC2034]: grub_target_cc_version appears unused. Verify use (or export if used externally).
/usr/lib/grub/x86_64-efi/modinfo.sh:17:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def220]
/usr/lib/grub/x86_64-efi/modinfo.sh:18:1: warning[SC2034]: grub_target_cflags appears unused. Verify use (or export if used externally).
/usr/lib/grub/x86_64-efi/modinfo.sh:18:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def221]
/usr/lib/grub/x86_64-efi/modinfo.sh:19:1: warning[SC2034]: grub_target_cppflags appears unused. Verify use (or export if used externally).
/usr/lib/grub/x86_64-efi/modinfo.sh:19:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def222]
/usr/lib/grub/x86_64-efi/modinfo.sh:20:1: warning[SC2034]: grub_target_ccasflags appears unused. Verify use (or export if used externally).
/usr/lib/grub/x86_64-efi/modinfo.sh:20:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def223]
/usr/lib/grub/x86_64-efi/modinfo.sh:21:1: warning[SC2034]: grub_target_ldflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def224]
/usr/lib/grub/x86_64-efi/modinfo.sh:22:1: warning[SC2034]: grub_cflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def225]
/usr/lib/grub/x86_64-efi/modinfo.sh:23:1: warning[SC2034]: grub_cppflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def226]
/usr/lib/grub/x86_64-efi/modinfo.sh:24:1: warning[SC2034]: grub_ccasflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def227]
/usr/lib/grub/x86_64-efi/modinfo.sh:25:1: warning[SC2034]: grub_ldflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def228]
/usr/lib/grub/x86_64-efi/modinfo.sh:26:1: warning[SC2034]: grub_target_strip appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def229]
/usr/lib/grub/x86_64-efi/modinfo.sh:27:1: warning[SC2034]: grub_target_nm appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def230]
/usr/lib/grub/x86_64-efi/modinfo.sh:28:1: warning[SC2034]: grub_target_ranlib appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def231]
/usr/lib/grub/x86_64-efi/modinfo.sh:29:1: warning[SC2034]: grub_target_objconf appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def232]
/usr/lib/grub/x86_64-efi/modinfo.sh:30:1: warning[SC2034]: grub_target_obj2elf appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def233]
/usr/lib/grub/x86_64-efi/modinfo.sh:31:1: warning[SC2034]: grub_target_img_base_ldopt appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def234]
/usr/lib/grub/x86_64-efi/modinfo.sh:32:1: warning[SC2034]: grub_target_img_ldflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def235]
/usr/lib/grub/x86_64-efi/modinfo.sh:35:1: warning[SC2034]: grub_version appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def236]
/usr/lib/grub/x86_64-efi/modinfo.sh:36:1: warning[SC2034]: grub_package appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def237]
/usr/lib/grub/x86_64-efi/modinfo.sh:37:1: warning[SC2034]: grub_package_string appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def238]
/usr/lib/grub/x86_64-efi/modinfo.sh:38:1: warning[SC2034]: grub_package_version appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def239]
/usr/lib/grub/x86_64-efi/modinfo.sh:39:1: warning[SC2034]: grub_package_name appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def240]
/usr/lib/grub/x86_64-efi/modinfo.sh:40:1: warning[SC2034]: grub_package_bugreport appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def241]
/usr/lib/grub/x86_64-emu/modinfo.sh:4:1: warning[SC2034]: grub_modinfo_target_cpu appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def242]
/usr/lib/grub/x86_64-emu/modinfo.sh:5:1: warning[SC2034]: grub_modinfo_platform appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def243]
/usr/lib/grub/x86_64-emu/modinfo.sh:6:1: warning[SC2034]: grub_disk_cache_stats appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def244]
/usr/lib/grub/x86_64-emu/modinfo.sh:7:1: warning[SC2034]: grub_boot_time_stats appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def245]
/usr/lib/grub/x86_64-emu/modinfo.sh:8:1: warning[SC2034]: grub_have_font_source appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def246]
/usr/lib/grub/x86_64-emu/modinfo.sh:11:1: warning[SC2034]: grub_have_asm_uscore appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def247]
/usr/lib/grub/x86_64-emu/modinfo.sh:12:1: warning[SC2034]: grub_bss_start_symbol appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def248]
/usr/lib/grub/x86_64-emu/modinfo.sh:13:1: warning[SC2034]: grub_end_symbol appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def249]
/usr/lib/grub/x86_64-emu/modinfo.sh:16:1: warning[SC2034]: grub_target_cc appears unused. Verify use (or export if used externally).
/usr/lib/grub/x86_64-emu/modinfo.sh:16:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def250]
/usr/lib/grub/x86_64-emu/modinfo.sh:17:1: warning[SC2034]: grub_target_cc_version appears unused. Verify use (or export if used externally).
/usr/lib/grub/x86_64-emu/modinfo.sh:17:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def251]
/usr/lib/grub/x86_64-emu/modinfo.sh:18:1: warning[SC2034]: grub_target_cflags appears unused. Verify use (or export if used externally).
/usr/lib/grub/x86_64-emu/modinfo.sh:18:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def252]
/usr/lib/grub/x86_64-emu/modinfo.sh:19:1: warning[SC2034]: grub_target_cppflags appears unused. Verify use (or export if used externally).
/usr/lib/grub/x86_64-emu/modinfo.sh:19:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def253]
/usr/lib/grub/x86_64-emu/modinfo.sh:20:1: warning[SC2034]: grub_target_ccasflags appears unused. Verify use (or export if used externally).
/usr/lib/grub/x86_64-emu/modinfo.sh:20:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def254]
/usr/lib/grub/x86_64-emu/modinfo.sh:21:1: warning[SC2034]: grub_target_ldflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def255]
/usr/lib/grub/x86_64-emu/modinfo.sh:22:1: warning[SC2034]: grub_cflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def256]
/usr/lib/grub/x86_64-emu/modinfo.sh:23:1: warning[SC2034]: grub_cppflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def257]
/usr/lib/grub/x86_64-emu/modinfo.sh:24:1: warning[SC2034]: grub_ccasflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def258]
/usr/lib/grub/x86_64-emu/modinfo.sh:25:1: warning[SC2034]: grub_ldflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def259]
/usr/lib/grub/x86_64-emu/modinfo.sh:26:1: warning[SC2034]: grub_target_strip appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def260]
/usr/lib/grub/x86_64-emu/modinfo.sh:27:1: warning[SC2034]: grub_target_nm appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def261]
/usr/lib/grub/x86_64-emu/modinfo.sh:28:1: warning[SC2034]: grub_target_ranlib appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def262]
/usr/lib/grub/x86_64-emu/modinfo.sh:29:1: warning[SC2034]: grub_target_objconf appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def263]
/usr/lib/grub/x86_64-emu/modinfo.sh:30:1: warning[SC2034]: grub_target_obj2elf appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def264]
/usr/lib/grub/x86_64-emu/modinfo.sh:31:1: warning[SC2034]: grub_target_img_base_ldopt appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def265]
/usr/lib/grub/x86_64-emu/modinfo.sh:32:1: warning[SC2034]: grub_target_img_ldflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def266]
/usr/lib/grub/x86_64-emu/modinfo.sh:35:1: warning[SC2034]: grub_version appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def267]
/usr/lib/grub/x86_64-emu/modinfo.sh:36:1: warning[SC2034]: grub_package appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def268]
/usr/lib/grub/x86_64-emu/modinfo.sh:37:1: warning[SC2034]: grub_package_string appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def269]
/usr/lib/grub/x86_64-emu/modinfo.sh:38:1: warning[SC2034]: grub_package_version appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def270]
/usr/lib/grub/x86_64-emu/modinfo.sh:39:1: warning[SC2034]: grub_package_name appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def271]
/usr/lib/grub/x86_64-emu/modinfo.sh:40:1: warning[SC2034]: grub_package_bugreport appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def272]
/usr/lib/grub/x86_64-xen/modinfo.sh:4:1: warning[SC2034]: grub_modinfo_target_cpu appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def273]
/usr/lib/grub/x86_64-xen/modinfo.sh:5:1: warning[SC2034]: grub_modinfo_platform appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def274]
/usr/lib/grub/x86_64-xen/modinfo.sh:6:1: warning[SC2034]: grub_disk_cache_stats appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def275]
/usr/lib/grub/x86_64-xen/modinfo.sh:7:1: warning[SC2034]: grub_boot_time_stats appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def276]
/usr/lib/grub/x86_64-xen/modinfo.sh:8:1: warning[SC2034]: grub_have_font_source appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def277]
/usr/lib/grub/x86_64-xen/modinfo.sh:11:1: warning[SC2034]: grub_have_asm_uscore appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def278]
/usr/lib/grub/x86_64-xen/modinfo.sh:12:1: warning[SC2034]: grub_bss_start_symbol appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def279]
/usr/lib/grub/x86_64-xen/modinfo.sh:13:1: warning[SC2034]: grub_end_symbol appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def280]
/usr/lib/grub/x86_64-xen/modinfo.sh:16:1: warning[SC2034]: grub_target_cc appears unused. Verify use (or export if used externally).
/usr/lib/grub/x86_64-xen/modinfo.sh:16:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def281]
/usr/lib/grub/x86_64-xen/modinfo.sh:17:1: warning[SC2034]: grub_target_cc_version appears unused. Verify use (or export if used externally).
/usr/lib/grub/x86_64-xen/modinfo.sh:17:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def282]
/usr/lib/grub/x86_64-xen/modinfo.sh:18:1: warning[SC2034]: grub_target_cflags appears unused. Verify use (or export if used externally).
/usr/lib/grub/x86_64-xen/modinfo.sh:18:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def283]
/usr/lib/grub/x86_64-xen/modinfo.sh:19:1: warning[SC2034]: grub_target_cppflags appears unused. Verify use (or export if used externally).
/usr/lib/grub/x86_64-xen/modinfo.sh:19:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def284]
/usr/lib/grub/x86_64-xen/modinfo.sh:20:1: warning[SC2034]: grub_target_ccasflags appears unused. Verify use (or export if used externally).
/usr/lib/grub/x86_64-xen/modinfo.sh:20:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def285]
/usr/lib/grub/x86_64-xen/modinfo.sh:21:1: warning[SC2034]: grub_target_ldflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def286]
/usr/lib/grub/x86_64-xen/modinfo.sh:22:1: warning[SC2034]: grub_cflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def287]
/usr/lib/grub/x86_64-xen/modinfo.sh:23:1: warning[SC2034]: grub_cppflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def288]
/usr/lib/grub/x86_64-xen/modinfo.sh:24:1: warning[SC2034]: grub_ccasflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def289]
/usr/lib/grub/x86_64-xen/modinfo.sh:25:1: warning[SC2034]: grub_ldflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def290]
/usr/lib/grub/x86_64-xen/modinfo.sh:26:1: warning[SC2034]: grub_target_strip appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def291]
/usr/lib/grub/x86_64-xen/modinfo.sh:27:1: warning[SC2034]: grub_target_nm appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def292]
/usr/lib/grub/x86_64-xen/modinfo.sh:28:1: warning[SC2034]: grub_target_ranlib appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def293]
/usr/lib/grub/x86_64-xen/modinfo.sh:29:1: warning[SC2034]: grub_target_objconf appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def294]
/usr/lib/grub/x86_64-xen/modinfo.sh:30:1: warning[SC2034]: grub_target_obj2elf appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def295]
/usr/lib/grub/x86_64-xen/modinfo.sh:31:1: warning[SC2034]: grub_target_img_base_ldopt appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def296]
/usr/lib/grub/x86_64-xen/modinfo.sh:32:1: warning[SC2034]: grub_target_img_ldflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def297]
/usr/lib/grub/x86_64-xen/modinfo.sh:35:1: warning[SC2034]: grub_version appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def298]
/usr/lib/grub/x86_64-xen/modinfo.sh:36:1: warning[SC2034]: grub_package appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def299]
/usr/lib/grub/x86_64-xen/modinfo.sh:37:1: warning[SC2034]: grub_package_string appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def300]
/usr/lib/grub/x86_64-xen/modinfo.sh:38:1: warning[SC2034]: grub_package_version appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def301]
/usr/lib/grub/x86_64-xen/modinfo.sh:39:1: warning[SC2034]: grub_package_name appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def302]
/usr/lib/grub/x86_64-xen/modinfo.sh:40:1: warning[SC2034]: grub_package_bugreport appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def303]
/usr/lib/kernel/install.d/20-grub.install:29:11: warning[SC2034]: datetime appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-277): [#def304]
/usr/lib/kernel/install.d/20-grub.install:129:42: warning[SC2174]: When used with -p, -m only applies to the deepest directory.
Error: SHELLCHECK_WARNING (CWE-156): [#def305]
/usr/lib/kernel/install.d/20-grub.install:139:43: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-153): [#def306]
/usr/lib/kernel/install.d/20-grub.install:148:29: warning[SC2053]: Quote the right-hand side of != in [[ ]] to prevent glob matching.
Error: SHELLCHECK_WARNING (CWE-477): [#def307]
/usr/lib/kernel/install.d/20-grub.install:172:39: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-477): [#def308]
/usr/lib/kernel/install.d/20-grub.install:181:46: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-477): [#def309]
/usr/lib/kernel/install.d/20-grub.install:181:76: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-477): [#def310]
/usr/lib/kernel/install.d/20-grub.install:182:71: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: COMPILER_WARNING: [#def311]
grub-2.12/include/grub/dl.h:29: included_from: Included from here.
grub-2.12/grub-core/commands/efi/env.c:18: included_from: Included from here.
grub-2.12/grub-core/commands/efi/env.c: scope_hint: In function ‘grub_efi_export_env’
grub-2.12/grub-core/commands/efi/env.c:111:27: warning[-Wformat=]: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘grub_size_t’ {aka ‘unsigned int’}
grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
grub-2.12/grub-core/commands/efi/env.c:111:40: note: format string is defined here
Error: COMPILER_WARNING: [#def312]
grub-2.12/grub-core/commands/efi/env.c:116:29: warning[-Wformat=]: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘grub_efi_status_t’ {aka ‘unsigned int’}
grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
grub-2.12/grub-core/commands/efi/env.c:116:49: note: format string is defined here
Error: COMPILER_WARNING: [#def313]
grub-2.12/grub-core/commands/efi/env.c:122:29: warning[-Wformat=]: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘grub_efi_status_t’ {aka ‘unsigned int’}
grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
grub-2.12/grub-core/commands/efi/env.c:122:58: note: format string is defined here
Error: COMPILER_WARNING (CWE-563): [#def314]
grub-2.12/grub-core/commands/search.c:206:31: warning[-Wunused-variable]: unused variable ‘dev’
Error: COMPILER_WARNING (CWE-563): [#def315]
grub-2.12/grub-core/commands/search.c:206:36: warning[-Wunused-variable]: unused variable ‘dev_part’
Error: COMPILER_WARNING (CWE-563): [#def316]
grub-2.12/grub-core/commands/search.c:211:25: warning[-Wunused-variable]: unused variable ‘longlist’
Error: COMPILER_WARNING (CWE-704): [#def317]
grub-2.12/grub-core/commands/search_uuid.c:5: included_from: Included from here.
grub-2.12/grub-core/commands/search.c: scope_hint: In function ‘iterate_device’
grub-2.12/grub-core/commands/search.c:219:41: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-563): [#def318]
grub-2.12/grub-core/disk/ahci.c: scope_hint: In function ‘grub_ahci_readwrite_real’
grub-2.12/grub-core/disk/ahci.c:919:31: warning[-Wunused-parameter]: unused parameter ‘spinup’
Error: COMPILER_WARNING: [#def319]
grub-2.12/grub-core/kern/efi/mm.c:20: included_from: Included from here.
grub-2.12/grub-core/kern/efi/mm.c: scope_hint: In function ‘grub_efi_allocate_pages_real’
grub-2.12/grub-core/kern/efi/mm.c:177:21: warning[-Wformat=]: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘grub_efi_uintn_t’ {aka ‘unsigned int’}
grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
grub-2.12/grub-core/kern/efi/mm.c:177:50: note: format string is defined here
Error: COMPILER_WARNING: [#def320]
grub-2.12/grub-core/kern/efi/mm.c:177:21: warning[-Wformat=]: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 8 has type ‘grub_efi_physical_address_t’ {aka ‘long long unsigned int’}
grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
grub-2.12/grub-core/kern/efi/mm.c:177:60: note: format string is defined here
Error: COMPILER_WARNING: [#def321]
grub-2.12/grub-core/kern/efi/mm.c:177:21: warning[-Wformat=]: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 9 has type ‘grub_efi_status_t’ {aka ‘unsigned int’}
grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
grub-2.12/grub-core/kern/efi/mm.c:177:72: note: format string is defined here
Error: COMPILER_WARNING: [#def322]
grub-2.12/grub-core/kern/efi/mm.c: scope_hint: In function ‘grub_nx_init’
grub-2.12/grub-core/kern/efi/mm.c:628:21: warning[-Wformat=]: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘grub_addr_t’ {aka ‘unsigned int’}
grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
Error: COMPILER_WARNING: [#def323]
grub-2.12/grub-core/kern/efi/mm.c:644:21: warning[-Wformat=]: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘grub_addr_t’ {aka ‘unsigned int’}
grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
Error: COMPILER_WARNING: [#def324]
grub-2.12/grub-core/kern/efi/mm.c:665:25: warning[-Wformat=]: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘grub_addr_t’ {aka ‘unsigned int’}
grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
Error: COMPILER_WARNING: [#def325]
grub-2.12/grub-core/kern/efi/mm.c: scope_hint: In function ‘grub_get_mem_attrs’
grub-2.12/grub-core/kern/efi/mm.c:871:27: warning[-Wformat=]: format ‘%x’ expects argument of type ‘unsigned int’, but argument 6 has type ‘grub_efi_physical_address_t’ {aka ‘long long unsigned int’}
grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
grub-2.12/grub-core/kern/efi/mm.c:871:44: note: format string is defined here
Error: COMPILER_WARNING: [#def326]
grub-2.12/grub-core/kern/efi/mm.c:871:27: warning[-Wformat=]: format ‘%x’ expects argument of type ‘unsigned int’, but argument 7 has type ‘grub_efi_physical_address_t’ {aka ‘long long unsigned int’}
grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
Error: COMPILER_WARNING: [#def327]
grub-2.12/grub-core/kern/efi/mm.c: scope_hint: In function ‘grub_update_mem_attrs’
grub-2.12/grub-core/kern/efi/mm.c:905:27: warning[-Wformat=]: format ‘%x’ expects argument of type ‘unsigned int’, but argument 6 has type ‘grub_efi_physical_address_t’ {aka ‘long long unsigned int’}
grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
grub-2.12/grub-core/kern/efi/mm.c:905:44: note: format string is defined here
Error: COMPILER_WARNING: [#def328]
grub-2.12/grub-core/kern/efi/mm.c:905:27: warning[-Wformat=]: format ‘%x’ expects argument of type ‘unsigned int’, but argument 7 has type ‘grub_efi_physical_address_t’ {aka ‘long long unsigned int’}
grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
Error: COMPILER_WARNING: [#def329]
grub-2.12/grub-core/kern/efi/mm.c:917:23: warning[-Wformat=]: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘grub_uint64_t’ {aka ‘long long unsigned int’}
grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
grub-2.12/grub-core/kern/efi/mm.c:917:55: note: format string is defined here
Error: COMPILER_WARNING: [#def330]
grub-2.12/grub-core/kern/efi/mm.c:917:23: warning[-Wformat=]: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘grub_uint64_t’ {aka ‘long long unsigned int’}
grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
grub-2.12/grub-core/kern/efi/mm.c:917:64: note: format string is defined here
Error: COMPILER_WARNING: [#def331]
grub-2.12/grub-core/kern/efi/mm.c:919:23: warning[-Wformat=]: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘grub_uint64_t’ {aka ‘long long unsigned int’}
grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
grub-2.12/grub-core/kern/efi/mm.c:919:57: note: format string is defined here
Error: COMPILER_WARNING: [#def332]
grub-2.12/grub-core/kern/efi/mm.c:919:23: warning[-Wformat=]: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘grub_uint64_t’ {aka ‘long long unsigned int’}
grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
grub-2.12/grub-core/kern/efi/mm.c:919:66: note: format string is defined here
Error: COMPILER_WARNING (CWE-569): [#def333]
grub-2.12/grub-core/kern/file.c: scope_hint: In function ‘grub_file_read’
grub-2.12/grub-core/kern/file.c:186:18: warning[-Wtype-limits]: comparison of unsigned expression in ‘>= 0’ is always true
Error: CPPCHECK_WARNING (CWE-476): [#def334]
grub-2.12/grub-core/lib/gnulib/argp-help.c:1033: error[ctunullpointer]: Null pointer dereference: argp
Error: COMPILER_WARNING: [#def335]
grub-2.12/grub-core/lib/gnulib/base64.c: scope_hint: At top level
grub-2.12/grub-core/lib/gnulib/base64.c:65:3: warning[-Wunterminated-string-initialization]: initializer-string for array of ‘char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (65 chars into 64 available)
Error: COMPILER_WARNING (CWE-195): [#def336]
grub-2.12/grub-core/lib/gnulib/base64.c:48: included_from: Included from here.
grub-2.12/grub-core/lib/gnulib/ialloc.h: scope_hint: In function ‘imalloc’
grub-2.12/grub-core/lib/gnulib/ialloc.h:51:12: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘idx_t’ {aka ‘int’} and ‘unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def337]
grub-2.12/grub-core/lib/gnulib/base64.c:48: included_from: Included from here.
grub-2.12/grub-core/lib/gnulib/ialloc.h: scope_hint: In function ‘imalloc’
grub-2.12/grub-core/lib/gnulib/ialloc.h:51:12: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘idx_t’ {aka ‘long int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def338]
grub-2.12/grub-core/lib/gnulib/ialloc.h: scope_hint: In function ‘irealloc’
grub-2.12/grub-core/lib/gnulib/ialloc.h:61:12: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘idx_t’ {aka ‘int’} and ‘unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def339]
grub-2.12/grub-core/lib/gnulib/ialloc.h: scope_hint: In function ‘irealloc’
grub-2.12/grub-core/lib/gnulib/ialloc.h:61:12: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘idx_t’ {aka ‘long int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def340]
grub-2.12/grub-core/lib/gnulib/ialloc.h: scope_hint: In function ‘icalloc’
grub-2.12/grub-core/lib/gnulib/ialloc.h:69:16: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘idx_t’ {aka ‘long int’}
Error: COMPILER_WARNING (CWE-195): [#def341]
grub-2.12/grub-core/lib/gnulib/ialloc.h: scope_hint: In function ‘icalloc’
grub-2.12/grub-core/lib/gnulib/ialloc.h:69:16: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘idx_t’ {aka ‘int’}
Error: COMPILER_WARNING (CWE-195): [#def342]
grub-2.12/grub-core/lib/gnulib/ialloc.h:75:16: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘idx_t’ {aka ‘long int’}
Error: COMPILER_WARNING (CWE-195): [#def343]
grub-2.12/grub-core/lib/gnulib/ialloc.h:75:16: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘idx_t’ {aka ‘int’}
Error: COMPILER_WARNING (CWE-195): [#def344]
grub-2.12/grub-core/lib/gnulib/ialloc.h: scope_hint: In function ‘ireallocarray’
grub-2.12/grub-core/lib/gnulib/ialloc.h:91:13: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘idx_t’ {aka ‘int’} and ‘unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def345]
grub-2.12/grub-core/lib/gnulib/ialloc.h: scope_hint: In function ‘ireallocarray’
grub-2.12/grub-core/lib/gnulib/ialloc.h:91:13: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘idx_t’ {aka ‘long int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def346]
grub-2.12/grub-core/lib/gnulib/ialloc.h:91:30: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘idx_t’ {aka ‘int’} and ‘unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def347]
grub-2.12/grub-core/lib/gnulib/ialloc.h:91:30: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘idx_t’ {aka ‘long int’} and ‘long unsigned int’
Error: CPPCHECK_WARNING (CWE-758): [#def348]
grub-2.12/grub-core/lib/gnulib/malloc/dynarray_emplace_enlarge.c:59: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def349]
grub-2.12/grub-core/lib/gnulib/malloc/dynarray_resize.c:45: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: COMPILER_WARNING (CWE-195): [#def350]
grub-2.12/grub-core/lib/gnulib/regex.c:74: included_from: Included from here.
grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘re_compile_fastmap_iter’
grub-2.12/grub-core/lib/gnulib/regcomp.c:304:29: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def351]
grub-2.12/grub-core/lib/gnulib/regex.c:74: included_from: Included from here.
grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘re_compile_fastmap_iter’
grub-2.12/grub-core/lib/gnulib/regcomp.c:304:29: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def352]
grub-2.12/grub-core/lib/gnulib/regcomp.c:310:38: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’
Error: COMPILER_WARNING (CWE-195): [#def353]
grub-2.12/grub-core/lib/gnulib/regcomp.c:310:38: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘unsigned int’} and ‘int’
Error: COMPILER_WARNING (CWE-195): [#def354]
grub-2.12/grub-core/lib/gnulib/regcomp.c:319:33: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def355]
grub-2.12/grub-core/lib/gnulib/regcomp.c:323:29: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def356]
grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘free_dfa_content’
grub-2.12/grub-core/lib/gnulib/regcomp.c:564:19: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def357]
grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘free_dfa_content’
grub-2.12/grub-core/lib/gnulib/regcomp.c:564:19: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def358]
grub-2.12/grub-core/lib/gnulib/regcomp.c:567:17: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def359]
grub-2.12/grub-core/lib/gnulib/regcomp.c:567:17: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def360]
grub-2.12/grub-core/lib/gnulib/regcomp.c:582:19: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘re_hashval_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def361]
grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘init_dfa’
grub-2.12/grub-core/lib/gnulib/regcomp.c:870:33: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def362]
grub-2.12/grub-core/lib/gnulib/regcomp.c:871:27: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def363]
grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘init_word_char’
grub-2.12/grub-core/lib/gnulib/regcomp.c:933:12: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def364]
grub-2.12/grub-core/lib/gnulib/regcomp.c:934:19: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def365]
grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘optimize_utf8’
grub-2.12/grub-core/lib/gnulib/regcomp.c:1053:23: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def366]
grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘optimize_utf8’
grub-2.12/grub-core/lib/gnulib/regcomp.c:1053:23: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def367]
grub-2.12/grub-core/lib/gnulib/regcomp.c:1093:54: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def368]
grub-2.12/grub-core/lib/gnulib/regcomp.c:1106:25: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def369]
grub-2.12/grub-core/lib/gnulib/regcomp.c:1106:25: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def370]
grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘analyze’
grub-2.12/grub-core/lib/gnulib/regcomp.c:1143:21: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def371]
grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘analyze’
grub-2.12/grub-core/lib/gnulib/regcomp.c:1143:21: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def372]
grub-2.12/grub-core/lib/gnulib/regcomp.c:1146:21: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def373]
grub-2.12/grub-core/lib/gnulib/regcomp.c:1146:21: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def374]
grub-2.12/grub-core/lib/gnulib/regcomp.c:1149:13: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def375]
grub-2.12/grub-core/lib/gnulib/regcomp.c:1149:13: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def376]
grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘optimize_subexps’
grub-2.12/grub-core/lib/gnulib/regcomp.c:1274:21: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def377]
grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘lower_subexp’
grub-2.12/grub-core/lib/gnulib/regcomp.c:1318:31: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def378]
grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘calc_inveclosure’
grub-2.12/grub-core/lib/gnulib/regcomp.c:1594:21: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def379]
grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘calc_inveclosure’
grub-2.12/grub-core/lib/gnulib/regcomp.c:1594:21: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def380]
grub-2.12/grub-core/lib/gnulib/regcomp.c:1597:21: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def381]
grub-2.12/grub-core/lib/gnulib/regcomp.c:1597:21: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def382]
grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘calc_eclosure’
grub-2.12/grub-core/lib/gnulib/regcomp.c:1625:20: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def383]
grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘calc_eclosure’
grub-2.12/grub-core/lib/gnulib/regcomp.c:1625:20: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def384]
grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘parse_bracket_exp’
grub-2.12/grub-core/lib/gnulib/regcomp.c:3240:33: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def385]
grub-2.12/grub-core/lib/gnulib/regcomp.c:3245:19: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def386]
grub-2.12/grub-core/lib/gnulib/libc-config.h:164: included_from: Included from here.
grub-2.12/grub-core/lib/gnulib/regex.c:23: included_from: Included from here.
grub-2.12/grub-core/lib/gnulib/regex_internal.c: scope_hint: In function ‘re_string_realloc_buffers’
grub-2.12/grub-core/lib/gnulib/regex_internal.c:143:29: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘Idx’ {aka ‘int’}
grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: COMPILER_WARNING (CWE-195): [#def387]
grub-2.12/grub-core/lib/gnulib/libc-config.h:164: included_from: Included from here.
grub-2.12/grub-core/lib/gnulib/regex.c:23: included_from: Included from here.
grub-2.12/grub-core/lib/gnulib/regex_internal.c: scope_hint: In function ‘re_string_realloc_buffers’
grub-2.12/grub-core/lib/gnulib/regex_internal.c:143:29: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘Idx’ {aka ‘int’}
grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: COMPILER_WARNING (CWE-195): [#def388]
grub-2.12/grub-core/lib/gnulib/regex.c:73: included_from: Included from here.
grub-2.12/grub-core/lib/gnulib/regex_internal.c: scope_hint: In function ‘build_wcs_upper_buffer’
grub-2.12/grub-core/lib/gnulib/regex_internal.c:397:44: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Idx’ {aka ‘int’}
Error: COMPILER_WARNING (CWE-195): [#def389]
grub-2.12/grub-core/lib/gnulib/regex.c:73: included_from: Included from here.
grub-2.12/grub-core/lib/gnulib/regex_internal.c: scope_hint: In function ‘build_wcs_upper_buffer’
grub-2.12/grub-core/lib/gnulib/regex_internal.c:397:44: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘unsigned int’} and ‘Idx’ {aka ‘int’}
Error: COMPILER_WARNING (CWE-195): [#def390]
grub-2.12/grub-core/lib/gnulib/regex_internal.c: scope_hint: In function ‘re_string_reconstruct’
grub-2.12/grub-core/lib/gnulib/regex_internal.c:737:48: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def391]
grub-2.12/grub-core/lib/gnulib/regex_internal.c: scope_hint: In function ‘re_string_reconstruct’
grub-2.12/grub-core/lib/gnulib/regex_internal.c:737:48: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def392]
grub-2.12/grub-core/lib/gnulib/regex.c:71: included_from: Included from here.
grub-2.12/grub-core/lib/gnulib/regex_internal.h: scope_hint: In function ‘bitset_not’
grub-2.12/grub-core/lib/gnulib/regex_internal.h:749:31: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def393]
grub-2.12/grub-core/lib/gnulib/regex_internal.h: scope_hint: In function ‘bitset_merge’
grub-2.12/grub-core/lib/gnulib/regex_internal.h:761:31: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def394]
grub-2.12/grub-core/lib/gnulib/regex_internal.h: scope_hint: In function ‘bitset_mask’
grub-2.12/grub-core/lib/gnulib/regex_internal.h:769:31: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def395]
grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘re_copy_regs’
grub-2.12/grub-core/lib/gnulib/regexec.c:481:39: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘__re_size_t’ {aka ‘unsigned int’}
grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: COMPILER_WARNING (CWE-195): [#def396]
grub-2.12/grub-core/lib/gnulib/regex_internal.h:40: included_from: Included from here.
grub-2.12/grub-core/lib/gnulib/regexec.c:502:27: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘__re_size_t’ {aka ‘unsigned int’}
grub-2.12/grub-core/lib/gnulib/verify.h:300:22: note: in definition of macro ‘assume’
grub-2.12/grub-core/lib/gnulib/regexec.c:502:7: note: in expansion of macro ‘DEBUG_ASSERT’
Error: COMPILER_WARNING (CWE-195): [#def397]
grub-2.12/grub-core/lib/gnulib/regex.c:75: included_from: Included from here.
grub-2.12/grub-core/lib/gnulib/regexec.c:512:13: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘__re_size_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def398]
grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘re_search_internal’
grub-2.12/grub-core/lib/gnulib/regexec.c:651:30: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘Idx’ {aka ‘int’}
grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: COMPILER_WARNING (CWE-195): [#def399]
grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘re_search_internal’
grub-2.12/grub-core/lib/gnulib/regexec.c:651:30: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘Idx’ {aka ‘int’}
grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: COMPILER_WARNING (CWE-195): [#def400]
grub-2.12/grub-core/lib/gnulib/regexec.c:756:28: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘__re_size_t’ {aka ‘unsigned int’} and ‘Idx’ {aka ‘int’}
Error: COMPILER_WARNING (CWE-195): [#def401]
grub-2.12/grub-core/lib/gnulib/regexec.c:829:33: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def402]
grub-2.12/grub-core/lib/gnulib/regexec.c:829:33: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def403]
grub-2.12/grub-core/lib/gnulib/regexec.c:850:33: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def404]
grub-2.12/grub-core/lib/gnulib/regexec.c:850:33: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def405]
grub-2.12/grub-core/lib/gnulib/regexec.c:874:39: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def406]
grub-2.12/grub-core/lib/gnulib/regexec.c:874:39: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def407]
grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘prune_impossible_nodes’
grub-2.12/grub-core/lib/gnulib/regexec.c:908:25: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘Idx’ {aka ‘int’}
grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: COMPILER_WARNING (CWE-195): [#def408]
grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘prune_impossible_nodes’
grub-2.12/grub-core/lib/gnulib/regexec.c:908:25: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘Idx’ {aka ‘int’}
grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: COMPILER_WARNING (CWE-195): [#def409]
grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘set_regs’
grub-2.12/grub-core/lib/gnulib/regexec.c:1410:41: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def410]
grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘set_regs’
grub-2.12/grub-core/lib/gnulib/regexec.c:1410:41: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def411]
grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘check_dst_limits_calc_pos_1’
grub-2.12/grub-core/lib/gnulib/regexec.c:1893:34: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def412]
grub-2.12/grub-core/lib/gnulib/regexec.c:1921:34: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def413]
grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘check_subexp_matching_top’
grub-2.12/grub-core/lib/gnulib/regexec.c:2371:39: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def414]
grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘check_arrival’
grub-2.12/grub-core/lib/gnulib/regexec.c:2832:65: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘Idx’ {aka ‘int’}
grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: COMPILER_WARNING (CWE-195): [#def415]
grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘check_arrival’
grub-2.12/grub-core/lib/gnulib/regexec.c:2832:65: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘Idx’ {aka ‘int’}
grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: COMPILER_WARNING (CWE-195): [#def416]
grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘build_trtable’
grub-2.12/grub-core/lib/gnulib/regexec.c:3345:21: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def417]
grub-2.12/grub-core/lib/gnulib/regexec.c:3376:21: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def418]
grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘group_nodes_into_DFAstates’
grub-2.12/grub-core/lib/gnulib/regexec.c:3502:31: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def419]
grub-2.12/grub-core/lib/gnulib/regexec.c:3505:31: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def420]
grub-2.12/grub-core/lib/gnulib/regexec.c:3519:31: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def421]
grub-2.12/grub-core/lib/gnulib/regexec.c:3522:31: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def422]
grub-2.12/grub-core/lib/gnulib/regexec.c:3544:25: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def423]
grub-2.12/grub-core/lib/gnulib/regexec.c:3552:25: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def424]
grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘extend_buffers’
grub-2.12/grub-core/lib/gnulib/regexec.c:3954:25: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘Idx’ {aka ‘int’}
grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: COMPILER_WARNING (CWE-195): [#def425]
grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘extend_buffers’
grub-2.12/grub-core/lib/gnulib/regexec.c:3954:25: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘Idx’ {aka ‘int’}
grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: COMPILER_WARNING (CWE-195): [#def426]
grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘match_ctx_init’
grub-2.12/grub-core/lib/gnulib/regexec.c:4019:71: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘Idx’ {aka ‘int’}
grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: COMPILER_WARNING (CWE-195): [#def427]
grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘match_ctx_init’
grub-2.12/grub-core/lib/gnulib/regexec.c:4019:71: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘Idx’ {aka ‘int’}
grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: COMPILER_WARNING (CWE-563): [#def428]
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpih-div.c:33: included_from: Included from here.
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpih-div.c: scope_hint: In function ‘_gcry_mpih_mod_1’
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-internal.h:150:24: warning[-Wunused-but-set-variable]: variable ‘_ql’ set but not used
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpih-div.c:100:17: note: in expansion of macro ‘UDIV_QRNND_PREINV’
Error: COMPILER_WARNING (CWE-563): [#def429]
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpih-div.c:53:9: warning[-Wunused-but-set-variable]: variable ‘dummy’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def430]
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpih-div.c:403:9: warning[-Wunused-but-set-variable]: variable ‘dummy’ set but not used
Error: COMPILER_WARNING (CWE-758): [#def431]
grub-2.12/grub-core/lib/pkcs1_v15.c:30:1: warning[-Wmissing-prototypes]: no previous prototype for ‘grub_crypto_rsa_pad’
Error: COMPILER_WARNING (CWE-563): [#def432]
grub-2.12/grub-core/loader/efi/chainloader.c: scope_hint: In function ‘grub_start_image’
grub-2.12/grub-core/loader/efi/chainloader.c:65:29: warning[-Wunused-but-set-variable]: variable ‘b’ set but not used
Error: COMPILER_WARNING: [#def433]
grub-2.12/include/grub/dl.h:29: included_from: Included from here.
grub-2.12/include/grub/fs.h:26: included_from: Included from here.
grub-2.12/include/grub/file.h:25: included_from: Included from here.
grub-2.12/include/grub/loader.h:23: included_from: Included from here.
grub-2.12/grub-core/loader/efi/chainloader.c:22: included_from: Included from here.
grub-2.12/grub-core/loader/efi/chainloader.c: scope_hint: In function ‘handle_image’
grub-2.12/grub-core/loader/efi/chainloader.c:830:26: warning[-Wformat=]: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘grub_efi_status_t’ {aka ‘unsigned int’}
grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
grub-2.12/grub-core/loader/efi/chainloader.c:830:50: note: format string is defined here
Error: COMPILER_WARNING (CWE-563): [#def434]
grub-2.12/grub-core/loader/efi/chainloader.c: scope_hint: In function ‘grub_load_image’
grub-2.12/grub-core/loader/efi/chainloader.c:866:29: warning[-Wunused-but-set-variable]: variable ‘b’ set but not used
Error: COMPILER_WARNING: [#def435]
grub-2.12/grub-core/loader/efi/chainloader.c: scope_hint: In function ‘grub_cmd_chainloader’
grub-2.12/grub-core/loader/efi/chainloader.c:1085:22: warning[-Wformat=]: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘grub_ssize_t’ {aka ‘int’}
grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
grub-2.12/grub-core/loader/efi/chainloader.c:1085:52: note: format string is defined here
Error: COMPILER_WARNING (CWE-563): [#def436]
grub-2.12/grub-core/loader/efi/linux.c: scope_hint: In function ‘grub_cmd_linux’
grub-2.12/grub-core/loader/efi/linux.c:727:7: warning[-Wunused-variable]: unused variable ‘nx_supported’
Error: COMPILER_WARNING: [#def437]
grub-2.12/include/grub/compiler-rt-emu.h:23: included_from: Included from here.
grub-2.12/grub-emu-2.12/grub-core/symlist.h:20: included_from: Included from here.
grub-2.12/grub-emu-2.12/config-util.h:1174:10: warning: ‘_GL_INLINE_HEADER_BEGIN’ redefined
grub-2.12/grub-emu-2.12/grub-core/symlist.h:1: included_from: Included from here.
grub-2.12/grub-emu-2.12/config.h:140:13: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def438]
grub-2.12/grub-emu-2.12/config-util.h:1175:10: warning: ‘_GL_INLINE_HEADER_END’ redefined
grub-2.12/grub-emu-2.12/config.h:143:13: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def439]
grub-2.12/grub-emu-2.12/config-util.h:1541:10: warning: ‘_GL_GNUC_PREREQ’ redefined
grub-2.12/grub-emu-2.12/config.h:114:13: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def440]
grub-2.12/grub-emu-2.12/config-util.h:1727:11: warning: ‘_GL_ATTRIBUTE_COLD’ redefined
grub-2.12/grub-emu-2.12/config.h:89:13: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def441]
grub-2.12/grub-emu-2.12/config-util.h:1743:10: warning: ‘_GL_ATTRIBUTE_CONST’ redefined
grub-2.12/grub-emu-2.12/config.h:90:13: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def442]
grub-2.12/grub-emu-2.12/config-util.h:1755:10: warning: ‘_GL_ATTRIBUTE_DEALLOC’ redefined
grub-2.12/grub-emu-2.12/config.h:91:13: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def443]
grub-2.12/grub-emu-2.12/config-util.h:1775:10: warning: ‘_GL_ATTRIBUTE_DEPRECATED’ redefined
grub-2.12/grub-emu-2.12/config.h:93:13: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def444]
grub-2.12/grub-emu-2.12/config-util.h:1813:10: warning: ‘_GL_ATTRIBUTE_FALLTHROUGH’ redefined
grub-2.12/grub-emu-2.12/config.h:121:15: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def445]
grub-2.12/grub-emu-2.12/config-util.h:1852:10: warning: ‘_GL_ATTRIBUTE_MALLOC’ redefined
grub-2.12/grub-emu-2.12/config.h:99:13: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def446]
grub-2.12/grub-emu-2.12/config-util.h:1881:10: warning: ‘_GL_ATTRIBUTE_MAYBE_UNUSED’ redefined
grub-2.12/grub-emu-2.12/config.h:100:13: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def447]
grub-2.12/grub-emu-2.12/config-util.h:1895:10: warning: ‘_GL_ATTRIBUTE_NODISCARD’ redefined
grub-2.12/grub-emu-2.12/config.h:102:13: note: this is the location of the previous definition
Error: GCC_ANALYZER_WARNING (CWE-476): [#def448]
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/commands/legacycfg.c:148:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘entrysrc’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/commands/legacycfg.c:221:1: enter_function: entry to ‘grub_cmd_legacy_source’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/commands/legacycfg.c:242:9: call_function: calling ‘legacy_file’ from ‘grub_cmd_legacy_source’
Error: COMPILER_WARNING (CWE-704): [#def449]
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/commands/search.c:219:41: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-476): [#def450]
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/fs/bfs.c:543:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘node’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/fs/bfs.c:890:1: enter_function: entry to ‘grub_bfs_dir’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/fs/bfs.c:901:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/fs/bfs.c:906:28: branch_false: ...to here
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/fs/bfs.c:907:8: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/fs/bfs.c:909:24: branch_false: ...to here
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/fs/bfs.c:909:5: call_function: calling ‘iterate_in_b_tree’ from ‘grub_bfs_dir’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def451]
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/fs/bfs.c:621:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘node’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/fs/bfs.c:1047:1: enter_function: entry to ‘grub_bfs_uuid’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/fs/bfs.c:1057:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/fs/bfs.c:1060:22: branch_false: ...to here
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/fs/bfs.c:1061:6: branch_false: following ‘false’ branch (when ‘ino’ is non-NULL)...
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/fs/bfs.c:1065:27: branch_false: ...to here
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/fs/bfs.c:1066:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/fs/bfs.c:1071:22: branch_false: ...to here
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/fs/bfs.c:1071:7: call_function: calling ‘read_bfs_attr’ from ‘grub_bfs_uuid’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def452]
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/fs/fshelp.c:152:11: warning[-Wanalyzer-jump-through-null]: jump through null pointer
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/fs/fshelp.c:335:1: enter_function: entry to ‘grub_fshelp_find_file_lookup’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/fs/fshelp.c:341:10: call_function: calling ‘grub_fshelp_find_file_real’ from ‘grub_fshelp_find_file_lookup’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def453]
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/fs/fshelp.c:188:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ctx.currnode’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/fs/fshelp.c:335:1: enter_function: entry to ‘grub_fshelp_find_file_lookup’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/fs/fshelp.c:341:10: call_function: calling ‘grub_fshelp_find_file_real’ from ‘grub_fshelp_find_file_lookup’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def454]
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/kern/env.c:227:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/kern/env.c:212:1: enter_function: entry to ‘grub_register_variable_hook’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/kern/env.c:216:30: call_function: calling ‘grub_env_find’ from ‘grub_register_variable_hook’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/kern/env.c:216:30: return_function: return of NULL to ‘grub_register_variable_hook’ from ‘grub_env_find’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/kern/env.c:218:6: branch_true: following ‘true’ branch (when ‘var’ is NULL)...
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/kern/env.c:220:11: branch_true: ...to here
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/kern/env.c:220:11: call_function: calling ‘grub_env_set’ from ‘grub_register_variable_hook’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/kern/env.c:220:11: return_function: returning to ‘grub_register_variable_hook’ from ‘grub_env_set’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/kern/env.c:220:10: branch_false: following ‘false’ branch...
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/kern/env.c:223:13: branch_false: ...to here
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/kern/env.c:227:3: danger: dereference of NULL ‘var’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def455]
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/kern/env.c:248:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/kern/env.c:234:1: enter_function: entry to ‘grub_env_export’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/kern/env.c:238:9: call_function: calling ‘grub_env_find’ from ‘grub_env_export’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/kern/env.c:238:9: return_function: return of NULL to ‘grub_env_export’ from ‘grub_env_find’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/kern/env.c:239:6: branch_true: following ‘true’ branch (when ‘var’ is NULL)...
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/kern/env.c:243:13: branch_true: ...to here
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/kern/env.c:243:13: call_function: calling ‘grub_env_set’ from ‘grub_env_export’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/kern/env.c:243:13: return_function: returning to ‘grub_env_export’ from ‘grub_env_set’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/kern/env.c:244:10: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/kern/env.c:246:13: branch_false: ...to here
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/kern/env.c:248:3: danger: dereference of NULL ‘var’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def456]
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/kern/parser.c:142:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/kern/parser.c:191:1: enter_function: entry to ‘grub_parser_split_cmdline’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/kern/parser.c:205:6: branch_false: following ‘false’ branch (when ‘buffer’ is non-NULL)...
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/kern/parser.c:208:13: branch_false: ...to here
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/kern/parser.c:209:6: branch_false: following ‘false’ branch (when ‘varname’ is non-NULL)...
branch_false: ...to here
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/kern/parser.c:216:14: branch_false: following ‘false’ branch...
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/kern/parser.c:221:14: branch_false: ...to here
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/kern/parser.c:248:6: branch_false: following ‘false’ branch...
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/kern/parser.c:252:7: branch_false: ...to here
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/kern/parser.c:252:7: call_function: calling ‘terminate_arg’ from ‘grub_parser_split_cmdline’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def457]
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/cipher/sha1.c:142:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘x[1]’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/cipher/sha1.c:236:1: enter_function: entry to ‘sha1_write’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/cipher/sha1.c:249:6: branch_false: following ‘false’ branch (when ‘inbuf_arg’ is non-NULL)...
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/cipher/sha1.c:252:7: branch_false: ...to here
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/cipher/sha1.c:262:6: branch_true: following ‘true’ branch (when ‘nblocks != 0’)...
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/cipher/sha1.c:264:7: branch_true: ...to here
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/cipher/sha1.c:264:7: call_function: calling ‘transform’ from ‘sha1_write’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def458]
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/cipher/sha256.c:197:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘w[<unknown>]’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/cipher/sha256.c:309:1: enter_function: entry to ‘sha256_final’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/cipher/sha256.c:315:3: call_function: calling ‘sha256_write’ from ‘sha256_final’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/cipher/sha256.c:315:3: return_function: returning to ‘sha256_final’ from ‘sha256_write’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/cipher/sha256.c:331:6: branch_false: following ‘false’ branch...
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/cipher/sha256.c:339:15: branch_false: ...to here
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/cipher/sha256.c:342:7: call_function: calling ‘sha256_write’ from ‘sha256_final’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def459]
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:163:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:81:6: branch_false: following ‘false’ branch (when ‘msize != 0’)...
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:84:6: branch_false: ...to here
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:84:6: branch_false: following ‘false’ branch (when ‘esize != 0’)...
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:103:15: branch_false: ...to here
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:103:15: branch_true: following ‘true’ branch...
branch_true: ...to here
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:105:3: branch_true: following ‘true’ branch (when ‘__a != 0’)...
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:105:3: branch_true: ...to here
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:113:6: branch_false: following ‘false’ branch (when ‘msize >= bsize’)...
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:131:5: branch_false: ...to here
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:133:6: branch_false: following ‘false’ branch (when ‘bsize != 0’)...
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:142:6: branch_false: ...to here
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:142:6: branch_false: following ‘false’ branch (when ‘bp != rp’)...
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:150:6: branch_false: ...to here
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:150:6: branch_false: following ‘false’ branch (when ‘rp != ep’)...
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:157:6: branch_false: ...to here
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:157:6: branch_true: following ‘true’ branch (when ‘rp == mp_marker’)...
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:160:7: branch_true: ...to here
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:160:7: branch_false: following ‘false’ branch (when ‘mp_marker’ is NULL)...
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:162:24: branch_false: ...to here
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:163:7: branch_true: following ‘true’ branch (when ‘_i < msize’)...
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:163:7: branch_true: ...to here
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:163:7: release_memory: ‘0’ is NULL
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:163:7: release_memory: ‘0’ is NULL
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:163:7: danger: dereference of NULL ‘(mpi_limb_t *)((long unsigned int)_i * 8)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def460]
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘wp’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:296:1: enter_function: entry to ‘gcry_mpi_set’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:302:6: branch_true: following ‘true’ branch (when ‘w’ is NULL)...
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:303:9: branch_true: ...to here
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:303:9: call_function: calling ‘_gcry_mpi_alloc’ from ‘gcry_mpi_set’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:303:9: return_function: returning to ‘gcry_mpi_set’ from ‘_gcry_mpi_alloc’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:304:3: branch_false: following ‘false’ branch...
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:305:3: branch_false: ...to here
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:305:3: release_memory: ‘*w.d’ is NULL
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: branch_true: following ‘true’ branch (when ‘_i < usize’)...
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: branch_true: ...to here
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: release_memory: ‘*w.d’ is NULL
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: danger: dereference of NULL ‘wp + (long unsigned int)_i * 8’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def461]
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1158:19: warning[-Wanalyzer-infinite-loop]: infinite loop
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1129:1: enter_function: entry to ‘_asn1_set_default_tag’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1158:19: danger: infinite loop here
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1159:18: branch_false: when ‘node != p’: always following ‘false’ branch...
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1164:18: branch_false: ...to here
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1164:18: branch_false: when ‘p’ is NULL: always following ‘false’ branch...
branch_false: ...to here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def462]
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/posix_wrap/wchar.h:63:31: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*ptr’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/gnulib/regexec.c:2759:1: enter_function: entry to ‘get_subexp_sub’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/gnulib/regexec.c:2770:9: call_function: calling ‘match_ctx_add_entry’ from ‘get_subexp_sub’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/gnulib/regexec.c:2770:9: return_function: returning to ‘get_subexp_sub’ from ‘match_ctx_add_entry’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/gnulib/regexec.c:2772:6: branch_false: following ‘false’ branch...
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/gnulib/regexec.c:2774:24: branch_false: ...to here
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/lib/gnulib/regexec.c:2775:10: call_function: calling ‘clean_state_log_if_needed’ from ‘get_subexp_sub’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def463]
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/net/bootp.c:82:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/net/bootp.c:1405:1: enter_function: entry to ‘grub_net_process_dhcp6’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/net/bootp.c:1416:13: call_function: calling ‘grub_dhcp6_options_get’ from ‘grub_net_process_dhcp6’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def464]
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/normal/term.c:477:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/normal/term.c:1084:1: enter_function: entry to ‘grub_cls’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/normal/term.c:1088:3: branch_true: following ‘true’ branch (when ‘term’ is non-NULL)...
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/normal/term.c:1090:10: branch_true: ...to here
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/normal/term.c:1092:9: call_function: calling ‘grub_putcode’ from ‘grub_cls’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def465]
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/partmap/acorn.c:121:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘map[i].magic’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/partmap/acorn.c:114:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/partmap/acorn.c:117:3: branch_false: ...to here
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/partmap/acorn.c:119:15: branch_true: following ‘true’ branch (when ‘i != 42’)...
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/partmap/acorn.c:121:11: branch_true: ...to here
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/partmap/acorn.c:121:11: danger: use of uninitialized value ‘map[i].magic’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def466]
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/tests/lib/test.c:85:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘failure’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/tests/lib/test.c:110:1: enter_function: entry to ‘add_failure’
grub-2.12/grub-emu-2.12/grub-core/../../grub-core/tests/lib/test.c:115:3: call_function: calling ‘failure_append_text’ from ‘add_failure’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def467]
grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1111:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1069:6: branch_true: following ‘true’ branch...
grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1075:28: branch_true: ...to here
grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1098:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1100:7: branch_false: ...to here
grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1109:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1111:9: branch_false: ...to here
grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1111:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def468]
grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1238:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1069:6: branch_false: following ‘false’ branch...
grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1133:6: branch_false: ...to here
grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1133:6: branch_false: following ‘false’ branch (when ‘yystate != 3’)...
grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1136:3: branch_false: ...to here
grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1148:6: branch_true: following ‘true’ branch (when ‘yyn == -73’)...
grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1149:5: branch_true: ...to here
grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1218:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1220:3: branch_false: ...to here
grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1238:3: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def469]
grub-2.12/grub-emu-2.12/grub-core/grub_script.yy.c:2091:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
grub-2.12/grub-emu-2.12/grub-core/grub_script.yy.c:1970:10: enter_function: entry to ‘yyrestart’
grub-2.12/grub-emu-2.12/grub-core/grub_script.yy.c:1975:16: call_function: calling ‘yyensure_buffer_stack’ from ‘yyrestart’
grub-2.12/grub-emu-2.12/grub-core/grub_script.yy.c:1975:16: return_function: returning to ‘yyrestart’ from ‘yyensure_buffer_stack’
grub-2.12/grub-emu-2.12/grub-core/grub_script.yy.c:1977:27: call_function: calling ‘yy_create_buffer’ from ‘yyrestart’
grub-2.12/grub-emu-2.12/grub-core/grub_script.yy.c:1977:27: return_function: returning to ‘yyrestart’ from ‘yy_create_buffer’
grub-2.12/grub-emu-2.12/grub-core/grub_script.yy.c:1980:2: branch_false: following ‘false’ branch...
grub-2.12/grub-emu-2.12/grub-core/grub_script.yy.c:1980:2: branch_false: ...to here
grub-2.12/grub-emu-2.12/grub-core/grub_script.yy.c:1980:2: call_function: calling ‘yy_init_buffer’ from ‘yyrestart’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def470]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:596:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘td_prev_virt’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:585:1: enter_function: entry to ‘grub_ohci_free_tds’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:587:6: branch_false: following ‘false’ branch (when ‘td’ is non-NULL)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:591:7: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:591:6: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:594:39: branch_true: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:593:37: call_function: calling ‘grub_ohci_td_phys2virt’ from ‘grub_ohci_free_tds’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:593:37: return_function: return of NULL to ‘grub_ohci_free_tds’ from ‘grub_ohci_td_phys2virt’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:596:34: danger: dereference of NULL ‘td_prev_virt’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def471]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:658:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘td’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:682:1: enter_function: entry to ‘grub_ohci_setup_transfer’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:695:6: branch_false: following ‘false’ branch (when ‘cdata’ is non-NULL)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:700:12: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:724:20: call_function: calling ‘grub_ohci_find_ed’ from ‘grub_ohci_setup_transfer’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:724:20: return_function: returning to ‘grub_ohci_setup_transfer’ from ‘grub_ohci_find_ed’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:725:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:733:18: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:737:6: branch_false: following ‘false’ branch (when ‘td_head_phys == td_tail_phys’)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:749:6: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:749:6: branch_false: following ‘false’ branch (when ‘td_head_phys != 0’)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:764:27: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:764:27: call_function: calling ‘grub_ohci_td_phys2virt’ from ‘grub_ohci_setup_transfer’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:764:27: return_function: returning to ‘grub_ohci_setup_transfer’ from ‘grub_ohci_td_phys2virt’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:764:5: release_memory: ‘*cdata.td_head_virt’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:768:40: release_memory: ‘*cdata.td_head_virt’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:768:15: release_memory: ‘*cdata.td_head_virt’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:769:8: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:771:36: branch_true: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:773:7: release_memory: ‘*cdata.td_head_virt’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:773:7: call_function: calling ‘grub_ohci_transaction’ from ‘grub_ohci_setup_transfer’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def472]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:663:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘td’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:682:1: enter_function: entry to ‘grub_ohci_setup_transfer’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:695:6: branch_false: following ‘false’ branch (when ‘cdata’ is non-NULL)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:700:12: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:724:20: call_function: calling ‘grub_ohci_find_ed’ from ‘grub_ohci_setup_transfer’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:724:20: return_function: returning to ‘grub_ohci_setup_transfer’ from ‘grub_ohci_find_ed’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:725:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:733:18: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:737:6: branch_false: following ‘false’ branch (when ‘td_head_phys == td_tail_phys’)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:749:6: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:749:6: branch_false: following ‘false’ branch (when ‘td_head_phys != 0’)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:764:27: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:764:27: call_function: calling ‘grub_ohci_td_phys2virt’ from ‘grub_ohci_setup_transfer’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:764:27: return_function: returning to ‘grub_ohci_setup_transfer’ from ‘grub_ohci_td_phys2virt’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:764:5: release_memory: ‘*cdata.td_head_virt’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:768:40: release_memory: ‘*cdata.td_head_virt’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:768:15: release_memory: ‘*cdata.td_head_virt’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:769:8: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:771:36: branch_true: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:773:7: release_memory: ‘*cdata.td_head_virt’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:773:7: call_function: calling ‘grub_ohci_transaction’ from ‘grub_ohci_setup_transfer’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def473]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:939:54: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘td_prev_virt’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:919:1: enter_function: entry to ‘finish_transfer’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:934:6: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:937:38: branch_true: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:937:11: call_function: calling ‘grub_ohci_td_phys2virt’ from ‘finish_transfer’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:937:11: return_function: return of NULL to ‘finish_transfer’ from ‘grub_ohci_td_phys2virt’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:939:54: danger: dereference of NULL ‘td_prev_virt’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def474]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:967:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:951:1: enter_function: entry to ‘parse_halt’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:959:18: release_memory: ‘tderr_virt’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:959:18: release_memory: ‘tderr_virt’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:959:18: release_memory: ‘tderr_virt’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:967:23: call_function: calling ‘grub_ohci_td_phys2virt’ from ‘parse_halt’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:967:23: return_function: returning to ‘parse_halt’ from ‘grub_ohci_td_phys2virt’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:967:23: danger: dereference of NULL ‘grub_ohci_td_phys2virt(o, *cdata_43->ed_virt.td_head & 4294967280)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def475]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:1208:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:1188:1: enter_function: entry to ‘grub_ohci_cancel_transfer’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:1193:18: release_memory: ‘tderr_virt’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:1193:18: release_memory: ‘tderr_virt’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:1193:18: release_memory: ‘tderr_virt’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:1208:7: call_function: calling ‘grub_ohci_td_phys2virt’ from ‘grub_ohci_cancel_transfer’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:1208:7: return_function: returning to ‘grub_ohci_cancel_transfer’ from ‘grub_ohci_td_phys2virt’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:1208:7: danger: dereference of NULL ‘grub_ohci_td_phys2virt(o, *cdata_18->ed_virt.td_head & 4294967280)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def476]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:570:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘td_prev’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:516:1: enter_function: entry to ‘grub_uhci_setup_transfer’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:521:18: release_memory: ‘td_prev’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:521:18: release_memory: ‘td_prev’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:526:6: branch_false: following ‘false’ branch (when ‘cdata’ is non-NULL)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:529:3: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:529:3: release_memory: ‘td_prev’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:532:15: call_function: calling ‘grub_alloc_qh’ from ‘grub_uhci_setup_transfer’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:532:15: return_function: returning to ‘grub_uhci_setup_transfer’ from ‘grub_alloc_qh’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:533:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:539:3: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:541:15: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:543:36: branch_true: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:545:12: call_function: calling ‘grub_uhci_transaction’ from ‘grub_uhci_setup_transfer’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:545:12: return_function: returning to ‘grub_uhci_setup_transfer’ from ‘grub_uhci_transaction’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:549:10: branch_false: following ‘false’ branch (when ‘td’ is non-NULL)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:566:13: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:566:10: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:570:31: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:570:11: danger: dereference of NULL ‘td_prev’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def477]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:576:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘td_prev’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:516:1: enter_function: entry to ‘grub_uhci_setup_transfer’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:521:18: release_memory: ‘td_prev’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:521:18: release_memory: ‘td_prev’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:526:6: branch_false: following ‘false’ branch (when ‘cdata’ is non-NULL)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:529:3: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:529:3: release_memory: ‘td_prev’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:532:15: call_function: calling ‘grub_alloc_qh’ from ‘grub_uhci_setup_transfer’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:532:15: return_function: returning to ‘grub_uhci_setup_transfer’ from ‘grub_alloc_qh’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:533:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:539:3: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:541:15: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:576:3: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:576:3: danger: dereference of NULL ‘td_prev’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def478]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:148:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘entrysrc’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:52:9: release_memory: ‘entryname’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:52:28: release_memory: ‘entryname’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:56:6: branch_false: following ‘false’ branch (when ‘suffix’ is non-NULL)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:59:10: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:60:6: branch_false: following ‘false’ branch (when ‘file’ is non-NULL)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:66:10: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:82:13: release_memory: ‘entryname’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:91:10: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:95:15: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:95:15: release_memory: ‘entryname’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:101:9: release_memory: ‘entryname’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:104:9: release_memory: ‘entryname’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:160:15: branch_false: following ‘false’ branch (when ‘parsed’ is NULL)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:80:5: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:82:13: release_memory: ‘entrysrc’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:91:10: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:95:15: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:95:15: release_memory: ‘entrysrc’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:104:9: release_memory: ‘entrysrc’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:138:16: branch_false: following ‘false’ branch (when ‘args’ is non-NULL)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:143:13: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:148:13: danger: dereference of NULL ‘entrysrc’
Error: COMPILER_WARNING (CWE-704): [#def479]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/commands/search.c:219:41: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-476): [#def480]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/font/font.c:1497:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘comb’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/font/font.c:1546:1: enter_function: entry to ‘grub_font_construct_glyph’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/font/font.c:1557:16: call_function: calling ‘grub_font_construct_dry_run’ from ‘grub_font_construct_glyph’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def481]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/fs/bfs.c:621:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘node’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/fs/bfs.c:1047:1: enter_function: entry to ‘grub_bfs_uuid’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/fs/bfs.c:1057:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/fs/bfs.c:1060:22: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/fs/bfs.c:1061:6: branch_false: following ‘false’ branch (when ‘ino’ is non-NULL)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/fs/bfs.c:1065:27: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/fs/bfs.c:1066:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/fs/bfs.c:1071:22: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/fs/bfs.c:1071:7: call_function: calling ‘read_bfs_attr’ from ‘grub_bfs_uuid’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def482]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/fs/fshelp.c:152:11: warning[-Wanalyzer-jump-through-null]: jump through null pointer
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/fs/fshelp.c:335:1: enter_function: entry to ‘grub_fshelp_find_file_lookup’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/fs/fshelp.c:341:10: call_function: calling ‘grub_fshelp_find_file_real’ from ‘grub_fshelp_find_file_lookup’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def483]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/fs/fshelp.c:188:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ctx.currnode’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/fs/fshelp.c:335:1: enter_function: entry to ‘grub_fshelp_find_file_lookup’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/fs/fshelp.c:341:10: call_function: calling ‘grub_fshelp_find_file_real’ from ‘grub_fshelp_find_file_lookup’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def484]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/kern/efi/efi.c:187:3: warning[-Wanalyzer-infinite-loop]: infinite loop
Error: GCC_ANALYZER_WARNING (CWE-835): [#def485]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/kern/efi/efi.c:201:3: warning[-Wanalyzer-infinite-loop]: infinite loop
Error: GCC_ANALYZER_WARNING (CWE-476): [#def486]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/kern/env.c:227:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/kern/env.c:212:1: enter_function: entry to ‘grub_register_variable_hook’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/kern/env.c:216:30: call_function: calling ‘grub_env_find’ from ‘grub_register_variable_hook’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/kern/env.c:216:30: return_function: returning to ‘grub_register_variable_hook’ from ‘grub_env_find’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/kern/env.c:218:6: branch_true: following ‘true’ branch (when ‘var’ is NULL)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/kern/env.c:220:11: branch_true: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/kern/env.c:220:11: call_function: calling ‘grub_env_set’ from ‘grub_register_variable_hook’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/kern/env.c:220:11: return_function: returning to ‘grub_register_variable_hook’ from ‘grub_env_set’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/kern/env.c:220:10: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/kern/env.c:223:13: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/kern/env.c:223:13: call_function: calling ‘grub_env_find’ from ‘grub_register_variable_hook’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/kern/env.c:223:13: return_function: return of NULL to ‘grub_register_variable_hook’ from ‘grub_env_find’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/kern/env.c:227:3: danger: dereference of NULL ‘var’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def487]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/kern/env.c:248:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/kern/env.c:234:1: enter_function: entry to ‘grub_env_export’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/kern/env.c:238:9: call_function: calling ‘grub_env_find’ from ‘grub_env_export’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/kern/env.c:238:9: return_function: returning to ‘grub_env_export’ from ‘grub_env_find’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/kern/env.c:239:6: branch_true: following ‘true’ branch (when ‘var’ is NULL)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/kern/env.c:243:13: branch_true: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/kern/env.c:243:13: call_function: calling ‘grub_env_set’ from ‘grub_env_export’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/kern/env.c:243:13: return_function: returning to ‘grub_env_export’ from ‘grub_env_set’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/kern/env.c:244:10: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/kern/env.c:246:13: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/kern/env.c:246:13: call_function: calling ‘grub_env_find’ from ‘grub_env_export’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/kern/env.c:246:13: return_function: return of NULL to ‘grub_env_export’ from ‘grub_env_find’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/kern/env.c:248:3: danger: dereference of NULL ‘var’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def488]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/efi/halt.c:40:9: warning[-Wanalyzer-infinite-loop]: infinite loop
Error: GCC_ANALYZER_WARNING (CWE-469): [#def489]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/i386/relocator.c:87:48: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def490]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/i386/relocator.c:104:17: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/i386/relocator.c:90:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/i386/relocator.c:93:26: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/i386/relocator.c:104:17: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def491]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/i386/relocator.c:128:48: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def492]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/i386/relocator.c:159:17: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/i386/relocator.c:131:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/i386/relocator.c:134:25: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/i386/relocator.c:159:17: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def493]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/i386/relocator.c:183:48: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def494]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/i386/relocator.c:198:17: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/i386/relocator.c:185:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/i386/relocator.c:188:26: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/i386/relocator.c:198:17: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def495]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/i386/relocator_common_c.c:56:33: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def496]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/i386/relocator_common_c.c:57:34: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def497]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/i386/relocator_common_c.c:96:49: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def498]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/i386/relocator_common_c.c:108:48: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-465): [#def499]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: warning[-Wanalyzer-deref-before-check]: check of ‘v’ for NULL after already dereferencing it
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:122:7: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:123:9: branch_true: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: danger: pointer ‘v’ is checked for NULL here but it was already dereferenced at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def500]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:129:19: warning[-Wanalyzer-deref-before-check]: check of ‘u’ for NULL after already dereferencing it
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:122:7: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:123:9: branch_true: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: branch_true: following ‘true’ branch (when ‘v’ is non-NULL)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: branch_true: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:129:19: danger: pointer ‘u’ is checked for NULL here but it was already dereferenced at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def501]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:135:19: warning[-Wanalyzer-deref-before-check]: check of ‘u’ for NULL after already dereferencing it
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:122:7: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:133:9: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:135:19: danger: pointer ‘u’ is checked for NULL here but it was already dereferenced at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def502]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:139:19: warning[-Wanalyzer-deref-before-check]: check of ‘v’ for NULL after already dereferencing it
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:122:7: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:133:9: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:135:19: branch_true: following ‘true’ branch (when ‘u’ is non-NULL)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:135:19: branch_true: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:139:19: danger: pointer ‘v’ is checked for NULL here but it was already dereferenced at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def503]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:147:8: warning[-Wanalyzer-deref-before-check]: check of ‘w’ for NULL after already dereferencing it
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: branch_true: following ‘true’ branch (when ‘v’ is non-NULL)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: branch_true: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:129:19: branch_true: following ‘true’ branch (when ‘u’ is non-NULL)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:129:19: branch_true: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:147:8: danger: pointer ‘w’ is checked for NULL here but it was already dereferenced at [(5)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def504]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:74:10: warning[-Wanalyzer-deref-before-check]: check of ‘expo’ for NULL after already dereferencing it
Error: GCC_ANALYZER_WARNING (CWE-465): [#def505]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:75:10: warning[-Wanalyzer-deref-before-check]: check of ‘mod’ for NULL after already dereferencing it
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:74:10: branch_true: following ‘true’ branch (when ‘expo’ is non-NULL)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:74:10: branch_true: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:75:10: danger: pointer ‘mod’ is checked for NULL here but it was already dereferenced at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def506]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:246:16: warning[-Wanalyzer-deref-before-check]: check of ‘a’ for NULL after already dereferencing it
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:532:1: enter_function: entry to ‘gcry_mpi_print’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:545:6: branch_false: following ‘false’ branch (when ‘format != 1’)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:581:11: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:581:11: branch_true: following ‘true’ branch (when ‘format == 5’)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:583:24: branch_true: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:588:11: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:590:10: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:590:10: branch_true: following ‘true’ branch (when ‘buffer’ is non-NULL)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:594:17: branch_true: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:594:17: call_function: calling ‘_gcry_mpi_get_buffer’ from ‘gcry_mpi_print’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def507]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘wp’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:296:1: enter_function: entry to ‘gcry_mpi_set’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:302:6: branch_true: following ‘true’ branch (when ‘w’ is NULL)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:303:26: branch_true: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:303:9: call_function: calling ‘_gcry_mpi_alloc’ from ‘gcry_mpi_set’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:303:9: return_function: returning to ‘gcry_mpi_set’ from ‘_gcry_mpi_alloc’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:304:3: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:305:3: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:305:3: release_memory: ‘*w.d’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: branch_true: following ‘true’ branch (when ‘_i < usize’)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: branch_true: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: release_memory: ‘*w.d’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: danger: dereference of NULL ‘wp + (unsigned int)_i * 4’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def508]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1158:19: warning[-Wanalyzer-infinite-loop]: infinite loop
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1129:1: enter_function: entry to ‘_asn1_set_default_tag’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1158:19: danger: infinite loop here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1159:18: branch_false: when ‘p != node’: always following ‘false’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1164:18: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1164:18: branch_false: when ‘p’ is NULL: always following ‘false’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1158:15: branch_false: ...to here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def509]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libtasn1/lib/structure.c:443:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p_d’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libtasn1/lib/structure.c:1219:1: enter_function: entry to ‘asn1_dup_node’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/libtasn1/lib/structure.c:1221:10: call_function: calling ‘_asn1_copy_structure2’ from ‘asn1_dup_node’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def510]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/posix_wrap/stdlib.h:52:10: warning[-Wanalyzer-malloc-leak]: leak of ‘new_array’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_emplace_enlarge.c:30:1: enter_function: entry to ‘gl_dynarray_emplace_enlarge’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_emplace_enlarge.c:50:10: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_emplace_enlarge.c:59:7: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_emplace_enlarge.c:59:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_emplace_enlarge.c:62:7: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_emplace_enlarge.c:62:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_emplace_enlarge.c:70:17: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_emplace_enlarge.c:70:17: call_function: calling ‘realloc’ from ‘gl_dynarray_emplace_enlarge’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def511]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/posix_wrap/stdlib.h:52:10: warning[-Wanalyzer-malloc-leak]: leak of ‘newdict’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/xzembed/xz_dec_lzma2.c:1145:13: enter_function: entry to ‘xz_dec_lzma2_reset’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/xzembed/xz_dec_lzma2.c:1149:12: branch_false: following ‘false’ branch (when ‘props <= 30’)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/xzembed/xz_dec_lzma2.c:1152:28: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/xzembed/xz_dec_lzma2.c:1156:12: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/lib/xzembed/xz_dec_lzma2.c:1159:37: call_function: calling ‘realloc’ from ‘xz_dec_lzma2_reset’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def512]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:229:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:159:1: enter_function: entry to ‘make_file_path’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:173:6: branch_false: following ‘false’ branch (when ‘dir_end’ is non-NULL)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:179:3: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:205:6: branch_false: following ‘false’ branch (when ‘file_path’ is non-NULL)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:208:3: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:213:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:222:7: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:222:3: release_memory: ‘d’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:223:7: call_function: calling ‘copy_file_path’ from ‘make_file_path’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:223:7: return_function: returning to ‘make_file_path’ from ‘copy_file_path’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:223:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:228:7: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:228:7: branch_false: following ‘false’ branch (when ‘d’ is NULL)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:228:3: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:228:3: release_memory: ‘d’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:229:3: danger: dereference of NULL ‘d’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def513]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:523:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dp’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:526:10: branch_false: following ‘false’ branch (when ‘type != 127’)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:528:15: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:532:12: branch_true: following ‘true’ branch (when ‘dp’ is non-NULL)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:532:12: branch_true: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:532:7: release_memory: ‘dp’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:523:31: danger: dereference of NULL ‘dp’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def514]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/net/efi/dhcp.c:379:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘options’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/net/efi/dhcp.c:263:38: branch_true: following ‘true’ branch (when ‘dev’ is non-NULL)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/net/efi/dhcp.c:272:58: branch_true: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/net/efi/dhcp.c:311:10: branch_false: following ‘false’ branch (when ‘status == 0’)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/net/efi/dhcp.c:316:16: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/net/efi/dhcp.c:317:10: branch_false: following ‘false’ branch (when ‘status == 0’)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/net/efi/dhcp.c:323:16: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/net/efi/dhcp.c:324:10: branch_false: following ‘false’ branch (when ‘status == 0’)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/net/efi/dhcp.c:330:12: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/net/efi/dhcp.c:356:42: release_memory: ‘options’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/net/efi/dhcp.c:370:12: branch_false: following ‘false’ branch (when ‘status == 0’)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/net/efi/dhcp.c:377:14: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/net/efi/dhcp.c:377:21: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/net/efi/dhcp.c:379:24: branch_true: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/net/efi/dhcp.c:379:24: release_memory: ‘options’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/net/efi/dhcp.c:379:17: danger: dereference of NULL ‘options + i * 4’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def515]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/net/efi/net.c:311:10: warning[-Wanalyzer-deref-before-check]: check of ‘dp’ for NULL after already dereferencing it
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/net/efi/net.c:320:1: enter_function: entry to ‘grub_efi_net_config_from_handle’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/net/efi/net.c:332:6: branch_true: following ‘true’ branch (when ‘pxe’ is NULL)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/net/efi/net.c:333:12: branch_true: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/net/efi/net.c:333:12: call_function: calling ‘grub_efi_net_config_from_device_path’ from ‘grub_efi_net_config_from_handle’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def516]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/net/efi/net.c:1336:10: warning[-Wanalyzer-deref-before-check]: check of ‘dp’ for NULL after already dereferencing it
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/net/efi/net.c:1316:6: branch_false: following ‘false’ branch (when ‘image’ is non-NULL)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/net/efi/net.c:1319:8: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/net/efi/net.c:1336:10: danger: pointer ‘dp’ is checked for NULL here but it was already dereferenced at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def517]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/net/efi/net.c:1369:10: warning[-Wanalyzer-deref-before-check]: check of ‘dp’ for NULL after already dereferencing it
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/net/efi/net.c:1351:6: branch_false: following ‘false’ branch (when ‘image’ is non-NULL)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/net/efi/net.c:1354:8: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/net/efi/net.c:1369:10: danger: pointer ‘dp’ is checked for NULL here but it was already dereferenced at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def518]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/normal/term.c:477:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/normal/term.c:1084:1: enter_function: entry to ‘grub_cls’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/normal/term.c:1088:3: branch_true: following ‘true’ branch (when ‘term’ is non-NULL)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/normal/term.c:1090:10: branch_true: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/normal/term.c:1092:9: call_function: calling ‘grub_putcode’ from ‘grub_cls’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def519]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/partmap/acorn.c:121:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘map[i].magic’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/partmap/acorn.c:114:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/partmap/acorn.c:117:3: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/partmap/acorn.c:119:15: branch_true: following ‘true’ branch (when ‘i != 42’)...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/partmap/acorn.c:121:11: branch_true: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/partmap/acorn.c:121:11: danger: use of uninitialized value ‘map[i].magic’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def520]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/term/efi/console.c:186:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/term/efi/console.c:166:1: enter_function: entry to ‘grub_console_putchar’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/term/efi/console.c:173:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/term/efi/console.c:176:28: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/term/efi/console.c:184:15: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/term/efi/console.c:185:8: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/term/efi/console.c:186:18: branch_true: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/term/efi/console.c:186:18: call_function: calling ‘grub_unicode_get_comb’ from ‘grub_console_putchar’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/term/efi/console.c:186:18: return_function: returning to ‘grub_console_putchar’ from ‘grub_unicode_get_comb’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/term/efi/console.c:186:43: release_memory: ‘0’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/term/efi/console.c:186:18: danger: dereference of NULL ‘grub_unicode_get_comb(c) + i * 4’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def521]
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/tests/lib/test.c:85:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘failure’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/tests/lib/test.c:110:1: enter_function: entry to ‘add_failure’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/tests/lib/test.c:114:33: call_function: calling ‘failure_start’ from ‘add_failure’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/tests/lib/test.c:114:33: return_function: return of NULL to ‘add_failure’ from ‘failure_start’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/tests/lib/test.c:115:3: call_function: calling ‘failure_append_text’ from ‘add_failure’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def522]
grub-2.12/grub-i386-efi-2.12/grub-core/../../include/grub/misc.h:260:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘s1’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/commands/nativedisk.c:135:1: enter_function: entry to ‘iterate_device’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/commands/nativedisk.c:140:7: call_function: calling ‘get_uuid’ from ‘iterate_device’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/commands/nativedisk.c:140:7: return_function: returning to ‘iterate_device’ from ‘get_uuid’
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/commands/nativedisk.c:140:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/commands/nativedisk.c:148:3: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/commands/nativedisk.c:148:3: release_memory: ‘cur_uuid’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/commands/nativedisk.c:150:6: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/commands/nativedisk.c:150:54: branch_true: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/commands/nativedisk.c:150:27: release_memory: ‘cur_uuid’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/../../grub-core/commands/nativedisk.c:150:27: call_function: calling ‘grub_strcasecmp’ from ‘iterate_device’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def523]
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1111:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1069:6: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1075:28: branch_true: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1098:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1100:7: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1101:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 10000’)...
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1105:21: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1109:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1111:9: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1111:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def524]
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1238:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1069:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1133:6: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1133:6: branch_false: following ‘false’ branch (when ‘yystate != 3’)...
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1136:3: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1148:6: branch_true: following ‘true’ branch (when ‘yyn == -73’)...
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1149:5: branch_true: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1218:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1220:3: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1238:3: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def525]
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.yy.c:2091:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.yy.c:1970:10: enter_function: entry to ‘yyrestart’
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.yy.c:1975:16: call_function: calling ‘yyensure_buffer_stack’ from ‘yyrestart’
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.yy.c:1975:16: return_function: returning to ‘yyrestart’ from ‘yyensure_buffer_stack’
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.yy.c:1977:27: call_function: calling ‘yy_create_buffer’ from ‘yyrestart’
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.yy.c:1977:27: return_function: returning to ‘yyrestart’ from ‘yy_create_buffer’
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.yy.c:1980:2: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.yy.c:1980:2: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.yy.c:1980:2: release_memory: ‘0’ is NULL
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.yy.c:1980:2: call_function: calling ‘yy_init_buffer’ from ‘yyrestart’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def526]
grub-2.12/grub-i386-pc-2.12/../grub-core/font/font.c:1497:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘comb’
grub-2.12/grub-i386-pc-2.12/../grub-core/font/font.c:1546:1: enter_function: entry to ‘grub_font_construct_glyph’
grub-2.12/grub-i386-pc-2.12/../grub-core/font/font.c:1557:16: call_function: calling ‘grub_font_construct_dry_run’ from ‘grub_font_construct_glyph’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def527]
grub-2.12/grub-i386-pc-2.12/../grub-core/fs/bfs.c:621:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘node’
grub-2.12/grub-i386-pc-2.12/../grub-core/fs/bfs.c:1047:1: enter_function: entry to ‘grub_bfs_uuid’
grub-2.12/grub-i386-pc-2.12/../grub-core/fs/bfs.c:1057:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-i386-pc-2.12/../grub-core/fs/bfs.c:1060:22: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/../grub-core/fs/bfs.c:1061:6: branch_false: following ‘false’ branch (when ‘ino’ is non-NULL)...
grub-2.12/grub-i386-pc-2.12/../grub-core/fs/bfs.c:1065:27: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/../grub-core/fs/bfs.c:1066:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-i386-pc-2.12/../grub-core/fs/bfs.c:1071:22: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/../grub-core/fs/bfs.c:1071:7: call_function: calling ‘read_bfs_attr’ from ‘grub_bfs_uuid’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def528]
grub-2.12/grub-i386-pc-2.12/../grub-core/fs/fshelp.c:152:11: warning[-Wanalyzer-jump-through-null]: jump through null pointer
grub-2.12/grub-i386-pc-2.12/../grub-core/fs/fshelp.c:335:1: enter_function: entry to ‘grub_fshelp_find_file_lookup’
grub-2.12/grub-i386-pc-2.12/../grub-core/fs/fshelp.c:341:10: call_function: calling ‘grub_fshelp_find_file_real’ from ‘grub_fshelp_find_file_lookup’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def529]
grub-2.12/grub-i386-pc-2.12/../grub-core/fs/fshelp.c:188:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ctx.currnode’
grub-2.12/grub-i386-pc-2.12/../grub-core/fs/fshelp.c:335:1: enter_function: entry to ‘grub_fshelp_find_file_lookup’
grub-2.12/grub-i386-pc-2.12/../grub-core/fs/fshelp.c:341:10: call_function: calling ‘grub_fshelp_find_file_real’ from ‘grub_fshelp_find_file_lookup’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def530]
grub-2.12/grub-i386-pc-2.12/../grub-core/kern/env.c:227:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
grub-2.12/grub-i386-pc-2.12/../grub-core/kern/env.c:212:1: enter_function: entry to ‘grub_register_variable_hook’
grub-2.12/grub-i386-pc-2.12/../grub-core/kern/env.c:216:30: call_function: calling ‘grub_env_find’ from ‘grub_register_variable_hook’
grub-2.12/grub-i386-pc-2.12/../grub-core/kern/env.c:216:30: return_function: returning to ‘grub_register_variable_hook’ from ‘grub_env_find’
grub-2.12/grub-i386-pc-2.12/../grub-core/kern/env.c:218:6: branch_true: following ‘true’ branch (when ‘var’ is NULL)...
grub-2.12/grub-i386-pc-2.12/../grub-core/kern/env.c:220:11: branch_true: ...to here
grub-2.12/grub-i386-pc-2.12/../grub-core/kern/env.c:220:11: call_function: calling ‘grub_env_set’ from ‘grub_register_variable_hook’
grub-2.12/grub-i386-pc-2.12/../grub-core/kern/env.c:220:11: return_function: returning to ‘grub_register_variable_hook’ from ‘grub_env_set’
grub-2.12/grub-i386-pc-2.12/../grub-core/kern/env.c:220:10: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/../grub-core/kern/env.c:223:13: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/../grub-core/kern/env.c:223:13: call_function: calling ‘grub_env_find’ from ‘grub_register_variable_hook’
grub-2.12/grub-i386-pc-2.12/../grub-core/kern/env.c:223:13: return_function: return of NULL to ‘grub_register_variable_hook’ from ‘grub_env_find’
grub-2.12/grub-i386-pc-2.12/../grub-core/kern/env.c:227:3: danger: dereference of NULL ‘var’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def531]
grub-2.12/grub-i386-pc-2.12/../grub-core/kern/env.c:248:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
grub-2.12/grub-i386-pc-2.12/../grub-core/kern/env.c:234:1: enter_function: entry to ‘grub_env_export’
grub-2.12/grub-i386-pc-2.12/../grub-core/kern/env.c:238:9: call_function: calling ‘grub_env_find’ from ‘grub_env_export’
grub-2.12/grub-i386-pc-2.12/../grub-core/kern/env.c:238:9: return_function: returning to ‘grub_env_export’ from ‘grub_env_find’
grub-2.12/grub-i386-pc-2.12/../grub-core/kern/env.c:239:6: branch_true: following ‘true’ branch (when ‘var’ is NULL)...
grub-2.12/grub-i386-pc-2.12/../grub-core/kern/env.c:243:13: branch_true: ...to here
grub-2.12/grub-i386-pc-2.12/../grub-core/kern/env.c:243:13: call_function: calling ‘grub_env_set’ from ‘grub_env_export’
grub-2.12/grub-i386-pc-2.12/../grub-core/kern/env.c:243:13: return_function: returning to ‘grub_env_export’ from ‘grub_env_set’
grub-2.12/grub-i386-pc-2.12/../grub-core/kern/env.c:244:10: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-i386-pc-2.12/../grub-core/kern/env.c:246:13: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/../grub-core/kern/env.c:246:13: call_function: calling ‘grub_env_find’ from ‘grub_env_export’
grub-2.12/grub-i386-pc-2.12/../grub-core/kern/env.c:246:13: return_function: return of NULL to ‘grub_env_export’ from ‘grub_env_find’
grub-2.12/grub-i386-pc-2.12/../grub-core/kern/env.c:248:3: danger: dereference of NULL ‘var’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def532]
grub-2.12/grub-i386-pc-2.12/../grub-core/lib/libgcrypt-grub/cipher/sha1.c:142:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘x[1]’
grub-2.12/grub-i386-pc-2.12/../grub-core/lib/libgcrypt-grub/cipher/sha1.c:236:1: enter_function: entry to ‘sha1_write’
grub-2.12/grub-i386-pc-2.12/../grub-core/lib/libgcrypt-grub/cipher/sha1.c:249:6: branch_false: following ‘false’ branch (when ‘inbuf’ is non-NULL)...
grub-2.12/grub-i386-pc-2.12/../grub-core/lib/libgcrypt-grub/cipher/sha1.c:252:7: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/../grub-core/lib/libgcrypt-grub/cipher/sha1.c:262:6: branch_true: following ‘true’ branch (when ‘nblocks != 0’)...
grub-2.12/grub-i386-pc-2.12/../grub-core/lib/libgcrypt-grub/cipher/sha1.c:264:7: branch_true: ...to here
grub-2.12/grub-i386-pc-2.12/../grub-core/lib/libgcrypt-grub/cipher/sha1.c:264:7: call_function: calling ‘transform’ from ‘sha1_write’
Error: GCC_ANALYZER_WARNING (CWE-131): [#def533]
grub-2.12/grub-i386-pc-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:509:25: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
grub-2.12/grub-i386-pc-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:723:20: enter_function: entry to ‘dec_main’
grub-2.12/grub-i386-pc-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:744:28: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:747:31: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:747:31: call_function: calling ‘dec_stream_header’ from ‘dec_main’
Error: GCC_ANALYZER_WARNING (CWE-131): [#def534]
grub-2.12/grub-i386-pc-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:516:25: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
grub-2.12/grub-i386-pc-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:723:20: enter_function: entry to ‘dec_main’
grub-2.12/grub-i386-pc-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:744:28: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:747:31: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:747:31: call_function: calling ‘dec_stream_header’ from ‘dec_main’
Error: GCC_ANALYZER_WARNING (CWE-131): [#def535]
grub-2.12/grub-i386-pc-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:525:25: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
grub-2.12/grub-i386-pc-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:723:20: enter_function: entry to ‘dec_main’
grub-2.12/grub-i386-pc-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:744:28: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:747:31: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:747:31: call_function: calling ‘dec_stream_header’ from ‘dec_main’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def536]
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/linux/getroot.c:1104:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘p’ where non-null expected
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/linux/getroot.c:1096:6: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/linux/getroot.c:1102:11: acquire_memory: this call could return NULL
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/linux/getroot.c:1104:11: danger: argument 1 (‘p’) from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def537]
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/linux/getroot.c:1119:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘p’ where non-null expected
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/linux/getroot.c:1111:11: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/linux/getroot.c:1117:11: acquire_memory: this call could return NULL
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/linux/getroot.c:1119:11: danger: argument 1 (‘p’) from [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def538]
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/linux/getroot.c:1132:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘p’ where non-null expected
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/linux/getroot.c:1126:11: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/linux/getroot.c:1130:11: acquire_memory: this call could return NULL
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/linux/getroot.c:1132:11: danger: argument 1 (‘p’) from [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def539]
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/linux/getroot.c:1145:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘p’ where non-null expected
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/linux/getroot.c:1111:12: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/linux/getroot.c:1126:18: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/linux/getroot.c:1139:11: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/linux/getroot.c:1143:11: acquire_memory: this call could return NULL
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/linux/getroot.c:1145:11: danger: argument 1 (‘p’) from [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def540]
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/linux/getroot.c:1159:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘p’ where non-null expected
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/linux/getroot.c:1111:12: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/linux/getroot.c:1126:18: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/linux/getroot.c:1152:11: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/linux/getroot.c:1157:11: branch_true: ...to here
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/linux/getroot.c:1157:11: acquire_memory: this call could return NULL
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/linux/getroot.c:1159:11: danger: argument 1 (‘p’) from [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def541]
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/linux/ofpath.c:748:15: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘new’ where non-null expected
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/linux/ofpath.c:814:1: enter_function: entry to ‘grub_util_devname_to_ofpath’
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/linux/ofpath.c:818:14: call_function: calling ‘xrealpath’ from ‘grub_util_devname_to_ofpath’
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/linux/ofpath.c:818:14: return_function: returning to ‘grub_util_devname_to_ofpath’ from ‘xrealpath’
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/linux/ofpath.c:821:6: branch_false: following ‘false’ branch (when ‘realname’ is NULL)...
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/linux/ofpath.c:827:12: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/linux/ofpath.c:828:13: call_function: calling ‘strip_trailing_digits’ from ‘grub_util_devname_to_ofpath’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def542]
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/unix/password.c:59:14: warning[-Wanalyzer-file-leak]: leak of FILE ‘in’
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/unix/password.c:40:8: acquire_resource: opened here
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/unix/password.c:41:6: branch_false: following ‘false’ branch (when ‘in’ is non-NULL)...
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/unix/password.c:44:7: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/unix/password.c:57:10: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/unix/password.c:59:14: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/unix/password.c:59:14: danger: ‘in’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def543]
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/unix/password.c:59:14: warning[-Wanalyzer-malloc-leak]: leak of ‘in’
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/unix/password.c:40:8: acquire_memory: allocated here
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/unix/password.c:41:6: branch_false: following ‘false’ branch (when ‘in’ is non-NULL)...
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/unix/password.c:44:7: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/unix/password.c:57:10: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/unix/password.c:59:14: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/../grub-core/osdep/unix/password.c:59:14: danger: ‘in’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def544]
grub-2.12/grub-i386-pc-2.12/../grub-core/partmap/acorn.c:121:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘map[i].magic’
grub-2.12/grub-i386-pc-2.12/../grub-core/partmap/acorn.c:114:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-i386-pc-2.12/../grub-core/partmap/acorn.c:117:3: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/../grub-core/partmap/acorn.c:119:15: branch_true: following ‘true’ branch (when ‘i != 42’)...
grub-2.12/grub-i386-pc-2.12/../grub-core/partmap/acorn.c:121:11: branch_true: ...to here
grub-2.12/grub-i386-pc-2.12/../grub-core/partmap/acorn.c:121:11: danger: use of uninitialized value ‘map[i].magic’ here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def545]
grub-2.12/grub-i386-pc-2.12/../include/grub/osdep/hostfile_unix.h:53:10: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘dirp’ where non-null expected
grub-2.12/grub-i386-pc-2.12/../util/grub-install-common.c:1195:1: enter_function: entry to ‘grub_util_unlink_recursive’
grub-2.12/grub-i386-pc-2.12/../util/grub-install-common.c:1200:7: call_function: calling ‘grub_util_fd_opendir’ from ‘grub_util_unlink_recursive’
grub-2.12/grub-i386-pc-2.12/../util/grub-install-common.c:1200:7: return_function: possible return of NULL to ‘grub_util_unlink_recursive’ from ‘grub_util_fd_opendir’
grub-2.12/grub-i386-pc-2.12/../util/grub-install-common.c:1202:16: call_function: calling ‘grub_util_fd_readdir’ from ‘grub_util_unlink_recursive’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def546]
grub-2.12/grub-i386-pc-2.12/../util/grub-fstest.c:400:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
grub-2.12/grub-i386-pc-2.12/../util/grub-fstest.c:736:1: enter_function: entry to ‘main’
grub-2.12/grub-i386-pc-2.12/../util/grub-fstest.c:751:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/../util/grub-fstest.c:754:18: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/../util/grub-fstest.c:754:18: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-pc-2.12/../util/grub-fstest.c:754:3: branch_true: ...to here
grub-2.12/grub-i386-pc-2.12/../util/grub-fstest.c:756:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/../util/grub-fstest.c:767:5: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/../util/grub-fstest.c:771:6: branch_false: following ‘false’ branch (when ‘alloc_root’ is NULL)...
grub-2.12/grub-i386-pc-2.12/../util/grub-fstest.c:775:11: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/../util/grub-fstest.c:775:3: call_function: calling ‘fstest’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def547]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:596:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘td_prev_virt’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:585:1: enter_function: entry to ‘grub_ohci_free_tds’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:587:6: branch_false: following ‘false’ branch (when ‘td’ is non-NULL)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:591:7: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:591:6: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:594:39: branch_true: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:593:37: call_function: calling ‘grub_ohci_td_phys2virt’ from ‘grub_ohci_free_tds’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:593:37: return_function: return of NULL to ‘grub_ohci_free_tds’ from ‘grub_ohci_td_phys2virt’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:596:34: danger: dereference of NULL ‘td_prev_virt’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def548]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:658:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘td’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:682:1: enter_function: entry to ‘grub_ohci_setup_transfer’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:695:6: branch_false: following ‘false’ branch (when ‘cdata’ is non-NULL)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:700:12: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:724:20: call_function: calling ‘grub_ohci_find_ed’ from ‘grub_ohci_setup_transfer’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:724:20: return_function: returning to ‘grub_ohci_setup_transfer’ from ‘grub_ohci_find_ed’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:725:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:733:18: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:737:6: branch_false: following ‘false’ branch (when ‘td_head_phys == td_tail_phys’)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:749:6: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:749:6: branch_false: following ‘false’ branch (when ‘td_head_phys != 0’)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:764:27: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:764:27: call_function: calling ‘grub_ohci_td_phys2virt’ from ‘grub_ohci_setup_transfer’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:764:27: return_function: returning to ‘grub_ohci_setup_transfer’ from ‘grub_ohci_td_phys2virt’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:764:5: release_memory: ‘*cdata.td_head_virt’ is NULL
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:768:40: release_memory: ‘*cdata.td_head_virt’ is NULL
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:768:15: release_memory: ‘*cdata.td_current_virt’ is NULL
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:769:8: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:771:36: branch_true: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:773:7: release_memory: ‘*cdata.td_current_virt’ is NULL
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:773:7: call_function: calling ‘grub_ohci_transaction’ from ‘grub_ohci_setup_transfer’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def549]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:663:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘td’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:682:1: enter_function: entry to ‘grub_ohci_setup_transfer’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:695:6: branch_false: following ‘false’ branch (when ‘cdata’ is non-NULL)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:700:12: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:724:20: call_function: calling ‘grub_ohci_find_ed’ from ‘grub_ohci_setup_transfer’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:724:20: return_function: returning to ‘grub_ohci_setup_transfer’ from ‘grub_ohci_find_ed’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:725:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:733:18: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:737:6: branch_false: following ‘false’ branch (when ‘td_head_phys == td_tail_phys’)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:749:6: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:749:6: branch_false: following ‘false’ branch (when ‘td_head_phys != 0’)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:764:27: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:764:27: call_function: calling ‘grub_ohci_td_phys2virt’ from ‘grub_ohci_setup_transfer’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:764:27: return_function: returning to ‘grub_ohci_setup_transfer’ from ‘grub_ohci_td_phys2virt’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:764:5: release_memory: ‘*cdata.td_head_virt’ is NULL
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:768:40: release_memory: ‘*cdata.td_head_virt’ is NULL
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:768:15: release_memory: ‘*cdata.td_current_virt’ is NULL
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:769:8: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:771:36: branch_true: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:773:7: release_memory: ‘*cdata.td_current_virt’ is NULL
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:773:7: call_function: calling ‘grub_ohci_transaction’ from ‘grub_ohci_setup_transfer’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def550]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:939:54: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘td_prev_virt’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:919:1: enter_function: entry to ‘finish_transfer’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:934:6: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:937:38: branch_true: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:937:11: call_function: calling ‘grub_ohci_td_phys2virt’ from ‘finish_transfer’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:937:11: return_function: return of NULL to ‘finish_transfer’ from ‘grub_ohci_td_phys2virt’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:939:54: danger: dereference of NULL ‘td_prev_virt’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def551]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:967:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:951:1: enter_function: entry to ‘parse_halt’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:959:18: release_memory: ‘tderr_virt’ is NULL
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:959:18: release_memory: ‘tderr_virt’ is NULL
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:959:18: release_memory: ‘tderr_virt’ is NULL
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:967:23: call_function: calling ‘grub_ohci_td_phys2virt’ from ‘parse_halt’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:967:23: return_function: returning to ‘parse_halt’ from ‘grub_ohci_td_phys2virt’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:967:23: danger: dereference of NULL ‘grub_ohci_td_phys2virt(o, *cdata_43->ed_virt.td_head & 4294967280)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def552]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:1208:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:1188:1: enter_function: entry to ‘grub_ohci_cancel_transfer’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:1193:18: release_memory: ‘tderr_virt’ is NULL
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:1193:18: release_memory: ‘tderr_virt’ is NULL
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:1193:18: release_memory: ‘tderr_virt’ is NULL
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:1208:7: call_function: calling ‘grub_ohci_td_phys2virt’ from ‘grub_ohci_cancel_transfer’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:1208:7: return_function: returning to ‘grub_ohci_cancel_transfer’ from ‘grub_ohci_td_phys2virt’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/ohci.c:1208:7: danger: dereference of NULL ‘grub_ohci_td_phys2virt(o, *cdata_18->ed_virt.td_head & 4294967280)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def553]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/uhci.c:570:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘td_prev’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/uhci.c:516:1: enter_function: entry to ‘grub_uhci_setup_transfer’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/uhci.c:521:18: release_memory: ‘td_prev’ is NULL
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/uhci.c:521:18: release_memory: ‘td_prev’ is NULL
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/uhci.c:526:6: branch_false: following ‘false’ branch (when ‘cdata’ is non-NULL)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/uhci.c:529:3: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/uhci.c:529:3: release_memory: ‘td_prev’ is NULL
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/uhci.c:532:15: call_function: calling ‘grub_alloc_qh’ from ‘grub_uhci_setup_transfer’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/uhci.c:532:15: return_function: returning to ‘grub_uhci_setup_transfer’ from ‘grub_alloc_qh’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/uhci.c:533:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/uhci.c:539:3: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/uhci.c:541:15: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/uhci.c:543:36: branch_true: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/uhci.c:545:12: call_function: calling ‘grub_uhci_transaction’ from ‘grub_uhci_setup_transfer’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/uhci.c:545:12: return_function: returning to ‘grub_uhci_setup_transfer’ from ‘grub_uhci_transaction’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/uhci.c:549:10: branch_false: following ‘false’ branch (when ‘td’ is non-NULL)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/uhci.c:566:13: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/uhci.c:566:10: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/uhci.c:570:31: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/uhci.c:570:11: danger: dereference of NULL ‘td_prev’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def554]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/uhci.c:576:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘td_prev’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/uhci.c:516:1: enter_function: entry to ‘grub_uhci_setup_transfer’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/uhci.c:521:18: release_memory: ‘td_prev’ is NULL
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/uhci.c:521:18: release_memory: ‘td_prev’ is NULL
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/uhci.c:526:6: branch_false: following ‘false’ branch (when ‘cdata’ is non-NULL)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/uhci.c:529:3: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/uhci.c:529:3: release_memory: ‘td_prev’ is NULL
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/uhci.c:532:15: call_function: calling ‘grub_alloc_qh’ from ‘grub_uhci_setup_transfer’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/uhci.c:532:15: return_function: returning to ‘grub_uhci_setup_transfer’ from ‘grub_alloc_qh’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/uhci.c:533:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/uhci.c:539:3: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/uhci.c:541:15: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/uhci.c:576:3: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/bus/usb/uhci.c:576:3: danger: dereference of NULL ‘td_prev’
Error: GCC_ANALYZER_WARNING (CWE-469): [#def555]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/i386/pc/drivemap.c:311:16: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/i386/pc/drivemap.c:293:6: branch_false: following ‘false’ branch (when ‘entries != 0’)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/i386/pc/drivemap.c:301:3: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/i386/pc/drivemap.c:311:16: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def556]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/i386/pc/drivemap.c:326:16: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/i386/pc/drivemap.c:293:6: branch_false: following ‘false’ branch (when ‘entries != 0’)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/i386/pc/drivemap.c:301:3: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/i386/pc/drivemap.c:318:6: branch_false: following ‘false’ branch (when ‘handler_base’ is non-NULL)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/i386/pc/drivemap.c:323:3: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/i386/pc/drivemap.c:326:16: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def557]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/i386/pc/drivemap.c:331:38: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/i386/pc/drivemap.c:293:6: branch_false: following ‘false’ branch (when ‘entries != 0’)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/i386/pc/drivemap.c:301:3: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/i386/pc/drivemap.c:318:6: branch_false: following ‘false’ branch (when ‘handler_base’ is non-NULL)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/i386/pc/drivemap.c:323:3: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/i386/pc/drivemap.c:331:38: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-476): [#def558]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/legacycfg.c:148:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘entrysrc’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/legacycfg.c:52:9: release_memory: ‘entryname’ is NULL
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/legacycfg.c:52:28: release_memory: ‘entryname’ is NULL
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/legacycfg.c:56:6: branch_false: following ‘false’ branch (when ‘suffix’ is non-NULL)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/legacycfg.c:59:10: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/legacycfg.c:60:6: branch_false: following ‘false’ branch (when ‘file’ is non-NULL)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/legacycfg.c:66:10: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/legacycfg.c:82:13: release_memory: ‘entryname’ is NULL
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/legacycfg.c:91:10: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/legacycfg.c:95:15: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/legacycfg.c:95:15: release_memory: ‘entryname’ is NULL
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/legacycfg.c:101:9: release_memory: ‘entryname’ is NULL
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/legacycfg.c:104:9: release_memory: ‘entryname’ is NULL
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/legacycfg.c:160:15: branch_false: following ‘false’ branch (when ‘parsed’ is NULL)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/legacycfg.c:80:5: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/legacycfg.c:82:13: release_memory: ‘entrysrc’ is NULL
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/legacycfg.c:91:10: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/legacycfg.c:95:15: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/legacycfg.c:95:15: release_memory: ‘entrysrc’ is NULL
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/legacycfg.c:104:9: release_memory: ‘entrysrc’ is NULL
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/legacycfg.c:138:16: branch_false: following ‘false’ branch (when ‘args’ is non-NULL)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/legacycfg.c:143:13: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/legacycfg.c:148:13: danger: dereference of NULL ‘entrysrc’
Error: COMPILER_WARNING (CWE-704): [#def559]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/search.c:219:41: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-476): [#def560]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/efiemu/runtime/efiemu.c:547:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘efivar’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/efiemu/runtime/efiemu.c:505:1: enter_function: entry to ‘efiemu_set_variable_real’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/efiemu/runtime/efiemu.c:514:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/efiemu/runtime/efiemu.c:516:12: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/efiemu/runtime/efiemu.c:519:6: branch_false: following ‘false’ branch (when ‘efivar’ is NULL)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/efiemu/runtime/efiemu.c:531:6: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/efiemu/runtime/efiemu.c:531:6: branch_false: following ‘false’ branch (when ‘data_size != 0’)...
branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/efiemu/runtime/efiemu.c:534:32: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/efiemu/runtime/efiemu.c:542:14: call_function: inlined call to ‘efiemu_str16len’ from ‘efiemu_set_variable_real’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/efiemu/runtime/efiemu.c:541:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/efiemu/runtime/efiemu.c:546:18: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/efiemu/runtime/efiemu.c:546:3: call_function: inlined call to ‘efiemu_memcpy’ from ‘efiemu_set_variable_real’
branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/efiemu/runtime/efiemu.c:547:3: danger: dereference of NULL ‘efivar’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def561]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/font/font.c:1497:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘comb’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/font/font.c:1546:1: enter_function: entry to ‘grub_font_construct_glyph’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/font/font.c:1557:16: call_function: calling ‘grub_font_construct_dry_run’ from ‘grub_font_construct_glyph’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def562]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/fs/bfs.c:621:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘node’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/fs/bfs.c:1047:1: enter_function: entry to ‘grub_bfs_uuid’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/fs/bfs.c:1057:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/fs/bfs.c:1060:22: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/fs/bfs.c:1061:6: branch_false: following ‘false’ branch (when ‘ino’ is non-NULL)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/fs/bfs.c:1065:27: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/fs/bfs.c:1066:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/fs/bfs.c:1071:22: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/fs/bfs.c:1071:7: call_function: calling ‘read_bfs_attr’ from ‘grub_bfs_uuid’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def563]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/fs/fshelp.c:152:11: warning[-Wanalyzer-jump-through-null]: jump through null pointer
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/fs/fshelp.c:335:1: enter_function: entry to ‘grub_fshelp_find_file_lookup’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/fs/fshelp.c:341:10: call_function: calling ‘grub_fshelp_find_file_real’ from ‘grub_fshelp_find_file_lookup’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def564]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/fs/fshelp.c:188:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ctx.currnode’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/fs/fshelp.c:335:1: enter_function: entry to ‘grub_fshelp_find_file_lookup’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/fs/fshelp.c:341:10: call_function: calling ‘grub_fshelp_find_file_real’ from ‘grub_fshelp_find_file_lookup’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def565]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/kern/env.c:227:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/kern/env.c:212:1: enter_function: entry to ‘grub_register_variable_hook’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/kern/env.c:216:30: call_function: calling ‘grub_env_find’ from ‘grub_register_variable_hook’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/kern/env.c:216:30: return_function: returning to ‘grub_register_variable_hook’ from ‘grub_env_find’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/kern/env.c:218:6: branch_true: following ‘true’ branch (when ‘var’ is NULL)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/kern/env.c:220:11: branch_true: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/kern/env.c:220:11: call_function: calling ‘grub_env_set’ from ‘grub_register_variable_hook’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/kern/env.c:220:11: return_function: returning to ‘grub_register_variable_hook’ from ‘grub_env_set’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/kern/env.c:220:10: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/kern/env.c:223:13: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/kern/env.c:223:13: call_function: calling ‘grub_env_find’ from ‘grub_register_variable_hook’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/kern/env.c:223:13: return_function: return of NULL to ‘grub_register_variable_hook’ from ‘grub_env_find’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/kern/env.c:227:3: danger: dereference of NULL ‘var’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def566]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/kern/env.c:248:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/kern/env.c:234:1: enter_function: entry to ‘grub_env_export’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/kern/env.c:238:9: call_function: calling ‘grub_env_find’ from ‘grub_env_export’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/kern/env.c:238:9: return_function: returning to ‘grub_env_export’ from ‘grub_env_find’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/kern/env.c:239:6: branch_true: following ‘true’ branch (when ‘var’ is NULL)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/kern/env.c:243:13: branch_true: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/kern/env.c:243:13: call_function: calling ‘grub_env_set’ from ‘grub_env_export’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/kern/env.c:243:13: return_function: returning to ‘grub_env_export’ from ‘grub_env_set’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/kern/env.c:244:10: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/kern/env.c:246:13: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/kern/env.c:246:13: call_function: calling ‘grub_env_find’ from ‘grub_env_export’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/kern/env.c:246:13: return_function: return of NULL to ‘grub_env_export’ from ‘grub_env_find’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/kern/env.c:248:3: danger: dereference of NULL ‘var’
Error: GCC_ANALYZER_WARNING (CWE-469): [#def567]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/kern/i386/pc/init.c:229:59: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-835): [#def568]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/i386/reboot.c:40:11: warning[-Wanalyzer-infinite-loop]: infinite loop
Error: GCC_ANALYZER_WARNING (CWE-469): [#def569]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/i386/reboot.c:42:43: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/i386/reboot.c:39:6: branch_false: following ‘false’ branch (when ‘relocator’ is non-NULL)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/i386/reboot.c:42:43: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/i386/reboot.c:42:43: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-835): [#def570]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/i386/reboot.c:46:11: warning[-Wanalyzer-infinite-loop]: infinite loop
Error: GCC_ANALYZER_WARNING (CWE-469): [#def571]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/i386/reboot.c:48:40: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/i386/reboot.c:39:6: branch_false: following ‘false’ branch (when ‘relocator’ is non-NULL)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/i386/reboot.c:42:43: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/i386/reboot.c:45:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/i386/reboot.c:47:9: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/i386/reboot.c:48:40: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-835): [#def572]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/i386/reboot.c:61:9: warning[-Wanalyzer-infinite-loop]: infinite loop
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/i386/reboot.c:29:1: enter_function: entry to ‘grub_reboot’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/i386/reboot.c:61:9: danger: infinite loop here
Error: GCC_ANALYZER_WARNING (CWE-469): [#def573]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/i386/relocator.c:87:48: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def574]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/i386/relocator.c:104:17: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/i386/relocator.c:90:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/i386/relocator.c:93:26: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/i386/relocator.c:104:17: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def575]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/i386/relocator.c:128:48: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def576]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/i386/relocator.c:159:17: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/i386/relocator.c:131:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/i386/relocator.c:134:25: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/i386/relocator.c:159:17: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def577]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/i386/relocator.c:183:48: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def578]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/i386/relocator.c:198:17: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/i386/relocator.c:185:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/i386/relocator.c:188:26: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/i386/relocator.c:198:17: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def579]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/i386/relocator_common_c.c:56:33: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def580]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/i386/relocator_common_c.c:57:34: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def581]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/i386/relocator_common_c.c:96:49: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def582]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/i386/relocator_common_c.c:108:48: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-465): [#def583]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: warning[-Wanalyzer-deref-before-check]: check of ‘v’ for NULL after already dereferencing it
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:122:7: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:123:9: branch_true: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: danger: pointer ‘v’ is checked for NULL here but it was already dereferenced at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def584]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:129:19: warning[-Wanalyzer-deref-before-check]: check of ‘u’ for NULL after already dereferencing it
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:122:7: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:123:9: branch_true: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: branch_true: following ‘true’ branch (when ‘v’ is non-NULL)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: branch_true: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:129:19: danger: pointer ‘u’ is checked for NULL here but it was already dereferenced at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def585]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:135:19: warning[-Wanalyzer-deref-before-check]: check of ‘u’ for NULL after already dereferencing it
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:122:7: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:133:9: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:135:19: danger: pointer ‘u’ is checked for NULL here but it was already dereferenced at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def586]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:139:19: warning[-Wanalyzer-deref-before-check]: check of ‘v’ for NULL after already dereferencing it
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:122:7: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:133:9: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:135:19: branch_true: following ‘true’ branch (when ‘u’ is non-NULL)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:135:19: branch_true: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:139:19: danger: pointer ‘v’ is checked for NULL here but it was already dereferenced at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def587]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:147:8: warning[-Wanalyzer-deref-before-check]: check of ‘w’ for NULL after already dereferencing it
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: branch_true: following ‘true’ branch (when ‘v’ is non-NULL)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: branch_true: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:129:19: branch_true: following ‘true’ branch (when ‘u’ is non-NULL)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:129:19: branch_true: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:147:8: danger: pointer ‘w’ is checked for NULL here but it was already dereferenced at [(5)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def588]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:74:10: warning[-Wanalyzer-deref-before-check]: check of ‘expo’ for NULL after already dereferencing it
Error: GCC_ANALYZER_WARNING (CWE-465): [#def589]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:75:10: warning[-Wanalyzer-deref-before-check]: check of ‘mod’ for NULL after already dereferencing it
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:74:10: branch_true: following ‘true’ branch (when ‘expo’ is non-NULL)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:74:10: branch_true: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:75:10: danger: pointer ‘mod’ is checked for NULL here but it was already dereferenced at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def590]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:246:16: warning[-Wanalyzer-deref-before-check]: check of ‘a’ for NULL after already dereferencing it
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:532:1: enter_function: entry to ‘gcry_mpi_print’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:545:6: branch_false: following ‘false’ branch (when ‘format != 1’)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:581:11: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:581:11: branch_true: following ‘true’ branch (when ‘format == 5’)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:583:24: branch_true: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:588:11: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:590:10: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:590:10: branch_true: following ‘true’ branch (when ‘buffer’ is non-NULL)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:594:17: branch_true: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:594:17: call_function: calling ‘_gcry_mpi_get_buffer’ from ‘gcry_mpi_print’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def591]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘wp’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:296:1: enter_function: entry to ‘gcry_mpi_set’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:302:6: branch_true: following ‘true’ branch (when ‘w’ is NULL)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:303:26: branch_true: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:303:9: call_function: calling ‘_gcry_mpi_alloc’ from ‘gcry_mpi_set’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:303:9: return_function: returning to ‘gcry_mpi_set’ from ‘_gcry_mpi_alloc’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:304:3: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:305:3: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:305:3: release_memory: ‘*w.d’ is NULL
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: branch_true: following ‘true’ branch (when ‘_i < usize’)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: branch_true: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: release_memory: ‘*w.d’ is NULL
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: danger: dereference of NULL ‘wp + (unsigned int)_i * 4’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def592]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1158:19: warning[-Wanalyzer-infinite-loop]: infinite loop
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1129:1: enter_function: entry to ‘_asn1_set_default_tag’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1158:19: danger: infinite loop here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1159:18: branch_false: when ‘p != node’: always following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1164:18: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1164:18: branch_false: when ‘p’ is NULL: always following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1158:15: branch_false: ...to here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def593]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libtasn1/lib/structure.c:443:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p_d’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libtasn1/lib/structure.c:1219:1: enter_function: entry to ‘asn1_dup_node’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/libtasn1/lib/structure.c:1221:10: call_function: calling ‘_asn1_copy_structure2’ from ‘asn1_dup_node’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def594]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/posix_wrap/stdlib.h:52:10: warning[-Wanalyzer-malloc-leak]: leak of ‘new_array’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_emplace_enlarge.c:30:1: enter_function: entry to ‘gl_dynarray_emplace_enlarge’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_emplace_enlarge.c:50:10: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_emplace_enlarge.c:59:7: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_emplace_enlarge.c:59:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_emplace_enlarge.c:62:7: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_emplace_enlarge.c:62:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_emplace_enlarge.c:70:17: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_emplace_enlarge.c:70:17: call_function: calling ‘realloc’ from ‘gl_dynarray_emplace_enlarge’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def595]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/posix_wrap/stdlib.h:52:10: warning[-Wanalyzer-malloc-leak]: leak of ‘newdict’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/xzembed/xz_dec_lzma2.c:1145:13: enter_function: entry to ‘xz_dec_lzma2_reset’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/xzembed/xz_dec_lzma2.c:1149:12: branch_false: following ‘false’ branch (when ‘props <= 30’)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/xzembed/xz_dec_lzma2.c:1152:28: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/xzembed/xz_dec_lzma2.c:1156:12: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/lib/xzembed/xz_dec_lzma2.c:1159:37: call_function: calling ‘realloc’ from ‘xz_dec_lzma2_reset’
Error: GCC_ANALYZER_WARNING (CWE-469): [#def596]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/mmap/i386/pc/mmap.c:70:36: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/mmap/i386/pc/mmap.c:63:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/mmap/i386/pc/mmap.c:67:3: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/mmap/i386/pc/mmap.c:70:36: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def597]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/mmap/i386/pc/mmap.c:95:16: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/mmap/i386/pc/mmap.c:63:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/mmap/i386/pc/mmap.c:67:3: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/mmap/i386/pc/mmap.c:79:3: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/mmap/i386/pc/mmap.c:80:7: branch_true: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/mmap/i386/pc/mmap.c:95:16: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def598]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/mmap/i386/pc/mmap.c:99:55: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/mmap/i386/pc/mmap.c:63:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/mmap/i386/pc/mmap.c:67:3: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/mmap/i386/pc/mmap.c:99:55: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def599]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/mmap/i386/pc/mmap.c:101:55: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/mmap/i386/pc/mmap.c:63:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/mmap/i386/pc/mmap.c:67:3: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/mmap/i386/pc/mmap.c:101:55: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def600]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/mmap/i386/pc/mmap.c:159:14: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/mmap/i386/pc/mmap.c:139:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/mmap/i386/pc/mmap.c:142:3: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/mmap/i386/pc/mmap.c:149:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/mmap/i386/pc/mmap.c:152:7: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/mmap/i386/pc/mmap.c:159:14: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def601]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/mmap/i386/pc/mmap.c:163:33: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/mmap/i386/pc/mmap.c:139:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/mmap/i386/pc/mmap.c:142:3: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/mmap/i386/pc/mmap.c:149:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/mmap/i386/pc/mmap.c:152:7: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/mmap/i386/pc/mmap.c:163:33: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-476): [#def602]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/normal/term.c:477:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/normal/term.c:1084:1: enter_function: entry to ‘grub_cls’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/normal/term.c:1088:3: branch_true: following ‘true’ branch (when ‘term’ is non-NULL)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/normal/term.c:1090:10: branch_true: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/normal/term.c:1092:9: call_function: calling ‘grub_putcode’ from ‘grub_cls’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def603]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/partmap/acorn.c:121:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘map[i].magic’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/partmap/acorn.c:114:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/partmap/acorn.c:117:3: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/partmap/acorn.c:119:15: branch_true: following ‘true’ branch (when ‘i != 42’)...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/partmap/acorn.c:121:11: branch_true: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/partmap/acorn.c:121:11: danger: use of uninitialized value ‘map[i].magic’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def604]
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/tests/lib/test.c:85:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘failure’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/tests/lib/test.c:110:1: enter_function: entry to ‘add_failure’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/tests/lib/test.c:114:33: call_function: calling ‘failure_start’ from ‘add_failure’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/tests/lib/test.c:114:33: return_function: return of NULL to ‘add_failure’ from ‘failure_start’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/tests/lib/test.c:115:3: call_function: calling ‘failure_append_text’ from ‘add_failure’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def605]
grub-2.12/grub-i386-pc-2.12/grub-core/../../include/grub/misc.h:260:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘s1’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/nativedisk.c:135:1: enter_function: entry to ‘iterate_device’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/nativedisk.c:140:7: call_function: calling ‘get_uuid’ from ‘iterate_device’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/nativedisk.c:140:7: return_function: returning to ‘iterate_device’ from ‘get_uuid’
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/nativedisk.c:140:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/nativedisk.c:148:3: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/nativedisk.c:148:3: release_memory: ‘cur_uuid’ is NULL
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/nativedisk.c:150:6: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/nativedisk.c:150:54: branch_true: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/nativedisk.c:150:27: release_memory: ‘cur_uuid’ is NULL
grub-2.12/grub-i386-pc-2.12/grub-core/../../grub-core/commands/nativedisk.c:150:27: call_function: calling ‘grub_strcasecmp’ from ‘iterate_device’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def606]
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1111:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1069:6: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1075:28: branch_true: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1098:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1100:7: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1101:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 10000’)...
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1105:21: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1109:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1111:9: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1111:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def607]
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1238:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1069:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1133:6: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1133:6: branch_false: following ‘false’ branch (when ‘yystate != 3’)...
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1136:3: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1148:6: branch_true: following ‘true’ branch (when ‘yyn == -73’)...
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1149:5: branch_true: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1218:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1220:3: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1238:3: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def608]
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.yy.c:2091:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.yy.c:1970:10: enter_function: entry to ‘yyrestart’
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.yy.c:1975:16: call_function: calling ‘yyensure_buffer_stack’ from ‘yyrestart’
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.yy.c:1975:16: return_function: returning to ‘yyrestart’ from ‘yyensure_buffer_stack’
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.yy.c:1977:27: call_function: calling ‘yy_create_buffer’ from ‘yyrestart’
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.yy.c:1977:27: return_function: returning to ‘yyrestart’ from ‘yy_create_buffer’
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.yy.c:1980:2: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.yy.c:1980:2: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.yy.c:1980:2: release_memory: ‘0’ is NULL
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.yy.c:1980:2: call_function: calling ‘yy_init_buffer’ from ‘yyrestart’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def609]
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1111:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1069:6: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1075:28: branch_true: ...to here
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1098:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1100:7: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1101:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 10000’)...
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1105:21: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1109:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1111:9: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1111:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def610]
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1238:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1069:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1133:6: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1133:6: branch_false: following ‘false’ branch (when ‘yystate != 3’)...
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1136:3: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1148:6: branch_true: following ‘true’ branch (when ‘yyn == -73’)...
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1149:5: branch_true: ...to here
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1218:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1220:3: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1238:3: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def611]
grub-2.12/grub-i386-pc-2.12/grub_script.yy.c:2091:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
grub-2.12/grub-i386-pc-2.12/grub_script.yy.c:1970:10: enter_function: entry to ‘yyrestart’
grub-2.12/grub-i386-pc-2.12/grub_script.yy.c:1975:16: call_function: calling ‘yyensure_buffer_stack’ from ‘yyrestart’
grub-2.12/grub-i386-pc-2.12/grub_script.yy.c:1975:16: return_function: returning to ‘yyrestart’ from ‘yyensure_buffer_stack’
grub-2.12/grub-i386-pc-2.12/grub_script.yy.c:1977:27: call_function: calling ‘yy_create_buffer’ from ‘yyrestart’
grub-2.12/grub-i386-pc-2.12/grub_script.yy.c:1977:27: return_function: returning to ‘yyrestart’ from ‘yy_create_buffer’
grub-2.12/grub-i386-pc-2.12/grub_script.yy.c:1980:2: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/grub_script.yy.c:1980:2: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub_script.yy.c:1980:2: release_memory: ‘0’ is NULL
grub-2.12/grub-i386-pc-2.12/grub_script.yy.c:1980:2: call_function: calling ‘yy_init_buffer’ from ‘yyrestart’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def612]
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/font/font.c:1497:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘comb’
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/font/font.c:1546:1: enter_function: entry to ‘grub_font_construct_glyph’
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/font/font.c:1557:16: call_function: calling ‘grub_font_construct_dry_run’ from ‘grub_font_construct_glyph’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def613]
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/fs/bfs.c:621:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘node’
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/fs/bfs.c:1047:1: enter_function: entry to ‘grub_bfs_uuid’
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/fs/bfs.c:1057:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/fs/bfs.c:1060:22: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/fs/bfs.c:1061:6: branch_false: following ‘false’ branch (when ‘ino’ is non-NULL)...
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/fs/bfs.c:1065:27: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/fs/bfs.c:1066:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/fs/bfs.c:1071:22: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/fs/bfs.c:1071:7: call_function: calling ‘read_bfs_attr’ from ‘grub_bfs_uuid’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def614]
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/fs/fshelp.c:152:11: warning[-Wanalyzer-jump-through-null]: jump through null pointer
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/fs/fshelp.c:335:1: enter_function: entry to ‘grub_fshelp_find_file_lookup’
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/fs/fshelp.c:341:10: call_function: calling ‘grub_fshelp_find_file_real’ from ‘grub_fshelp_find_file_lookup’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def615]
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/fs/fshelp.c:188:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ctx.currnode’
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/fs/fshelp.c:335:1: enter_function: entry to ‘grub_fshelp_find_file_lookup’
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/fs/fshelp.c:341:10: call_function: calling ‘grub_fshelp_find_file_real’ from ‘grub_fshelp_find_file_lookup’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def616]
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/kern/env.c:227:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/kern/env.c:212:1: enter_function: entry to ‘grub_register_variable_hook’
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/kern/env.c:216:30: call_function: calling ‘grub_env_find’ from ‘grub_register_variable_hook’
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/kern/env.c:216:30: return_function: returning to ‘grub_register_variable_hook’ from ‘grub_env_find’
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/kern/env.c:218:6: branch_true: following ‘true’ branch (when ‘var’ is NULL)...
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/kern/env.c:220:11: branch_true: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/kern/env.c:220:11: call_function: calling ‘grub_env_set’ from ‘grub_register_variable_hook’
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/kern/env.c:220:11: return_function: returning to ‘grub_register_variable_hook’ from ‘grub_env_set’
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/kern/env.c:220:10: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/kern/env.c:223:13: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/kern/env.c:223:13: call_function: calling ‘grub_env_find’ from ‘grub_register_variable_hook’
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/kern/env.c:223:13: return_function: return of NULL to ‘grub_register_variable_hook’ from ‘grub_env_find’
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/kern/env.c:227:3: danger: dereference of NULL ‘var’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def617]
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/kern/env.c:248:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/kern/env.c:234:1: enter_function: entry to ‘grub_env_export’
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/kern/env.c:238:9: call_function: calling ‘grub_env_find’ from ‘grub_env_export’
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/kern/env.c:238:9: return_function: returning to ‘grub_env_export’ from ‘grub_env_find’
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/kern/env.c:239:6: branch_true: following ‘true’ branch (when ‘var’ is NULL)...
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/kern/env.c:243:13: branch_true: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/kern/env.c:243:13: call_function: calling ‘grub_env_set’ from ‘grub_env_export’
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/kern/env.c:243:13: return_function: returning to ‘grub_env_export’ from ‘grub_env_set’
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/kern/env.c:244:10: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/kern/env.c:246:13: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/kern/env.c:246:13: call_function: calling ‘grub_env_find’ from ‘grub_env_export’
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/kern/env.c:246:13: return_function: return of NULL to ‘grub_env_export’ from ‘grub_env_find’
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/kern/env.c:248:3: danger: dereference of NULL ‘var’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def618]
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/lib/libgcrypt-grub/cipher/sha1.c:142:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘x[1]’
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/lib/libgcrypt-grub/cipher/sha1.c:236:1: enter_function: entry to ‘sha1_write’
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/lib/libgcrypt-grub/cipher/sha1.c:249:6: branch_false: following ‘false’ branch (when ‘inbuf’ is non-NULL)...
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/lib/libgcrypt-grub/cipher/sha1.c:252:7: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/lib/libgcrypt-grub/cipher/sha1.c:262:6: branch_true: following ‘true’ branch (when ‘nblocks != 0’)...
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/lib/libgcrypt-grub/cipher/sha1.c:264:7: branch_true: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/lib/libgcrypt-grub/cipher/sha1.c:264:7: call_function: calling ‘transform’ from ‘sha1_write’
Error: GCC_ANALYZER_WARNING (CWE-131): [#def619]
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:509:25: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:723:20: enter_function: entry to ‘dec_main’
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:744:28: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:747:31: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:747:31: call_function: calling ‘dec_stream_header’ from ‘dec_main’
Error: GCC_ANALYZER_WARNING (CWE-131): [#def620]
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:516:25: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:723:20: enter_function: entry to ‘dec_main’
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:744:28: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:747:31: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:747:31: call_function: calling ‘dec_stream_header’ from ‘dec_main’
Error: GCC_ANALYZER_WARNING (CWE-131): [#def621]
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:525:25: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:723:20: enter_function: entry to ‘dec_main’
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:744:28: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:747:31: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:747:31: call_function: calling ‘dec_stream_header’ from ‘dec_main’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def622]
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/linux/getroot.c:1104:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘p’ where non-null expected
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/linux/getroot.c:1096:6: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/linux/getroot.c:1102:11: acquire_memory: this call could return NULL
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/linux/getroot.c:1104:11: danger: argument 1 (‘p’) from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def623]
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/linux/getroot.c:1119:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘p’ where non-null expected
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/linux/getroot.c:1111:11: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/linux/getroot.c:1117:11: acquire_memory: this call could return NULL
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/linux/getroot.c:1119:11: danger: argument 1 (‘p’) from [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def624]
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/linux/getroot.c:1132:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘p’ where non-null expected
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/linux/getroot.c:1126:11: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/linux/getroot.c:1130:11: acquire_memory: this call could return NULL
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/linux/getroot.c:1132:11: danger: argument 1 (‘p’) from [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def625]
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/linux/getroot.c:1145:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘p’ where non-null expected
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/linux/getroot.c:1111:12: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/linux/getroot.c:1126:18: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/linux/getroot.c:1139:11: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/linux/getroot.c:1143:11: acquire_memory: this call could return NULL
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/linux/getroot.c:1145:11: danger: argument 1 (‘p’) from [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def626]
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/linux/getroot.c:1159:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘p’ where non-null expected
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/linux/getroot.c:1111:12: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/linux/getroot.c:1126:18: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/linux/getroot.c:1152:11: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/linux/getroot.c:1157:11: branch_true: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/linux/getroot.c:1157:11: acquire_memory: this call could return NULL
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/linux/getroot.c:1159:11: danger: argument 1 (‘p’) from [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def627]
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/linux/ofpath.c:748:15: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘new’ where non-null expected
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/linux/ofpath.c:814:1: enter_function: entry to ‘grub_util_devname_to_ofpath’
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/linux/ofpath.c:818:14: call_function: calling ‘xrealpath’ from ‘grub_util_devname_to_ofpath’
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/linux/ofpath.c:818:14: return_function: returning to ‘grub_util_devname_to_ofpath’ from ‘xrealpath’
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/linux/ofpath.c:821:6: branch_false: following ‘false’ branch (when ‘realname’ is NULL)...
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/linux/ofpath.c:827:12: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/linux/ofpath.c:828:13: call_function: calling ‘strip_trailing_digits’ from ‘grub_util_devname_to_ofpath’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def628]
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/unix/password.c:59:14: warning[-Wanalyzer-file-leak]: leak of FILE ‘in’
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/unix/password.c:40:8: acquire_resource: opened here
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/unix/password.c:41:6: branch_false: following ‘false’ branch (when ‘in’ is non-NULL)...
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/unix/password.c:44:7: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/unix/password.c:57:10: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/unix/password.c:59:14: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/unix/password.c:59:14: danger: ‘in’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def629]
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/unix/password.c:59:14: warning[-Wanalyzer-malloc-leak]: leak of ‘in’
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/unix/password.c:40:8: acquire_memory: allocated here
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/unix/password.c:41:6: branch_false: following ‘false’ branch (when ‘in’ is non-NULL)...
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/unix/password.c:44:7: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/unix/password.c:57:10: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/unix/password.c:59:14: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/osdep/unix/password.c:59:14: danger: ‘in’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def630]
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/partmap/acorn.c:121:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘map[i].magic’
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/partmap/acorn.c:114:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/partmap/acorn.c:117:3: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/partmap/acorn.c:119:15: branch_true: following ‘true’ branch (when ‘i != 42’)...
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/partmap/acorn.c:121:11: branch_true: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/../grub-core/partmap/acorn.c:121:11: danger: use of uninitialized value ‘map[i].magic’ here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def631]
grub-2.12/grub-i386-xen_pvh-2.12/../include/grub/osdep/hostfile_unix.h:53:10: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘dirp’ where non-null expected
grub-2.12/grub-i386-xen_pvh-2.12/../util/grub-install-common.c:1195:1: enter_function: entry to ‘grub_util_unlink_recursive’
grub-2.12/grub-i386-xen_pvh-2.12/../util/grub-install-common.c:1200:7: call_function: calling ‘grub_util_fd_opendir’ from ‘grub_util_unlink_recursive’
grub-2.12/grub-i386-xen_pvh-2.12/../util/grub-install-common.c:1200:7: return_function: possible return of NULL to ‘grub_util_unlink_recursive’ from ‘grub_util_fd_opendir’
grub-2.12/grub-i386-xen_pvh-2.12/../util/grub-install-common.c:1202:16: call_function: calling ‘grub_util_fd_readdir’ from ‘grub_util_unlink_recursive’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def632]
grub-2.12/grub-i386-xen_pvh-2.12/../util/grub-fstest.c:400:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
grub-2.12/grub-i386-xen_pvh-2.12/../util/grub-fstest.c:736:1: enter_function: entry to ‘main’
grub-2.12/grub-i386-xen_pvh-2.12/../util/grub-fstest.c:751:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/../util/grub-fstest.c:754:18: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/../util/grub-fstest.c:754:18: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/../util/grub-fstest.c:754:3: branch_true: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/../util/grub-fstest.c:756:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/../util/grub-fstest.c:767:5: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/../util/grub-fstest.c:771:6: branch_false: following ‘false’ branch (when ‘alloc_root’ is NULL)...
grub-2.12/grub-i386-xen_pvh-2.12/../util/grub-fstest.c:775:11: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/../util/grub-fstest.c:775:3: call_function: calling ‘fstest’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def633]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/commands/legacycfg.c:148:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘entrysrc’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/commands/legacycfg.c:52:9: release_memory: ‘entryname’ is NULL
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/commands/legacycfg.c:52:28: release_memory: ‘entryname’ is NULL
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/commands/legacycfg.c:56:6: branch_false: following ‘false’ branch (when ‘suffix’ is non-NULL)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/commands/legacycfg.c:59:10: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/commands/legacycfg.c:60:6: branch_false: following ‘false’ branch (when ‘file’ is non-NULL)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/commands/legacycfg.c:66:10: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/commands/legacycfg.c:82:13: release_memory: ‘entryname’ is NULL
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/commands/legacycfg.c:91:10: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/commands/legacycfg.c:95:15: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/commands/legacycfg.c:95:15: release_memory: ‘entryname’ is NULL
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/commands/legacycfg.c:101:9: release_memory: ‘entryname’ is NULL
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/commands/legacycfg.c:104:9: release_memory: ‘entryname’ is NULL
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/commands/legacycfg.c:160:15: branch_false: following ‘false’ branch (when ‘parsed’ is NULL)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/commands/legacycfg.c:80:5: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/commands/legacycfg.c:82:13: release_memory: ‘entrysrc’ is NULL
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/commands/legacycfg.c:91:10: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/commands/legacycfg.c:95:15: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/commands/legacycfg.c:95:15: release_memory: ‘entrysrc’ is NULL
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/commands/legacycfg.c:104:9: release_memory: ‘entrysrc’ is NULL
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/commands/legacycfg.c:138:16: branch_false: following ‘false’ branch (when ‘args’ is non-NULL)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/commands/legacycfg.c:143:13: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/commands/legacycfg.c:148:13: danger: dereference of NULL ‘entrysrc’
Error: COMPILER_WARNING (CWE-704): [#def634]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/commands/search.c:219:41: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-476): [#def635]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/efiemu/runtime/efiemu.c:547:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘efivar’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/efiemu/runtime/efiemu.c:505:1: enter_function: entry to ‘efiemu_set_variable_real’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/efiemu/runtime/efiemu.c:514:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/efiemu/runtime/efiemu.c:516:12: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/efiemu/runtime/efiemu.c:519:6: branch_false: following ‘false’ branch (when ‘efivar’ is NULL)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/efiemu/runtime/efiemu.c:531:6: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/efiemu/runtime/efiemu.c:531:6: branch_false: following ‘false’ branch (when ‘data_size != 0’)...
branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/efiemu/runtime/efiemu.c:534:32: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/efiemu/runtime/efiemu.c:542:14: call_function: inlined call to ‘efiemu_str16len’ from ‘efiemu_set_variable_real’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/efiemu/runtime/efiemu.c:541:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/efiemu/runtime/efiemu.c:546:18: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/efiemu/runtime/efiemu.c:546:3: call_function: inlined call to ‘efiemu_memcpy’ from ‘efiemu_set_variable_real’
branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/efiemu/runtime/efiemu.c:547:3: danger: dereference of NULL ‘efivar’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def636]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/font/font.c:1497:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘comb’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/font/font.c:1546:1: enter_function: entry to ‘grub_font_construct_glyph’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/font/font.c:1557:16: call_function: calling ‘grub_font_construct_dry_run’ from ‘grub_font_construct_glyph’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def637]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/fs/bfs.c:621:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘node’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/fs/bfs.c:1047:1: enter_function: entry to ‘grub_bfs_uuid’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/fs/bfs.c:1057:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/fs/bfs.c:1060:22: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/fs/bfs.c:1061:6: branch_false: following ‘false’ branch (when ‘ino’ is non-NULL)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/fs/bfs.c:1065:27: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/fs/bfs.c:1066:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/fs/bfs.c:1071:22: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/fs/bfs.c:1071:7: call_function: calling ‘read_bfs_attr’ from ‘grub_bfs_uuid’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def638]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/fs/fshelp.c:152:11: warning[-Wanalyzer-jump-through-null]: jump through null pointer
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/fs/fshelp.c:335:1: enter_function: entry to ‘grub_fshelp_find_file_lookup’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/fs/fshelp.c:341:10: call_function: calling ‘grub_fshelp_find_file_real’ from ‘grub_fshelp_find_file_lookup’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def639]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/fs/fshelp.c:188:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ctx.currnode’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/fs/fshelp.c:335:1: enter_function: entry to ‘grub_fshelp_find_file_lookup’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/fs/fshelp.c:341:10: call_function: calling ‘grub_fshelp_find_file_real’ from ‘grub_fshelp_find_file_lookup’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def640]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/kern/env.c:227:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/kern/env.c:212:1: enter_function: entry to ‘grub_register_variable_hook’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/kern/env.c:216:30: call_function: calling ‘grub_env_find’ from ‘grub_register_variable_hook’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/kern/env.c:216:30: return_function: returning to ‘grub_register_variable_hook’ from ‘grub_env_find’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/kern/env.c:218:6: branch_true: following ‘true’ branch (when ‘var’ is NULL)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/kern/env.c:220:11: branch_true: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/kern/env.c:220:11: call_function: calling ‘grub_env_set’ from ‘grub_register_variable_hook’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/kern/env.c:220:11: return_function: returning to ‘grub_register_variable_hook’ from ‘grub_env_set’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/kern/env.c:220:10: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/kern/env.c:223:13: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/kern/env.c:223:13: call_function: calling ‘grub_env_find’ from ‘grub_register_variable_hook’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/kern/env.c:223:13: return_function: return of NULL to ‘grub_register_variable_hook’ from ‘grub_env_find’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/kern/env.c:227:3: danger: dereference of NULL ‘var’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def641]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/kern/env.c:248:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/kern/env.c:234:1: enter_function: entry to ‘grub_env_export’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/kern/env.c:238:9: call_function: calling ‘grub_env_find’ from ‘grub_env_export’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/kern/env.c:238:9: return_function: returning to ‘grub_env_export’ from ‘grub_env_find’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/kern/env.c:239:6: branch_true: following ‘true’ branch (when ‘var’ is NULL)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/kern/env.c:243:13: branch_true: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/kern/env.c:243:13: call_function: calling ‘grub_env_set’ from ‘grub_env_export’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/kern/env.c:243:13: return_function: returning to ‘grub_env_export’ from ‘grub_env_set’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/kern/env.c:244:10: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/kern/env.c:246:13: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/kern/env.c:246:13: call_function: calling ‘grub_env_find’ from ‘grub_env_export’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/kern/env.c:246:13: return_function: return of NULL to ‘grub_env_export’ from ‘grub_env_find’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/kern/env.c:248:3: danger: dereference of NULL ‘var’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def642]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/kern/xen/init.c:593:9: warning[-Wanalyzer-infinite-loop]: infinite loop
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/kern/xen/init.c:587:1: enter_function: entry to ‘grub_exit’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/kern/xen/init.c:593:9: danger: infinite loop here
Error: GCC_ANALYZER_WARNING (CWE-469): [#def643]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/i386/relocator.c:87:48: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def644]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/i386/relocator.c:104:17: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/i386/relocator.c:90:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/i386/relocator.c:93:26: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/i386/relocator.c:104:17: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def645]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/i386/relocator.c:128:48: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def646]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/i386/relocator.c:159:17: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/i386/relocator.c:131:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/i386/relocator.c:134:25: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/i386/relocator.c:159:17: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def647]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/i386/relocator.c:183:48: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def648]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/i386/relocator.c:198:17: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/i386/relocator.c:185:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/i386/relocator.c:188:26: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/i386/relocator.c:198:17: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def649]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/i386/relocator_common_c.c:56:33: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def650]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/i386/relocator_common_c.c:57:34: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def651]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/i386/relocator_common_c.c:96:49: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def652]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/i386/relocator_common_c.c:108:48: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-465): [#def653]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: warning[-Wanalyzer-deref-before-check]: check of ‘v’ for NULL after already dereferencing it
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:122:7: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:123:9: branch_true: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: danger: pointer ‘v’ is checked for NULL here but it was already dereferenced at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def654]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:129:19: warning[-Wanalyzer-deref-before-check]: check of ‘u’ for NULL after already dereferencing it
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:122:7: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:123:9: branch_true: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: branch_true: following ‘true’ branch (when ‘v’ is non-NULL)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: branch_true: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:129:19: danger: pointer ‘u’ is checked for NULL here but it was already dereferenced at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def655]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:135:19: warning[-Wanalyzer-deref-before-check]: check of ‘u’ for NULL after already dereferencing it
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:122:7: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:133:9: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:135:19: danger: pointer ‘u’ is checked for NULL here but it was already dereferenced at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def656]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:139:19: warning[-Wanalyzer-deref-before-check]: check of ‘v’ for NULL after already dereferencing it
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:122:7: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:133:9: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:135:19: branch_true: following ‘true’ branch (when ‘u’ is non-NULL)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:135:19: branch_true: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:139:19: danger: pointer ‘v’ is checked for NULL here but it was already dereferenced at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def657]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:147:8: warning[-Wanalyzer-deref-before-check]: check of ‘w’ for NULL after already dereferencing it
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: branch_true: following ‘true’ branch (when ‘v’ is non-NULL)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: branch_true: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:129:19: branch_true: following ‘true’ branch (when ‘u’ is non-NULL)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:129:19: branch_true: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:147:8: danger: pointer ‘w’ is checked for NULL here but it was already dereferenced at [(5)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def658]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:74:10: warning[-Wanalyzer-deref-before-check]: check of ‘expo’ for NULL after already dereferencing it
Error: GCC_ANALYZER_WARNING (CWE-465): [#def659]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:75:10: warning[-Wanalyzer-deref-before-check]: check of ‘mod’ for NULL after already dereferencing it
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:74:10: branch_true: following ‘true’ branch (when ‘expo’ is non-NULL)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:74:10: branch_true: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:75:10: danger: pointer ‘mod’ is checked for NULL here but it was already dereferenced at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def660]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:246:16: warning[-Wanalyzer-deref-before-check]: check of ‘a’ for NULL after already dereferencing it
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:532:1: enter_function: entry to ‘gcry_mpi_print’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:545:6: branch_false: following ‘false’ branch (when ‘format != 1’)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:581:11: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:581:11: branch_true: following ‘true’ branch (when ‘format == 5’)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:583:24: branch_true: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:588:11: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:590:10: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:590:10: branch_true: following ‘true’ branch (when ‘buffer’ is non-NULL)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:594:17: branch_true: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:594:17: call_function: calling ‘_gcry_mpi_get_buffer’ from ‘gcry_mpi_print’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def661]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘wp’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:296:1: enter_function: entry to ‘gcry_mpi_set’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:302:6: branch_true: following ‘true’ branch (when ‘w’ is NULL)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:303:26: branch_true: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:303:9: call_function: calling ‘_gcry_mpi_alloc’ from ‘gcry_mpi_set’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:303:9: return_function: returning to ‘gcry_mpi_set’ from ‘_gcry_mpi_alloc’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:304:3: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:305:3: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:305:3: release_memory: ‘*w.d’ is NULL
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: branch_true: following ‘true’ branch (when ‘_i < usize’)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: branch_true: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: release_memory: ‘*w.d’ is NULL
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: danger: dereference of NULL ‘wp + (unsigned int)_i * 4’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def662]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1158:19: warning[-Wanalyzer-infinite-loop]: infinite loop
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1129:1: enter_function: entry to ‘_asn1_set_default_tag’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1158:19: danger: infinite loop here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1159:18: branch_false: when ‘p != node’: always following ‘false’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1164:18: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1164:18: branch_false: when ‘p’ is NULL: always following ‘false’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1158:15: branch_false: ...to here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def663]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libtasn1/lib/structure.c:443:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p_d’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libtasn1/lib/structure.c:1219:1: enter_function: entry to ‘asn1_dup_node’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/libtasn1/lib/structure.c:1221:10: call_function: calling ‘_asn1_copy_structure2’ from ‘asn1_dup_node’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def664]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/posix_wrap/stdlib.h:52:10: warning[-Wanalyzer-malloc-leak]: leak of ‘new_array’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_emplace_enlarge.c:30:1: enter_function: entry to ‘gl_dynarray_emplace_enlarge’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_emplace_enlarge.c:50:10: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_emplace_enlarge.c:59:7: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_emplace_enlarge.c:59:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_emplace_enlarge.c:62:7: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_emplace_enlarge.c:62:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_emplace_enlarge.c:70:17: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_emplace_enlarge.c:70:17: call_function: calling ‘realloc’ from ‘gl_dynarray_emplace_enlarge’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def665]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/posix_wrap/stdlib.h:52:10: warning[-Wanalyzer-malloc-leak]: leak of ‘newdict’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/xzembed/xz_dec_lzma2.c:1145:13: enter_function: entry to ‘xz_dec_lzma2_reset’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/xzembed/xz_dec_lzma2.c:1149:12: branch_false: following ‘false’ branch (when ‘props <= 30’)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/xzembed/xz_dec_lzma2.c:1152:28: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/xzembed/xz_dec_lzma2.c:1156:12: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/xzembed/xz_dec_lzma2.c:1159:37: call_function: calling ‘realloc’ from ‘xz_dec_lzma2_reset’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def666]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/xen/halt.c:31:3: warning[-Wanalyzer-infinite-loop]: infinite loop
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/xen/halt.c:25:1: enter_function: entry to ‘grub_halt’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/xen/halt.c:31:3: danger: infinite loop here
Error: GCC_ANALYZER_WARNING (CWE-835): [#def667]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/xen/reboot.c:31:3: warning[-Wanalyzer-infinite-loop]: infinite loop
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/xen/reboot.c:25:1: enter_function: entry to ‘grub_reboot’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/lib/xen/reboot.c:31:3: danger: infinite loop here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def668]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/normal/term.c:477:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/normal/term.c:1084:1: enter_function: entry to ‘grub_cls’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/normal/term.c:1088:3: branch_true: following ‘true’ branch (when ‘term’ is non-NULL)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/normal/term.c:1090:10: branch_true: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/normal/term.c:1092:9: call_function: calling ‘grub_putcode’ from ‘grub_cls’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def669]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/partmap/acorn.c:121:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘map[i].magic’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/partmap/acorn.c:114:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/partmap/acorn.c:117:3: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/partmap/acorn.c:119:15: branch_true: following ‘true’ branch (when ‘i != 42’)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/partmap/acorn.c:121:11: branch_true: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/partmap/acorn.c:121:11: danger: use of uninitialized value ‘map[i].magic’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def670]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/tests/lib/test.c:85:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘failure’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/tests/lib/test.c:110:1: enter_function: entry to ‘add_failure’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/tests/lib/test.c:114:33: call_function: calling ‘failure_start’ from ‘add_failure’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/tests/lib/test.c:114:33: return_function: return of NULL to ‘add_failure’ from ‘failure_start’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/../../grub-core/tests/lib/test.c:115:3: call_function: calling ‘failure_append_text’ from ‘add_failure’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def671]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1111:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1069:6: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1075:28: branch_true: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1098:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1100:7: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1101:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 10000’)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1105:21: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1109:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1111:9: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1111:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def672]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1238:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1069:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1133:6: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1133:6: branch_false: following ‘false’ branch (when ‘yystate != 3’)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1136:3: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1148:6: branch_true: following ‘true’ branch (when ‘yyn == -73’)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1149:5: branch_true: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1218:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1220:3: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1238:3: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def673]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.yy.c:2091:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.yy.c:1970:10: enter_function: entry to ‘yyrestart’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.yy.c:1975:16: call_function: calling ‘yyensure_buffer_stack’ from ‘yyrestart’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.yy.c:1975:16: return_function: returning to ‘yyrestart’ from ‘yyensure_buffer_stack’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.yy.c:1977:27: call_function: calling ‘yy_create_buffer’ from ‘yyrestart’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.yy.c:1977:27: return_function: returning to ‘yyrestart’ from ‘yy_create_buffer’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.yy.c:1980:2: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.yy.c:1980:2: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.yy.c:1980:2: release_memory: ‘0’ is NULL
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.yy.c:1980:2: call_function: calling ‘yy_init_buffer’ from ‘yyrestart’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def674]
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1111:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1069:6: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1075:28: branch_true: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1098:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1100:7: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1101:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 10000’)...
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1105:21: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1109:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1111:9: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1111:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def675]
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1238:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1069:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1133:6: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1133:6: branch_false: following ‘false’ branch (when ‘yystate != 3’)...
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1136:3: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1148:6: branch_true: following ‘true’ branch (when ‘yyn == -73’)...
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1149:5: branch_true: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1218:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1220:3: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1238:3: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def676]
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.yy.c:2091:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.yy.c:1970:10: enter_function: entry to ‘yyrestart’
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.yy.c:1975:16: call_function: calling ‘yyensure_buffer_stack’ from ‘yyrestart’
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.yy.c:1975:16: return_function: returning to ‘yyrestart’ from ‘yyensure_buffer_stack’
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.yy.c:1977:27: call_function: calling ‘yy_create_buffer’ from ‘yyrestart’
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.yy.c:1977:27: return_function: returning to ‘yyrestart’ from ‘yy_create_buffer’
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.yy.c:1980:2: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.yy.c:1980:2: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.yy.c:1980:2: release_memory: ‘0’ is NULL
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.yy.c:1980:2: call_function: calling ‘yy_init_buffer’ from ‘yyrestart’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def677]
grub-2.12/grub-x86_64-efi-2.12/../grub-core/font/font.c:1497:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘comb’
grub-2.12/grub-x86_64-efi-2.12/../grub-core/font/font.c:1546:1: enter_function: entry to ‘grub_font_construct_glyph’
grub-2.12/grub-x86_64-efi-2.12/../grub-core/font/font.c:1557:16: call_function: calling ‘grub_font_construct_dry_run’ from ‘grub_font_construct_glyph’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def678]
grub-2.12/grub-x86_64-efi-2.12/../grub-core/fs/bfs.c:621:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘node’
grub-2.12/grub-x86_64-efi-2.12/../grub-core/fs/bfs.c:1047:1: enter_function: entry to ‘grub_bfs_uuid’
grub-2.12/grub-x86_64-efi-2.12/../grub-core/fs/bfs.c:1057:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-x86_64-efi-2.12/../grub-core/fs/bfs.c:1060:22: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/../grub-core/fs/bfs.c:1061:6: branch_false: following ‘false’ branch (when ‘ino’ is non-NULL)...
grub-2.12/grub-x86_64-efi-2.12/../grub-core/fs/bfs.c:1065:27: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/../grub-core/fs/bfs.c:1066:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-x86_64-efi-2.12/../grub-core/fs/bfs.c:1071:22: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/../grub-core/fs/bfs.c:1071:7: call_function: calling ‘read_bfs_attr’ from ‘grub_bfs_uuid’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def679]
grub-2.12/grub-x86_64-efi-2.12/../grub-core/fs/fshelp.c:152:11: warning[-Wanalyzer-jump-through-null]: jump through null pointer
grub-2.12/grub-x86_64-efi-2.12/../grub-core/fs/fshelp.c:335:1: enter_function: entry to ‘grub_fshelp_find_file_lookup’
grub-2.12/grub-x86_64-efi-2.12/../grub-core/fs/fshelp.c:341:10: call_function: calling ‘grub_fshelp_find_file_real’ from ‘grub_fshelp_find_file_lookup’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def680]
grub-2.12/grub-x86_64-efi-2.12/../grub-core/fs/fshelp.c:188:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ctx.currnode’
grub-2.12/grub-x86_64-efi-2.12/../grub-core/fs/fshelp.c:335:1: enter_function: entry to ‘grub_fshelp_find_file_lookup’
grub-2.12/grub-x86_64-efi-2.12/../grub-core/fs/fshelp.c:341:10: call_function: calling ‘grub_fshelp_find_file_real’ from ‘grub_fshelp_find_file_lookup’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def681]
grub-2.12/grub-x86_64-efi-2.12/../grub-core/kern/env.c:227:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
grub-2.12/grub-x86_64-efi-2.12/../grub-core/kern/env.c:212:1: enter_function: entry to ‘grub_register_variable_hook’
grub-2.12/grub-x86_64-efi-2.12/../grub-core/kern/env.c:216:30: call_function: calling ‘grub_env_find’ from ‘grub_register_variable_hook’
grub-2.12/grub-x86_64-efi-2.12/../grub-core/kern/env.c:216:30: return_function: returning to ‘grub_register_variable_hook’ from ‘grub_env_find’
grub-2.12/grub-x86_64-efi-2.12/../grub-core/kern/env.c:218:6: branch_true: following ‘true’ branch (when ‘var’ is NULL)...
grub-2.12/grub-x86_64-efi-2.12/../grub-core/kern/env.c:220:11: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/../grub-core/kern/env.c:220:11: call_function: calling ‘grub_env_set’ from ‘grub_register_variable_hook’
grub-2.12/grub-x86_64-efi-2.12/../grub-core/kern/env.c:220:11: return_function: returning to ‘grub_register_variable_hook’ from ‘grub_env_set’
grub-2.12/grub-x86_64-efi-2.12/../grub-core/kern/env.c:220:10: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/../grub-core/kern/env.c:223:13: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/../grub-core/kern/env.c:223:13: call_function: calling ‘grub_env_find’ from ‘grub_register_variable_hook’
grub-2.12/grub-x86_64-efi-2.12/../grub-core/kern/env.c:223:13: return_function: return of NULL to ‘grub_register_variable_hook’ from ‘grub_env_find’
grub-2.12/grub-x86_64-efi-2.12/../grub-core/kern/env.c:227:3: danger: dereference of NULL ‘var’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def682]
grub-2.12/grub-x86_64-efi-2.12/../grub-core/kern/env.c:248:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
grub-2.12/grub-x86_64-efi-2.12/../grub-core/kern/env.c:234:1: enter_function: entry to ‘grub_env_export’
grub-2.12/grub-x86_64-efi-2.12/../grub-core/kern/env.c:238:9: call_function: calling ‘grub_env_find’ from ‘grub_env_export’
grub-2.12/grub-x86_64-efi-2.12/../grub-core/kern/env.c:238:9: return_function: returning to ‘grub_env_export’ from ‘grub_env_find’
grub-2.12/grub-x86_64-efi-2.12/../grub-core/kern/env.c:239:6: branch_true: following ‘true’ branch (when ‘var’ is NULL)...
grub-2.12/grub-x86_64-efi-2.12/../grub-core/kern/env.c:243:13: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/../grub-core/kern/env.c:243:13: call_function: calling ‘grub_env_set’ from ‘grub_env_export’
grub-2.12/grub-x86_64-efi-2.12/../grub-core/kern/env.c:243:13: return_function: returning to ‘grub_env_export’ from ‘grub_env_set’
grub-2.12/grub-x86_64-efi-2.12/../grub-core/kern/env.c:244:10: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-x86_64-efi-2.12/../grub-core/kern/env.c:246:13: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/../grub-core/kern/env.c:246:13: call_function: calling ‘grub_env_find’ from ‘grub_env_export’
grub-2.12/grub-x86_64-efi-2.12/../grub-core/kern/env.c:246:13: return_function: return of NULL to ‘grub_env_export’ from ‘grub_env_find’
grub-2.12/grub-x86_64-efi-2.12/../grub-core/kern/env.c:248:3: danger: dereference of NULL ‘var’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def683]
grub-2.12/grub-x86_64-efi-2.12/../grub-core/lib/libgcrypt-grub/cipher/sha1.c:142:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘x[1]’
grub-2.12/grub-x86_64-efi-2.12/../grub-core/lib/libgcrypt-grub/cipher/sha1.c:236:1: enter_function: entry to ‘sha1_write’
grub-2.12/grub-x86_64-efi-2.12/../grub-core/lib/libgcrypt-grub/cipher/sha1.c:249:6: branch_false: following ‘false’ branch (when ‘inbuf’ is non-NULL)...
grub-2.12/grub-x86_64-efi-2.12/../grub-core/lib/libgcrypt-grub/cipher/sha1.c:252:7: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/../grub-core/lib/libgcrypt-grub/cipher/sha1.c:262:6: branch_true: following ‘true’ branch (when ‘nblocks != 0’)...
grub-2.12/grub-x86_64-efi-2.12/../grub-core/lib/libgcrypt-grub/cipher/sha1.c:264:7: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/../grub-core/lib/libgcrypt-grub/cipher/sha1.c:264:7: call_function: calling ‘transform’ from ‘sha1_write’
Error: GCC_ANALYZER_WARNING (CWE-131): [#def684]
grub-2.12/grub-x86_64-efi-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:509:25: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
grub-2.12/grub-x86_64-efi-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:723:20: enter_function: entry to ‘dec_main’
grub-2.12/grub-x86_64-efi-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:744:28: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:747:31: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:747:31: call_function: calling ‘dec_stream_header’ from ‘dec_main’
Error: GCC_ANALYZER_WARNING (CWE-131): [#def685]
grub-2.12/grub-x86_64-efi-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:516:25: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
grub-2.12/grub-x86_64-efi-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:723:20: enter_function: entry to ‘dec_main’
grub-2.12/grub-x86_64-efi-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:744:28: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:747:31: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:747:31: call_function: calling ‘dec_stream_header’ from ‘dec_main’
Error: GCC_ANALYZER_WARNING (CWE-131): [#def686]
grub-2.12/grub-x86_64-efi-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:525:25: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
grub-2.12/grub-x86_64-efi-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:723:20: enter_function: entry to ‘dec_main’
grub-2.12/grub-x86_64-efi-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:744:28: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:747:31: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:747:31: call_function: calling ‘dec_stream_header’ from ‘dec_main’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def687]
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/linux/getroot.c:1104:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘p’ where non-null expected
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/linux/getroot.c:1096:6: branch_true: following ‘true’ branch...
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/linux/getroot.c:1102:11: acquire_memory: this call could return NULL
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/linux/getroot.c:1104:11: danger: argument 1 (‘p’) from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def688]
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/linux/getroot.c:1119:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘p’ where non-null expected
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/linux/getroot.c:1111:11: branch_true: following ‘true’ branch...
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/linux/getroot.c:1117:11: acquire_memory: this call could return NULL
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/linux/getroot.c:1119:11: danger: argument 1 (‘p’) from [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def689]
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/linux/getroot.c:1132:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘p’ where non-null expected
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/linux/getroot.c:1126:11: branch_true: following ‘true’ branch...
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/linux/getroot.c:1130:11: acquire_memory: this call could return NULL
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/linux/getroot.c:1132:11: danger: argument 1 (‘p’) from [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def690]
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/linux/getroot.c:1145:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘p’ where non-null expected
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/linux/getroot.c:1111:12: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/linux/getroot.c:1126:18: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/linux/getroot.c:1139:11: branch_true: following ‘true’ branch...
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/linux/getroot.c:1143:11: acquire_memory: this call could return NULL
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/linux/getroot.c:1145:11: danger: argument 1 (‘p’) from [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def691]
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/linux/getroot.c:1159:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘p’ where non-null expected
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/linux/getroot.c:1111:12: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/linux/getroot.c:1126:18: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/linux/getroot.c:1152:11: branch_true: following ‘true’ branch...
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/linux/getroot.c:1157:11: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/linux/getroot.c:1157:11: acquire_memory: this call could return NULL
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/linux/getroot.c:1159:11: danger: argument 1 (‘p’) from [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def692]
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/linux/ofpath.c:748:15: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘new’ where non-null expected
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/linux/ofpath.c:814:1: enter_function: entry to ‘grub_util_devname_to_ofpath’
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/linux/ofpath.c:818:14: call_function: calling ‘xrealpath’ from ‘grub_util_devname_to_ofpath’
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/linux/ofpath.c:818:14: return_function: returning to ‘grub_util_devname_to_ofpath’ from ‘xrealpath’
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/linux/ofpath.c:821:6: branch_false: following ‘false’ branch (when ‘realname’ is NULL)...
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/linux/ofpath.c:827:12: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/linux/ofpath.c:828:13: call_function: calling ‘strip_trailing_digits’ from ‘grub_util_devname_to_ofpath’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def693]
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/unix/password.c:59:14: warning[-Wanalyzer-file-leak]: leak of FILE ‘in’
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/unix/password.c:40:8: acquire_resource: opened here
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/unix/password.c:41:6: branch_false: following ‘false’ branch (when ‘in’ is non-NULL)...
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/unix/password.c:44:7: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/unix/password.c:57:10: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/unix/password.c:59:14: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/unix/password.c:59:14: danger: ‘in’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def694]
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/unix/password.c:59:14: warning[-Wanalyzer-malloc-leak]: leak of ‘in’
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/unix/password.c:40:8: acquire_memory: allocated here
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/unix/password.c:41:6: branch_false: following ‘false’ branch (when ‘in’ is non-NULL)...
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/unix/password.c:44:7: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/unix/password.c:57:10: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/unix/password.c:59:14: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/../grub-core/osdep/unix/password.c:59:14: danger: ‘in’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def695]
grub-2.12/grub-x86_64-efi-2.12/../grub-core/partmap/acorn.c:121:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘map[i].magic’
grub-2.12/grub-x86_64-efi-2.12/../grub-core/partmap/acorn.c:114:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-x86_64-efi-2.12/../grub-core/partmap/acorn.c:117:3: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/../grub-core/partmap/acorn.c:119:15: branch_true: following ‘true’ branch (when ‘i != 42’)...
grub-2.12/grub-x86_64-efi-2.12/../grub-core/partmap/acorn.c:121:11: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/../grub-core/partmap/acorn.c:121:11: danger: use of uninitialized value ‘map[i].magic’ here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def696]
grub-2.12/grub-x86_64-efi-2.12/../include/grub/osdep/hostfile_unix.h:53:10: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘dirp’ where non-null expected
grub-2.12/grub-x86_64-efi-2.12/../util/grub-install-common.c:1195:1: enter_function: entry to ‘grub_util_unlink_recursive’
grub-2.12/grub-x86_64-efi-2.12/../util/grub-install-common.c:1200:7: call_function: calling ‘grub_util_fd_opendir’ from ‘grub_util_unlink_recursive’
grub-2.12/grub-x86_64-efi-2.12/../util/grub-install-common.c:1200:7: return_function: possible return of NULL to ‘grub_util_unlink_recursive’ from ‘grub_util_fd_opendir’
grub-2.12/grub-x86_64-efi-2.12/../util/grub-install-common.c:1202:16: call_function: calling ‘grub_util_fd_readdir’ from ‘grub_util_unlink_recursive’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def697]
grub-2.12/grub-x86_64-efi-2.12/../util/grub-fstest.c:400:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
grub-2.12/grub-x86_64-efi-2.12/../util/grub-fstest.c:736:1: enter_function: entry to ‘main’
grub-2.12/grub-x86_64-efi-2.12/../util/grub-fstest.c:751:6: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/../util/grub-fstest.c:754:18: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/../util/grub-fstest.c:754:18: branch_true: following ‘true’ branch...
grub-2.12/grub-x86_64-efi-2.12/../util/grub-fstest.c:754:3: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/../util/grub-fstest.c:756:6: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/../util/grub-fstest.c:767:5: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/../util/grub-fstest.c:771:6: branch_false: following ‘false’ branch (when ‘alloc_root’ is NULL)...
grub-2.12/grub-x86_64-efi-2.12/../util/grub-fstest.c:775:11: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/../util/grub-fstest.c:775:3: call_function: calling ‘fstest’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def698]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:596:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘td_prev_virt’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:585:1: enter_function: entry to ‘grub_ohci_free_tds’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:587:6: branch_false: following ‘false’ branch (when ‘td’ is non-NULL)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:591:7: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:591:6: branch_true: following ‘true’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:594:39: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:593:37: call_function: calling ‘grub_ohci_td_phys2virt’ from ‘grub_ohci_free_tds’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:593:37: return_function: return of NULL to ‘grub_ohci_free_tds’ from ‘grub_ohci_td_phys2virt’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:596:34: danger: dereference of NULL ‘td_prev_virt’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def699]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:658:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘td’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:682:1: enter_function: entry to ‘grub_ohci_setup_transfer’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:695:6: branch_false: following ‘false’ branch (when ‘cdata’ is non-NULL)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:700:12: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:724:20: call_function: calling ‘grub_ohci_find_ed’ from ‘grub_ohci_setup_transfer’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:724:20: return_function: returning to ‘grub_ohci_setup_transfer’ from ‘grub_ohci_find_ed’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:725:6: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:733:18: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:737:6: branch_false: following ‘false’ branch (when ‘td_head_phys == td_tail_phys’)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:749:6: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:749:6: branch_false: following ‘false’ branch (when ‘td_head_phys != 0’)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:764:27: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:764:27: call_function: calling ‘grub_ohci_td_phys2virt’ from ‘grub_ohci_setup_transfer’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:764:27: return_function: returning to ‘grub_ohci_setup_transfer’ from ‘grub_ohci_td_phys2virt’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:764:5: release_memory: ‘*cdata.td_head_virt’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:768:40: release_memory: ‘*cdata.td_head_virt’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:768:15: release_memory: ‘*cdata.td_head_virt’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:769:8: branch_true: following ‘true’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:771:36: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:773:7: release_memory: ‘*cdata.td_head_virt’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:773:7: call_function: calling ‘grub_ohci_transaction’ from ‘grub_ohci_setup_transfer’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def700]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:663:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘td’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:682:1: enter_function: entry to ‘grub_ohci_setup_transfer’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:695:6: branch_false: following ‘false’ branch (when ‘cdata’ is non-NULL)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:700:12: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:724:20: call_function: calling ‘grub_ohci_find_ed’ from ‘grub_ohci_setup_transfer’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:724:20: return_function: returning to ‘grub_ohci_setup_transfer’ from ‘grub_ohci_find_ed’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:725:6: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:733:18: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:737:6: branch_false: following ‘false’ branch (when ‘td_head_phys == td_tail_phys’)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:749:6: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:749:6: branch_false: following ‘false’ branch (when ‘td_head_phys != 0’)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:764:27: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:764:27: call_function: calling ‘grub_ohci_td_phys2virt’ from ‘grub_ohci_setup_transfer’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:764:27: return_function: returning to ‘grub_ohci_setup_transfer’ from ‘grub_ohci_td_phys2virt’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:764:5: release_memory: ‘*cdata.td_head_virt’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:768:40: release_memory: ‘*cdata.td_head_virt’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:768:15: release_memory: ‘*cdata.td_head_virt’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:769:8: branch_true: following ‘true’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:771:36: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:773:7: release_memory: ‘*cdata.td_head_virt’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:773:7: call_function: calling ‘grub_ohci_transaction’ from ‘grub_ohci_setup_transfer’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def701]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:939:54: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘td_prev_virt’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:919:1: enter_function: entry to ‘finish_transfer’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:934:6: branch_true: following ‘true’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:937:38: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:937:11: call_function: calling ‘grub_ohci_td_phys2virt’ from ‘finish_transfer’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:937:11: return_function: return of NULL to ‘finish_transfer’ from ‘grub_ohci_td_phys2virt’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:939:54: danger: dereference of NULL ‘td_prev_virt’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def702]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:967:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:951:1: enter_function: entry to ‘parse_halt’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:959:18: release_memory: ‘tderr_virt’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:959:18: release_memory: ‘tderr_virt’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:959:18: release_memory: ‘tderr_virt’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:967:23: call_function: calling ‘grub_ohci_td_phys2virt’ from ‘parse_halt’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:967:23: return_function: returning to ‘parse_halt’ from ‘grub_ohci_td_phys2virt’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:967:23: danger: dereference of NULL ‘grub_ohci_td_phys2virt(o, *cdata_44->ed_virt.td_head & 4294967280)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def703]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:1208:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:1188:1: enter_function: entry to ‘grub_ohci_cancel_transfer’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:1193:18: release_memory: ‘tderr_virt’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:1193:18: release_memory: ‘tderr_virt’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:1193:18: release_memory: ‘tderr_virt’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:1208:7: call_function: calling ‘grub_ohci_td_phys2virt’ from ‘grub_ohci_cancel_transfer’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:1208:7: return_function: returning to ‘grub_ohci_cancel_transfer’ from ‘grub_ohci_td_phys2virt’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/ohci.c:1208:7: danger: dereference of NULL ‘grub_ohci_td_phys2virt(o, *cdata_18->ed_virt.td_head & 4294967280)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def704]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:570:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘td_prev’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:516:1: enter_function: entry to ‘grub_uhci_setup_transfer’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:521:18: release_memory: ‘td_prev’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:521:18: release_memory: ‘td_prev’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:526:6: branch_false: following ‘false’ branch (when ‘cdata’ is non-NULL)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:529:3: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:529:3: release_memory: ‘td_prev’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:532:15: call_function: calling ‘grub_alloc_qh’ from ‘grub_uhci_setup_transfer’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:532:15: return_function: returning to ‘grub_uhci_setup_transfer’ from ‘grub_alloc_qh’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:533:6: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:539:3: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:541:15: branch_true: following ‘true’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:543:36: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:545:12: call_function: calling ‘grub_uhci_transaction’ from ‘grub_uhci_setup_transfer’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:545:12: return_function: returning to ‘grub_uhci_setup_transfer’ from ‘grub_uhci_transaction’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:549:10: branch_false: following ‘false’ branch (when ‘td’ is non-NULL)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:566:13: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:566:10: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:570:31: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:570:11: danger: dereference of NULL ‘td_prev’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def705]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:576:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘td_prev’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:516:1: enter_function: entry to ‘grub_uhci_setup_transfer’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:521:18: release_memory: ‘td_prev’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:521:18: release_memory: ‘td_prev’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:526:6: branch_false: following ‘false’ branch (when ‘cdata’ is non-NULL)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:529:3: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:529:3: release_memory: ‘td_prev’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:532:15: call_function: calling ‘grub_alloc_qh’ from ‘grub_uhci_setup_transfer’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:532:15: return_function: returning to ‘grub_uhci_setup_transfer’ from ‘grub_alloc_qh’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:533:6: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:539:3: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:541:15: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:576:3: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/bus/usb/uhci.c:576:3: danger: dereference of NULL ‘td_prev’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def706]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:148:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘entrysrc’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:52:9: release_memory: ‘entryname’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:52:28: release_memory: ‘entryname’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:56:6: branch_false: following ‘false’ branch (when ‘suffix’ is non-NULL)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:59:10: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:60:6: branch_false: following ‘false’ branch (when ‘file’ is non-NULL)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:66:10: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:82:13: release_memory: ‘entryname’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:91:10: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:95:15: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:95:15: release_memory: ‘entryname’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:101:9: release_memory: ‘entryname’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:104:9: release_memory: ‘entryname’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:160:15: branch_false: following ‘false’ branch (when ‘parsed’ is NULL)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:80:5: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:82:13: release_memory: ‘entrysrc’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:91:10: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:95:15: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:95:15: release_memory: ‘entrysrc’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:104:9: release_memory: ‘entrysrc’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:138:16: branch_false: following ‘false’ branch (when ‘args’ is non-NULL)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:143:13: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/commands/legacycfg.c:148:13: danger: dereference of NULL ‘entrysrc’
Error: COMPILER_WARNING (CWE-704): [#def707]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/commands/search.c:219:41: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-476): [#def708]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/font/font.c:1497:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘comb’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/font/font.c:1546:1: enter_function: entry to ‘grub_font_construct_glyph’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/font/font.c:1557:16: call_function: calling ‘grub_font_construct_dry_run’ from ‘grub_font_construct_glyph’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def709]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/fs/bfs.c:621:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘node’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/fs/bfs.c:1047:1: enter_function: entry to ‘grub_bfs_uuid’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/fs/bfs.c:1057:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/fs/bfs.c:1060:22: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/fs/bfs.c:1061:6: branch_false: following ‘false’ branch (when ‘ino’ is non-NULL)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/fs/bfs.c:1065:27: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/fs/bfs.c:1066:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/fs/bfs.c:1071:22: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/fs/bfs.c:1071:7: call_function: calling ‘read_bfs_attr’ from ‘grub_bfs_uuid’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def710]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/fs/fshelp.c:152:11: warning[-Wanalyzer-jump-through-null]: jump through null pointer
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/fs/fshelp.c:335:1: enter_function: entry to ‘grub_fshelp_find_file_lookup’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/fs/fshelp.c:341:10: call_function: calling ‘grub_fshelp_find_file_real’ from ‘grub_fshelp_find_file_lookup’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def711]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/fs/fshelp.c:188:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ctx.currnode’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/fs/fshelp.c:335:1: enter_function: entry to ‘grub_fshelp_find_file_lookup’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/fs/fshelp.c:341:10: call_function: calling ‘grub_fshelp_find_file_real’ from ‘grub_fshelp_find_file_lookup’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def712]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/kern/efi/efi.c:187:3: warning[-Wanalyzer-infinite-loop]: infinite loop
Error: GCC_ANALYZER_WARNING (CWE-835): [#def713]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/kern/efi/efi.c:201:3: warning[-Wanalyzer-infinite-loop]: infinite loop
Error: GCC_ANALYZER_WARNING (CWE-476): [#def714]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/kern/env.c:227:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/kern/env.c:212:1: enter_function: entry to ‘grub_register_variable_hook’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/kern/env.c:216:30: call_function: calling ‘grub_env_find’ from ‘grub_register_variable_hook’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/kern/env.c:216:30: return_function: returning to ‘grub_register_variable_hook’ from ‘grub_env_find’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/kern/env.c:218:6: branch_true: following ‘true’ branch (when ‘var’ is NULL)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/kern/env.c:220:11: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/kern/env.c:220:11: call_function: calling ‘grub_env_set’ from ‘grub_register_variable_hook’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/kern/env.c:220:11: return_function: returning to ‘grub_register_variable_hook’ from ‘grub_env_set’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/kern/env.c:220:10: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/kern/env.c:223:13: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/kern/env.c:223:13: call_function: calling ‘grub_env_find’ from ‘grub_register_variable_hook’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/kern/env.c:223:13: return_function: return of NULL to ‘grub_register_variable_hook’ from ‘grub_env_find’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/kern/env.c:227:3: danger: dereference of NULL ‘var’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def715]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/kern/env.c:248:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/kern/env.c:234:1: enter_function: entry to ‘grub_env_export’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/kern/env.c:238:9: call_function: calling ‘grub_env_find’ from ‘grub_env_export’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/kern/env.c:238:9: return_function: returning to ‘grub_env_export’ from ‘grub_env_find’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/kern/env.c:239:6: branch_true: following ‘true’ branch (when ‘var’ is NULL)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/kern/env.c:243:13: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/kern/env.c:243:13: call_function: calling ‘grub_env_set’ from ‘grub_env_export’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/kern/env.c:243:13: return_function: returning to ‘grub_env_export’ from ‘grub_env_set’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/kern/env.c:244:10: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/kern/env.c:246:13: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/kern/env.c:246:13: call_function: calling ‘grub_env_find’ from ‘grub_env_export’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/kern/env.c:246:13: return_function: return of NULL to ‘grub_env_export’ from ‘grub_env_find’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/kern/env.c:248:3: danger: dereference of NULL ‘var’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def716]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/efi/halt.c:40:9: warning[-Wanalyzer-infinite-loop]: infinite loop
Error: GCC_ANALYZER_WARNING (CWE-469): [#def717]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/i386/relocator.c:87:48: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def718]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/i386/relocator.c:104:17: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/i386/relocator.c:90:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/i386/relocator.c:93:26: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/i386/relocator.c:104:17: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def719]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/i386/relocator.c:128:48: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def720]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/i386/relocator.c:159:17: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/i386/relocator.c:131:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/i386/relocator.c:134:25: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/i386/relocator.c:159:17: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def721]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/i386/relocator.c:183:48: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def722]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/i386/relocator.c:198:17: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/i386/relocator.c:185:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/i386/relocator.c:188:26: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/i386/relocator.c:198:17: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def723]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/i386/relocator_common_c.c:56:33: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def724]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/i386/relocator_common_c.c:57:34: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def725]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/i386/relocator_common_c.c:96:49: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def726]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/i386/relocator_common_c.c:108:48: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-457): [#def727]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/cipher/sha1.c:142:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘x[1]’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/cipher/sha1.c:236:1: enter_function: entry to ‘sha1_write’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/cipher/sha1.c:249:6: branch_false: following ‘false’ branch (when ‘inbuf’ is non-NULL)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/cipher/sha1.c:252:7: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/cipher/sha1.c:262:6: branch_true: following ‘true’ branch (when ‘nblocks != 0’)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/cipher/sha1.c:264:7: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/cipher/sha1.c:264:7: call_function: calling ‘transform’ from ‘sha1_write’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def728]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: warning[-Wanalyzer-deref-before-check]: check of ‘v’ for NULL after already dereferencing it
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:122:7: branch_true: following ‘true’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:123:9: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: danger: pointer ‘v’ is checked for NULL here but it was already dereferenced at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def729]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:129:19: warning[-Wanalyzer-deref-before-check]: check of ‘u’ for NULL after already dereferencing it
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:122:7: branch_true: following ‘true’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:123:9: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: branch_true: following ‘true’ branch (when ‘v’ is non-NULL)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:129:19: danger: pointer ‘u’ is checked for NULL here but it was already dereferenced at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def730]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:135:19: warning[-Wanalyzer-deref-before-check]: check of ‘u’ for NULL after already dereferencing it
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:122:7: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:133:9: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:135:19: danger: pointer ‘u’ is checked for NULL here but it was already dereferenced at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def731]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:139:19: warning[-Wanalyzer-deref-before-check]: check of ‘v’ for NULL after already dereferencing it
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:122:7: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:133:9: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:135:19: branch_true: following ‘true’ branch (when ‘u’ is non-NULL)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:135:19: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:139:19: danger: pointer ‘v’ is checked for NULL here but it was already dereferenced at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def732]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:147:8: warning[-Wanalyzer-deref-before-check]: check of ‘w’ for NULL after already dereferencing it
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: branch_true: following ‘true’ branch (when ‘v’ is non-NULL)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:129:19: branch_true: following ‘true’ branch (when ‘u’ is non-NULL)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:129:19: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:147:8: danger: pointer ‘w’ is checked for NULL here but it was already dereferenced at [(5)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def733]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:74:10: warning[-Wanalyzer-deref-before-check]: check of ‘expo’ for NULL after already dereferencing it
Error: GCC_ANALYZER_WARNING (CWE-465): [#def734]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:75:10: warning[-Wanalyzer-deref-before-check]: check of ‘mod’ for NULL after already dereferencing it
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:74:10: branch_true: following ‘true’ branch (when ‘expo’ is non-NULL)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:74:10: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:75:10: danger: pointer ‘mod’ is checked for NULL here but it was already dereferenced at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def735]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:246:16: warning[-Wanalyzer-deref-before-check]: check of ‘a’ for NULL after already dereferencing it
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:532:1: enter_function: entry to ‘gcry_mpi_print’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:545:6: branch_false: following ‘false’ branch (when ‘format != 1’)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:581:11: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:581:11: branch_true: following ‘true’ branch (when ‘format == 5’)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:583:24: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:588:11: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:590:10: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:590:10: branch_true: following ‘true’ branch (when ‘buffer’ is non-NULL)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:594:17: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:594:17: call_function: calling ‘_gcry_mpi_get_buffer’ from ‘gcry_mpi_print’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def736]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘wp’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:296:1: enter_function: entry to ‘gcry_mpi_set’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:302:6: branch_true: following ‘true’ branch (when ‘w’ is NULL)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:303:26: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:303:9: call_function: calling ‘_gcry_mpi_alloc’ from ‘gcry_mpi_set’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:303:9: return_function: returning to ‘gcry_mpi_set’ from ‘_gcry_mpi_alloc’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:304:3: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:305:3: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:305:3: release_memory: ‘*w.d’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: branch_true: following ‘true’ branch (when ‘_i < usize’)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: release_memory: ‘*w.d’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: danger: dereference of NULL ‘wp + (long unsigned int)_i * 8’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def737]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1158:19: warning[-Wanalyzer-infinite-loop]: infinite loop
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1129:1: enter_function: entry to ‘_asn1_set_default_tag’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1158:19: danger: infinite loop here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1159:18: branch_false: when ‘p != node’: always following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1164:18: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1164:18: branch_false: when ‘p’ is NULL: always following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1158:15: branch_false: ...to here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def738]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libtasn1/lib/structure.c:443:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p_d’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libtasn1/lib/structure.c:1219:1: enter_function: entry to ‘asn1_dup_node’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/libtasn1/lib/structure.c:1221:10: call_function: calling ‘_asn1_copy_structure2’ from ‘asn1_dup_node’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def739]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/posix_wrap/stdlib.h:52:10: warning[-Wanalyzer-malloc-leak]: leak of ‘new_array’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_resize.c:30:1: enter_function: entry to ‘gl_dynarray_resize’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_resize.c:34:6: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_resize.c:45:7: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_resize.c:45:6: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_resize.c:52:7: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_resize.c:52:6: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_resize.c:60:17: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_resize.c:60:17: call_function: calling ‘realloc’ from ‘gl_dynarray_resize’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def740]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/posix_wrap/stdlib.h:52:10: warning[-Wanalyzer-malloc-leak]: leak of ‘newdict’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/xzembed/xz_dec_lzma2.c:1145:13: enter_function: entry to ‘xz_dec_lzma2_reset’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/xzembed/xz_dec_lzma2.c:1149:12: branch_false: following ‘false’ branch (when ‘props <= 30’)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/xzembed/xz_dec_lzma2.c:1152:28: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/xzembed/xz_dec_lzma2.c:1156:12: branch_true: following ‘true’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/xzembed/xz_dec_lzma2.c:1159:37: call_function: calling ‘realloc’ from ‘xz_dec_lzma2_reset’
Error: GCC_ANALYZER_WARNING (CWE-469): [#def741]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/x86_64/efi/relocator.c:54:48: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def742]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/x86_64/efi/relocator.c:68:17: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/x86_64/efi/relocator.c:56:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/x86_64/efi/relocator.c:60:26: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/lib/x86_64/efi/relocator.c:68:17: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-476): [#def743]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:229:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:159:1: enter_function: entry to ‘make_file_path’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:173:6: branch_false: following ‘false’ branch (when ‘dir_end’ is non-NULL)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:179:3: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:205:6: branch_false: following ‘false’ branch (when ‘file_path’ is non-NULL)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:208:3: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:213:6: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:222:7: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:222:3: release_memory: ‘d’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:223:7: call_function: calling ‘copy_file_path’ from ‘make_file_path’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:223:7: return_function: returning to ‘make_file_path’ from ‘copy_file_path’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:223:6: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:228:7: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:228:7: branch_false: following ‘false’ branch (when ‘d’ is NULL)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:228:3: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:228:3: release_memory: ‘d’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:229:3: danger: dereference of NULL ‘d’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def744]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:523:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dp’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:526:10: branch_false: following ‘false’ branch (when ‘type != 127’)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:528:15: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:532:12: branch_true: following ‘true’ branch (when ‘dp’ is non-NULL)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:532:12: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:532:7: release_memory: ‘dp’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/loader/efi/chainloader.c:523:31: danger: dereference of NULL ‘dp’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def745]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/net/efi/dhcp.c:379:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘options’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/net/efi/dhcp.c:263:38: branch_true: following ‘true’ branch (when ‘dev’ is non-NULL)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/net/efi/dhcp.c:272:58: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/net/efi/dhcp.c:311:10: branch_false: following ‘false’ branch (when ‘status == 0’)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/net/efi/dhcp.c:316:16: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/net/efi/dhcp.c:317:10: branch_false: following ‘false’ branch (when ‘status == 0’)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/net/efi/dhcp.c:323:16: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/net/efi/dhcp.c:324:10: branch_false: following ‘false’ branch (when ‘status == 0’)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/net/efi/dhcp.c:330:12: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/net/efi/dhcp.c:356:42: release_memory: ‘options’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/net/efi/dhcp.c:370:12: branch_false: following ‘false’ branch (when ‘status == 0’)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/net/efi/dhcp.c:377:14: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/net/efi/dhcp.c:377:21: branch_true: following ‘true’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/net/efi/dhcp.c:379:24: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/net/efi/dhcp.c:379:24: release_memory: ‘options’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/net/efi/dhcp.c:379:17: danger: dereference of NULL ‘options + (long unsigned int)i * 8’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def746]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/net/efi/net.c:311:10: warning[-Wanalyzer-deref-before-check]: check of ‘dp’ for NULL after already dereferencing it
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/net/efi/net.c:320:1: enter_function: entry to ‘grub_efi_net_config_from_handle’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/net/efi/net.c:332:6: branch_true: following ‘true’ branch (when ‘pxe’ is NULL)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/net/efi/net.c:333:12: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/net/efi/net.c:333:12: call_function: calling ‘grub_efi_net_config_from_device_path’ from ‘grub_efi_net_config_from_handle’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def747]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/net/efi/net.c:1336:10: warning[-Wanalyzer-deref-before-check]: check of ‘dp’ for NULL after already dereferencing it
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/net/efi/net.c:1316:6: branch_false: following ‘false’ branch (when ‘image’ is non-NULL)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/net/efi/net.c:1319:8: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/net/efi/net.c:1336:10: danger: pointer ‘dp’ is checked for NULL here but it was already dereferenced at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def748]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/net/efi/net.c:1369:10: warning[-Wanalyzer-deref-before-check]: check of ‘dp’ for NULL after already dereferencing it
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/net/efi/net.c:1351:6: branch_false: following ‘false’ branch (when ‘image’ is non-NULL)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/net/efi/net.c:1354:8: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/net/efi/net.c:1369:10: danger: pointer ‘dp’ is checked for NULL here but it was already dereferenced at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def749]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/normal/term.c:477:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/normal/term.c:1084:1: enter_function: entry to ‘grub_cls’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/normal/term.c:1088:3: branch_true: following ‘true’ branch (when ‘term’ is non-NULL)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/normal/term.c:1090:10: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/normal/term.c:1092:9: call_function: calling ‘grub_putcode’ from ‘grub_cls’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def750]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/partmap/acorn.c:121:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘map[i].magic’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/partmap/acorn.c:114:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/partmap/acorn.c:117:3: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/partmap/acorn.c:119:15: branch_true: following ‘true’ branch (when ‘i != 42’)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/partmap/acorn.c:121:11: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/partmap/acorn.c:121:11: danger: use of uninitialized value ‘map[i].magic’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def751]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/term/efi/console.c:186:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/term/efi/console.c:166:1: enter_function: entry to ‘grub_console_putchar’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/term/efi/console.c:173:6: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/term/efi/console.c:176:28: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/term/efi/console.c:184:15: branch_true: following ‘true’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/term/efi/console.c:185:8: branch_true: following ‘true’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/term/efi/console.c:186:18: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/term/efi/console.c:186:18: call_function: calling ‘grub_unicode_get_comb’ from ‘grub_console_putchar’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/term/efi/console.c:186:18: return_function: returning to ‘grub_console_putchar’ from ‘grub_unicode_get_comb’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/term/efi/console.c:186:43: release_memory: ‘0’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/term/efi/console.c:186:18: danger: dereference of NULL ‘grub_unicode_get_comb(c) + (long unsigned int)i * 4’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def752]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/tests/lib/test.c:85:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘failure’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/tests/lib/test.c:110:1: enter_function: entry to ‘add_failure’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/tests/lib/test.c:114:33: call_function: calling ‘failure_start’ from ‘add_failure’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/tests/lib/test.c:114:33: return_function: return of NULL to ‘add_failure’ from ‘failure_start’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/tests/lib/test.c:115:3: call_function: calling ‘failure_append_text’ from ‘add_failure’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def753]
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../include/grub/misc.h:260:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘s1’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/commands/nativedisk.c:135:1: enter_function: entry to ‘iterate_device’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/commands/nativedisk.c:140:7: call_function: calling ‘get_uuid’ from ‘iterate_device’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/commands/nativedisk.c:140:7: return_function: returning to ‘iterate_device’ from ‘get_uuid’
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/commands/nativedisk.c:140:6: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/commands/nativedisk.c:148:3: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/commands/nativedisk.c:148:3: release_memory: ‘cur_uuid’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/commands/nativedisk.c:150:6: branch_true: following ‘true’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/commands/nativedisk.c:150:54: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/commands/nativedisk.c:150:27: release_memory: ‘cur_uuid’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/../../grub-core/commands/nativedisk.c:150:27: call_function: calling ‘grub_strcasecmp’ from ‘iterate_device’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def754]
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1111:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1069:6: branch_true: following ‘true’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1075:28: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1098:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1100:7: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1101:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 10000’)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1105:21: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1109:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1111:9: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1111:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def755]
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1238:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1069:6: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1133:6: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1133:6: branch_false: following ‘false’ branch (when ‘yystate != 3’)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1136:3: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1148:6: branch_true: following ‘true’ branch (when ‘yyn == -73’)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1149:5: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1218:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1220:3: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1238:3: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def756]
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.yy.c:2091:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.yy.c:1970:10: enter_function: entry to ‘yyrestart’
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.yy.c:1975:16: call_function: calling ‘yyensure_buffer_stack’ from ‘yyrestart’
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.yy.c:1975:16: return_function: returning to ‘yyrestart’ from ‘yyensure_buffer_stack’
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.yy.c:1977:27: call_function: calling ‘yy_create_buffer’ from ‘yyrestart’
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.yy.c:1977:27: return_function: returning to ‘yyrestart’ from ‘yy_create_buffer’
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.yy.c:1980:2: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.yy.c:1980:2: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.yy.c:1980:2: release_memory: ‘0’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.yy.c:1980:2: call_function: calling ‘yy_init_buffer’ from ‘yyrestart’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def757]
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1111:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1069:6: branch_true: following ‘true’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1075:28: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1098:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1100:7: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1101:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 10000’)...
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1105:21: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1109:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1111:9: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1111:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def758]
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1238:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1069:6: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1133:6: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1133:6: branch_false: following ‘false’ branch (when ‘yystate != 3’)...
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1136:3: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1148:6: branch_true: following ‘true’ branch (when ‘yyn == -73’)...
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1149:5: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1218:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1220:3: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1238:3: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def759]
grub-2.12/grub-x86_64-efi-2.12/grub_script.yy.c:2091:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
grub-2.12/grub-x86_64-efi-2.12/grub_script.yy.c:1970:10: enter_function: entry to ‘yyrestart’
grub-2.12/grub-x86_64-efi-2.12/grub_script.yy.c:1975:16: call_function: calling ‘yyensure_buffer_stack’ from ‘yyrestart’
grub-2.12/grub-x86_64-efi-2.12/grub_script.yy.c:1975:16: return_function: returning to ‘yyrestart’ from ‘yyensure_buffer_stack’
grub-2.12/grub-x86_64-efi-2.12/grub_script.yy.c:1977:27: call_function: calling ‘yy_create_buffer’ from ‘yyrestart’
grub-2.12/grub-x86_64-efi-2.12/grub_script.yy.c:1977:27: return_function: returning to ‘yyrestart’ from ‘yy_create_buffer’
grub-2.12/grub-x86_64-efi-2.12/grub_script.yy.c:1980:2: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub_script.yy.c:1980:2: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub_script.yy.c:1980:2: release_memory: ‘0’ is NULL
grub-2.12/grub-x86_64-efi-2.12/grub_script.yy.c:1980:2: call_function: calling ‘yy_init_buffer’ from ‘yyrestart’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def760]
grub-2.12/grub-x86_64-xen-2.12/../grub-core/font/font.c:1497:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘comb’
grub-2.12/grub-x86_64-xen-2.12/../grub-core/font/font.c:1546:1: enter_function: entry to ‘grub_font_construct_glyph’
grub-2.12/grub-x86_64-xen-2.12/../grub-core/font/font.c:1557:16: call_function: calling ‘grub_font_construct_dry_run’ from ‘grub_font_construct_glyph’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def761]
grub-2.12/grub-x86_64-xen-2.12/../grub-core/fs/bfs.c:621:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘node’
grub-2.12/grub-x86_64-xen-2.12/../grub-core/fs/bfs.c:1047:1: enter_function: entry to ‘grub_bfs_uuid’
grub-2.12/grub-x86_64-xen-2.12/../grub-core/fs/bfs.c:1057:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-x86_64-xen-2.12/../grub-core/fs/bfs.c:1060:22: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/../grub-core/fs/bfs.c:1061:6: branch_false: following ‘false’ branch (when ‘ino’ is non-NULL)...
grub-2.12/grub-x86_64-xen-2.12/../grub-core/fs/bfs.c:1065:27: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/../grub-core/fs/bfs.c:1066:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-x86_64-xen-2.12/../grub-core/fs/bfs.c:1071:22: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/../grub-core/fs/bfs.c:1071:7: call_function: calling ‘read_bfs_attr’ from ‘grub_bfs_uuid’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def762]
grub-2.12/grub-x86_64-xen-2.12/../grub-core/fs/fshelp.c:152:11: warning[-Wanalyzer-jump-through-null]: jump through null pointer
grub-2.12/grub-x86_64-xen-2.12/../grub-core/fs/fshelp.c:335:1: enter_function: entry to ‘grub_fshelp_find_file_lookup’
grub-2.12/grub-x86_64-xen-2.12/../grub-core/fs/fshelp.c:341:10: call_function: calling ‘grub_fshelp_find_file_real’ from ‘grub_fshelp_find_file_lookup’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def763]
grub-2.12/grub-x86_64-xen-2.12/../grub-core/fs/fshelp.c:188:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ctx.currnode’
grub-2.12/grub-x86_64-xen-2.12/../grub-core/fs/fshelp.c:335:1: enter_function: entry to ‘grub_fshelp_find_file_lookup’
grub-2.12/grub-x86_64-xen-2.12/../grub-core/fs/fshelp.c:341:10: call_function: calling ‘grub_fshelp_find_file_real’ from ‘grub_fshelp_find_file_lookup’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def764]
grub-2.12/grub-x86_64-xen-2.12/../grub-core/kern/env.c:227:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
grub-2.12/grub-x86_64-xen-2.12/../grub-core/kern/env.c:212:1: enter_function: entry to ‘grub_register_variable_hook’
grub-2.12/grub-x86_64-xen-2.12/../grub-core/kern/env.c:216:30: call_function: calling ‘grub_env_find’ from ‘grub_register_variable_hook’
grub-2.12/grub-x86_64-xen-2.12/../grub-core/kern/env.c:216:30: return_function: returning to ‘grub_register_variable_hook’ from ‘grub_env_find’
grub-2.12/grub-x86_64-xen-2.12/../grub-core/kern/env.c:218:6: branch_true: following ‘true’ branch (when ‘var’ is NULL)...
grub-2.12/grub-x86_64-xen-2.12/../grub-core/kern/env.c:220:11: branch_true: ...to here
grub-2.12/grub-x86_64-xen-2.12/../grub-core/kern/env.c:220:11: call_function: calling ‘grub_env_set’ from ‘grub_register_variable_hook’
grub-2.12/grub-x86_64-xen-2.12/../grub-core/kern/env.c:220:11: return_function: returning to ‘grub_register_variable_hook’ from ‘grub_env_set’
grub-2.12/grub-x86_64-xen-2.12/../grub-core/kern/env.c:220:10: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-xen-2.12/../grub-core/kern/env.c:223:13: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/../grub-core/kern/env.c:223:13: call_function: calling ‘grub_env_find’ from ‘grub_register_variable_hook’
grub-2.12/grub-x86_64-xen-2.12/../grub-core/kern/env.c:223:13: return_function: return of NULL to ‘grub_register_variable_hook’ from ‘grub_env_find’
grub-2.12/grub-x86_64-xen-2.12/../grub-core/kern/env.c:227:3: danger: dereference of NULL ‘var’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def765]
grub-2.12/grub-x86_64-xen-2.12/../grub-core/kern/env.c:248:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
grub-2.12/grub-x86_64-xen-2.12/../grub-core/kern/env.c:234:1: enter_function: entry to ‘grub_env_export’
grub-2.12/grub-x86_64-xen-2.12/../grub-core/kern/env.c:238:9: call_function: calling ‘grub_env_find’ from ‘grub_env_export’
grub-2.12/grub-x86_64-xen-2.12/../grub-core/kern/env.c:238:9: return_function: returning to ‘grub_env_export’ from ‘grub_env_find’
grub-2.12/grub-x86_64-xen-2.12/../grub-core/kern/env.c:239:6: branch_true: following ‘true’ branch (when ‘var’ is NULL)...
grub-2.12/grub-x86_64-xen-2.12/../grub-core/kern/env.c:243:13: branch_true: ...to here
grub-2.12/grub-x86_64-xen-2.12/../grub-core/kern/env.c:243:13: call_function: calling ‘grub_env_set’ from ‘grub_env_export’
grub-2.12/grub-x86_64-xen-2.12/../grub-core/kern/env.c:243:13: return_function: returning to ‘grub_env_export’ from ‘grub_env_set’
grub-2.12/grub-x86_64-xen-2.12/../grub-core/kern/env.c:244:10: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-x86_64-xen-2.12/../grub-core/kern/env.c:246:13: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/../grub-core/kern/env.c:246:13: call_function: calling ‘grub_env_find’ from ‘grub_env_export’
grub-2.12/grub-x86_64-xen-2.12/../grub-core/kern/env.c:246:13: return_function: return of NULL to ‘grub_env_export’ from ‘grub_env_find’
grub-2.12/grub-x86_64-xen-2.12/../grub-core/kern/env.c:248:3: danger: dereference of NULL ‘var’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def766]
grub-2.12/grub-x86_64-xen-2.12/../grub-core/lib/libgcrypt-grub/cipher/sha1.c:142:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘x[1]’
grub-2.12/grub-x86_64-xen-2.12/../grub-core/lib/libgcrypt-grub/cipher/sha1.c:236:1: enter_function: entry to ‘sha1_write’
grub-2.12/grub-x86_64-xen-2.12/../grub-core/lib/libgcrypt-grub/cipher/sha1.c:249:6: branch_false: following ‘false’ branch (when ‘inbuf’ is non-NULL)...
grub-2.12/grub-x86_64-xen-2.12/../grub-core/lib/libgcrypt-grub/cipher/sha1.c:252:7: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/../grub-core/lib/libgcrypt-grub/cipher/sha1.c:262:6: branch_true: following ‘true’ branch (when ‘nblocks != 0’)...
grub-2.12/grub-x86_64-xen-2.12/../grub-core/lib/libgcrypt-grub/cipher/sha1.c:264:7: branch_true: ...to here
grub-2.12/grub-x86_64-xen-2.12/../grub-core/lib/libgcrypt-grub/cipher/sha1.c:264:7: call_function: calling ‘transform’ from ‘sha1_write’
Error: GCC_ANALYZER_WARNING (CWE-131): [#def767]
grub-2.12/grub-x86_64-xen-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:509:25: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
grub-2.12/grub-x86_64-xen-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:723:20: enter_function: entry to ‘dec_main’
grub-2.12/grub-x86_64-xen-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:744:28: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-xen-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:747:31: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:747:31: call_function: calling ‘dec_stream_header’ from ‘dec_main’
Error: GCC_ANALYZER_WARNING (CWE-131): [#def768]
grub-2.12/grub-x86_64-xen-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:516:25: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
grub-2.12/grub-x86_64-xen-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:723:20: enter_function: entry to ‘dec_main’
grub-2.12/grub-x86_64-xen-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:744:28: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-xen-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:747:31: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:747:31: call_function: calling ‘dec_stream_header’ from ‘dec_main’
Error: GCC_ANALYZER_WARNING (CWE-131): [#def769]
grub-2.12/grub-x86_64-xen-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:525:25: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
grub-2.12/grub-x86_64-xen-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:723:20: enter_function: entry to ‘dec_main’
grub-2.12/grub-x86_64-xen-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:744:28: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-xen-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:747:31: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/../grub-core/lib/xzembed/xz_dec_stream.c:747:31: call_function: calling ‘dec_stream_header’ from ‘dec_main’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def770]
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/linux/getroot.c:1104:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘p’ where non-null expected
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/linux/getroot.c:1096:6: branch_true: following ‘true’ branch...
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/linux/getroot.c:1102:11: acquire_memory: this call could return NULL
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/linux/getroot.c:1104:11: danger: argument 1 (‘p’) from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def771]
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/linux/getroot.c:1119:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘p’ where non-null expected
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/linux/getroot.c:1111:11: branch_true: following ‘true’ branch...
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/linux/getroot.c:1117:11: acquire_memory: this call could return NULL
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/linux/getroot.c:1119:11: danger: argument 1 (‘p’) from [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def772]
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/linux/getroot.c:1132:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘p’ where non-null expected
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/linux/getroot.c:1126:11: branch_true: following ‘true’ branch...
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/linux/getroot.c:1130:11: acquire_memory: this call could return NULL
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/linux/getroot.c:1132:11: danger: argument 1 (‘p’) from [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def773]
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/linux/getroot.c:1145:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘p’ where non-null expected
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/linux/getroot.c:1111:12: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/linux/getroot.c:1126:18: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/linux/getroot.c:1139:11: branch_true: following ‘true’ branch...
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/linux/getroot.c:1143:11: acquire_memory: this call could return NULL
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/linux/getroot.c:1145:11: danger: argument 1 (‘p’) from [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def774]
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/linux/getroot.c:1159:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘p’ where non-null expected
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/linux/getroot.c:1111:12: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/linux/getroot.c:1126:18: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/linux/getroot.c:1152:11: branch_true: following ‘true’ branch...
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/linux/getroot.c:1157:11: branch_true: ...to here
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/linux/getroot.c:1157:11: acquire_memory: this call could return NULL
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/linux/getroot.c:1159:11: danger: argument 1 (‘p’) from [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def775]
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/linux/ofpath.c:748:15: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘new’ where non-null expected
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/linux/ofpath.c:814:1: enter_function: entry to ‘grub_util_devname_to_ofpath’
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/linux/ofpath.c:818:14: call_function: calling ‘xrealpath’ from ‘grub_util_devname_to_ofpath’
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/linux/ofpath.c:818:14: return_function: returning to ‘grub_util_devname_to_ofpath’ from ‘xrealpath’
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/linux/ofpath.c:821:6: branch_false: following ‘false’ branch (when ‘realname’ is NULL)...
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/linux/ofpath.c:827:12: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/linux/ofpath.c:828:13: call_function: calling ‘strip_trailing_digits’ from ‘grub_util_devname_to_ofpath’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def776]
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/unix/password.c:59:14: warning[-Wanalyzer-file-leak]: leak of FILE ‘in’
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/unix/password.c:40:8: acquire_resource: opened here
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/unix/password.c:41:6: branch_false: following ‘false’ branch (when ‘in’ is non-NULL)...
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/unix/password.c:44:7: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/unix/password.c:57:10: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/unix/password.c:59:14: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/unix/password.c:59:14: danger: ‘in’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def777]
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/unix/password.c:59:14: warning[-Wanalyzer-malloc-leak]: leak of ‘in’
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/unix/password.c:40:8: acquire_memory: allocated here
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/unix/password.c:41:6: branch_false: following ‘false’ branch (when ‘in’ is non-NULL)...
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/unix/password.c:44:7: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/unix/password.c:57:10: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/unix/password.c:59:14: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/../grub-core/osdep/unix/password.c:59:14: danger: ‘in’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def778]
grub-2.12/grub-x86_64-xen-2.12/../grub-core/partmap/acorn.c:121:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘map[i].magic’
grub-2.12/grub-x86_64-xen-2.12/../grub-core/partmap/acorn.c:114:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-x86_64-xen-2.12/../grub-core/partmap/acorn.c:117:3: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/../grub-core/partmap/acorn.c:119:15: branch_true: following ‘true’ branch (when ‘i != 42’)...
grub-2.12/grub-x86_64-xen-2.12/../grub-core/partmap/acorn.c:121:11: branch_true: ...to here
grub-2.12/grub-x86_64-xen-2.12/../grub-core/partmap/acorn.c:121:11: danger: use of uninitialized value ‘map[i].magic’ here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def779]
grub-2.12/grub-x86_64-xen-2.12/../include/grub/osdep/hostfile_unix.h:53:10: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘dirp’ where non-null expected
grub-2.12/grub-x86_64-xen-2.12/../util/grub-install-common.c:1195:1: enter_function: entry to ‘grub_util_unlink_recursive’
grub-2.12/grub-x86_64-xen-2.12/../util/grub-install-common.c:1200:7: call_function: calling ‘grub_util_fd_opendir’ from ‘grub_util_unlink_recursive’
grub-2.12/grub-x86_64-xen-2.12/../util/grub-install-common.c:1200:7: return_function: possible return of NULL to ‘grub_util_unlink_recursive’ from ‘grub_util_fd_opendir’
grub-2.12/grub-x86_64-xen-2.12/../util/grub-install-common.c:1202:16: call_function: calling ‘grub_util_fd_readdir’ from ‘grub_util_unlink_recursive’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def780]
grub-2.12/grub-x86_64-xen-2.12/../util/grub-fstest.c:400:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
grub-2.12/grub-x86_64-xen-2.12/../util/grub-fstest.c:736:1: enter_function: entry to ‘main’
grub-2.12/grub-x86_64-xen-2.12/../util/grub-fstest.c:751:6: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-xen-2.12/../util/grub-fstest.c:754:18: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/../util/grub-fstest.c:754:18: branch_true: following ‘true’ branch...
grub-2.12/grub-x86_64-xen-2.12/../util/grub-fstest.c:754:3: branch_true: ...to here
grub-2.12/grub-x86_64-xen-2.12/../util/grub-fstest.c:756:6: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-xen-2.12/../util/grub-fstest.c:767:5: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/../util/grub-fstest.c:771:6: branch_false: following ‘false’ branch (when ‘alloc_root’ is NULL)...
grub-2.12/grub-x86_64-xen-2.12/../util/grub-fstest.c:775:11: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/../util/grub-fstest.c:775:3: call_function: calling ‘fstest’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def781]
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/commands/legacycfg.c:148:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘entrysrc’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/commands/legacycfg.c:52:9: release_memory: ‘entryname’ is NULL
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/commands/legacycfg.c:52:28: release_memory: ‘entryname’ is NULL
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/commands/legacycfg.c:56:6: branch_false: following ‘false’ branch (when ‘suffix’ is non-NULL)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/commands/legacycfg.c:59:10: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/commands/legacycfg.c:60:6: branch_false: following ‘false’ branch (when ‘file’ is non-NULL)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/commands/legacycfg.c:66:10: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/commands/legacycfg.c:82:13: release_memory: ‘entryname’ is NULL
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/commands/legacycfg.c:91:10: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/commands/legacycfg.c:95:15: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/commands/legacycfg.c:95:15: release_memory: ‘entryname’ is NULL
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/commands/legacycfg.c:101:9: release_memory: ‘entryname’ is NULL
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/commands/legacycfg.c:104:9: release_memory: ‘entryname’ is NULL
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/commands/legacycfg.c:160:15: branch_false: following ‘false’ branch (when ‘parsed’ is NULL)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/commands/legacycfg.c:80:5: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/commands/legacycfg.c:82:13: release_memory: ‘entrysrc’ is NULL
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/commands/legacycfg.c:91:10: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/commands/legacycfg.c:95:15: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/commands/legacycfg.c:95:15: release_memory: ‘entrysrc’ is NULL
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/commands/legacycfg.c:104:9: release_memory: ‘entrysrc’ is NULL
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/commands/legacycfg.c:138:16: branch_false: following ‘false’ branch (when ‘args’ is non-NULL)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/commands/legacycfg.c:143:13: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/commands/legacycfg.c:148:13: danger: dereference of NULL ‘entrysrc’
Error: COMPILER_WARNING (CWE-704): [#def782]
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/commands/search.c:219:41: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-476): [#def783]
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/font/font.c:1497:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘comb’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/font/font.c:1546:1: enter_function: entry to ‘grub_font_construct_glyph’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/font/font.c:1557:16: call_function: calling ‘grub_font_construct_dry_run’ from ‘grub_font_construct_glyph’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def784]
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/fs/bfs.c:621:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘node’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/fs/bfs.c:1047:1: enter_function: entry to ‘grub_bfs_uuid’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/fs/bfs.c:1057:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/fs/bfs.c:1060:22: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/fs/bfs.c:1061:6: branch_false: following ‘false’ branch (when ‘ino’ is non-NULL)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/fs/bfs.c:1065:27: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/fs/bfs.c:1066:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/fs/bfs.c:1071:22: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/fs/bfs.c:1071:7: call_function: calling ‘read_bfs_attr’ from ‘grub_bfs_uuid’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def785]
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/fs/fshelp.c:152:11: warning[-Wanalyzer-jump-through-null]: jump through null pointer
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/fs/fshelp.c:335:1: enter_function: entry to ‘grub_fshelp_find_file_lookup’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/fs/fshelp.c:341:10: call_function: calling ‘grub_fshelp_find_file_real’ from ‘grub_fshelp_find_file_lookup’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def786]
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/fs/fshelp.c:188:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ctx.currnode’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/fs/fshelp.c:335:1: enter_function: entry to ‘grub_fshelp_find_file_lookup’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/fs/fshelp.c:341:10: call_function: calling ‘grub_fshelp_find_file_real’ from ‘grub_fshelp_find_file_lookup’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def787]
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/kern/env.c:227:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/kern/env.c:212:1: enter_function: entry to ‘grub_register_variable_hook’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/kern/env.c:216:30: call_function: calling ‘grub_env_find’ from ‘grub_register_variable_hook’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/kern/env.c:216:30: return_function: returning to ‘grub_register_variable_hook’ from ‘grub_env_find’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/kern/env.c:218:6: branch_true: following ‘true’ branch (when ‘var’ is NULL)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/kern/env.c:220:11: branch_true: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/kern/env.c:220:11: call_function: calling ‘grub_env_set’ from ‘grub_register_variable_hook’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/kern/env.c:220:11: return_function: returning to ‘grub_register_variable_hook’ from ‘grub_env_set’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/kern/env.c:220:10: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/kern/env.c:223:13: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/kern/env.c:223:13: call_function: calling ‘grub_env_find’ from ‘grub_register_variable_hook’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/kern/env.c:223:13: return_function: return of NULL to ‘grub_register_variable_hook’ from ‘grub_env_find’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/kern/env.c:227:3: danger: dereference of NULL ‘var’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def788]
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/kern/env.c:248:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/kern/env.c:234:1: enter_function: entry to ‘grub_env_export’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/kern/env.c:238:9: call_function: calling ‘grub_env_find’ from ‘grub_env_export’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/kern/env.c:238:9: return_function: returning to ‘grub_env_export’ from ‘grub_env_find’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/kern/env.c:239:6: branch_true: following ‘true’ branch (when ‘var’ is NULL)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/kern/env.c:243:13: branch_true: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/kern/env.c:243:13: call_function: calling ‘grub_env_set’ from ‘grub_env_export’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/kern/env.c:243:13: return_function: returning to ‘grub_env_export’ from ‘grub_env_set’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/kern/env.c:244:10: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/kern/env.c:246:13: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/kern/env.c:246:13: call_function: calling ‘grub_env_find’ from ‘grub_env_export’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/kern/env.c:246:13: return_function: return of NULL to ‘grub_env_export’ from ‘grub_env_find’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/kern/env.c:248:3: danger: dereference of NULL ‘var’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def789]
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/kern/xen/init.c:399:19: warning[-Wanalyzer-infinite-loop]: infinite loop
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/kern/xen/init.c:376:1: enter_function: entry to ‘map_all_pages’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/kern/xen/init.c:399:19: danger: infinite loop here
Error: GCC_ANALYZER_WARNING (CWE-835): [#def790]
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/kern/xen/init.c:593:9: warning[-Wanalyzer-infinite-loop]: infinite loop
Error: GCC_ANALYZER_WARNING (CWE-469): [#def791]
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/i386/relocator_common_c.c:56:33: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def792]
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/i386/relocator_common_c.c:57:34: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def793]
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/i386/relocator_common_c.c:96:49: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def794]
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/i386/relocator_common_c.c:108:48: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-457): [#def795]
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/cipher/sha1.c:142:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘x[1]’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/cipher/sha1.c:236:1: enter_function: entry to ‘sha1_write’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/cipher/sha1.c:249:6: branch_false: following ‘false’ branch (when ‘inbuf’ is non-NULL)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/cipher/sha1.c:252:7: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/cipher/sha1.c:262:6: branch_true: following ‘true’ branch (when ‘nblocks != 0’)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/cipher/sha1.c:264:7: branch_true: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/cipher/sha1.c:264:7: call_function: calling ‘transform’ from ‘sha1_write’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def796]
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: warning[-Wanalyzer-deref-before-check]: check of ‘v’ for NULL after already dereferencing it
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:122:7: branch_true: following ‘true’ branch...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:123:9: branch_true: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: danger: pointer ‘v’ is checked for NULL here but it was already dereferenced at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def797]
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:129:19: warning[-Wanalyzer-deref-before-check]: check of ‘u’ for NULL after already dereferencing it
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:122:7: branch_true: following ‘true’ branch...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:123:9: branch_true: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: branch_true: following ‘true’ branch (when ‘v’ is non-NULL)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: branch_true: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:129:19: danger: pointer ‘u’ is checked for NULL here but it was already dereferenced at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def798]
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:135:19: warning[-Wanalyzer-deref-before-check]: check of ‘u’ for NULL after already dereferencing it
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:122:7: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:133:9: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:135:19: danger: pointer ‘u’ is checked for NULL here but it was already dereferenced at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def799]
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:139:19: warning[-Wanalyzer-deref-before-check]: check of ‘v’ for NULL after already dereferencing it
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:122:7: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:133:9: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:135:19: branch_true: following ‘true’ branch (when ‘u’ is non-NULL)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:135:19: branch_true: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:139:19: danger: pointer ‘v’ is checked for NULL here but it was already dereferenced at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def800]
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:147:8: warning[-Wanalyzer-deref-before-check]: check of ‘w’ for NULL after already dereferencing it
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: branch_true: following ‘true’ branch (when ‘v’ is non-NULL)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: branch_true: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:129:19: branch_true: following ‘true’ branch (when ‘u’ is non-NULL)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:129:19: branch_true: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:147:8: danger: pointer ‘w’ is checked for NULL here but it was already dereferenced at [(5)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def801]
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:74:10: warning[-Wanalyzer-deref-before-check]: check of ‘expo’ for NULL after already dereferencing it
Error: GCC_ANALYZER_WARNING (CWE-465): [#def802]
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:75:10: warning[-Wanalyzer-deref-before-check]: check of ‘mod’ for NULL after already dereferencing it
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:74:10: branch_true: following ‘true’ branch (when ‘expo’ is non-NULL)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:74:10: branch_true: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:75:10: danger: pointer ‘mod’ is checked for NULL here but it was already dereferenced at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def803]
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:246:16: warning[-Wanalyzer-deref-before-check]: check of ‘a’ for NULL after already dereferencing it
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:532:1: enter_function: entry to ‘gcry_mpi_print’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:545:6: branch_false: following ‘false’ branch (when ‘format != 1’)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:581:11: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:581:11: branch_true: following ‘true’ branch (when ‘format == 5’)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:583:24: branch_true: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:588:11: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:590:10: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:590:10: branch_true: following ‘true’ branch (when ‘buffer’ is non-NULL)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:594:17: branch_true: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:594:17: call_function: calling ‘_gcry_mpi_get_buffer’ from ‘gcry_mpi_print’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def804]
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘wp’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:296:1: enter_function: entry to ‘gcry_mpi_set’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:302:6: branch_true: following ‘true’ branch (when ‘w’ is NULL)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:303:26: branch_true: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:303:9: call_function: calling ‘_gcry_mpi_alloc’ from ‘gcry_mpi_set’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:303:9: return_function: returning to ‘gcry_mpi_set’ from ‘_gcry_mpi_alloc’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:304:3: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:305:3: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:305:3: release_memory: ‘*w.d’ is NULL
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: branch_true: following ‘true’ branch (when ‘_i < usize’)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: branch_true: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: release_memory: ‘*w.d’ is NULL
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: danger: dereference of NULL ‘wp + (long unsigned int)_i * 8’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def805]
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1158:19: warning[-Wanalyzer-infinite-loop]: infinite loop
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1129:1: enter_function: entry to ‘_asn1_set_default_tag’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1158:19: danger: infinite loop here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1159:18: branch_false: when ‘p != node’: always following ‘false’ branch...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1164:18: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1164:18: branch_false: when ‘p’ is NULL: always following ‘false’ branch...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libtasn1/lib/parser_aux.c:1158:15: branch_false: ...to here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def806]
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libtasn1/lib/structure.c:443:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p_d’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libtasn1/lib/structure.c:1219:1: enter_function: entry to ‘asn1_dup_node’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/libtasn1/lib/structure.c:1221:10: call_function: calling ‘_asn1_copy_structure2’ from ‘asn1_dup_node’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def807]
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/posix_wrap/stdlib.h:52:10: warning[-Wanalyzer-malloc-leak]: leak of ‘new_array’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_resize.c:30:1: enter_function: entry to ‘gl_dynarray_resize’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_resize.c:34:6: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_resize.c:45:7: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_resize.c:45:6: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_resize.c:52:7: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_resize.c:52:6: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_resize.c:60:17: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/gnulib/malloc/dynarray_resize.c:60:17: call_function: calling ‘realloc’ from ‘gl_dynarray_resize’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def808]
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/posix_wrap/stdlib.h:52:10: warning[-Wanalyzer-malloc-leak]: leak of ‘newdict’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/xzembed/xz_dec_lzma2.c:1145:13: enter_function: entry to ‘xz_dec_lzma2_reset’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/xzembed/xz_dec_lzma2.c:1149:12: branch_false: following ‘false’ branch (when ‘props <= 30’)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/xzembed/xz_dec_lzma2.c:1152:28: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/xzembed/xz_dec_lzma2.c:1156:12: branch_true: following ‘true’ branch...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/xzembed/xz_dec_lzma2.c:1159:37: call_function: calling ‘realloc’ from ‘xz_dec_lzma2_reset’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def809]
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/xen/halt.c:31:3: warning[-Wanalyzer-infinite-loop]: infinite loop
Error: GCC_ANALYZER_WARNING (CWE-835): [#def810]
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/xen/reboot.c:31:3: warning[-Wanalyzer-infinite-loop]: infinite loop
Error: GCC_ANALYZER_WARNING (CWE-469): [#def811]
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/xen/relocator.c:76:42: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def812]
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/xen/relocator.c:80:42: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/xen/relocator.c:77:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/xen/relocator.c:80:42: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/xen/relocator.c:80:42: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def813]
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/xen/relocator.c:124:17: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/xen/relocator.c:77:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/xen/relocator.c:80:42: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/xen/relocator.c:81:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/xen/relocator.c:84:30: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/xen/relocator.c:87:15: branch_true: following ‘true’ branch (when ‘i <= 2’)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/xen/relocator.c:89:50: branch_true: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/xen/relocator.c:124:17: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def814]
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/xen/relocator.c:126:44: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/xen/relocator.c:77:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/xen/relocator.c:80:42: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/xen/relocator.c:81:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/xen/relocator.c:84:30: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/xen/relocator.c:87:15: branch_true: following ‘true’ branch (when ‘i <= 2’)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/xen/relocator.c:89:50: branch_true: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/lib/xen/relocator.c:126:44: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-476): [#def815]
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/normal/term.c:477:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/normal/term.c:1084:1: enter_function: entry to ‘grub_cls’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/normal/term.c:1088:3: branch_true: following ‘true’ branch (when ‘term’ is non-NULL)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/normal/term.c:1090:10: branch_true: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/normal/term.c:1092:9: call_function: calling ‘grub_putcode’ from ‘grub_cls’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def816]
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/partmap/acorn.c:121:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘map[i].magic’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/partmap/acorn.c:114:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/partmap/acorn.c:117:3: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/partmap/acorn.c:119:15: branch_true: following ‘true’ branch (when ‘i != 42’)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/partmap/acorn.c:121:11: branch_true: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/partmap/acorn.c:121:11: danger: use of uninitialized value ‘map[i].magic’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def817]
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/tests/lib/test.c:85:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘failure’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/tests/lib/test.c:110:1: enter_function: entry to ‘add_failure’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/tests/lib/test.c:114:33: call_function: calling ‘failure_start’ from ‘add_failure’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/tests/lib/test.c:114:33: return_function: return of NULL to ‘add_failure’ from ‘failure_start’
grub-2.12/grub-x86_64-xen-2.12/grub-core/../../grub-core/tests/lib/test.c:115:3: call_function: calling ‘failure_append_text’ from ‘add_failure’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def818]
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1111:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1069:6: branch_true: following ‘true’ branch...
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1075:28: branch_true: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1098:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1100:7: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1101:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 10000’)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1105:21: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1109:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1111:9: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1111:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def819]
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1238:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1069:6: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1133:6: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1133:6: branch_false: following ‘false’ branch (when ‘yystate != 3’)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1136:3: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1148:6: branch_true: following ‘true’ branch (when ‘yyn == -73’)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1149:5: branch_true: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1218:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1220:3: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1238:3: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def820]
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.yy.c:2091:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.yy.c:1970:10: enter_function: entry to ‘yyrestart’
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.yy.c:1975:16: call_function: calling ‘yyensure_buffer_stack’ from ‘yyrestart’
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.yy.c:1975:16: return_function: returning to ‘yyrestart’ from ‘yyensure_buffer_stack’
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.yy.c:1977:27: call_function: calling ‘yy_create_buffer’ from ‘yyrestart’
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.yy.c:1977:27: return_function: returning to ‘yyrestart’ from ‘yy_create_buffer’
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.yy.c:1980:2: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.yy.c:1980:2: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.yy.c:1980:2: release_memory: ‘0’ is NULL
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.yy.c:1980:2: call_function: calling ‘yy_init_buffer’ from ‘yyrestart’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def821]
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1111:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1069:6: branch_true: following ‘true’ branch...
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1075:28: branch_true: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1098:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1100:7: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1101:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 10000’)...
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1105:21: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1109:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1111:9: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1111:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def822]
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1238:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1069:6: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1133:6: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1133:6: branch_false: following ‘false’ branch (when ‘yystate != 3’)...
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1136:3: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1148:6: branch_true: following ‘true’ branch (when ‘yyn == -73’)...
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1149:5: branch_true: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1218:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1220:3: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1238:3: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def823]
grub-2.12/grub-x86_64-xen-2.12/grub_script.yy.c:2091:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
grub-2.12/grub-x86_64-xen-2.12/grub_script.yy.c:1970:10: enter_function: entry to ‘yyrestart’
grub-2.12/grub-x86_64-xen-2.12/grub_script.yy.c:1975:16: call_function: calling ‘yyensure_buffer_stack’ from ‘yyrestart’
grub-2.12/grub-x86_64-xen-2.12/grub_script.yy.c:1975:16: return_function: returning to ‘yyrestart’ from ‘yyensure_buffer_stack’
grub-2.12/grub-x86_64-xen-2.12/grub_script.yy.c:1977:27: call_function: calling ‘yy_create_buffer’ from ‘yyrestart’
grub-2.12/grub-x86_64-xen-2.12/grub_script.yy.c:1977:27: return_function: returning to ‘yyrestart’ from ‘yy_create_buffer’
grub-2.12/grub-x86_64-xen-2.12/grub_script.yy.c:1980:2: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-xen-2.12/grub_script.yy.c:1980:2: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub_script.yy.c:1980:2: release_memory: ‘0’ is NULL
grub-2.12/grub-x86_64-xen-2.12/grub_script.yy.c:1980:2: call_function: calling ‘yy_init_buffer’ from ‘yyrestart’
Error: COMPILER_WARNING (CWE-1041): [#def824]
grub-2.12/include/grub/fs.h:26: included_from: Included from here.
grub-2.12/include/grub/file.h:25: included_from: Included from here.
grub-2.12/include/grub/normal.h:29: included_from: Included from here.
grub-2.12/grub-core/commands/boot.c:20: included_from: Included from here.
grub-2.12/include/grub/dl.h:58:13: warning[-Wredundant-decls]: redundant redeclaration of ‘grub_boot_init’
grub-2.12/grub-core/commands/boot.c:235:1: note: in expansion of macro ‘GRUB_MOD_INIT’
grub-2.12/grub-core/commands/boot.c:23: included_from: Included from here.
grub-2.12/include/grub/loader.h:80:6: note: previous declaration of ‘grub_boot_init’ with type ‘void(void)’
Error: COMPILER_WARNING (CWE-1041): [#def825]
grub-2.12/grub-core/term/terminfo.c:29: included_from: Included from here.
grub-2.12/include/grub/dl.h:58:13: warning[-Wredundant-decls]: redundant redeclaration of ‘grub_terminfo_init’
grub-2.12/grub-core/term/terminfo.c:785:1: note: in expansion of macro ‘GRUB_MOD_INIT’
grub-2.12/grub-core/term/terminfo.c:31: included_from: Included from here.
grub-2.12/include/grub/terminfo.h:84:6: note: previous declaration of ‘grub_terminfo_init’ with type ‘void(void)’
Error: COMPILER_WARNING (CWE-1041): [#def826]
grub-2.12/include/grub/dl.h:66:13: warning[-Wredundant-decls]: redundant redeclaration of ‘grub_boot_fini’
grub-2.12/grub-core/commands/boot.c:242:1: note: in expansion of macro ‘GRUB_MOD_FINI’
grub-2.12/include/grub/loader.h:81:6: note: previous declaration of ‘grub_boot_fini’ with type ‘void(void)’
Error: COMPILER_WARNING (CWE-1041): [#def827]
grub-2.12/include/grub/dl.h:66:13: warning[-Wredundant-decls]: redundant redeclaration of ‘grub_terminfo_fini’
grub-2.12/grub-core/term/terminfo.c:793:1: note: in expansion of macro ‘GRUB_MOD_FINI’
grub-2.12/include/grub/terminfo.h:85:6: note: previous declaration of ‘grub_terminfo_fini’ with type ‘void(void)’
Error: COMPILER_WARNING (CWE-685): [#def828]
grub-2.12/util/grub-install-common.c:712:19: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING: [#def829]
grub-2.12/util/grub-install-common.c:712:19: warning[-Wformat=]: format ‘%s’ expects argument of type ‘char *’, but argument 8 has type ‘size_t’ {aka ‘long unsigned int’}
grub-2.12/util/grub-install-common.c:714:51: note: format string is defined here
Error: COMPILER_WARNING: [#def830]
grub-2.12/util/grub-install-common.c: scope_hint: In function ‘grub_install_make_image_wrap_file’
grub-2.12/util/grub-install-common.c:712:19: warning[-Wformat=]: format ‘%zu’ expects argument of type ‘size_t’, but argument 7 has type ‘const char *’
grub-2.12/util/grub-install-common.c:714:48: note: format string is defined here
Error: COMPILER_WARNING (CWE-195): [#def831]
grub-2.12/util/grub-mkfont.c:42: included_from: Included from here.
grub-2.12/util/grub-mkfont.c: scope_hint: In function ‘process_cursive’
grub-2.12/util/grub-mkfont.c:73:32: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
grub-2.12/util/grub-mkfont.c:506:3: note: in expansion of macro ‘GSUB_ARRAY_SIZE_VALID’
Error: COMPILER_WARNING (CWE-195): [#def832]
grub-2.12/util/setup_sparc.c:2: included_from: Included from here.
grub-2.12/util/setup.c: scope_hint: In function ‘grub_util_sparc_setup’
grub-2.12/util/setup.c:661:25: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’
Scan Properties
analyzer-version-clippy | 1.86.0 |
analyzer-version-cppcheck | 2.17.1 |
analyzer-version-gcc | 15.0.1 |
analyzer-version-gcc-analyzer | 15.0.1 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-40.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.20250425.124705.g1c7c448.main-1.el9.noarch |
mock-config | fedora-rawhide-x86_64 |
project-name | grub2-2.12-30.fc43 |
store-results-to | /tmp/tmpirvw57x7/grub2-2.12-30.fc43.tar.xz |
time-created | 2025-04-25 13:23:29 |
time-finished | 2025-04-25 13:56:36 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpirvw57x7/grub2-2.12-30.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpirvw57x7/grub2-2.12-30.fc43.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |