Re: [PATCH wayland] connection: Handle empty signature and signature with just a version.

2013-07-12 Thread Kristian Høgsberg
On Wed, Jul 10, 2013 at 11:40:56PM +0200, Mariusz Ceier wrote: > Functions like wl_argument_from_va_list expect from get_next_argument, > to initialize details->type but when the signature is empty or contains > only version (like in desktop-shell-protocol.c in weston) it is left > uninitialized. >

Re: [PATCH wayland] connection: Handle empty signature and signature with just a version.

2013-07-10 Thread Jason Ekstrand
We talked about this on IRC. looks good to me. On Jul 10, 2013 4:42 PM, "Mariusz Ceier" wrote: > Functions like wl_argument_from_va_list expect from get_next_argument, > to initialize details->type but when the signature is empty or contains > only version (like in desktop-shell-protocol.c in wes

[PATCH wayland] connection: Handle empty signature and signature with just a version.

2013-07-10 Thread Mariusz Ceier
Functions like wl_argument_from_va_list expect from get_next_argument, to initialize details->type but when the signature is empty or contains only version (like in desktop-shell-protocol.c in weston) it is left uninitialized. This patch fixes it, by initializing details->type with '\0' value, sig