#7 uninitialised data in gtkplotgdk.c

closed-invalid
nobody
None
5
2002-06-27
2001-07-26
Damian Gilmurray
No

The following is a patch against gtk+extra-0.99.15
which fixes an uninitialised data bug in
gtk_plot_gdk_init():

*** gtkplotgdk.c.orig Tue Jun 26 15:09:37 2001
--- gtkplotgdk.c Tue Jul 24 17:40:11 2001
***************
*** 144,149 ****
--- 144,150 ----
GdkWindowAttr attributes;
gint attributes_mask;

+ memset((void *)&attributes, 0, sizeof(attributes));
attributes.window_type = GDK_WINDOW_CHILD;
attributes.title = NULL;
attributes.wclass = GDK_INPUT_OUTPUT;

Discussion

  • Linas Vepstas
    Linas Vepstas
    2002-03-05

    Logged In: YES
    user_id=11545

    This patch needs to be applied (as of 4 march 2002,
    its not yet in CVS)

     
    • status: open --> open-invalid
     
    • status: open-invalid --> closed-invalid