glib bindings crash with many out params

Colin Walters walters at verbum.org
Mon May 2 13:25:10 PDT 2005


On Mon, 2005-04-25 at 10:46 +1000, Jonathan Matthew wrote:
> On Mon, Apr 25, 2005 at 10:20:34AM +1000, Jonathan Matthew wrote:
> 
> > The trivial fix is to make the array big enough before adding anything to
> > it.  Patch attached.
> 
> How about I try that again, only not backwards this time..

Hey Jonathan, thanks for the patch.  I have a major patch to the GLib
bindings outstanding which changed this code, which is why I hadn't
replied until now.  You're absolutely correct about the bug, and I've
merged an equivalent fix into my pending patch which I'll send to the
list shortly.

Thanks!



-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/dbus/attachments/20050502/cafc73a0/attachment.pgp


More information about the dbus mailing list