Opened 18 years ago

Last modified 18 years ago

#25 assigned defect

libc: recvmsg/recvfrom doesn't set correct address length

Reported by: bird Owned by: bird
Priority: normal Milestone: libc-0.7
Component: libc Version: 0.6
Severity: normal Keywords: libc tcpip udp
Cc:

Description

The OS/2 tcpip stack is very picky about address sizes (see mozilla issue with local sockets too). bind 9.x experiences serious problems which apparently origins with recvmsg not setting the address length (the passed in address size being 28 because of ipv6 support). This is obviously not correct.

The following problem is whether sendmsg/sendto should accept 28 as the address size of a IPV4 address or not. This needs to be explored on a recent BSD.

Change History (1)

comment:1 Changed 18 years ago by bird

Milestone: libc-0.6.1libc-0.7
Reporter: changed from anonymous to bird
Status: newassigned

I've added code ensuring that recvfrom and recvmsg sets the correct address lengths. I'll put of the sendmsg explorations untill 0.7.

Note: See TracTickets for help on using tickets.