[PATCH resend 3/3] ntdll: Implement RtlIpv4StringToAddress(Ex)W
Alexandre Julliard
julliard at winehq.org
Fri Aug 23 13:27:05 CDT 2019
Alex Henrie <alexhenrie24 at gmail.com> writes:
> On Fri, Aug 23, 2019 at 11:38 AM Alexandre Julliard <julliard at winehq.org> wrote:
>>
>> It doesn't seem right to have the W function call the A implementation,
>> it should be the other way around.
>
> I can certainly do it the other way around, but since IP addresses can
> only contain ASCII characters, why does it matter?
Checking for ASCII characters after the W->A conversion doesn't
guarantee that they were ASCII to begin with, the conversion is lossy.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list