mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-06 21:30:30 +00:00
Fix NULL dereference
This commit is contained in:
parent
6561932f99
commit
61537ba5ab
@ -873,7 +873,7 @@ repeat:
|
||||
bool must_eob = anal->opt.eobjmp;
|
||||
if (!must_eob) {
|
||||
RIOSection *s = anal->iob.sect_vget (anal->iob.io, addr);
|
||||
must_eob = (op.jump < s->vaddr && op.jump > s->vaddr + s->size);
|
||||
must_eob = s? (op.jump < s->vaddr && op.jump > s->vaddr + s->size) : must_eob;
|
||||
}
|
||||
if (must_eob) {
|
||||
FITFCNSZ ();
|
||||
|
Loading…
Reference in New Issue
Block a user