Fix NULL dereference

This commit is contained in:
alvarofe 2017-08-23 23:30:57 +02:00
parent 6561932f99
commit 61537ba5ab

View File

@ -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 ();