Fix another null deref

This commit is contained in:
pancake 2017-04-03 02:16:29 +02:00
parent 4a49acc2f2
commit c99759825a

View File

@ -1582,7 +1582,9 @@ bool MemoryWidget::eventFilter(QObject *obj, QEvent *event) {
if (jump != "") {
if (jump.contains("0x")) {
RAnalFunction *fcn = this->main->core->functionAt(jump.toLongLong(0, 16));
this->main->seek(jump, fcn->name);
if (fcn) {
this->main->seek(jump, fcn->name);
}
} else {
this->main->seek(this->main->core->cmd("?v " + jump), jump);
}