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
The various Cstruct.LE/BE functions to do not check the validity of len of a local view, and only raise a bounds exception if the underlying Bigarray bounds are violated. We need to check the view length as well.
The text was updated successfully, but these errors were encountered:
This may break existing code that worked accidentally due to not respecting the view length of Cstruct.sub results, so needs to be tested against existing users.
avsm
added a commit
to avsm/ocaml-cstruct
that referenced
this issue
Jul 4, 2014
See mirage/mirage-tcpip#56
The various
Cstruct.LE/BE
functions to do not check the validity oflen
of a local view, and only raise a bounds exception if the underlying Bigarray bounds are violated. We need to check the view length as well.The text was updated successfully, but these errors were encountered: