]> source.dussan.org Git - rspamd.git/commitdiff
[CritFix] Fix crash in milter errors handler
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 18 Nov 2017 13:27:46 +0000 (13:27 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 18 Nov 2017 13:27:46 +0000 (13:27 +0000)
src/libserver/milter.c

index 3ad567b028c0928ce80a270825f8874826168b8f..56315102fcee4b8b02ddeec3f5f70fb9bed29cfe 100644 (file)
@@ -959,6 +959,8 @@ rspamd_milter_handle_session (struct rspamd_milter_session *session,
 
                        return rspamd_milter_consume_input (session, priv);
                }
+
+               break;
        case RSPAMD_MILTER_WRITE_REPLY:
        case RSPAMD_MILTER_WRITE_AND_DIE:
                if (priv->out_chain == NULL) {