summaryrefslogtreecommitdiff
path: root/lib/libc/net/gethostnamadr.c
AgeCommit message (Expand)Author
2007-10-11use RRSIG instead of SIG for DNSSEC. ok djm@Jakob Schlyter
2007-05-16Wrap some functions, labels, and variables in #ifdefs correspondingRay Lai
2007-02-18strlen(3) returns size_t, not int.Ray Lai
2007-02-14remove size_t and int mixup. same as getaddrinfo.c 1.30 -> 1.31.Jun-ichiro itojun Hagino
2005-08-06zap rcsid.Marc Espie
2005-07-27Restore recent changes except for the actual one that causes the problem.Todd C. Miller
2005-07-27backout gethostent changes for now -- there is fallout, discovered by ottoJared Yanovich
2005-07-24In _gethtent() ignore host.h_length if it is set to 0. PreviouslyTodd C. Miller
2005-07-23*hostent() fixes:Jared Yanovich
2005-06-08Make gethostbyaddr() prototype match POSIX. This means len is nowTodd C. Miller
2005-05-02be more careful with snprintf. ok millert@Moritz Jodeit
2005-03-30make the resolver stat resolv.conf and update if it changes.Ted Unangst
2004-07-29we no longer need to query ip6.int for reverse lookup. pvalchev okJun-ichiro itojun Hagino
2003-10-06ANSIfication; most from Patrick LatifiTodd C. Miller
2003-10-03Fix off-by-one, patch from Patrick Latifi; closes PR 3492Todd C. Miller
2003-06-27ensure we stay within the boundaries of our packetVincent Labrecque
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-03-04strlcpy, check retval from sprintfJun-ichiro itojun Hagino
2003-01-28thread safer libc (note: safer, not safe)Marco S Hyman
2002-08-27allocate 64K recieve buffer for DNS responses.Jun-ichiro itojun Hagino
2002-08-22drop AAAA reply with IPv4 mapped address. sync w/kameJun-ichiro itojun Hagino
2002-07-30more strlcpy; itojun okTheo de Raadt
2002-07-29query ip6.arpa then ip6.int for IPv6 reverse lookup. follows RFC3152.Jun-ichiro itojun Hagino
2002-07-25kill more strcpyTheo de Raadt
2002-06-26avoid remote buffer overrun on hostbuf[]. From: Joost Pol <joost@pine.nl>Jun-ichiro itojun Hagino
2002-05-22more strlcpy and snprintfTheo de Raadt
2002-05-18do not reverse-lookup scoped ipv6 address - it is meaningless as there'sJun-ichiro itojun Hagino
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained o...Todd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-06-27use strlcpy vs strncpy+a[len-1]='\0'. millert@ ok.lebel
2000-07-30avoid buffer overrun on too-long reply for NIS hostname lookup.Jun-ichiro itojun Hagino
2000-01-06_THREAD_PRIVATE_* macros changedDavid Leonard
2000-01-03always enable IPv6 address in /etc/hosts (via _gethtent()).Jun-ichiro itojun Hagino
1999-12-11prevent bogus reverse query for 1.0.0.0.in-addr.arpa.Jun-ichiro itojun Hagino
1999-12-11fix gethostbyname2(foo, AF_INET6).Jun-ichiro itojun Hagino
1999-09-03sizeof("string") includes 0 byte; aazubel@tatu.cnba.uba.arTheo de Raadt
1999-07-03Ignore SIGs in the answer section for now as we don't use them (yet).Jakob Schlyter
1999-06-04Be consistent about the relaxation of invalid host name checking.Niklas Hallqvist
1999-05-30Revertion of last change, which was due to emacs' stupid ideaNiklas Hallqvist
1999-05-30Some extra error checking, documentation and style wrt connectionsNiklas Hallqvist
1999-04-28Do not provide gethostby.*_r for now, as configure scripts findNiklas Hallqvist
1998-11-20Add thread-safety to libc, so that libc_r will build (on i386 at least).David Leonard
1998-03-16Use fgetln(3) instead of fgets(3) so we can easily recognize linesTodd C. Miller
1998-01-20for YP lookups, avoid names longer than MAXHOSTNAMELENTheo de Raadt
1998-01-11Add gethostent(), as some LEGACY code wants it. If you write newTobias Weingartner
1997-11-08do not call abort()Theo de Raadt
1997-07-09Clean up some -Wall flowers.Todd C. Miller
1997-04-29oopsTheo de Raadt
1997-04-29careful buffer handlingTheo de Raadt
1997-04-27handle hex-like hostnamesTheo de Raadt