Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Avoid UB in SHA3_256::Write
It is UB to apply a distance to a pointer or iterator further than the end itself, even if the distance is (partially) revoked later on. Fix the issue by advancing the data pointer at most to the end.
- Loading branch information