summaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/bits/new_allocator.h
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2022-06-14 14:37:25 +0100
committerJonathan Wakely <jwakely@redhat.com>2022-08-03 12:30:01 +0100
commit2ef2de76dae5cac14e0de77ca7205e43be03ab22 (patch)
treec432a77988cf6b58804efeb437bfa8d5869e9650 /libstdc++-v3/include/bits/new_allocator.h
parent8a57deb926cd660c2eae7ed621d61a301ae0d523 (diff)
libstdc++: Check for size overflow in constexpr allocation [PR105957]
libstdc++-v3/ChangeLog: PR libstdc++/105957 * include/bits/allocator.h (allocator::allocate): Check for overflow in constexpr allocation. * testsuite/20_util/allocator/105975.cc: New test. (cherry picked from commit 0a9af7b4ef1b8aa85cc8820acf54d41d1569fc10)
Diffstat (limited to 'libstdc++-v3/include/bits/new_allocator.h')
0 files changed, 0 insertions, 0 deletions