mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-01 17:40:34 +00:00
Fix Vpk hang regression
This commit is contained in:
parent
df480622f2
commit
2cdbb8e785
@ -1025,7 +1025,8 @@ R_API void r_core_visual_offset(RCore *core) {
|
||||
|
||||
static int prevopsz(RCore *core, ut64 addr) {
|
||||
ut64 prev_addr = prevop_addr (core, addr);
|
||||
return addr - prev_addr;
|
||||
int diff = addr - prev_addr;
|
||||
return R_MAX (1, diff);
|
||||
}
|
||||
|
||||
static int follow_ref(RCore *core, RList *xrefs, int choice, int xref) {
|
||||
|
Loading…
Reference in New Issue
Block a user