summaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_disk.c
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2020-06-24 09:27:25 +0200
committerTom Rini <trini@konsulko.com>2020-07-26 14:35:30 -0400
commitd5a6a5a9271bd93d0c8337788ddaac708c9123ee (patch)
treeae22bc552c6f50dc54eb1893574f8d67f37adf30 /lib/efi_loader/efi_disk.c
parent6731bef6966ea2b26cdcfe0109ff5a950003fd03 (diff)
env: correct overflow check of env_has_init size
Correct the overflow check of the bit-field env_has_init with the max value of env_location= ENVL_COUNT and no more with the size of env_locations. This bit-field is indexed by this enumerate and not by the position in the env_locations (only used in env_get_location) and the 2 values are different, depending of thea ctivated CONFIG_ENV_IS_ options. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'lib/efi_loader/efi_disk.c')
0 files changed, 0 insertions, 0 deletions