Files
codebase-memory-mcp/internal
Martin Vogel 1d81652f90 Fix out-of-bounds read in Rust derive-method synthesis
The derive-method synthesis loop tested di_entry->methods[mi].short_name before the mi < 4 bound, so at mi==4 it read methods[4] — one past the 4-element array (UBSan: index 4 out of bounds for DeriveMethod[4]). Evaluate the mi < 4 bound first so the dereference is guarded.
2026-06-06 02:15:08 +02:00
..