[PR #3448] [MERGED] build(deps): bump moka from 0.12.12 to 0.12.13 #3852

Closed
opened 2026-03-16 12:06:12 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hickory-dns/hickory-dns/pull/3448
Author: @dependabot[bot]
Created: 1/29/2026
Status: Merged
Merged: 1/29/2026
Merged by: @djc

Base: mainHead: dependabot/cargo/moka-0.12.13


📝 Commits (1)

  • c721a19 build(deps): bump moka from 0.12.12 to 0.12.13

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 Cargo.lock (+2 -2)

📄 Description

Bumps moka from 0.12.12 to 0.12.13.

Release notes

Sourced from moka's releases.

Moka 0.12.13

Version 0.12.13

Fixed

  • Fixed/mitigated use-after-free issues in the hierarchical timer wheels when Expiry returns None (Issue #565gh-issue-0565, reported by @​sharksforarms).
    • Fixed a bug that caused freed timer nodes to remain in the timer wheels in some edge cases (#566gh-pull-0566 by @​powergee).
    • The mitigation added to v0.12.12 was enhanced by atomically reading the expiration state to prevent rare race conditions that could cause use-after-free issues (#570gh-pull-0570).
  • Fixed Expiry::expire_after_update not clearing expiration time for expired entries (future::Cache: #549gh-pull-0549, by @​singulared, sync::Cache: #564gh-pull-0564).
Changelog

Sourced from moka's changelog.

Version 0.12.13

Fixed

  • Fixed/mitigated use-after-free issues in the hierarchical timer wheels when Expiry returns None (Issue #565[gh-issue-0565], reported by [@​sharksforarms][gh-sharksforarms]).
    • Fixed a bug that caused freed timer nodes to remain in the timer wheels in some edge cases (#566[gh-pull-0566] by [@​powergee][gh-powergee]).
    • The mitigation added to v0.12.12 was enhanced by atomically reading the expiration state to prevent rare race conditions that could cause use-after-free issues (#570[gh-pull-0570]).
  • Fixed Expiry::expire_after_update not clearing expiration time for expired entries (future::Cache: #549[gh-pull-0549], by [@​singulared][gh-singulared], sync::Cache: #564[gh-pull-0564]).
Commits
  • b5bdb4c Merge pull request #571 from moka-rs/exclude-lint-config
  • e8dff1f Add .markdownlint.json to the exclude files of the crate package
  • c6bcdb6 Merge pull request #570 from moka-rs/mitigate-timewheel-toctou-issue
  • 2aaa2e5 Add .markdowlint.json to change the Markdown indents to four spaces
  • 04b2460 Update the changelog
  • 4f053aa Refactor duration comparison code for unit testing in both sync and future
  • ee982db A minor doc comment fix
  • 49978c5 Try not to break the gen bits when adjusting timestamps that collide with the...
  • f1b6ec1 Prevent set_timer_node to re-read expiry_gen from expiration_state()
  • e959b7f Ensure that set_expiration_time accidentally pack real timestamp equal
  • Additional commits viewable in compare view

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hickory-dns/hickory-dns/pull/3448 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 1/29/2026 **Status:** ✅ Merged **Merged:** 1/29/2026 **Merged by:** [@djc](https://github.com/djc) **Base:** `main` ← **Head:** `dependabot/cargo/moka-0.12.13` --- ### 📝 Commits (1) - [`c721a19`](https://github.com/hickory-dns/hickory-dns/commit/c721a1960a77bc8292434b4755e72fb34f36a046) build(deps): bump moka from 0.12.12 to 0.12.13 ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+2 -2) </details> ### 📄 Description Bumps [moka](https://github.com/moka-rs/moka) from 0.12.12 to 0.12.13. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/moka-rs/moka/releases">moka's releases</a>.</em></p> <blockquote> <h2>Moka 0.12.13</h2> <h2>Version 0.12.13</h2> <h3>Fixed</h3> <ul> <li>Fixed/mitigated use-after-free issues in the hierarchical timer wheels when <code>Expiry</code> returns <code>None</code> (Issue <a href="https://redirect.github.com/moka-rs/moka/issues/565">#565</a><a href="https://redirect.github.com/moka-rs/moka/issues/565/">gh-issue-0565</a>, reported by <a href="https://github.com/sharksforarms"><code>@​sharksforarms</code></a>). <ul> <li>Fixed a bug that caused freed timer nodes to remain in the timer wheels in some edge cases (<a href="https://redirect.github.com/moka-rs/moka/issues/566">#566</a><a href="https://redirect.github.com/moka-rs/moka/pull/566/">gh-pull-0566</a> by <a href="https://github.com/powergee"><code>@​powergee</code></a>).</li> <li>The mitigation added to v0.12.12 was enhanced by atomically reading the expiration state to prevent rare race conditions that could cause use-after-free issues (<a href="https://redirect.github.com/moka-rs/moka/issues/570">#570</a><a href="https://redirect.github.com/moka-rs/moka/pull/570/">gh-pull-0570</a>).</li> </ul> </li> <li>Fixed <code>Expiry::expire_after_update</code> not clearing expiration time for expired entries (<code>future::Cache</code>: <a href="https://redirect.github.com/moka-rs/moka/issues/549">#549</a><a href="https://redirect.github.com/moka-rs/moka/pull/549/">gh-pull-0549</a>, by <a href="https://github.com/singulared"><code>@​singulared</code></a>, <code>sync::Cache</code>: <a href="https://redirect.github.com/moka-rs/moka/issues/564">#564</a><a href="https://redirect.github.com/moka-rs/moka/pull/564/">gh-pull-0564</a>).</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/moka-rs/moka/blob/main/CHANGELOG.md">moka's changelog</a>.</em></p> <blockquote> <h2>Version 0.12.13</h2> <h3>Fixed</h3> <ul> <li>Fixed/mitigated use-after-free issues in the hierarchical timer wheels when <code>Expiry</code> returns <code>None</code> (Issue <a href="https://redirect.github.com/moka-rs/moka/issues/565">#565</a>[gh-issue-0565], reported by [<a href="https://github.com/sharksforarms"><code>@​sharksforarms</code></a>][gh-sharksforarms]). <ul> <li>Fixed a bug that caused freed timer nodes to remain in the timer wheels in some edge cases (<a href="https://redirect.github.com/moka-rs/moka/issues/566">#566</a>[gh-pull-0566] by [<a href="https://github.com/powergee"><code>@​powergee</code></a>][gh-powergee]).</li> <li>The mitigation added to v0.12.12 was enhanced by atomically reading the expiration state to prevent rare race conditions that could cause use-after-free issues (<a href="https://redirect.github.com/moka-rs/moka/issues/570">#570</a>[gh-pull-0570]).</li> </ul> </li> <li>Fixed <code>Expiry::expire_after_update</code> not clearing expiration time for expired entries (<code>future::Cache</code>: <a href="https://redirect.github.com/moka-rs/moka/issues/549">#549</a>[gh-pull-0549], by [<a href="https://github.com/singulared"><code>@​singulared</code></a>][gh-singulared], <code>sync::Cache</code>: <a href="https://redirect.github.com/moka-rs/moka/issues/564">#564</a>[gh-pull-0564]).</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/moka-rs/moka/commit/b5bdb4c77840d7c4c2dbacdb02d4b14c40c03182"><code>b5bdb4c</code></a> Merge pull request <a href="https://redirect.github.com/moka-rs/moka/issues/571">#571</a> from moka-rs/exclude-lint-config</li> <li><a href="https://github.com/moka-rs/moka/commit/e8dff1f6f905423a91ed06ec682ab1eb2c9b45fa"><code>e8dff1f</code></a> Add <code>.markdownlint.json</code> to the exclude files of the crate package</li> <li><a href="https://github.com/moka-rs/moka/commit/c6bcdb6ba11c862b5b5b1af59eb445f48526c074"><code>c6bcdb6</code></a> Merge pull request <a href="https://redirect.github.com/moka-rs/moka/issues/570">#570</a> from moka-rs/mitigate-timewheel-toctou-issue</li> <li><a href="https://github.com/moka-rs/moka/commit/2aaa2e5d53ba0f02fb7f369a829c8d9d64881a81"><code>2aaa2e5</code></a> Add <code>.markdowlint.json</code> to change the Markdown indents to four spaces</li> <li><a href="https://github.com/moka-rs/moka/commit/04b2460aff25077a64bd74a9ead71e3c49ec9d84"><code>04b2460</code></a> Update the changelog</li> <li><a href="https://github.com/moka-rs/moka/commit/4f053aaeb6c87043924aed53618e536443da7e14"><code>4f053aa</code></a> Refactor duration comparison code for unit testing in both sync and future</li> <li><a href="https://github.com/moka-rs/moka/commit/ee982dbae7045b39b7c2bd9aaa8f0ef7d927b8ba"><code>ee982db</code></a> A minor doc comment fix</li> <li><a href="https://github.com/moka-rs/moka/commit/49978c589022f8337feafd59b85655bcfdbcb538"><code>49978c5</code></a> Try not to break the gen bits when adjusting timestamps that collide with the...</li> <li><a href="https://github.com/moka-rs/moka/commit/f1b6ec19fe254535fa61a0ff01fc415db93e2370"><code>f1b6ec1</code></a> Prevent <code>set_timer_node</code> to re-read <code>expiry_gen</code> from <code>expiration_state()</code></li> <li><a href="https://github.com/moka-rs/moka/commit/e959b7f5ea4edf512486ffb687454a164304d609"><code>e959b7f</code></a> Ensure that <code>set_expiration_time</code> accidentally pack real timestamp equal</li> <li>Additional commits viewable in <a href="https://github.com/moka-rs/moka/compare/v0.12.12...v0.12.13">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=moka&package-manager=cargo&previous-version=0.12.12&new-version=0.12.13)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-16 12:06:12 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hickory-dns#3852
No description provided.