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:
parent
d121da8531
commit
dfc29f83ae
3 changed files with 13 additions and 1 deletions
|
|
@ -1,5 +1,11 @@
|
|||
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)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,11 @@
|
|||
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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue