diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2021-09-01 09:33:19 +0300 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2021-10-05 14:05:59 +0300 |
commit | b3a72ca80351917cc23f9e24c35f3c3979d3c121 (patch) | |
tree | 4f4fa7969652c968360158be7474084294becc49 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 68c9cdf37a0456b7ba25a50b1ea8794f305da17f (diff) | |
download | linux-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 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions