Opened 4 months ago

Last modified 4 months ago

#14323 new bug

getaddrinfo() does not support AI_V4MAPPED

Reported by: leorize Owned by: axeld
Priority: normal Milestone: Unscheduled
Component: Network & Internet/Stack Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

getaddrinfo() bails if AI_V4MAPPED is in hints.ai_flags

A test case has been added to demonstrate the issue

How to run:

$ gcc -lnetwork -o gai gai.c
$ ./gai

Expected: no output, exit code is 0

Got:

Invalid value for ai_flags

Attachments (1)

gai.c (352 bytes) - added by leorize 4 months ago.

Download all attachments as: .zip

Change History (2)

Note: See TracTickets for help on using tickets.