[PATCH 2/3] ws2_32: Add page fault handler to inet_addr

Alex Henrie alexhenrie24 at gmail.com
Wed May 20 15:50:35 CDT 2020


On Wed, May 20, 2020 at 12:11 PM Alexandre Julliard <julliard at winehq.org> wrote:
>
> Alex Henrie <alexhenrie24 at gmail.com> writes:
>
> > Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
> > ---
> > inet_pton, RtlIpv4StringToAddress, and RtlIpv6StringToAddress crash on
> > bad pointers, but not inet_addr.
>
> Is there an app that depends on this?  We don't want to add exception
> handlers where they are not needed.

I'm not aware of any such app, it's just something that I noticed
while debugging this family of functions. I'm sure there are apps that
depend on inet_addr(NULL) not crashing though.

Thanks for taking the other two patches I sent this morning!

-Alex



More information about the wine-devel mailing list