All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kalle Valo <kvalo@qca.qualcomm.com>
To: Pandiyarajan Pitchaimuthu <c_ppitch@qti.qualcomm.com>
Cc: <linux-wireless@vger.kernel.org>, <ath6kl-devel@qca.qualcomm.com>
Subject: Re: [PATCH V2] ath6kl: Array index out of bounds check
Date: Fri, 12 Oct 2012 15:27:24 +0300	[thread overview]
Message-ID: <50780CAC.3030808@qca.qualcomm.com> (raw)
In-Reply-To: <1348238506-9691-1-git-send-email-c_ppitch@qca.qualcomm.com>

On 09/21/2012 05:41 PM, Pandiyarajan Pitchaimuthu wrote:
> The variable assigned_ep can be assigned value of -1 and is never
> checked if it equals -1. So the endpoint array can have -1  as the index
> value and can be out of bounds.
> 
> The value of assigned_ep is checked for -1 and is ensured that the
> endpoint array doesn't go out of bounds.
> 
> Signed-off-by: Pandiyarajan Pitchaimuthu <c_ppitch@qca.qualcomm.com>

Thanks, applied.

Kalle

      reply	other threads:[~2012-10-12 12:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-21 14:41 [PATCH V2] ath6kl: Array index out of bounds check Pandiyarajan Pitchaimuthu
2012-10-12 12:27 ` Kalle Valo [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=50780CAC.3030808@qca.qualcomm.com \
    --to=kvalo@qca.qualcomm.com \
    --cc=ath6kl-devel@qca.qualcomm.com \
    --cc=c_ppitch@qti.qualcomm.com \
    --cc=linux-wireless@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 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.