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

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
==55393==ERROR: AddressSanitizer: global-buffer-overflow on address
0x0000004c9324 at pc 0x000000432970 bp 0x7ffe2c7fcf80 sp 0x7ffe2c7fcf78
READ of size 4 at 0x0000004c9324 thread T0
    #0 0x43296f in std::pair<unsigned short, wchar_t const*>
std::__format::__parse_integer<wchar_t>(wchar_t const*, wchar_t const*)
/home/jwakely/gcc/14/include/c++/14.0.0/format:301
    #1 0x431604 in
std::__format::_Spec<wchar_t>::_S_parse_width_or_precision(wchar_t const*,
wchar_t const*, unsigned short&, bool&,
std::basic_format_parse_context<wchar_t>&)
/home/jwakely/gcc/14/include/c++/14.0.0/format:484
    #2 0x432166 in std::__format::_Spec<wchar_t>::_M_parse_precision(wchar_t
const*, wchar_t const*, std::basic_format_parse_context<wchar_t>&)
/home/jwakely/gcc/14/include/c++/14.0.0/format:539
    #3 0x430473 in
std::__format::__formatter_str<wchar_t>::parse(std::basic_format_parse_context<wchar_t>&)
/home/jwakely/gcc/14/include/c++/14.0.0/format:806

Reply via email to