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 | |
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
-rw-r--r-- | executive-summary/ChangeLog | 18 | ||||
-rw-r--r-- | executive-summary/component/e-summary-util.c | 3 |
2 files changed, 21 insertions, 0 deletions
diff --git a/executive-summary/ChangeLog b/executive-summary/ChangeLog index acae529466..26b113f03a 100644 --- a/executive-summary/ChangeLog +++ b/executive-summary/ChangeLog @@ -1,3 +1,21 @@ +2001-01-12 Iain Holmes <iain@ximian.com> + + * component/e-summary-util.c (e_summary_rm_dir): If base == NULL return; + Closes bug #37077 + +2000-12-30 Iain Holmes <iain@helixcode.com> + + * component/e-summary.c (e_summary_rebuild_page): The number of columns + is no longer hardcoded. + + * component/e-summary-prefs.[ch]: Add a columns member, and all the + necessary code to support it. + + * component/e-summary-callbacks.c: Set the columns member. + + * test-service/rdf-summary.c: Add a "Show title" button for turning off + the title if it is taking up too much room. + 2000-12-29 Iain Holmes <iain@helixcode.com> * test-service/rdf-summary.c (view_destroyed): Cancel all pending 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; |