-
Fixed a heap buffer overflow on 32-bit targets when the size of a formatting buffer overflows, e.g.
fmt::format(L"{:>{}}", s, 1100000000). Such allocations now throwstd::bad_alloc. -
Fixed an out-of-bounds read when parsing format specifiers of
std::error_code(#4934). Thanks @IfkumRfnl. -
Fixed a crash when formatting
nullptrwithFMT_COMPILEand an exception infmt::to_string(nullptr); both now format it as0x0(#4993). Thanks @INo-xious.