summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-01-05 10:47:18 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2012-01-18 07:31:56 -0800
commit5634d5fe19f522d31a6d47f0dc44c596a1b75c7b (patch)
tree12300db543935fd939c2706aae27a6e5eecd7347 /net/lapb/lapb_subr.c
parent7587b142d2d059f3e5fe7b8e8053c7aeed1e5108 (diff)
UBI: fix use-after-free on error path
commit e57e0d8e818512047fe379157c3f77f1b9fabffb upstream. When we fail to erase a PEB, we free the corresponding erase entry object, but then re-schedule this object if the error code was something like -EAGAIN. Obviously, it is a bug to use the object after we have freed it. Reported-by: Emese Revfy <re.emese@gmail.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions