Skip to content

Yet more xfr* hardening#17455

Merged
miodvallat merged 2 commits into
PowerDNS:masterfrom
miodvallat:blob_me_like_a_hurricane
May 21, 2026
Merged

Yet more xfr* hardening#17455
miodvallat merged 2 commits into
PowerDNS:masterfrom
miodvallat:blob_me_like_a_hurricane

Conversation

@miodvallat

@miodvallat miodvallat commented May 21, 2026

Copy link
Copy Markdown
Contributor

Short description

This make sure the two-argument form of xfrBlob (and xfrBlobNoSpaces) will not access data out of the packet buffer, when reading from a packet.

Reported by Naija_Overflow in YWH-PGM6095-292, many thanks!

Checklist

I have:

  • read the CONTRIBUTING.md document
  • read and accepted the Developer Certificate of Origin document, including the AI Policy, and added a "Signed-off-by" to my commits
  • compiled this code
  • tested this code
  • included documentation (including possible behaviour changes)
  • documented the code
  • added or modified regression test(s)
  • added or modified unit test(s)

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
@rgacogne rgacogne added this to the common-soon milestone May 21, 2026
@miodvallat miodvallat merged commit 08783d6 into PowerDNS:master May 21, 2026
91 checks passed
@miodvallat miodvallat deleted the blob_me_like_a_hurricane branch May 21, 2026 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants