masc2008 opened a new pull request, #18670: URL: https://github.com/apache/nuttx/pull/18670
*Note: Please adhere to [Contributing Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).* ## Summary from user space, it may receive un-valid dns and call netlib_set_ipvxdnsaddr. so if add a check in nuttx kernel, it can avoid invalid dns setting. ## Impact it's avoid invalid dns setting, when invalid dns set, dns will fail to work. ## Testing from app, set a dns with addr: 0.0.0.0, then ping domain fails to work. after add this check, such invaid addr can't be added, so it will continue work. *Please provide information about your host machine, the board(s) you tested your changes on, and how you tested. Logs should be included.* *For example, when changing something in the core OS functions, you may want to run the OSTest application to verify that there are no regressions. Changes to ADC code may warrant running the `adc` example. Adding a new uORB driver may require that you run `uorb_listener` to verify correct operation.* *Pure documentation changes can just be tested with `make html` (see docs) and verification of the correct format in your browser.* **_PRs without testing information will not be accepted. We will request test logs._** -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
