diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2023-05-13 21:31:36 +1000 |
---|---|---|
committer | Reza Arbab <arbab@linux.ibm.com> | 2023-06-06 13:32:12 -0500 |
commit | 1e7dd419df98a948506c918d66007a05a7aebce0 (patch) | |
tree | a00299d411c6e1bd55ba22c8dcea00ec6d40c7cf /libpore | |
parent | d54c698de79f3a4c6bb04d8d744e0aca054629df (diff) | |
download | skiboot-1e7dd419df98a948506c918d66007a05a7aebce0.zip skiboot-1e7dd419df98a948506c918d66007a05a7aebce0.tar.gz skiboot-1e7dd419df98a948506c918d66007a05a7aebce0.tar.bz2 |
core/malloc: Make free and realloc tolerant of invalid usage
Print a message if free or realloc are called on memory outside the
skiboot heap. Freeing is skipped to give the best chance of avoiding
a crash.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Reza Arbab <arbab@linux.ibm.com>
Diffstat (limited to 'libpore')
0 files changed, 0 insertions, 0 deletions