summaryrefslogtreecommitdiff
path: root/drivers/firmware/efi/runtime-wrappers.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2021-09-01 09:33:19 +0300
committerArd Biesheuvel <ardb@kernel.org>2021-10-05 14:05:59 +0300
commitb3a72ca80351917cc23f9e24c35f3c3979d3c121 (patch)
tree4f4fa7969652c968360158be7474084294becc49 /drivers/firmware/efi/runtime-wrappers.c
parent68c9cdf37a0456b7ba25a50b1ea8794f305da17f (diff)
downloadlinux-b3a72ca80351917cc23f9e24c35f3c3979d3c121.tar.xz
efi/cper: use stack buffer for error record decoding
Joe reports that using a statically allocated buffer for converting CPER error records into human readable text is probably a bad idea. Even though we are not aware of any actual issues, a stack buffer is clearly a better choice here anyway, so let's move the buffer into the stack frames of the two functions that refer to it. Cc: <stable@vger.kernel.org> Reported-by: Joe Perches <joe@perches.com> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'drivers/firmware/efi/runtime-wrappers.c')
0 files changed, 0 insertions, 0 deletions