MEM-012: ROCKmerge_full int overflow defeats stack/heap selector (abc/ROCK.c)

Now
DONE

ROCKmerge_full computes int total = num_operands + (existing?1:0) in signed int; a large RocksDB num_operands wraps total negative so the total > 64 guard is false and the code keeps the 64-element stack_recs, while the fill loops still write 1+num_operands entries a stack buffer overflow. The output-size estimate (cap += $len(...); cap *= 2) is also unguarded size_t arithmetic feeding malloc. The goal is overflow-safe sizing and a size_t selector.

Issues

Signed-int total and unguarded cap.

Blockers

None. Reachability depends on the RocksDB merge path supplying a huge num_operands.

Planned

Size in size_t with explicit guards.