mirror of
https://github.com/apache/nuttx.git
synced 2025-12-12 13:55:18 +08:00
When `tolen` is not 0 and `to` is NULL, it causes illegal buffer access. Add a parameter check in this condition.
When `tolen` is not 0 and `to` is NULL, it causes illegal buffer access. Add a parameter check in this condition.