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:
committed by
Christian Persch
parent
17d37d512c
commit
82568d02e0
@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user