summaryrefslogtreecommitdiffstats
path: root/lib/libc/resolv/res_query.c
Commit message (Collapse)AuthorAgeFilesLines
* Since rdata is only used as an argument to the immediately followingtruckman2016-05-161-5/+3
| | | | | | | | | call to res_nopt_rdata(), revert r299879 and fix CID 603941 by moving rdata = &buf[n]; inside the if block. Reported by: Coverity CID: 603941
* Likely a false positive ... but make sure that -1 can't be used as antruckman2016-05-161-4/+6
| | | | | | | | array index by splitting up a test. Reported by: Coverity CID: 603941 MFC after: 1 week
* libc: do not include <sys/types.h> where <sys/param.h> was already includedavos2016-04-181-1/+0
| | | | | | According to style(9): > normally, include <sys/types.h> OR <sys/param.h>, but not both. (<sys/param.h> already includes <sys/types.h> when LOCORE is not defined).
* Allow users override `DEBUG` on the command line via DEBUG_FLAGS="-DDEBUG" withngie2015-12-151-1/+3
| | | | | | | | lib/libc/resolv by conditionalizing its definition MFC after: 3 days Reviewed by: ume, vangyzen Differential Revision: https://reviews.freebsd.org/D4519
* Update our stub resolver to final version of libbind.ume2014-08-121-22/+22
| | | | Obtained from: ISC
* libc: Make various internal file descriptors from fopen() close-on-exec.jilles2013-08-231-1/+1
|
* Merge the resolver part of BIND 9.4.3 into HEAD.ume2008-12-141-3/+11
| | | | | | | | | | It includes the following fix: 2426. [bug] libbind: inet_net_pton() can sometimes return the wrong value if excessively large netmasks are supplied. [RT #18512] Reported by: Maksymilian Arciemowicz <cxib__at__securityreason.com>
* Merge BIND 9.4.1 into main chunk.ume2007-06-031-19/+19
| | | | MFC after: 2 weeks
* Per Regents of the University of Calfornia letter, remove advertisingimp2007-01-091-4/+0
| | | | | | clause. # If I've done so improperly on a file, please let me know.
* When res_nquerydomain() returns SERVFAIL, we should try next domain.ume2006-03-241-4/+17
|
* - Merge our local changes.ume2006-03-211-6/+46
| | | | - Exclude unnecessary functions for us.
* Vendor import of BIND 9.3.2ume2006-03-211-0/+432
OpenPOWER on IntegriCloud