input: check end of input before reading a byte
When reading bytes we weren't check that the index wasn't out of bound and this could produce an invalid read which could deal to a security bug.
parent
b3230f4f
When reading bytes we weren't check that the index wasn't out of bound and this could produce an invalid read which could deal to a security bug.