* [Bluez-devel] duplication of h4 protocol broken in btuart_cs
@ 2006-04-13 16:02 Matthieu CASTET
2006-04-13 16:18 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: Matthieu CASTET @ 2006-04-13 16:02 UTC (permalink / raw)
To: bluez-devel
Hi,
in hci_h4.c, the h4 stack checks the len of the packet given in the header
with h4_check_data_len.
in btuart_cs.c, it doesn't. This could lead to skb_over_panic if the read len is wrong.
I think it could be great if all drivers using h4 could use the same h4
stack.
Thanks
Matthieu
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Bluez-devel] duplication of h4 protocol broken in btuart_cs
2006-04-13 16:02 [Bluez-devel] duplication of h4 protocol broken in btuart_cs Matthieu CASTET
@ 2006-04-13 16:18 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2006-04-13 16:18 UTC (permalink / raw)
To: bluez-devel
Hi Matthieu,
> in hci_h4.c, the h4 stack checks the len of the packet given in the header
> with h4_check_data_len.
> in btuart_cs.c, it doesn't. This could lead to skb_over_panic if the read len is wrong.
>
> I think it could be great if all drivers using h4 could use the same h4
> stack.
this would be great, but unfortunately nobody has done this. Feel free
to send in a patch to make this happen.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-04-13 16:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-13 16:02 [Bluez-devel] duplication of h4 protocol broken in btuart_cs Matthieu CASTET
2006-04-13 16:18 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).