c
< 	if (runLength == 0)
---
> 	if (runLength == 0 || !buffer_within_range(pbOrderHdr, 1, pbEnd))
