This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Re:FW: Bug in diag_[v]snprintf
- From: "CSEBITS Christoph" <Christoph dot CSEBITS at frequentis dot com>
- To: "Andrew Lunn" <andrew at lunn dot ch>
- Cc: <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 9 Feb 2005 11:02:50 +0100
- Subject: RE: [ECOS] Re:FW: Bug in diag_[v]snprintf
Hi,
as i see in your patch, there is only one fix done.
in diag.cxx there are 2 ocurrences of the stated problem.
(in diag_snprintf and also in diag_vsnprintf).
br, Christoph
PS: thanks for writing a ChangeLog (i always forget it)
> -----Original Message-----
> From: Andrew Lunn [mailto:andrew@lunn.ch]
> Sent: Dienstag, 08. Februar 2005 22:24
> To: CSEBITS Christoph
> Cc: ecos-discuss@sources.redhat.com
> Subject: Re: [ECOS] Re:FW: Bug in diag_[v]snprintf
>
> On Tue, Feb 08, 2005 at 04:35:36PM +0100, CSEBITS Christoph wrote:
> > Hi,
> >
> > attached a proposed patch for the bug in the snprintf's
> (line numbers
> > are most likely wrong).
>
> Thanks
>
> Attached is the patch i have committed. It both fixes the
> problem and adds two test cases for diag_sprintf. They are
> the libc sprintf test cases modified to test diag_sprintf.
>
> Andrew
>
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss