aboutsummaryrefslogtreecommitdiffstats
path: root/idatui/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'idatui/app.py')
-rw-r--r--idatui/app.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/idatui/app.py b/idatui/app.py
index 7bca4e0..38d2411 100644
--- a/idatui/app.py
+++ b/idatui/app.py
@@ -1581,6 +1581,8 @@ def _fuzzy(name: str, q: str):
matched character indices (for highlighting)."""
if not q:
return (0.0, ())
+ if not name: # defensive: never assume a symbol has a name
+ return None
nl = name.lower()
pos: list[int] = []
i = 0