Re: patch: fakepop fails to note the new string size used

David Levine <[email protected]> Sun, 03 Nov 2024 15:31:47 -0500
Newsgroups gmane.mail.nmh.devel
Message-ID <[email protected]>
Stephen wrote:

> In the test utility fakepop, the pattern of "HAVEROOM(); strcat()"
> fails to add the number of new characters used.  If the server is
> trying to serve a file with a line longer than the buffer size, it
> will fail to realloc and overflow its buffer.
>
> This patch is against the current git sources, nmh 1.8+dev.

Patch applied, thanks!

David