aboutsummaryrefslogtreecommitdiffstats
path: root/executive-summary/component
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-01-13 04:40:09 +0800
committerIain Holmes <iain@src.gnome.org>2001-01-13 04:40:09 +0800
commit9c6f86a43dd17e08ea6ec275a5bbf52ace9d879b (patch)
treea8d45a50238c01610511f961ad69723b16a396cb /executive-summary/component
parentb2438035651345b0f2e85c7107c97cab494c0c11 (diff)
downloadgsoc2013-evolution-9c6f86a43dd17e08ea6ec275a5bbf52ace9d879b.tar
gsoc2013-evolution-9c6f86a43dd17e08ea6ec275a5bbf52ace9d879b.tar.gz
gsoc2013-evolution-9c6f86a43dd17e08ea6ec275a5bbf52ace9d879b.tar.bz2
gsoc2013-evolution-9c6f86a43dd17e08ea6ec275a5bbf52ace9d879b.tar.lz
gsoc2013-evolution-9c6f86a43dd17e08ea6ec275a5bbf52ace9d879b.tar.xz
gsoc2013-evolution-9c6f86a43dd17e08ea6ec275a5bbf52ace9d879b.tar.zst
gsoc2013-evolution-9c6f86a43dd17e08ea6ec275a5bbf52ace9d879b.zip
Fixed NULL dereference
svn path=/trunk/; revision=7455
Diffstat (limited to 'executive-summary/component')
-rw-r--r--executive-summary/component/e-summary-util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/executive-summary/component/e-summary-util.c b/executive-summary/component/e-summary-util.c
index c19c829d57..3bd954ce12 100644
--- a/executive-summary/component/e-summary-util.c
+++ b/executive-summary/component/e-summary-util.c
@@ -102,6 +102,9 @@ e_summary_rm_dir (const char *path)
g_warning ("Opening: %s", path);
base = opendir (path);
+ if (base == NULL)
+ return;
+
contents = readdir (base);
while (contents != NULL) {
char *fullpath;