ginetaddress: Add a precondition to g_inet_address_new_from_string()
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Fri, 18 Jul 2014 07:49:19 +0000 (08:49 +0100)
committerPhilip Withnall <philip.withnall@collabora.co.uk>
Fri, 18 Jul 2014 07:50:18 +0000 (08:50 +0100)
commitebe47823db6409eda6e391826666b3eb8dedb692
tree7f0755bcd91b3be228c20e6f1c75ac4ddbb4e054
parent641864bcba5cc85c0a5ab3a62b3781ca90271acb
ginetaddress: Add a precondition to g_inet_address_new_from_string()

Ensure that the input string is non-NULL, as inet_pton() does not like
NULL strings.

https://bugzilla.gnome.org/show_bug.cgi?id=733345
gio/ginetaddress.c