From: Alexander Strakh <strakh@ispras.ru>
To: Frederic Rible <frible@teaser.fr>,
Thomas Sailer <sailer@ife.ee.ethz.ch>,
"Jean-Paul Roubelat" <jpr@f6fbb.org>,
linux-hams@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: BUG null dereference in driver ./drivers/net/hamradio/yam.c
Date: Mon, 21 Dec 2009 20:13:01 +0000 [thread overview]
Message-ID: <200912212013.01887.strakh@ispras.ru> (raw)
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)
reply other threads:[~2009-12-21 16:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200912212013.01887.strakh@ispras.ru \
--to=strakh@ispras.ru \
--cc=frible@teaser.fr \
--cc=jpr@f6fbb.org \
--cc=linux-hams@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sailer@ife.ee.ethz.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox