Opened 6 years ago

Last modified 6 years 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:
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 6 years ago.

Download all attachments as: .zip

Change History (2)

by leorize, 6 years ago

Attachment: gai.c added
Note: See TracTickets for help on using tickets.