diff options
| author | Ard Biesheuvel <ardb@kernel.org> | 2021-09-01 08:33:19 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-10-27 09:32:38 +0200 |
| commit | 32c37321d6b635020f813c5b6468d215870b1b0b (patch) | |
| tree | 7456e15bbc8df7707ed2615002e30c19f0ca7307 /include/linux/avtimer_kernel.h | |
| parent | 9e287e00e8a62565039dc5b525dfbeb07d1a20f4 (diff) | |
efi/cper: use stack buffer for error record decoding
commit b3a72ca80351917cc23f9e24c35f3c3979d3c121 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/avtimer_kernel.h')
0 files changed, 0 insertions, 0 deletions
