Commit dfc29f83 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen
Browse files

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)
parent d121da85
2006-04-16 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkwindow-x11.c (set_initial_hints ): Avoid a
possible array overrun. (Coverity)
* gtk/gtkcalendar.c (gtk_calendar_key_press): Avoid a
possible array overrun. (Coverity)
* gtk/gtktextbuffer.c (_gtk_text_buffer_remove_all_tags):
Avoid a NULL dereference. (Coverity)
......
2006-04-16 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkwindow-x11.c (set_initial_hints ): Avoid a
possible array overrun. (Coverity)
* gtk/gtkcalendar.c (gtk_calendar_key_press): Avoid a
possible array overrun. (Coverity)
* gtk/gtktextbuffer.c (_gtk_text_buffer_remove_all_tags):
Avoid a NULL dereference. (Coverity)
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment