SmingHub / Sming

Sming - powerful open source framework simplifying the creation of embedded C++ applications.
https://sming.readthedocs.io
GNU Lesser General Public License v3.0
1.45k stars 349 forks source link

Refactor DnsServer #2846

Closed mikee47 closed 4 days ago

mikee47 commented 5 days ago

This PR is just a refactor of the DnsServer class as it's a bit more complex than necessary. No additional functionality added, but a few extra bounds checks have been added.

Tested using nslookup with santizers active.