Skip to content

fix: update hickory resolver for RUSTSEC-2026-0119#5200

Open
Copilot wants to merge 5 commits intodevelopfrom
copilot/fix-cpu-exhaustion-name-compression
Open

fix: update hickory resolver for RUSTSEC-2026-0119#5200
Copilot wants to merge 5 commits intodevelopfrom
copilot/fix-cpu-exhaustion-name-compression

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 2, 2026

  • Inspect existing CI runs for the PR branch
  • Push an empty commit to retrigger CI

Copilot AI and others added 2 commits May 2, 2026 03:35
Agent-Logs-Url: https://github.com/nervosnetwork/ckb/sessions/038b677e-922c-4fb2-9a38-e988cdeb79e6

Co-authored-by: eval-exec <46400566+eval-exec@users.noreply.github.com>
Agent-Logs-Url: https://github.com/nervosnetwork/ckb/sessions/038b677e-922c-4fb2-9a38-e988cdeb79e6

Co-authored-by: eval-exec <46400566+eval-exec@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix CPU exhaustion during message encoding in hickory-proto fix: update hickory resolver for RUSTSEC-2026-0119 May 2, 2026
Copilot AI requested a review from eval-exec May 2, 2026 03:41
@chenyukang chenyukang self-assigned this May 4, 2026
@eval-exec
Copy link
Copy Markdown
Collaborator

@copilot re-trigger CI

Co-authored-by: eval-exec <46400566+eval-exec@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 5, 2026

@copilot re-trigger CI

Pushed empty commit 7281623 to retrigger CI. The new workflow runs have been created and are currently marked action_required by GitHub.

@eval-exec eval-exec marked this pull request as ready for review May 6, 2026 06:14
@eval-exec eval-exec requested a review from a team as a code owner May 6, 2026 06:14
@eval-exec eval-exec requested review from Copilot and doitian and removed request for a team May 6, 2026 06:14
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the project’s DNS resolver dependency to address RUSTSEC-2026-0119, and adjusts the DNS seeding implementation to match the newer hickory-resolver API.

Changes:

  • Bump hickory-resolver from 0.24.2 to 0.26.1.
  • Refactor DNS seeding resolver initialization and TXT record parsing to use the updated resolver/record APIs.
  • Regenerate Cargo.lock to reflect the new dependency graph.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
network/src/services/dns_seeding/mod.rs Updates resolver construction and TXT lookup parsing to work with hickory-resolver 0.26.x.
Cargo.toml Bumps hickory-resolver version to 0.26.1.
Cargo.lock Updates the lockfile for the new resolver version and transitive dependency changes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread network/src/services/dns_seeding/mod.rs Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RUSTSEC-2026-0119: CPU exhaustion during message encoding due to O(n²) name compression

5 participants