Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crypto: hash - Fix page length clamping in hash walk
The crypto hash walk code is broken when supplied with an offset greater than or equal to PAGE_SIZE. This patch fixes it by adjusting walk->pg and walk->offset when this happens. Cc: <[email protected]> Reported-by: Steffen Klassert <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
- Loading branch information