diff options
author | Arvind Sankar <nivedita@alum.mit.edu> | 2020-05-18 15:07:07 -0400 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2020-05-19 10:32:04 +0200 |
commit | f97ca2c816748e3b7dee58775632f9e9269071e6 (patch) | |
tree | 92b2305c2e31b83748f50ca3cee7624d2719223f /drivers/firmware/efi/libstub/efi-stub-helper.c | |
parent | 6c4bcd8a46a98856c06ca3ba8a80f03a61e23960 (diff) |
efi/printf: Abort on invalid format
If we get an invalid conversion specifier, bail out instead of trying to
fix it up. The format string likely has a typo or assumed we support
something that we don't, in either case the remaining arguments won't
match up with the remaining format string.
Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Link: https://lore.kernel.org/r/20200518190716.751506-16-nivedita@alum.mit.edu
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'drivers/firmware/efi/libstub/efi-stub-helper.c')
0 files changed, 0 insertions, 0 deletions