aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2023-08-10 23:15:29 +0100
committerJonathan Wakely <jwakely@redhat.com>2023-08-10 23:31:37 +0100
commitecfd8c7ffecf9e8f851c996ec149fbda7ef202f5 (patch)
tree4347f48117f1b3f0c4e21824e2200a44a7b9405a /gcc
parentf48a5423964f72e2e1ba0ad6a14d9d1464a78bed (diff)
downloadgcc-ecfd8c7ffecf9e8f851c996ec149fbda7ef202f5.zip
gcc-ecfd8c7ffecf9e8f851c996ec149fbda7ef202f5.tar.gz
gcc-ecfd8c7ffecf9e8f851c996ec149fbda7ef202f5.tar.bz2
libstdc++: Fix out-of-bounds read in format string "{:{}." [PR110974]
libstdc++-v3/ChangeLog: PR libstdc++/110974 * include/std/format (_Spec::_S_parse_width_or_precision): Check for empty range before dereferencing iterator. * testsuite/std/format/string.cc: Check for expected exception. Fix expected exception message in test_pr110862() and actually call it.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions