NUL characters in messages

Alain Williams addw at phcomp.co.uk
Fri Sep 6 16:35:25 EDT 2002


On Fri, Sep 06, 2002 at 01:18:11PM -0700, Chris Stromsoe wrote:
> I need to allow NUL characters to appear in incoming messages.  Using grep

Not a good idea, I suspect that NUL chars would get trashed by all sorts
of intermediate MTAs. Encode with mime.

> on the source tree, it looks like lmtp_engine.c and message.c both contain
> code to deal with embedded NULs.  Is it safe to modify these areas to
> remove all the special case handling for IMAP_MESSAGE_CONTAINSNUL?  Are
> there assumption in other parts of the source about NULs not being in
> messages (use of strlen() for example)?
> 
> 
> -Chris
> 

-- 
Alain Williams

#include <std_disclaimer.h>




More information about the Info-cyrus mailing list