[[ Bug 12458 ]] Fix crash when reading past the end of a data stream whe...

...n size larger than 1 byte