#7 uninitialised data in gtkplotgdk.c

closed-invalid
nobody
None
5
2002-06-27
2001-07-26
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)

     
  • Adrian E. Feiguin

    • status: open --> open-invalid
     
  • Adrian E. Feiguin

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

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks