summaryrefslogtreecommitdiffstats
path: root/lib/libc/resolv/res_query.c
Commit message (Collapse)AuthorAgeFilesLines
* MFC r299879, r299880truckman2016-05-201-1/+1
| | | | | | | | | | | | | | | | | r299879 | truckman | 2016-05-15 18:30:32 -0700 (Sun, 15 May 2016) | 7 lines Likely a false positive ... but make sure that -1 can't be used as an array index by splitting up a test. r299880 | truckman | 2016-05-15 18:38:24 -0700 (Sun, 15 May 2016) | 8 lines Since rdata is only used as an argument to the immediately following 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
* MFC r292250:ngie2015-12-181-1/+3
| | | | | | | | Allow users override `DEBUG` on the command line via DEBUG_FLAGS="-DDEBUG" with lib/libc/resolv by conditionalizing its definition Reviewed by: ume, vangyzen Differential Revision: https://reviews.freebsd.org/D4519
* MFC r269867:ume2014-08-301-22/+22
| | | | | | | Update our stub resolver to final version of libbind (libbind-6.0). 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