linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dan Aloni <karrde@callisto.yi.org>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH] Re: test11-pre5
Date: Wed, 15 Nov 2000 00:45:36 +0200 (IST)	[thread overview]
Message-ID: <Pine.LNX.4.21.0011150030030.26513-100000@callisto.yi.org> (raw)
In-Reply-To: <Pine.LNX.4.10.10011141346480.15149-100000@penguin.transmeta.com>


against: test11-pre5
summery: dev_3c501.name shouldn't be NULL, or we get oops
reason: Correct me if I'm wrong, but 3c501.c:init_module() calls
net_init.c:register_netdev(&dev_3c501), which calls strchr(),
{and might also,which might} dereference dev_3c501.name.

--- linux/drivers/net/3c501.c	Wed Nov 15 00:30:40 2000
+++ linux/drivers/net/3c501.c	Wed Nov 15 00:31:44 2000
@@ -915,6 +915,7 @@
 #ifdef MODULE
 
 static struct net_device dev_3c501 = {
+	name:		"",
 	init:		el1_probe,
 	base_addr:	0x280,
 	irq:		5,


-- 
Dan Aloni 
dax@karrde.org

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  reply	other threads:[~2000-11-14 23:16 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-14 21:47 test11-pre5 Linus Torvalds
2000-11-14 22:45 ` Dan Aloni [this message]
2000-11-14 22:50   ` [PATCH] test11-pre5 Jeff Garzik
2000-11-14 23:10     ` Dan Aloni
2000-11-14 23:14       ` Jeff Garzik
2000-11-14 23:51       ` Linus Torvalds
2000-11-16  8:51       ` Nick Holloway
2000-11-14 23:47   ` Linus Torvalds
2000-11-15  0:25     ` Dan Aloni
2000-11-15  0:25       ` David S. Miller
2000-11-15  0:59         ` Dan Aloni
2000-11-15  0:49           ` David S. Miller
2000-11-14 22:47 ` test11-pre5 Jes Sorensen
2000-11-14 23:08 ` [uPATCH] test11-pre5 Bartlomiej Zolnierkiewicz

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=Pine.LNX.4.21.0011150030030.26513-100000@callisto.yi.org \
    --to=karrde@callisto.yi.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /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;
as well as URLs for NNTP newsgroup(s).