You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happens when offset_bytes > read_size? Looks to me like we will happily start reading at past the end of the buffer and probably read value_size bytes from there.
Proposed Solution
Probably need to return an error if offset_bytes > read_size.
Problem
The code looks like this:
What happens when
offset_bytes > read_size
? Looks to me like we will happily start reading at past the end of the buffer and probably readvalue_size
bytes from there.Proposed Solution
Probably need to return an error if
offset_bytes > read_size
.@rgoliver @andy31415
The text was updated successfully, but these errors were encountered: