https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111162

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>:

https://gcc.gnu.org/g:207c507499d23f0176cbfdfe96d3cd50dec39584

commit r14-3609-g207c507499d23f0176cbfdfe96d3cd50dec39584
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Tue Aug 29 13:07:21 2023 +0100

    libstdc++: Do not allow chrono::parse to overflow for %C [PR111162]

    libstdc++-v3/ChangeLog:

            PR libstdc++/111162
            * include/bits/chrono_io.h (_Parser::Operator()): Check %C
            values are in range of year::min() to year::max().
            * testsuite/std/time/parse.cc: Check out of range centuries.

Reply via email to