This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Mailutils".

http://git.savannah.gnu.org/cgit/mailutils.git/commit/?id=735a362267d81a625fe2ddf31a8ce617e6bfacf5

The branch, master has been updated
       via  735a362267d81a625fe2ddf31a8ce617e6bfacf5 (commit)
      from  e1f5e01f24e9b102f0f806b3af9cb47a7f4daca7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 735a362267d81a625fe2ddf31a8ce617e6bfacf5
Author: Sergey Poznyakoff <g...@gnu.org.ua>
Date:   Sat Mar 13 01:13:01 2010 +0200

    Bugfix.
    
    * mailbox/cfg_parser.y (mu_cfg_tree_union): Fix coredump
    on b->nodes==NULL.

-----------------------------------------------------------------------

Summary of changes:
 mailbox/cfg_parser.y |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/mailbox/cfg_parser.y b/mailbox/cfg_parser.y
index bb32d46..6cbf4af 100644
--- a/mailbox/cfg_parser.y
+++ b/mailbox/cfg_parser.y
@@ -506,8 +506,11 @@ mu_cfg_tree_union (mu_cfg_tree_t **pa, mu_cfg_tree_t **pb)
     return rc;
     
   /* Link node lists */
-  mu_list_append_list (a->nodes, b->nodes);
-  mu_list_destroy (&b->nodes);
+  if (b->nodes)
+    {
+      mu_list_append_list (a->nodes, b->nodes);
+      mu_list_destroy (&b->nodes);
+    }
   
   mu_debug_destroy (&b->debug, mu_debug_get_owner (b->debug));
   free (b);


hooks/post-receive
-- 
GNU Mailutils


_______________________________________________
Commit-mailutils mailing list
Commit-mailutils@gnu.org
http://lists.gnu.org/mailman/listinfo/commit-mailutils

Reply via email to