mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-29 00:11:16 +01:00
Add additional checks to the port number parsing in str2ep to validate the port number supplied in the string. This only verifies that the port number is no longer than 5 chars and the resulting number fits in a uint16_t. It is still possible to supply up to 5 random chars.