From: Dan Carpenter <dan.carpenter@oracle.com>
To: Matteo Semenzato <mattew8898@gmail.com>
Cc: gregkh@linuxfoundation.org, navin.patidar@gmail.com,
hejianet@gmail.com, sudipm.mukherjee@gmail.com,
devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Staging: rtl8188eu fix buffer overflow
Date: Fri, 20 Mar 2015 21:49:09 +0300 [thread overview]
Message-ID: <20150320184909.GY10964@mwanda> (raw)
In-Reply-To: <1426861300-13286-1-git-send-email-mattew8898@gmail.com>
On Fri, Mar 20, 2015 at 03:21:40PM +0100, Matteo Semenzato wrote:
> From: Matteo Semenzato <mattew8898@gmail.com>
>
> This patch fixes the buffer overflow caused by accessing index 4 of hwxmits.
>
This is a Smatch warning? It's a false positive because the code that
accesses hwxmits[4] is dead code. Just delete it that section.
regards,
dan carpenter
prev parent reply other threads:[~2015-03-20 18:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-20 14:21 [PATCH] Staging: rtl8188eu fix buffer overflow Matteo Semenzato
2015-03-20 18:49 ` Dan Carpenter [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=20150320184909.GY10964@mwanda \
--to=dan.carpenter@oracle.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=hejianet@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mattew8898@gmail.com \
--cc=navin.patidar@gmail.com \
--cc=sudipm.mukherjee@gmail.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.