Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: add bound checking in net_addr_pton()
The net_addr_pton() did not check the number of ":" characters properly. For example with following net-shell input net ping fe80::210:2030:9b:d48efe80::210:2030:9b:d48e the kernel panics. Signed-off-by: Walter Xie <[email protected]>
- Loading branch information