From: Szymon Janc <szymon.janc@tieto.com>
To: Andrei Emeltchenko <Andrei.Emeltchenko.news@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] android/socket: Fix wrong memory access
Date: Wed, 12 Feb 2014 15:24:45 +0100 [thread overview]
Message-ID: <2280349.UgpCoNr8dQ@leonov> (raw)
In-Reply-To: <1392214396-2576-1-git-send-email-Andrei.Emeltchenko.news@gmail.com>
Hi Andrei,
On Wednesday 12 of February 2014 16:13:16 Andrei Emeltchenko wrote:
> From: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
>
> This fixes accessing proto[2] in the code.
> ---
> android/socket.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/android/socket.c b/android/socket.c
> index c62ca61..1551e9b 100644
> --- a/android/socket.c
> +++ b/android/socket.c
> @@ -190,7 +190,7 @@ static sdp_record_t *create_rfcomm_record(uint8_t chan,
> uuid_t *uuid, {
> sdp_list_t *svclass_id;
> sdp_list_t *seq, *proto_seq, *pbg_seq;
> - sdp_list_t *proto[2];
> + sdp_list_t *proto[3];
> uuid_t l2cap_uuid, rfcomm_uuid, obex_uuid, pbg_uuid;
> sdp_data_t *channel;
> sdp_record_t *record;
Pushed, thanks.
--
BR
Szymon Janc
prev parent reply other threads:[~2014-02-12 14:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-12 14:13 [PATCH] android/socket: Fix wrong memory access Andrei Emeltchenko
2014-02-12 14:24 ` Szymon Janc [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=2280349.UgpCoNr8dQ@leonov \
--to=szymon.janc@tieto.com \
--cc=Andrei.Emeltchenko.news@gmail.com \
--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