/[linux-patches]/genpatches-2.6/tags/2.6.14-6/1053_4_i2o-pci-null-deref.patch
Gentoo

Contents of /genpatches-2.6/tags/2.6.14-6/1053_4_i2o-pci-null-deref.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 233 - (show annotations) (download)
Thu Dec 15 16:43:31 2005 UTC (12 years, 10 months ago) by dsd
File size: 887 byte(s)
2.6.14-6 release
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