* [PATCH] android/socket: Fix wrong memory access
@ 2014-02-12 14:13 Andrei Emeltchenko
2014-02-12 14:24 ` Szymon Janc
0 siblings, 1 reply; 2+ messages in thread
From: Andrei Emeltchenko @ 2014-02-12 14:13 UTC (permalink / raw)
To: linux-bluetooth
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;
--
1.8.3.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] android/socket: Fix wrong memory access
2014-02-12 14:13 [PATCH] android/socket: Fix wrong memory access Andrei Emeltchenko
@ 2014-02-12 14:24 ` Szymon Janc
0 siblings, 0 replies; 2+ messages in thread
From: Szymon Janc @ 2014-02-12 14:24 UTC (permalink / raw)
To: Andrei Emeltchenko; +Cc: linux-bluetooth
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-12 14:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-12 14:13 [PATCH] android/socket: Fix wrong memory access Andrei Emeltchenko
2014-02-12 14:24 ` Szymon Janc
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.