[patch] Fix BZ 18985 out of bounds access in strftime
Mike Frysinger
vapier@gentoo.org
Fri Sep 25 14:11:00 GMT 2015
On 21 Sep 2015 09:30, Andreas Schwab wrote:
> Mike Frysinger <vapier@gentoo.org> writes:
> > $ ./a.out
> > buf = INVALID<H/tm_hour=1024> 1012
>
> I don't think that makes any sense. strftime should do nothing special
> for numeric formats.
i'm fine with outputting INVALID<fmt/field> for any invalid field.
the =%i part doesn't need to be there.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20150925/88780797/attachment.sig>
More information about the Libc-alpha
mailing list