offending error: ==2869== Conditional jump or move depends on uninitialised value(s) ==2869== at 0x804DB64: repaint (compositor.c:914) ==2869== by 0x804DC29: idle_repaint (compositor.c:928) ==2869== by 0x4D9E28E: dispatch_idle_sources (event-loop.c:432) ==2869== by 0x4D9E2E3: wl_event_loop_dispatch (event-loop.c:444) ==2869== by 0x4D9CC97: wl_display_run (wayland-server.c:734) ==2869== by 0x8050286: main (compositor.c:2112)
Signed-off-by: Tiago Vignatti <[email protected]> --- compositor/xserver-launcher.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/compositor/xserver-launcher.c b/compositor/xserver-launcher.c index b01619b..6968083 100644 --- a/compositor/xserver-launcher.c +++ b/compositor/xserver-launcher.c @@ -477,7 +477,7 @@ static int wlsc_xserver_handle_event(int listen_fd, uint32_t mask, void *data) { struct wlsc_xserver *mxs = data; - char display[8], s[8], logfile[32]; + char display[8], s[8] = {}, logfile[32]; int sv[2], flags; if (socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0, sv) < 0) { -- 1.7.2.2 _______________________________________________ wayland-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-devel
