github fmtlib/fmt 12.2.1

43 minutes ago
  • 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 (#4934). 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 (#4993). Thanks @INo-xious.

Don't miss a new fmt release

NewReleases is sending notifications on new releases.