Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[usb-moded] Validate ip in case bad values get fed in
It seems possible to feed bad ip's over dbus, which causes errors when setting up the network and udhcpd. Also fixed a potential crash when updating the ip. Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
- Loading branch information
1 parent
51b35ae
commit 00377f1
Showing
2 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters