Hi,

Using master I found a crash when doing geeqie ~/photo.JPG .

I haven't had time to investigate properly (where the crash was added?
in the Debian package 1:1.0-10 this is not happening).

Find attached a possible fix.

Regars,

-- 
Carles Pina i Estany
        Web: http://pinux.info || Blog: http://pintant.cat
>From 70e1de0f18989c735844b75ef4a808023fc8e950 Mon Sep 17 00:00:00 2001
From: Carles Pina i Estany <car...@pina.cat>
Date: Tue, 19 Jun 2012 00:19:04 +0100
Subject: [PATCH] Fixes a crash when executing geeqie ~/photo.JPG

---
 src/filedata.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/filedata.c b/src/filedata.c
index b7f260d..16c97b7 100644
--- a/src/filedata.c
+++ b/src/filedata.c
@@ -952,7 +952,7 @@ static gboolean filelist_read_real(const gchar *dir_path, GList **files, GList *
 		const gchar *name = dir->d_name;
 		gchar *filepath;
 
-		if (!options->file_filter.show_hidden_files && is_hidden_file(name))
+		if (options && !options->file_filter.show_hidden_files && is_hidden_file(name))
 			continue;
 
 		filepath = g_build_filename(pathl, name, NULL);
-- 
1.7.9.1

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel

Reply via email to