Re: [PATCH BlueZ 1/3] Fix wrong offset in EIR name parsing

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

 



Hi Lizardo,

On Tue, Jan 17, 2012, Anderson Lizardo wrote:
> When looking for NUL byte terminators on EIR names, the first two bytes
> of the EIR field should be skipped, which correspond to field length and
> EIR type.
> ---
>  src/eir.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)

Actually I already noticed the issues in the first two patches and have
fixes in my local tree which I'll push in minute. I also ended up adding
a data pointer (to &eir_data[2]) and a generic data_len (field_len - 1)
to make the code more readable. Once I've pushed those I'll apply your
patch 3/3.

Johan
--
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