From: Daniel Drake <dsd@gentoo.org>
To: Tom Walter Dillig <tdillig@stanford.edu>
Cc: linux-kernel@vger.kernel.org, w@1wt.eul,
kernel_org@digitalpeer.com, security@kernel.org,
Netdev list <netdev@vger.kernel.org>
Subject: softmac possible null deref [was: Complete report of Null dereference errors in kernel 2.6.17.1]
Date: Tue, 25 Jul 2006 01:01:27 +0100 [thread overview]
Message-ID: <44C55F57.8040805@gentoo.org> (raw)
In-Reply-To: <1153782637.44c5536e013a4@webmail>
Tom Walter Dillig wrote:
> [109]
> 452 net/ieee80211/softmac/ieee80211softmac_io.c
> Possible null dereference of variable "*pkt" in function call
> (include/asm/string.h:__constant_c_and_count_memset) checked at
> (453:net/ieee80211/softmac/ieee80211softmac_io.c)
Either I'm misunderstanding, or this is bogus.
when *pkt is allocated by the various child functions (e.g.
ieee80211softmac_disassoc_deauth), it is always checked for NULL before
being used.
Finally, line 453 does another NULL check, so that any failures
generated above are handled appropriately.
What is the report trying to say?
Daniel
prev parent reply other threads:[~2006-07-24 23:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1153782637.44c5536e013a4@webmail>
2006-07-25 0:00 ` softmac possible null deref [was: Complete report of Null dereference errors in kernel 2.6.17.1] Daniel Drake
2006-07-25 0:12 ` Stephen Hemminger
2006-07-25 0:01 ` Daniel Drake [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=44C55F57.8040805@gentoo.org \
--to=dsd@gentoo.org \
--cc=kernel_org@digitalpeer.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=security@kernel.org \
--cc=tdillig@stanford.edu \
--cc=w@1wt.eul \
/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).