Skip to content

Update hickory-proto 0.25.2 → 0.26.1 #97

Merged
leshow merged 1 commit into
bluecatengineering:masterfrom
cfsmp3:master
May 7, 2026
Merged

Update hickory-proto 0.25.2 → 0.26.1 #97
leshow merged 1 commit into
bluecatengineering:masterfrom
cfsmp3:master

Conversation

@cfsmp3

@cfsmp3 cfsmp3 commented May 2, 2026

Copy link
Copy Markdown
Contributor

hickory-proto 0.25.2 has two open RustSec advisories, both fixed in 0.26.1:

  • RUSTSEC-2026-0119: CPU exhaustion during message encoding due to O(n²) name compression
  • RUSTSEC-2026-0118: NSEC3 closest-encloser proof validation enters unbounded loop on cross-zone responses

Breaking changes in hickory-proto 0.26.1 that affect dhcproto:

  • EncodeMode was removed. BinEncoder::with_offset no longer takes an EncodeMode parameter.
  • Name::emit_as_canonical was removed. Canonical encoding is now controlled via BinEncoder::set_canonical_form(true) followed by the standard BinEncodable::emit.
  • BinDecodable::read now returns hickory_proto::serialize::binary::DecodeError instead of ProtoError. Added a From variant to dhcproto::error::DecodeError.

@leshow

leshow commented May 7, 2026

Copy link
Copy Markdown
Collaborator

thank you!

@leshow leshow merged commit aac2e82 into bluecatengineering:master May 7, 2026
10 checks passed
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.

2 participants