Message contains NUL characters ...

John Fawcett johnml at michaweb.net
Tue May 10 16:33:43 EDT 2005


Douglas K. Fischer wrote:
> John Fawcett wrote:
> 
> | Greg A. Woods wrote:
> |
> |> Stripping NUL bytes modifies the message and that's a _REALLY
> |> BAD_ thing to do.  It is infinitely better to reject than to
> |> arbitrarily modify the message in a destructive manner.
> |
> |
> | Maybe I misunderstood earlier posts which indicated this was ok.
> 
> One area in which such modifications would be very detrimental would
> be in encrypted/signed/hashed messages. Making such modifications to
> the body would break these.
> 
> FWIW,
> 
> Doug
cyrus cannot receive these messages. such messages are already broken
so I don't believe it makes sense to worry about breaking them.

by the way, while looking into the code to do the patch, I saw that
cyrus already carries out some modifications to messages (example
removing bare \r and replacing bare \n with \r\n) so there is a
precedent.

John

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list