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

Paul Pluzhnikov ppluzhnikov@google.com
Sun Sep 20 23:17:00 GMT 2015


On Sun, Sep 20, 2015 at 4:10 PM, Mike Frysinger <vapier@gentoo.org> wrote:

> buf = INVALID<H/tm_hour=1024> 1012

It's fairly trivial to modify my patch to show "INVALID tm_wday" instead of "?".

Doing that for tm_hour is just a bit more involved, though not that
much. But it seems that that would be something Paul E. *doesn't* want
in his "IST-2IDT,M3.4.4/26,M10.5.0" example.


-- 
Paul Pluzhnikov



More information about the Libc-alpha mailing list