aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/mailing-list-actions/ChangeLog7
-rw-r--r--plugins/mailing-list-actions/mailing-list-actions.c3
2 files changed, 10 insertions, 0 deletions
diff --git a/plugins/mailing-list-actions/ChangeLog b/plugins/mailing-list-actions/ChangeLog
index 994c8e5419..8d1fee69e3 100644
--- a/plugins/mailing-list-actions/ChangeLog
+++ b/plugins/mailing-list-actions/ChangeLog
@@ -1,3 +1,10 @@
+2005-08-08 Not Zed <NotZed@Ximian.com>
+
+ ** See bug #312621.
+
+ * mailing-list-actions.c (emla_list_action_do): noop if msg =
+ NULL.
+
2005-08-02 Not Zed <NotZed@Ximian.com>
* mailing-list-actions.c (emla_list_action_do): allocate enough
diff --git a/plugins/mailing-list-actions/mailing-list-actions.c b/plugins/mailing-list-actions/mailing-list-actions.c
index 9bed95a76d..2746401bb7 100644
--- a/plugins/mailing-list-actions/mailing-list-actions.c
+++ b/plugins/mailing-list-actions/mailing-list-actions.c
@@ -104,6 +104,9 @@ void emla_list_action_do (CamelFolder *folder, const char *uid, CamelMimeMessage
int send_message_response;
EAccount *account;
+ if (msg == NULL)
+ return;
+
for (t = 0; t < emla_n_action_headers; t++) {
if (emla_action_headers[t].action == action &&
(header = camel_medium_get_header (CAMEL_MEDIUM (msg), emla_action_headers[t].header)) != NULL)