]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] md: raid10: fix use-after-free of bio
authorMaik Hampel <m.hampel@gmx.de>
Tue, 31 Jul 2007 07:37:57 +0000 (00:37 -0700)
committerWilly Tarreau <w@1wt.eu>
Sat, 25 Aug 2007 15:24:07 +0000 (17:24 +0200)
commita14008cfca3a2026f09c91f2a96b26bcc507cd92
tree084f69b4dcc5c0ff20830cfa629776cad40574d4
parent32c207fa861f29aad527039da70556b5c387a2be
[PATCH] md: raid10: fix use-after-free of bio

In case of read errors raid10d tries to print a nice error message,
unfortunately using data from an already put bio.

Signed-off-by: Maik Hampel <m.hampel@gmx.de>
Acked-By: NeilBrown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Willy Tarreau <w@1wt.eu>
drivers/md/raid10.c