SF.net SVN: geany: [2458] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Tue Apr 8 15:22:17 UTC 2008


Revision: 2458
          http://geany.svn.sourceforge.net/geany/?rev=2458&view=rev
Author:   eht16
Date:     2008-04-08 08:21:54 -0700 (Tue, 08 Apr 2008)

Log Message:
-----------
Fix possible crash by an uninitialized variable.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/symbols.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2008-04-08 15:10:05 UTC (rev 2457)
+++ trunk/ChangeLog	2008-04-08 15:21:54 UTC (rev 2458)
@@ -10,6 +10,8 @@
    include the scripts directory in the distribution.
  * src/win32.c:
    Fix compiler warnings by correct type casting.
+ * src/symbols.c:
+   Fix possible crash by an uninitialized variable.
 
 
 2008-04-06  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>

Modified: trunk/src/symbols.c
===================================================================
--- trunk/src/symbols.c	2008-04-08 15:10:05 UTC (rev 2457)
+++ trunk/src/symbols.c	2008-04-08 15:21:54 UTC (rev 2458)
@@ -324,7 +324,7 @@
 static TMTag *find_workspace_tag(const gchar *tag_name, gint type)
 {
 	guint j;
-	const GPtrArray *work_objects;
+	const GPtrArray *work_objects = NULL;
 
 	if (app->tm_workspace != NULL)
 		work_objects = app->tm_workspace->work_objects;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list