summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-08-20 23:36:45 -0400
committerIan Moffett <ian@osmora.org>2025-08-20 23:36:45 -0400
commitffe51b4d28f4de048b7be442f7fa8b3527b3e609 (patch)
treef12be427f4e75166b4ceb8fb3c1b00d6785388cd /usr.bin
parent7ed5ce81ccd6f7a546ea504d998419452b18fc20 (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.bin')
0 files changed, 0 insertions, 0 deletions