[GH-ISSUE #664] named will panic on Windows when packet is larger than buffer #269

Open
opened 2026-03-07 23:08:57 +03:00 by kerem · 0 comments
Owner

Originally created by @bluejekyll on GitHub (Jan 20, 2019).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/664

Describe the bug
On Windows if the packet size is greater than the specified buffer length, named will panic

To Reproduce
Send packet larger than the buffer on Windows.

Expected behavior
The packet should be dropped, and progress should be continued

System:

  • OS: Windows

Version:
Current

Additional context

https://github.com/rust-lang/rust/issues/55794

This panic should be replaced and handled:
github.com/bluejekyll/trust-dns@df49a4f66a/crates/server/src/server/server_future.rs (L72)

Originally created by @bluejekyll on GitHub (Jan 20, 2019). Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/664 **Describe the bug** On Windows if the packet size is greater than the specified buffer length, named will panic **To Reproduce** Send packet larger than the buffer on Windows. **Expected behavior** The packet should be dropped, and progress should be continued **System:** - OS: Windows **Version:** Current **Additional context** https://github.com/rust-lang/rust/issues/55794 This panic should be replaced and handled: https://github.com/bluejekyll/trust-dns/blob/df49a4f66ad72f81abbc2ad1f6128060a895d176/crates/server/src/server/server_future.rs#L72
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hickory-dns#269
No description provided.