mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-19 02:48:49 +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 != "") {
|
||||||
if (jump.contains("0x")) {
|
if (jump.contains("0x")) {
|
||||||
RAnalFunction *fcn = this->main->core->functionAt(jump.toLongLong(0, 16));
|
RAnalFunction *fcn = this->main->core->functionAt(jump.toLongLong(0, 16));
|
||||||
|
if (fcn) {
|
||||||
this->main->seek(jump, fcn->name);
|
this->main->seek(jump, fcn->name);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
this->main->seek(this->main->core->cmd("?v " + jump), jump);
|
this->main->seek(this->main->core->cmd("?v " + jump), jump);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user