-
Notifications
You must be signed in to change notification settings - Fork 429
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Prevent panic in DNS Socket when server list exceeds max count
- Truncate the servers list to DNS_MAX_SERVER_COUNT to prevent panics. - Ensure only the first `DNS_MAX_SERVER_COUNT` servers are used when constructing the `Socket`. - This prevents overflow issues when the provided server list is larger than the allowed maximum.
- Loading branch information
Jamie Bird
committed
Sep 12, 2024
1 parent
8025752
commit 4739cc7
Showing
1 changed file
with
12 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters