[PATCH] [v2] nss: fix getaddrinfo() accepting garbage as valid IPv4 address
Florian Weimer
fweimer@redhat.com
Tue Nov 12 11:36:22 GMT 2024
* Adhemerval Zanella Netto:
> On 28/08/24 19:01, Miklós Máté wrote:
>> On 26/08/2024 14:37, Florian Weimer wrote:
>>> Has something changed since 2019?
>>
>> One more thing: there seems to be an ongoing effort to deprecate inet_aton() [0]. Well, currently getaddrinfo() is inet_aton() in disguise.
>>
>> [0] https://sourceware.org/bugzilla/show_bug.cgi?id=24111
>>
>
> Florian, are you ok with this change? It seems straightforward enough, but
> I am not sure about the compatibility implication.
>
> In any case, I think we should document this new behavior on 'Deprecated and
> removed features, and other changes affecting compatibility'.
I don't think we should make this change because the compatibility
impact is too high. Maybe we could add this as a new mode controlled by
an AI_ flag.
Thanks,
Florian
More information about the Libc-alpha
mailing list