Re: I've found a bug in sdp_cstate_get () function.

이주영 <[email protected]>
Newsgroups gmane.linux.bluez.devel
Message-ID <1f1e24ea31c496efd62db585de7b01cf@i61823>
Hi,
 
The version is latest bluez-utils-3.28.
 
Thanks.
 
Regards
jooyoung.
 
-----Original Message-----
From: "Marcel Holtmann"&lt;[email protected]&gt; 
To: "이주영"&lt;[email protected]&gt;; "BlueZ development"&lt;[email protected]&gt;
Cc: 
Sent: 08-03-20(목) 01:47:11
Subject: Re: [Bluez-devel] I've found a bug in sdp_cstate_get() function.
Hi,
> I've found a bug in sdp_cstate_get() function.
> (bluez-utils/dist/sdpd/request.c)
> -> memcpy(cstate, (sdp_cont_state_t *)pdata, 
> sizeof(sdp_cont_state_t));
> When running this code, "hcid daemon crash" occurred.(memory 
> alignment error)
>
> I think there's a bug with (sdp_cont_state_t *)pdata in 
> sdp_cstate_get() function.
> I fixed this code.
> -> memcpy(cstate, pdata, sizeof(sdp_cont_state_t));
> Now, hcid daemon doesn't die.
>
which version? This should have been fixed by now. Either in the 
latest bluez-utils-3.28 or the CVS.
Regards
Marcel
 
 
tkakel님의 블로그
안녕하세요.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.