xserver-multidpi/randr
Ander Conselvan de Oliveira 87fbef9157 ProcRRCreateMode: fix use of uninitialised bytes valgrind error.
==543== Syscall param writev(vector[...]) points to uninitialised byte(s)
==543==    at 0x4AB7154: writev (writev.c:51)
==543==    by 0x8935B: _XSERVTransWritev (Xtrans.c:912)
==543==    by 0x6C55F: FlushClient (io.c:924)
==543==    by 0x6D013: FlushAllOutput (io.c:668)
==543==    by 0x27A83: Dispatch (dispatch.c:453)
==543==    by 0x205B7: main (main.c:291)
==543==  Address 0x556dc8c is 12 bytes inside a block of size 4,096 alloc'd
==543==    at 0x48334A4: calloc (vg_replace_malloc.c:467)
==543==    by 0x6CE37: WriteToClient (io.c:1065)
==543==    by 0x223A7: ProcEstablishConnection (dispatch.c:3685)
==543==    by 0x27B7B: Dispatch (dispatch.c:432)
==543==    by 0x205B7: main (main.c:291)
==543==  Uninitialised value was created by a stack allocation
==543==    at 0xA3350: ProcRRCreateMode (rrmode.c:289)

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Oliver McFadden <oliver.mcfadden@nokia.com>
Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
2011-02-14 09:12:59 +10:00
..
Makefile.am randr: Add per-crtc pixmaps 2010-12-06 20:08:48 -08:00
mirrcrtc.c Separate out screen size and screen pixmap sizes in RRScreenSizeSet 2010-12-06 20:09:04 -08:00
randr.c randr: Add per-crtc pixmaps 2010-12-06 20:08:48 -08:00
randrstr.h Separate out screen size and screen pixmap sizes in RRScreenSizeSet 2010-12-06 20:09:04 -08:00
rrcrtc.c randr: handle RRSetCrtcConfigs request with zero configs 2010-12-06 20:09:11 -08:00
rrdispatch.c ProcRRQueryVersion: fix use of uninitialised bytes valgrind error. 2011-02-14 09:12:59 +10:00
rrinfo.c randr: Add per-crtc pixmaps 2010-12-06 20:08:48 -08:00
rrmode.c ProcRRCreateMode: fix use of uninitialised bytes valgrind error. 2011-02-14 09:12:59 +10:00
rroutput.c randr: set error numbers of resource types in RRExtenstionInit() (V2) 2010-09-29 14:41:53 -07:00
rrpixmap.c randr: Add per-crtc pixmaps 2010-12-06 20:08:48 -08:00
rrpointer.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
rrproperty.c Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
rrscreen.c randr: check for virtual size limits before set crtc 2010-12-20 00:46:32 -08:00
rrsdispatch.c randr: Hook up the new RandR 1.4 functionality 2010-12-06 20:08:52 -08:00
rrsprite.c randr: Add sprite position transforms 2010-12-06 20:08:40 -08:00
rrtransform.c randr: Add sprite position transforms 2010-12-06 20:08:40 -08:00
rrtransform.h randr: Add sprite position transforms 2010-12-06 20:08:40 -08:00
rrxinerama.c Move each screen's root-window pointer into ScreenRec. 2010-06-03 14:03:23 -07:00