[PATCH:macros] Update check for manpage section numbers to not rely on Solaris version

2017-11-04 Thread Alan Coopersmith
Check for a specific file instead of a specific set of versions from uname, to cope with manpage section alignment coming to 11.4 instead of 12.0. Signed-off-by: Alan Coopersmith --- xorg-macros.m4.in | 31 +++ 1 file changed, 19

[PATCH xserver 1/5] xkb: initialize tsyms

2017-11-04 Thread Giuseppe Bilotta
This fixes some “Conditional jump depends on uninitialized value(s)” errors spotted by valgrind. Signed-off-by: Giuseppe Bilotta --- xkb/xkbUtils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xkb/xkbUtils.c b/xkb/xkbUtils.c index

[PATCH xserver 5/5] glx: free fbconfigs on destroy

2017-11-04 Thread Giuseppe Bilotta
Signed-off-by: Giuseppe Bilotta --- glx/glxscreens.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/glx/glxscreens.c b/glx/glxscreens.c index 99bf6dd27..73444152a 100644 --- a/glx/glxscreens.c +++ b/glx/glxscreens.c @@ -423,8 +423,15 @@

[PATCH xserver 2/5] Xephyr: free driverPrivates on Fini

2017-11-04 Thread Giuseppe Bilotta
--- hw/kdrive/ephyr/ephyr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/kdrive/ephyr/ephyr.c b/hw/kdrive/ephyr/ephyr.c index d064f5154..acf389c1d 100644 --- a/hw/kdrive/ephyr/ephyr.c +++ b/hw/kdrive/ephyr/ephyr.c @@ -1303,6 +1303,7 @@ MouseDisable(KdPointerInfo * pi) static void

[PATCH xserver 0/5] misc valgrind cleanups

2017-11-04 Thread Giuseppe Bilotta
While playing around with Xephyr, I found out that the bring-up/tear-down cycles it goes through when repeatedly connecting single clients to a running sessions caused its memory usage to grow constantly. Running under valgrind brought to light a number of leaks and other assorted issues (such as

[PATCH xserver 3/5] randr: ProcRRGetOutputInfo: initialize memory

2017-11-04 Thread Giuseppe Bilotta
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

[PATCH xserver 4/5] randr: properly cleanup on crtc and output destroy

2017-11-04 Thread Giuseppe Bilotta
Signed-off-by: Giuseppe Bilotta --- randr/rrcrtc.c | 6 ++ randr/rroutput.c | 5 + 2 files changed, 11 insertions(+) diff --git a/randr/rrcrtc.c b/randr/rrcrtc.c index 2eb9fbdc8..90922484f 100644 --- a/randr/rrcrtc.c +++ b/randr/rrcrtc.c @@ -873,6 +873,11

[PATCH xserver] Xdmx: fix crashes caused by OpenGL applications

2017-11-04 Thread Raimonds Cicans
Signed-off-by: Raimonds Cicans --- hw/dmx/glxProxy/glxcmds.c | 38 ++ 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/hw/dmx/glxProxy/glxcmds.c b/hw/dmx/glxProxy/glxcmds.c index 330d5c4ad..871b416d3 100644 ---