diff options
author | 2021-04-23 14:48:31 +0300 | |
---|---|---|
committer | 2021-05-22 14:05:32 +0200 | |
commit | c4039b29fe9637e1135912813f830994af4c867f (patch) | |
tree | ccd6b4efc351e520ec53e7f828ee907dc8de5d0d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | efi: Allow EFI_MEMORY_XP and EFI_MEMORY_RO both to be cleared (diff) | |
download | wireguard-linux-c4039b29fe9637e1135912813f830994af4c867f.tar.xz wireguard-linux-c4039b29fe9637e1135912813f830994af4c867f.zip |
efi/libstub: prevent read overflow in find_file_option()
If the buffer has slashes up to the end then this will read past the end
of the array. I don't anticipate that this is an issue for many people
in real life, but it's the right thing to do and it makes static
checkers happy.
Fixes: 7a88a6227dc7 ("efi/libstub: Fix path separator regression")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions