[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [nmh-workers] inc: Unable to find a line terminator after 32768 byte

From: Ken Hornstein
Subject: Re: [nmh-workers] inc: Unable to find a line terminator after 32768 bytes
Date: Tue, 10 Sep 2019 08:25:13 -0400

>> In a perfect world I think we SHOULD parse those messages (up to the
>> limits of virtual memory), but right now we don't.
>My regular statement that no we should not accept such dribble into the
>system.  Users should be aware it's arriving.  If they then want to fix
>it, then mhfixmsg(1) is where knowledge of all the world's crud can be

The problem I have with THAT is that pretty much every other MUA deals with
this just fine; that makes us the odd one out.  And I see a chicken and
egg problem here; if we can't incorporate such a message, we can't really
have mhfixmsg deal with it.

Also, thinking more about this makes me think that at least for inc
we should be able to deal with this WITHOUT having to parse everything
line-by-line.  Even if it was a single line of 200 MB, you should be able
to write that out without having to malloc() out 200 MB.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]