Re: [PATCH wayland v2] connection: Error out if file descriptor was not received

2013-11-21 Thread Kristian Høgsberg
On Sat, Nov 16, 2013 at 02:31:03PM +0100, Lubomir Rintel wrote: > Otherwise the tail of fds_in buffer would just shift beyond the beginning. > That confuses the actual request handler and results in a crash further on > due to corrupted tail. > > Signed-off-by: Lubomir Rintel > --- > Changes sinc

[PATCH wayland v2] connection: Error out if file descriptor was not received

2013-11-16 Thread Lubomir Rintel
Otherwise the tail of fds_in buffer would just shift beyond the beginning. That confuses the actual request handler and results in a crash further on due to corrupted tail. Signed-off-by: Lubomir Rintel --- Changes since v1: Erroring out early instead of calling the request handler with i