mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-10-29 07:13:44 +08:00
The result projection is materialized per row into fixed-width stack arrays (CBM_SZ_32 columns) in execute_return_simple and its siblings, indexed by the parsed RETURN item count — which the parser left unbounded. A RETURN/WITH clause with more than 32 projection items wrote past those arrays. Reject an over-wide projection at parse time, with a fork-isolated regression test driving a 48-column RETURN. Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>