Skip to content

Conversation

@jukkar
Copy link
Member

@jukkar jukkar commented Apr 1, 2025

Backport e58407c~4..e58407c from #87753.

Fixes #87947

@jukkar jukkar added area: Networking Backport Backport PR and backport failure issues labels Apr 1, 2025
@github-project-automation github-project-automation bot moved this to To do in Backports Apr 1, 2025
@jukkar jukkar added this to the v3.7.2 milestone Apr 1, 2025
@jukkar jukkar requested review from pdgendt and rlubos April 1, 2025 07:53
pdgendt
pdgendt previously approved these changes Apr 1, 2025
rlubos
rlubos previously approved these changes Apr 1, 2025
jukkar added 5 commits April 1, 2025 13:43
The DNS_EAI_SYSTEM error value tells that the errno value
contains the actual system error value. So set the errno
properly when there is a system error.

Signed-off-by: Jukka Rissanen <[email protected]>
Make sure that the CNAME handling checks recursive name pointers
and fails the response if recursion is detected.
See RFC 9267 ch. 2 for details.

Signed-off-by: Jukka Rissanen <[email protected]>
Add checks that we will be able to catch recursive name pointers and
abandon the response for CNAME handling.

Signed-off-by: Jukka Rissanen <[email protected]>
Allow only 0xc (0b11) as two highest bit to mark the compression
when parsing the CNAME response. See RFC 9267 ch. 2 for details.

Signed-off-by: Jukka Rissanen <[email protected]>
Add checks that we will be able to catch invalid compression bit in
response CNAME handling.

Signed-off-by: Jukka Rissanen <[email protected]>
@jukkar jukkar dismissed stale reviews from rlubos and pdgendt via 05469bc April 1, 2025 10:45
@jukkar jukkar force-pushed the backport-87753-to-v3.7-branch branch from 4eb6c87 to 05469bc Compare April 1, 2025 10:45
@jukkar
Copy link
Member Author

jukkar commented Apr 1, 2025

Needed to backport this commit 0e88a8b from main to fix the error code handling and allow the tests to pass.

@nashif nashif merged commit f23e4e1 into zephyrproject-rtos:v3.7-branch Apr 14, 2025
24 of 25 checks passed
@github-project-automation github-project-automation bot moved this from To do to Done in Backports Apr 14, 2025
@jukkar jukkar deleted the backport-87753-to-v3.7-branch branch April 15, 2025 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Networking Backport Backport PR and backport failure issues

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants