r274308 - in /trunk/gcc/ada: ChangeLog libgnat/...

pmderodat@gcc.gnu.org pmderodat@gcc.gnu.org
Mon Aug 12 09:08:00 GMT 2019


Author: pmderodat
Date: Mon Aug 12 09:01:58 2019
New Revision: 274308

URL: https://gcc.gnu.org/viewcvs?rev=274308&root=gcc&view=rev
Log:
[Ada] Fix IPv6 numeric address detection

IPv6 numeric address can't have less than 2 colons. It fixes the error
when Get_Host_By_Name called with hostname composed by only hexadecimal
symbols.

2019-08-12  Dmitriy Anisimkov  <anisimko@adacore.com>

gcc/ada/

	* libgnat/g-socket.adb (Is_IPv6_Address): Check that no less
	then 2 colons in IPv6 numeric address.

Modified:
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/libgnat/g-socket.adb



More information about the Gcc-cvs mailing list