Avoid a possible array overrun. (Coverity)
2006-04-16 Matthias Clasen <mclasen@redhat.com> * gdk/x11/gdkwindow-x11.c (set_initial_hints ): Avoid a possible array overrun. (Coverity)
This commit is contained in:
committed by
Matthias Clasen
parent
d121da8531
commit
dfc29f83ae
@ -1250,7 +1250,7 @@ set_initial_hints (GdkWindow *window)
|
||||
Window xwindow = GDK_WINDOW_XID (window);
|
||||
GdkWindowObject *private;
|
||||
GdkToplevelX11 *toplevel;
|
||||
Atom atoms[7];
|
||||
Atom atoms[9];
|
||||
gint i;
|
||||
|
||||
private = (GdkWindowObject*) window;
|
||||
|
||||
Reference in New Issue
Block a user