xserver/randr
Giuseppe Bilotta bb766ef112 randr: ProcRRGetOutputInfo: initialize memory
Running Xephyr under valgrind reveals that we're sending some
uninitialized memory over the wire (particularly, the leftover padding
that comes from rounding extraLen to the next 32-bit multiple).

Solve by calloc()ing the memory instead of malloc()ing (the alternative
would be to memset just the padding, but I'm not sure it's more
convenient.)

Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
2017-11-06 16:54:22 -05:00
..
Makefile.am
meson.build
randr.c
randrstr.h
rrcrtc.c
rrdispatch.c
rrinfo.c
rrmode.c
rrmonitor.c
rroutput.c
rrpointer.c
rrproperty.c
rrprovider.c
rrproviderproperty.c
rrscreen.c
rrsdispatch.c
rrtransform.c
rrtransform.h
rrxinerama.c