diff options
author | 2022-12-19 10:18:16 +0800 | |
---|---|---|
committer | 2024-03-03 22:20:28 +1100 | |
commit | 69b0194ccec033c208b071e019032c1919c2822d (patch) | |
tree | 14fba095c0f54995f1506b338b4568bf532402aa /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | powerpc/pseries: Fix potential memleak in papr_get_attr() (diff) | |
download | wireguard-linux-69b0194ccec033c208b071e019032c1919c2822d.tar.xz wireguard-linux-69b0194ccec033c208b071e019032c1919c2822d.zip |
powerpc/boot: Handle allocation failure in simple_realloc()
simple_malloc() will return NULL when there is not enough memory left.
Check pointer 'new' before using it to copy the old data.
Signed-off-by: Li zeming <zeming@nfschina.com>
[mpe: Reword subject, use change log from Christophe]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20221219021816.3012-1-zeming@nfschina.com
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions