Details
-
Bug
-
Resolution: Invalid
-
P3: Somewhat important
-
None
-
5.12.0, 5.13.0
-
None
Description
Creating a QHostAddress from a valid IPv4 represented in dotted-decimal notation and prefixed with zeros(e.g. 172.029.002.056) generates an invalid QHostAddress(see hostaddress.zip example).
Creating a QHostAddress from IP 172.29.2.56 results in a valid host address object, but creating a QHostAddress from 172.029.002.056 results in a null host address object.