Peter Maydell wrote:
I was investigating debian bug 359167 (a report of inc dumping core), and
tracked it down to a bug (actually two very similar bugs) in m_getfld.c.
Since that's such a nasty piece of code I thought I'd post the patch here
in case anybody wanted to peer-review it.
I believe this patch to be correct, but I haven't tested it much.
Don't suppose anybody has a nice pile of test mailbox files? :-)
I finally got round to committing this fix:
/cvsroot/nmh/nmh/sbr/m_getfld.c,v <-- sbr/m_getfld.c
new revision: 1.17; previous revision: 1.16
together with some test cases for inc which try to exercise various
alignments of the message delimiter against the stdio buffer end.
-- PMM
_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
http://lists.nongnu.org/mailman/listinfo/nmh-workers