networkaddress: Add early sanity check to _g_uri_parse_authority()99b792fac047b2f495d83ca0a1c1a481ed838251
commit99b792fac047b2f495d83ca0a1c1a481ed838251
authorBastien Nocera <hadess@hadess.net>
Thu, 12 Jan 2017 14:44:11 +0000 (12 15:44 +0100)
committerPhilip Withnall <withnall@endlessm.com>
Thu, 1 Feb 2018 14:58:28 +0000 (1 14:58 +0000)
treef4f94a31cf7dc2eb77b176b406ce408d4beb61e6
parent5f2c20e88bf474fd58e23c46c89d448f1fc00a55
networkaddress: Add early sanity check to _g_uri_parse_authority()

Check whether the URI is valid ASCII before trying to parse it. This
should catch broken URIs early.

https://bugzilla.gnome.org/show_bug.cgi?id=772989
gio/gnetworkaddress.c