mirror of
https://github.com/rizinorg/rizin.git
synced 2026-10-12 02:21:57 +00:00
fix null pointer dereference in get_frame_base() in librz/debug/p/native/bt/windows-x64.c (#6829)
This commit is contained in:
@@ -309,7 +309,7 @@ static ut64 get_frame_base(const Win64UnwindInfo *info, const struct context_typ
|
||||
|
||||
// There is a register being used as a frame base, unknown if we set it yet
|
||||
int i;
|
||||
Win64UnwindCode *code = NULL;
|
||||
Win64UnwindCode *code = info->code;
|
||||
// Find unwind of where frame register is being set
|
||||
for (i = 0; i < info->CountOfCodes; i++) {
|
||||
if (code[i].UnwindOp == UWOP_SET_FPREG) {
|
||||
|
||||
Reference in New Issue
Block a user