drivers: modem: hl7800: fix fault with IPv6 address
If modem receives an IPv6 address, buffer overrun
would occur. Fix this by checking string length to
ensure what type of IP address needs to be parsed.
Signed-off-by:
Ryan Erickson <ryan.erickson@lairdconnect.com>
Loading
Please sign in to comment