mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-18 18:38:51 +00:00
Fix another null deref
This commit is contained in:
parent
4a49acc2f2
commit
c99759825a
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user