From: Phil Pennock Date: Wed, 31 Jul 2013 22:50:04 +0000 (-0400) Subject: Fix segfault in stdio with non-SMTP MIME ACL. X-Git-Tag: exim-4_82_RC1~11 X-Git-Url: https://git.exim.org/users/heiko/exim.git/commitdiff_plain/f4c1088bb7af23e4b613672230868056d46239a5?ds=inline;hp=f4c1088bb7af23e4b613672230868056d46239a5 Fix segfault in stdio with non-SMTP MIME ACL. When injecting a message locally in non-SMTP mode, and with MIME ACLs configured, if the ACL rejected the message, Exim would try to `fprintf(NULL, "%s", the_message)`. This fixes that. Most ACLs are plumbed in SMTP-only and looking through the others in receive.c, they all appear to be safely guarded, so it was just this one that slipped through. Crash report and assistance tracking down the root cause from Warren Baker. ---