]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Fix possible memory corruption for hostnames longer than 1024 bytes
authorPascal Obry <obry@adacore.com>
Wed, 17 Nov 2021 16:20:32 +0000 (17:20 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 2 Dec 2021 16:26:18 +0000 (16:26 +0000)
commit261d367a1019ed98f078709a762cea28f330d289
treed3cd5b1fb594957fee184e724c323bd7f1edbffc
parent0ef5185a1556a419e16e61a5704fbc1a65e95e56
[Ada] Fix possible memory corruption for hostnames longer than 1024 bytes

gcc/ada/

* libgnat/g-socket.ads (Max_Name_Length): Initialize with
NI_MAXHOST.
gcc/ada/libgnat/g-socket.ads