Re: NULs in drafts

Ken Hornstein <[email protected]> Fri, 07 Nov 2025 15:22:23 -0500
Newsgroups gmane.mail.nmh.devel
Message-ID <[email protected]>
>I've debugged into post's copy of m_getfld.
>It looks like when it returns from the BODY case, the s->bytes_read is 10
>larger than it should be.  There are only 8 nulls added.
>It looks like it gets there via the FLD case, via the goto body at line ~620.
>(I have debug lines, it's probably a few earlier)
>
>s->bytes_read is 10 at that point.
>This seems to be because Getc(s) increments s->bytes_read.

I believe you, but I am puzzled why you are the only one seeing this.
Could you provide a test message so I can try to reproduce it?

--Ken