2003-09-09 16:52:18

by Daryl Van Vorst

[permalink] [raw]
Subject: [Bluez-devel] FW: Patches: Qualification - SDP

This didn't make it through the first time... Trying again.

-Daryl.

-----Original Message-----
From: Daryl Van Vorst [mailto:[email protected]]
Sent: September 8, 2003 11:29 AM
To: 'Stephen Crane'
Cc: 'BlueZ Mailing List'
Subject: Patches: Qualification - SDP


Steve, All,

Attached are two versions of a patch to SDP which make it pass the mandatory
qualification tests. One patch is against version 1.4 which is available for
download. The other patch is against what _I THINK_ is in CVS (if
sourceforge's CVS was better I'd be able to give a more definitive
statement).

The changes that I've made perform some simple checks on the PDU structure
for the three different SDP queries (SS, SA, SSA), and return the
appropriate error code (Invalid Request Syntax) to the initiator. Previously
the code would return "Invalid Continuation Sate" as the error code for
certain malformed queries.

The only difference between the two patches is a change that Steve made
which fixed a bug in handling the MaximumServiceRecordCount parameter in an
SS request. One patch includes it (the patch against version 1.4) and the
other patch does not.

-Daryl.


Attachments:
patch-sdp-1.4.txt (2.53 kB)
patch-sdp-cvs.txt (2.25 kB)
Download all attachments