diff options
| author | Richard Weinberger <richard@nod.at> | 2016-02-21 10:53:03 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-09 15:34:56 -0800 |
| commit | c5c2ce3560b6b28666ef337fd33653165eb97b78 (patch) | |
| tree | 1255ba24de5322c93ae29ba42125925614ba4c73 /kernel/sysctl_binary.c | |
| parent | 816e8b31fceb50ebf0f4a9dea92fc64fc75b5999 (diff) | |
ubi: Fix out of bounds write in volume update code
commit e4f6daac20332448529b11f09388f1d55ef2084c upstream.
ubi_start_leb_change() allocates too few bytes.
ubi_more_leb_change_data() will write up to req->upd_bytes +
ubi->min_io_size bytes.
Signed-off-by: Richard Weinberger <richard@nod.at>
Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions
