[PATCH 3.16 115/192] ubifs: Don't leak kernel memory to the MTD

2017-10-09 Thread Ben Hutchings
3.16.49-rc1 review patch. If anyone has any objections, please let me know. -- From: Richard Weinberger commit 4acadda74ff8b949c448c0282765ae747e088c87 upstream. When UBIFS prepares data structures which will be written to the MTD it ensues that their lengths

[PATCH 3.16 115/192] ubifs: Don't leak kernel memory to the MTD

2017-10-09 Thread Ben Hutchings
3.16.49-rc1 review patch. If anyone has any objections, please let me know. -- From: Richard Weinberger commit 4acadda74ff8b949c448c0282765ae747e088c87 upstream. When UBIFS prepares data structures which will be written to the MTD it ensues that their lengths are multiple of