diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2021-09-01 08:33:19 +0200 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2021-10-05 13:05:59 +0200 |
commit | b3a72ca80351917cc23f9e24c35f3c3979d3c121 (patch) | |
tree | 4f4fa7969652c968360158be7474084294becc49 /lib/test_fortify/write_overflow-memmove.c | |
parent | 68c9cdf37a0456b7ba25a50b1ea8794f305da17f (diff) |
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 'lib/test_fortify/write_overflow-memmove.c')
0 files changed, 0 insertions, 0 deletions