This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Fix BZ 18985 out of bounds access in strftime


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

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]