Connection dropped with extended ascii strings

Daniel P. Berrange dan at berrange.com
Wed Dec 10 05:19:32 PST 2008


On Wed, Dec 10, 2008 at 01:43:56PM +0100, Per Inge Mathisen wrote:
> Hello list,
> 
> I am trying to figure out a strange problem in some code using dbus
> (version 1.2.4). If I send certain extended ASCII characters, then after
> a short but random interval, my connection to dbus is dropped. None of
> the function calls I use return an error on my side.

DBus strings are required to be valid UTF-8 byte sequences & the DBus
code validates this requirement. So my guess would be that you're
sending invalid bytes


Daniel
-- 
|: http://berrange.com/     -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://freshmeat.net/~danielpb/    -o-   http://gtk-vnc.sourceforge.net :|
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/dbus/attachments/20081210/28a9de6b/attachment.pgp 


More information about the dbus mailing list