From: Rasmus Andersen <rasmus@jaquet.dk>
To: mhw@wittsend.com
Cc: linux-computone@lazuli.wittsend.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] catch potential null derefs in drivers/char/ip2main.c (245ac16)
Date: Mon, 25 Jun 2001 16:17:02 +0200 [thread overview]
Message-ID: <20010625161702.P7356@jaquet.dk> (raw)
In-Reply-To: <20010624230606.G847@jaquet.dk> <20010624191400.A17692@alcove.wittsend.com>
In-Reply-To: <20010624191400.A17692@alcove.wittsend.com>; from mhw@wittsend.com on Sun, Jun 24, 2001 at 07:14:00PM -0400
On Sun, Jun 24, 2001 at 07:14:00PM -0400, Michael H. Warfield wrote:
[...]
> I'm responsible for the kernel / driver integration end of it
> anyways.
>
> I'll find out what's up with Doug, but this is my issue to deal
> with anyways. And yes, I'm looking at it. I've got a couple of other
> patches on the back burner that are overdue for integration.
The pB deref below kinda bothers me. It is last set way above as
part of looping through stuff comparing it to NULL. It seems
bogus to use is as below but I have no clue what should be used
instead.
[..]
> > - for ( box = 0; box < ABS_MAX_BOXES; ++box )
> > - {
> > - for ( j = 0; j < ABS_BIGGEST_BOX; ++j )
> > - {
> > - if ( pB->i2eChannelMap[box] & (1 << j) )
> > + for ( box = 0; box < ABS_MAX_BOXES; ++box )
> > {
Regards,
Rasmus
prev parent reply other threads:[~2001-06-25 14:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-24 21:06 [PATCH] catch potential null derefs in drivers/char/ip2main.c (245ac16) Rasmus Andersen
2001-06-24 23:14 ` Michael H. Warfield
2001-06-25 6:05 ` Rasmus Andersen
2001-06-25 14:17 ` Rasmus Andersen [this message]
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=20010625161702.P7356@jaquet.dk \
--to=rasmus@jaquet.dk \
--cc=linux-computone@lazuli.wittsend.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mhw@wittsend.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.