2007-01-23 15:42:03

by Stephen Crane

[permalink] [raw]
Subject: [Bluez-devel] marshalling SDP_URL_STR

_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel


Attachments:
(No filename) (398.00 B)
sdp.c.patch (716.00 B)
(No filename) (347.00 B)
(No filename) (164.00 B)
Download all attachments

2007-01-31 11:25:47

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] marshalling SDP_URL_STR

Hi Steve,

> It looks as if these types aren't being marshalled properly in the SDP
> library. (They should be treated identically to SDP_TEXT_STR.)
>
> The current code causes 1 byte too many to be allocated to them in the
> marshalled form which results in garbage when it is read out of the
> buffer.
>
> The attached patch treats them the same as SDP_TEXT_STR, aside from the
> DTD of course.

are you sure that this doesn't break anything?

Regards

Marcel



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel