From: Dan Carpenter <dan.carpenter@oracle.com>
To: kernel-janitors@vger.kernel.org
Subject: Re: [patch] Staging: rtl8192e: off by one in
Date: Wed, 21 Sep 2011 15:45:34 +0000 [thread overview]
Message-ID: <20110921154534.GA29426@longonot.mountain> (raw)
On Wed, Sep 21, 2011 at 10:33:34AM -0500, Larry Finger wrote:
> On 09/21/2011 02:17 AM, Dan Carpenter wrote:
> >COUNTRY_CODE_MAX is not a valid country code. We're off by one here.
> >This gets passed to Dot11d_Channelmap() where it's used as an offset
> >into the ChannelPlan[] array.
> >
> >Signed-off-by: Dan Carpenter<dan.carpenter@oracle.com>
>
> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
>
> Dan, good catch. Did this cause a problem, or did you find it while
> reading the code?
>
It was a Smatch thing. I caught it when I updated my smatch_data/.
regards,
dan carpenter
reply other threads:[~2011-09-21 15:45 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=20110921154534.GA29426@longonot.mountain \
--to=dan.carpenter@oracle.com \
--cc=kernel-janitors@vger.kernel.org \
/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