Comment 80 for bug 211252

Revision history for this message
Daniel James (daniel-netbreeze) wrote : Re: Cannot recieve files using bluetooth

It may introduce other bugs if a later version of the software is installed, however, the details of why this bug occurs are included below - a direct quote from the maintainer. The diff for version 1.23 of request.c should be easily applied to the version that we have in our package - this package *should* be patched. I assume the changes would amount to one keyword.

-------
Service Search Request problem is fixed: see BlueZ cvs
/cvsroot/bluez/utils/sdpd/request.c@1.23

Basically this problem occurs if MaximumServiceRecordCount field(in the service search request) is > 32767. There was a wrong comparison between short and unsigned short values.

 > ACL data: handle 1 flags 0x02 dlen 17
    L2CAP(d): cid 0x0040 len 13 [psm 1]
        SDP SS Req: tid 0x1 len 0x8
          pat uuid-16 0x1105 (OBEXObjPush)
          max 65535
          cont 00