linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-devel] Possible bug in sdp.c
@ 2006-02-14 11:02 Pedro Monjo Florit
  2006-02-14 12:17 ` [Bluez-devel] " Pedro Monjo Florit
  0 siblings, 1 reply; 3+ messages in thread
From: Pedro Monjo Florit @ 2006-02-14 11:02 UTC (permalink / raw)
  To: bluez-devel

Hi,

I have seen what *may* be a possible bug in sdp.c. If there is an error 
in a SDP PDU sent by a bluetooth device, it seems that the SDP parsing 
code in sdp.c enters an infinite loop filling syslog with the following 
message: "Unknown sequence type, aborting".

I have been tracking down the cause and I have found where the problem 
might be. The function sdp_extract_seqtype() may return 0 in case of 
unrecognized data, but this case does not seem to be handled in the 
calls to this function (for example, in sdp_service_search_attr_req() or 
in sdp_extract_pdu()).

Could anybody tell me whether am I right or wrong? Has anybody seen a 
similar behaviour?

Regards,

Pedro


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-02-15  8:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-14 11:02 [Bluez-devel] Possible bug in sdp.c Pedro Monjo Florit
2006-02-14 12:17 ` [Bluez-devel] " Pedro Monjo Florit
2006-02-15  8:03   ` 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).