[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: CVS update: s_toplevel.c



  User: ahvezda 
  Date: 06/07/24 20:45:32

  Modified:    .        s_toplevel.c
  Log:
  Fix for (Bug#1528080), gschem segfault because of uninitialized prev
  
  toplevel variable
  
  
  
  
  Revision  Changes    Path
  1.3       +1 -0      eda/geda/gaf/libgeda/src/s_toplevel.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: s_toplevel.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/libgeda/src/s_toplevel.c,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- s_toplevel.c	24 Jul 2006 03:29:21 -0000	1.2
  +++ s_toplevel.c	25 Jul 2006 00:45:32 -0000	1.3
  @@ -60,6 +60,7 @@
     toplevel_head = (TOPLEVEL*)g_new (TOPLEVEL, 1);
     toplevel_head->wid = -1;
     toplevel_head->next = NULL;  
  +  toplevel_head->prev = NULL;
   }
   
   /*! \todo Finish function documentation!!!
  
  
  


_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs