# 12.2.1 - 2026-11-07 - 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 throw `std::bad_alloc`. - Fixed an out-of-bounds read when parsing format specifiers of `std::error_code` ( ). Thanks @IfkumRfnl. - Fixed a crash when formatting `nullptr` with `FMT_COMPILE` and an exception in `fmt::to_string(nullptr)`; both now format it as `0x0` ( ). Thanks @INo-xious.