Skip to content

patches-25.12: umdns: update to Git HEAD (2026-10-04) - #1343

Open
crychic-cybertan wants to merge 1 commit into
mainfrom
staging-WIFI-15776-patches-25-12-umdns-dns-parsing-and-record-handling-hardening
Open

crychic-cybertan wants to merge 1 commit into
mainfrom
staging-WIFI-15776-patches-25-12-umdns-dns-parsing-and-record-handling-hardening

Conversation

@crychic-cybertan

Copy link
Copy Markdown
Contributor

Backport the two umdns updates from openwrt-25.12 that followed v25.12.5:

  • 93b5c6220e umdns: update to Git HEAD (2026-06-27) gcc 15 compatibility
  • 6100eec644 umdns: update to Git HEAD (2026-10-04) bound the dns_query() AVL walk, terminate cached TXT records inside their allocation, check record allocations in dns_packet_answer(), guard against a NULL ifa_addr and getifaddrs() failure, bound the TXT copy in umdns_announcements(), validate TXT entries, handle a missing unicast interface in parse_question() and compare the full IPv6 address in the source check.

These can be dropped once the baseline moves to a release that contains them (v25.12.6 or later).

Tested on SonicFi RAP7110C-341X: umdns starts in its seccomp sandbox, ubus "umdns update" and "umdns browse" work.

Fixes: WIFI-15776

Backport the two umdns updates from openwrt-25.12 that followed
v25.12.5:

 - 93b5c6220e umdns: update to Git HEAD (2026-06-27)
   gcc 15 compatibility
 - 6100eec644 umdns: update to Git HEAD (2026-10-04)
   bound the dns_query() AVL walk, terminate cached TXT records inside
   their allocation, check record allocations in dns_packet_answer(),
   guard against a NULL ifa_addr and getifaddrs() failure, bound the
   TXT copy in umdns_announcements(), validate TXT entries, handle a
   missing unicast interface in parse_question() and compare the full
   IPv6 address in the source check.

These can be dropped once the baseline moves to a release that
contains them (v25.12.6 or later).

Tested on SonicFi RAP7110C-341X: umdns starts in its seccomp sandbox,
ubus "umdns update" and "umdns browse" work.

Fixes: WIFI-15776
Signed-off-by: crychic.tan <crychic.tan@cybertan.com.tw>
@github-actions

Copy link
Copy Markdown

✅ PR & Commit Guidelines — all checks passed

Commits, PR description, C style, and milestone all look good. Thanks!

Commit hygiene

No issues found.

C style

No issues found.

PR description (ticket link)

No issues found.

Milestone

No issues found.

See OPENWIFI_PR_GUIDELINES.md and OPENWIFI_CODING_GUIDELINES.md. Items marked ⚠️ are advisory and do not fail the check.

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