From: Johan Hedberg <johan.hedberg@gmail.com>
To: Balamurugan Mahalingam <mbalamurugan@atheros.com>
Cc: marcel@holtmann.org, linux-bluetooth@vger.kernel.org,
charubala@charubala.com
Subject: Re: [PATCH] Fix accessing freed memory
Date: Tue, 19 Oct 2010 16:43:20 +0300 [thread overview]
Message-ID: <20101019134320.GB13310@jh-x301> (raw)
In-Reply-To: <1287491414-14015-1-git-send-email-mbalamurugan@atheros.com>
Hi,
On Tue, Oct 19, 2010, Balamurugan Mahalingam wrote:
> Crash is due to some junk characters in the device name.
> The device name is copied from a string variable after freeing the memory
> it points to, so there were some junk characters in it which was the reason
> for the crash.
>
> Fixing the issue by freeing the memory in string variable after
> device name is copied.
>
> ---
> compat/sdp.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
Thanks. The patch has been pushed upstream.
Johan
prev parent reply other threads:[~2010-10-19 13:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-19 12:30 [PATCH] Fix accessing freed memory Balamurugan Mahalingam
2010-10-19 13:43 ` 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=20101019134320.GB13310@jh-x301 \
--to=johan.hedberg@gmail.com \
--cc=charubala@charubala.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=marcel@holtmann.org \
--cc=mbalamurugan@atheros.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox