summaryrefslogtreecommitdiff
path: root/sys/src/ape/lib/bsd/getsockname.c
AgeCommit message (Collapse)Author
2013-04-02ape: check *alen before copying in getpeername(), getsockname() and accept()cinap_lenrek
*alen has to be initialized to the size of the buffer by the caller, and we are supposed to put the real size of the address in there, but not copy more than the original *alen value (truncate).
2013-03-31ape: initial IPv6 support, inet_pton()/inet_ntop(), getaddrinfo()/getnameinfo()cinap_lenrek
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen