Fix an out-of bounds read when the element is bigger than the buffer.
Ensure the size of the buffer being checked is bigger than the element of the buffer being checked. The buffer can be triggered when, for example, the buffer is of length zero and we are checking for: Verify<uoffset_t>(buf_) The condition above should fail.
Showing
Please
register
or
sign in
to comment