AntiPattern
Premature Read Before Bounds
premature-read-before-bounds-check
Decoders and parsers perform reads or pointer advancement before validating remaining buffer size, causing stack exhaustion or crashes when inputs are oversized or truncated. The stake is reliability and potential denial of service during parsing.