From: Brian Norris Date: Sat, 28 Feb 2015 10:23:26 +0000 (-0800) Subject: UBI: fix out of bounds write X-Git-Tag: omap-for-v4.1/fixes-rc1~135^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d74adbdb9abf0d2506a6c4afa534d894f28b763f;p=pandora-kernel.git UBI: fix out of bounds write If aeb->len >= vol->reserved_pebs, we should not be writing aeb into the PEB->LEB mapping. Caught by Coverity, CID #711212. Cc: stable Signed-off-by: Brian Norris Signed-off-by: Richard Weinberger --- Reading git-diff-tree failed