file-roller r2643 - in branches/gnome-2-24: . src



Author: paobac
Date: Wed Apr  1 10:02:28 2009
New Revision: 2643
URL: http://svn.gnome.org/viewvc/file-roller?rev=2643&view=rev

Log:
2009-04-01  Paolo Bacchilega  <paobac svn gnome org>

	* src/fr-command-7z.c: 
	
	Fixed bug #571273 â crash in Archive Manager: Opening an 
	archive (ISO)
	Patch by Tom Parker.


Modified:
   branches/gnome-2-24/ChangeLog
   branches/gnome-2-24/src/fr-command-7z.c

Modified: branches/gnome-2-24/src/fr-command-7z.c
==============================================================================
--- branches/gnome-2-24/src/fr-command-7z.c	(original)
+++ branches/gnome-2-24/src/fr-command-7z.c	Wed Apr  1 10:02:28 2009
@@ -166,7 +166,8 @@
 		char **modified_fields;
 
 		modified_fields = g_strsplit (fields[1], " ", 2);
-		fdata->modified = mktime_from_string (modified_fields[0], modified_fields[1]);
+		if (modified_fields[0] != NULL)
+			fdata->modified = mktime_from_string (modified_fields[0], modified_fields[1]);
 		g_strfreev (modified_fields);
 	}
 	else if (strcmp (fields[0], "Encrypted") == 0) {



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