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

--- Comment #3 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:905ce0ca30cb33cddf024b0aebf4ba0b2c86fe77

commit r11-7503-g905ce0ca30cb33cddf024b0aebf4ba0b2c86fe77
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Thu Mar 4 10:28:38 2021 +0000

    libstdc++: Fix buffer overflows in tests [PR 99382]

    This seems to be a typo/thinko in the definition of the arrays used as
    storage.

    libstdc++-v3/ChangeLog:

            PR libstdc++/99382
            *
testsuite/20_util/specialized_algorithms/uninitialized_default_n/sizes.cc:
            Make storage larger than required. Verify no write to the last
            element.
            *
testsuite/20_util/specialized_algorithms/uninitialized_value_construct_n/sizes.cc:
            Likewise.

Reply via email to