/[linux-patches]/genpatches-2.6/trunk/2.6.14/1153_4_i2o-pci-null-deref.patch
Gentoo

Contents of /genpatches-2.6/trunk/2.6.14/1153_4_i2o-pci-null-deref.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 292 - (show annotations) (download) (as text)
Tue Jan 31 21:50:53 2006 UTC (14 years, 9 months ago) by johnm
File MIME type: text/x-diff
File size: 887 byte(s)
Large update - thanks goes to Kerin Millar for the legwork.
1 From stable-bounces@linux.kernel.org Mon Nov 28 03:44:57 2005
2 Date: Mon, 28 Nov 2005 12:44:47 +0100
3 From: Adrian Bunk <bunk@stusta.de>
4 To: stable@kernel.org
5 Cc:
6 Subject: drivers/message/i2o/pci.c: fix a use-after-free
7
8 The Coverity checker spotted this obvious use-after-free
9
10 Signed-off-by: Adrian Bunk <bunk@stusta.de>
11 Signed-off-by: Markus Lidel <Markus.Lidel@shadowconnect.com>
12 Signed-off-by: Chris Wright <chrisw@osdl.org>
13 Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 ---
15 drivers/message/i2o/pci.c | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18 --- linux-2.6.14.3.orig/drivers/message/i2o/pci.c
19 +++ linux-2.6.14.3/drivers/message/i2o/pci.c
20 @@ -421,8 +421,8 @@ static int __devinit i2o_pci_probe(struc
21 i2o_pci_free(c);
22
23 free_controller:
24 - i2o_iop_free(c);
25 put_device(c->device.parent);
26 + i2o_iop_free(c);
27
28 disable:
29 pci_disable_device(pdev);

  ViewVC Help
Powered by ViewVC 1.1.20