This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [patch] Fix BZ 18985 out of bounds access in strftime
- From: Paul Pluzhnikov <ppluzhnikov at google dot com>
- To: Paul Pluzhnikov <ppluzhnikov at google dot com>, Paul Eggert <eggert at cs dot ucla dot edu>, GLIBC Devel <libc-alpha at sourceware dot org>
- Date: Sun, 20 Sep 2015 16:16:41 -0700
- Subject: Re: [patch] Fix BZ 18985 out of bounds access in strftime
- Authentication-results: sourceware.org; auth=none
- References: <CAPC3xao-5YF_icBWE5yYbaYiUmiAvmb7w9s_G-dqawsx7eoTkQ at mail dot gmail dot com> <55FE5473 dot 7030305 at cs dot ucla dot edu> <CALoOobOWfPWuwtw_XgcTKx2yn=p3YbB04_B965zKRCkC1qsPjQ at mail dot gmail dot com> <55FEFD47 dot 4090401 at cs dot ucla dot edu> <CALoOobMOFtQVcCK4bR3VpeLMoj4bXVa12GAk0CjP6MMxuQU+Fw at mail dot gmail dot com> <20150920231004 dot GC7802 at vapier dot lan>
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