[<prev] [next>] [day] [month] [year] [list]
Message-Id: <200912212013.01887.strakh@ispras.ru>
Date: Mon, 21 Dec 2009 20:13:01 +0000
From: Alexander Strakh <strakh@...ras.ru>
To: Frederic Rible <frible@...ser.fr>,
Thomas Sailer <sailer@....ee.ethz.ch>,
"Jean-Paul Roubelat" <jpr@...bb.org>, linux-hams@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: BUG null dereference in driver ./drivers/net/hamradio/yam.c
KERNEL_VERSION: 2.6.32
SUBJECT: null derefernce in function __init yam_init_driver
SUBSCRIBE:
In driver drivers/net/hamradio/yam.c in function __init
yam_init_driver:
1. If in line 1153 dev = NULL then we goto line 1154
2. In line 1155 we have null dereference of "dev->name"
1153 if (!dev) {
1154 printk(KERN_ERR "yam: cannot allocate net device
%s\n",
1155 dev->name);
1156 err = -ENOMEM;
1157 goto error;
1158 }
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