(Note how I have part of the mime header of the second part in my reply, I'm
getting that for a huge number of messages)

I think that there's a problem in mime_readheader, in that it assumes a binary
safe string. That should probably be changed to work blindly through the
string based on a separate length parameter. I have this funny feeling that
there's nul characters getting into these body-internal mime headers somehow...

Has anyone got an easy query for MySQL to help pinpoint where there might be
embedded nuls in an entry?

Aaron


""Aaron Stone"" <[EMAIL PROTECTED]> said:

> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
> 
> 
> Here's a patch to change read_header and store_message_temp to use fread
> instead of fgets. There might also need to be code added to replace nul
> characters, but I don't remember if that code goes here or at another layer.
> 
> This patch has not been tested yet!
> 
> Aaron
> 
> 



-- 



Reply via email to