zip-truncation-risk

Status: IN

If `keys` and `values` lists passed to `_serialize_leaf` have mismatched lengths, `zip` silently truncates to the shorter list while `num_keys` in the header reflects the longer, producing a corrupt page

Source: entries/2026/05/28/b-tree-storage-engine-btree-_serialize_leaf.md

JSON