From: Johan Hedberg <johan.hedberg@gmail.com>
To: Andre Guedes <andre.guedes@openbossa.org>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] Fix potential bug in le_advertising_report()
Date: Wed, 23 Feb 2011 00:00:52 -0300 [thread overview]
Message-ID: <20110223030052.GA16014@jh-x301> (raw)
In-Reply-To: <1298396669-5530-1-git-send-email-andre.guedes@openbossa.org>
Hi André,
On Tue, Feb 22, 2011, Andre Guedes wrote:
> In the current implementation of le_advertising_report(), the variable
> 'info' has an invalid memory address after the 'for' loop. If 'info'
> is dereferenced it will access invalid memory.
>
> This patch fixes this potential bug and improves the code's readability.
> ---
> plugins/hciops.c | 15 ++++++++++-----
> 1 files changed, 10 insertions(+), 5 deletions(-)
The patch has been pushed upstream. Thanks.
Johan
prev parent reply other threads:[~2011-02-23 3:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-22 17:44 [PATCH] Fix potential bug in le_advertising_report() Andre Guedes
2011-02-23 3:00 ` Johan Hedberg [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=20110223030052.GA16014@jh-x301 \
--to=johan.hedberg@gmail.com \
--cc=andre.guedes@openbossa.org \
--cc=linux-bluetooth@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