[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200912151755.06796.strakh@ispras.ru>
Date: Tue, 15 Dec 2009 17:55:06 +0000
From: Alexander Strakh <strakh@...ras.ru>
To: Fritz Elfert <fritz@...n4linux.de>,
Karsten Keil <isdn@...ux-pingi.de>,
Armin Schindler <mac@...ware.de>, linux-kernel@...r.kernel.org
Subject: BUG null dereference in driver ./drivers/isdn/icn/icn.c
KERNEL_VERSION: 2.6.32
SUBJECT: null dereference after check
DESCRIBE:
In driver ./drivers/isdn/icn/icn.c in function icn_addcard:
1. If in line 1580 card2 = NULL then we goto line 1581
2. In line 1581 we have null dereference because printk called with card2-
>interface.id in third parameter.
1580 if (!(card2 = icn_initcard(port, id2))) {
1581 printk(KERN_INFO
1582 "icn: (%s) half ICN-4B, port 0x%x added\n",
1583 card2->interface.id, port);
1584 return 0;
1585 }
Found by Linux Device Drivers Verification Project (Svace Detector)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists