Fir the patch from bug #504886 not to read unitialised memory.

2007-12-27  Christian Persch  <chpe@gnome.org>

	* gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from 
	bug #504886 not to read unitialised memory.

svn path=/trunk/; revision=19247
This commit is contained in:
Christian Persch 2007-12-27 12:09:06 +00:00 committed by Christian Persch
parent 17d37d512c
commit 82568d02e0
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-12-27 Christian Persch <chpe@gnome.org>
* gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
bug #504886 not to read unitialised memory.
2007-12-26 Xan Lopez <xan@gnome.org>
* gtk/gtkstatusbar.c (has_extra_children): take into account the

View File

@ -684,7 +684,7 @@ init_randr12 (GdkScreen *screen)
return FALSE;
monitors = g_array_sized_new (FALSE, TRUE, sizeof (GdkX11Monitor),
monitors->len);
resources->noutput);
for (i = 0; i < resources->noutput; ++i)
{