* [Bluez-devel] [PATCH]Service Search Request bug
@ 2008-05-09 19:52 Claudio Takahasi
2008-05-10 1:11 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: Claudio Takahasi @ 2008-05-09 19:52 UTC (permalink / raw)
To: BlueZ development
[-- Attachment #1: Type: text/plain, Size: 409 bytes --]
Hi Marcel,
Please review the attached patch.
I found this error when I was using OBEX Data Server. There is a
"short" description here:
http://pastebin.com/m7b65cb6e
The same bug was reported in the ubuntu launchpad:
https://bugs.launchpad.net/ubuntu/+source/obex-data-server/+bug/211252
Regards,
Claudio.
--
--
Claudio Takahasi
Instituto Nokia de Tecnologia
Recife - Pernambuco - Brasil
+55 81 30879999
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: sdpd01.patch --]
[-- Type: text/x-diff; name=sdpd01.patch, Size: 715 bytes --]
Index: sdpd/request.c
===================================================================
RCS file: /cvsroot/bluez/utils/sdpd/request.c,v
retrieving revision 1.22
diff -u -r1.22 request.c
--- sdpd/request.c 5 Mar 2008 18:10:39 -0000 1.22
+++ sdpd/request.c 9 May 2008 19:36:58 -0000
@@ -238,13 +238,12 @@
{
int status = 0, i, plen, mlen, mtu, scanned;
sdp_list_t *pattern = NULL;
- uint16_t expected, actual;
+ uint16_t expected, actual, rsp_count = 0;
uint8_t dtd;
sdp_cont_state_t *cstate = NULL;
uint8_t *pCacheBuffer = NULL;
int handleSize = 0;
uint32_t cStateId = 0;
- short rsp_count = 0;
short *pTotalRecordCount, *pCurrentRecordCount;
uint8_t *pdata = req->buf + sizeof(sdp_pdu_hdr_t);
[-- Attachment #3: Type: text/plain, Size: 320 bytes --]
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
[-- Attachment #4: Type: text/plain, Size: 164 bytes --]
_______________________________________________
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] [PATCH]Service Search Request bug
2008-05-09 19:52 [Bluez-devel] [PATCH]Service Search Request bug Claudio Takahasi
@ 2008-05-10 1:11 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2008-05-10 1:11 UTC (permalink / raw)
To: BlueZ development
Hi Claudio,
> Please review the attached patch.
>
> I found this error when I was using OBEX Data Server. There is a
> "short" description here:
> http://pastebin.com/m7b65cb6e
patch looks good to me and I committed it. Thanks.
Regards
Marcel
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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:[~2008-05-10 1:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-09 19:52 [Bluez-devel] [PATCH]Service Search Request bug Claudio Takahasi
2008-05-10 1:11 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox