Re: [PATCH BlueZ] lib: Fix sdp_seq_alloc_with_length accessing invalid index/memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Luiz,

On Wed, May 22, 2013 at 4:53 PM, Luiz Augusto von Dentz
<luiz.dentz@xxxxxxxxx> wrote:
> From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
>
> The sequence itself is not an index of dtds, values, lenghts, thats why
> SDP_SEQ8 is used directly as dtd, so accessing lenght[i] is always off
> by one.
>
> Furthermore the lenght is not really used by sdp_data_alloc_with_length
> when the dtd is SDP_SEQ8.

small typo: lenght -> length (3 occurrences).

Best Regards,
-- 
Anderson Lizardo
Instituto Nokia de Tecnologia - INdT
Manaus - Brazil
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux