mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-12-05 04:47:43 +08:00
lookup_func_self guards a NULL qualified_name in its indexed bucket scan and its post-finalize tail scan, but not in the linear scan an unfinalized registry takes. Iterating a fallback chain checks every base entry for shadowing against the head, so a head holding a func without a qualified name crashed in strcmp (ASan SEGV in pylsp_prefix_order_matches_iterator_and_chain_shadowing). The linear scan now skips such entries like the other two. Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>