diff options
author | Iain Holmes <iain@src.gnome.org> | 2001-01-13 04:40:09 +0800 |
---|---|---|
committer | Iain Holmes <iain@src.gnome.org> | 2001-01-13 04:40:09 +0800 |
commit | 9c6f86a43dd17e08ea6ec275a5bbf52ace9d879b (patch) | |
tree | a8d45a50238c01610511f961ad69723b16a396cb /executive-summary/component | |
parent | b2438035651345b0f2e85c7107c97cab494c0c11 (diff) | |
download | gsoc2013-evolution-9c6f86a43dd17e08ea6ec275a5bbf52ace9d879b.tar.gz 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.c | 3 |
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; |