[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] bug in m_getfld.c
From: |
Peter Maydell |
Subject: |
Re: [Nmh-workers] bug in m_getfld.c |
Date: |
Fri, 26 Dec 2008 21:55:49 +0000 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Nmh-workers] bug in m_getfld.c,
Peter Maydell <=