[PATCH] was Re: Signature length limit

John (J5) Palmieri johnp at redhat.com
Tue Oct 18 11:34:08 PDT 2005


Here is a simple patch which ups the limit to 65535 (two bytes).  Is
this too big?  It passes make check.  I looked through the code to see
if we actually restrict the length to one byte in the header but it
looks like we are just appending a dbus string so upping the max value
should just work.  Let me know if I am wrong on this and other code
needs to be touched.  If approved I will hold off committing this until
I can commit all of the ABI changes.

On Mon, 2005-10-17 at 12:03 +0200, Richard Hult wrote:
> Hi,
> 
> I ran across the message signature length limit a while ago, when
> passing an array with some nested structs in it. The length is 255
> bytes, which seems like it's a bit small. Is there any real reason for
> this or is it just an arbitrary limitation that we could bump up?
> 
> Regards,
> Richard

-- 
John (J5) Palmieri <johnp at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbus-sig-length.patch
Type: text/x-patch
Size: 658 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20051018/a7aeb5e2/dbus-sig-length.bin


More information about the dbus mailing list