Opened 3 weeks ago

Closed 3 weeks ago

#24246 closed enhancement (fixed)

fmt-12.2.1

Reported by: Bruce Dubbs Owned by: Joe Locash
Priority: normal Milestone: 13.2
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

New point version.

Change History (2)

comment:1 by Joe Locash, 3 weeks ago

Owner: changed from blfs-book to Joe Locash
Status: new → assigned

comment:2 by Joe Locash, 3 weeks ago

Resolution: → fixed
Status: assigned → closed
# 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` (https://github.com/fmtlib/fmt/pull/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`
  (https://github.com/fmtlib/fmt/pull/4993). Thanks @INo-xious.

Fixed at 2a32ed94b0.

Note: See TracTickets for help on using tickets.