diff options
author | Ian Moffett <ian@osmora.org> | 2025-08-20 23:36:45 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-08-20 23:36:45 -0400 |
commit | ffe51b4d28f4de048b7be442f7fa8b3527b3e609 (patch) | |
tree | f12be427f4e75166b4ceb8fb3c1b00d6785388cd /usr.sbin | |
parent | 7ed5ce81ccd6f7a546ea504d998419452b18fc20 (diff) |
kernel/amd64: Do not run off callstack in trace
Previously, if RBP becomes NULL (indicating that the END of the
callstack has been reached), we still had a chance of dereferencing a
NULL pointer when attempting to grab the next value for 'rip'. This
commit checks if RBP is NULL before we get the next instruction pointer
value.
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions