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
XORBytes doesn't say anything about how it deals with destination and source overlaps. Current implementations as written do work if the destination overlaps perfectly with a source, but will unavoidably return nonsensical results if the destination is ahead of the source.
Lock in the current behavior with tests, docs, and panics.
Note that this introduces a new panic, but if any applications run intoit we are potentially catching a security issue.
The text was updated successfully, but these errors were encountered:
XORBytes doesn't say anything about how it deals with destination and source overlaps. Current implementations as written do work if the destination overlaps perfectly with a source, but will unavoidably return nonsensical results if the destination is ahead of the source.
Lock in the current behavior with tests, docs, and panics.
Note that this introduces a new panic, but if any applications run intoit we are potentially catching a security issue.
The text was updated successfully, but these errors were encountered: