diff options
author | Richard Weinberger <richard@nod.at> | 2014-11-06 18:47:49 +0300 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2014-11-07 14:42:43 +0300 |
commit | aa5ad3b6eb8feb2399a5d26c8fb0060561bb9534 (patch) | |
tree | 02354b3ea14e9d5aad2b543ffc9ea0b320298de0 /lib/Kconfig.debug | |
parent | a76284e6f89b2ae37d413fe793752257be01765a (diff) | |
download | linux-aa5ad3b6eb8feb2399a5d26c8fb0060561bb9534.tar.xz |
UBI: Fix double free after do_sync_erase()
If the erase worker is unable to erase a PEB it will
free the ubi_wl_entry itself.
The failing ubi_wl_entry must not free()'d again after
do_sync_erase() returns.
Cc: <stable@vger.kernel.org>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'lib/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions