Skip to content

Bump fmt from 12.2.0.bcr.1-codeql.1 to 12.2.1 - #23249

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bazel/fmt-12.2.1
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bazel/fmt-12.2.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 26, 2026

Copy link
Copy Markdown
Contributor

Bumps fmt from 12.2.0.bcr.1-codeql.1 to 12.2.1.

Release notes

Sourced from fmt's releases.

12.2.1

  • 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 (fmtlib/fmt#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 (fmtlib/fmt#4993). Thanks @​INo-xious.

12.2.0

... (truncated)

Changelog

Sourced from fmt's changelog.

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 (fmtlib/fmt#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 (fmtlib/fmt#4993). Thanks @​INo-xious.

12.2.0 - 2026-06-16

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [fmt](https://github.com/fmtlib/fmt) from 12.2.0.bcr.1-codeql.1 to 12.2.1.
- [Release notes](https://github.com/fmtlib/fmt/releases)
- [Changelog](https://github.com/fmtlib/fmt/blob/main/ChangeLog.md)
- [Commits](https://github.com/fmtlib/fmt/commits/12.2.1)

---
updated-dependencies:
- dependency-name: fmt
  dependency-version: 12.2.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from a team as a code owner November 26, 2026 03:05
@dependabot dependabot Bot added the bazel Pull requests that update bazel code label Nov 26, 2026
Copilot AI adaptive review requested due to automatic review settings November 26, 2026 03:05
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Nov 26, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The MODULE.bazel change removes CodeQL’s patched fmt overlay and its required MSVC FMT_UNICODE=0 define, risking Windows build regressions until an equivalent patched dependency or define is preserved.

1 open issue
What changed in this PR

Updates the Bazel fmt dependency from the CodeQL-patched 12.2.0 release to upstream 12.2.1 to incorporate upstream fixes and improvements.

Changes:

  • Bumps the declared fmt module version in MODULE.bazel.
  • The update bypasses the existing CodeQL-specific Windows FMT_UNICODE=0 overlay, which may cause Windows build regressions.
File Description
MODULE.bazel Updates the declared Bazel fmt dependency from 12.2.0.bcr.1-codeql.1 to 12.2.1.

Review effort: Lite (adaptive)

Comment thread MODULE.bazel
bazel_dep(name = "abseil-cpp", version = "20260817.0", repo_name = "absl")
bazel_dep(name = "nlohmann_json", version = "3.12.0.bcr.2", repo_name = "json")
bazel_dep(name = "fmt", version = "12.2.0.bcr.1-codeql.1")
bazel_dep(name = "fmt", version = "12.2.1")

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bazel Pull requests that update bazel code dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant