Re: [PATCH wayland] connection: Clear correct args when clearing fds to -1

2018-01-22 Thread Daniel Stone
On 22 January 2018 at 08:07, Pekka Paalanen wrote: > On Fri, 19 Jan 2018 15:20:31 -0600 > Derek Foreman wrote: >> commit 52609ddf79a96fee0465006e2c6339a3a5d23a87 was intended to >> set fds to -1 in the arg list, however it failed to account for >> version information at the start of signatures. >

Re: [PATCH wayland] connection: Clear correct args when clearing fds to -1

2018-01-22 Thread Pekka Paalanen
On Fri, 19 Jan 2018 15:20:31 -0600 Derek Foreman wrote: > commit 52609ddf79a96fee0465006e2c6339a3a5d23a87 was intended to > set fds to -1 in the arg list, however it failed to account for > version information at the start of signatures. Heh, yeah, I too was completely baffled why that commit wo

[PATCH wayland] connection: Clear correct args when clearing fds to -1

2018-01-19 Thread Derek Foreman
commit 52609ddf79a96fee0465006e2c6339a3a5d23a87 was intended to set fds to -1 in the arg list, however it failed to account for version information at the start of signatures. Most noticably, this broke mesa's create_prime_buffer by setting width to -1 instead of the fd, as the width was the argum