mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-18 18:38:51 +00:00
Fix null deref in on_actionXrefs
This commit is contained in:
parent
3d85370ff9
commit
e73cb0454a
@ -1795,7 +1795,9 @@ void MemoryWidget::on_actionXRefs_triggered()
|
||||
{
|
||||
// Get function for clicked offset
|
||||
RAnalFunction *fcn = this->main->core->functionAt(ele.toLongLong(0, 16));
|
||||
|
||||
if (!fcn) {
|
||||
return;
|
||||
}
|
||||
XrefsDialog *x = new XrefsDialog(this->main, this);
|
||||
x->setWindowTitle("X-Refs for function " + QString(fcn->name));
|
||||
x->updateLabels(QString(fcn->name));
|
||||
|
Loading…
Reference in New Issue
Block a user