forked from 1b-agent/opencadstudio-upstream
Reject malformed or oversized snapshots before mmap and apply checked size arithmetic to both host and reader paths.
Reject malformed or oversized snapshots before mmap and apply checked size arithmetic to both host and reader paths.