mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
8a8a3237a7
Make the command line parsing more robust, by handling the case it is not NUL-terminated. Use strnlen instead of strlen, and make sure that the temporary copy is NUL-terminated before parsing. Cc: <stable@vger.kernel.org> Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu> Link: https://lore.kernel.org/r/20200813185811.554051-4-nivedita@alum.mit.edu Signed-off-by: Ard Biesheuvel <ardb@kernel.org> |
||
---|---|---|
.. | ||
alignedmem.c | ||
arm32-stub.c | ||
arm64-stub.c | ||
efi-stub-helper.c | ||
efi-stub.c | ||
efistub.h | ||
fdt.c | ||
file.c | ||
gop.c | ||
hidden.h | ||
Makefile | ||
mem.c | ||
pci.c | ||
random.c | ||
randomalloc.c | ||
relocate.c | ||
secureboot.c | ||
skip_spaces.c | ||
string.c | ||
tpm.c | ||
vsprintf.c | ||
x86-stub.c |