[PATCH 3.16 073/114] crypto: hash - Fix page length clamping in hash walk

2016-06-13 Thread Ben Hutchings
3.16.36-rc1 review patch. If anyone has any objections, please let me know. -- From: Herbert Xu commit 13f4bb78cf6a312bbdec367ba3da044b09bf0e29 upstream. The crypto hash walk code is broken when supplied with an offset greater than or equal to

[PATCH 3.16 073/114] crypto: hash - Fix page length clamping in hash walk

2016-06-13 Thread Ben Hutchings
3.16.36-rc1 review patch. If anyone has any objections, please let me know. -- From: Herbert Xu commit 13f4bb78cf6a312bbdec367ba3da044b09bf0e29 upstream. The crypto hash walk code is broken when supplied with an offset greater than or equal to PAGE_SIZE. This patch fixes it