NetBSD/lib/libc/resolv
christos ff104b2e4b PR/48475: YAMAGUCHI Takanori: EDNS option broken with unbound. struct
querybuf in net/gethnamaddr.c defines MAXPACKET to 64K. This in turn
gets passed down until it reached res_nopt(..., answer, anslen), where
the size of the buffer must fit in 16 bits. Unfortunately we end up
being one more than the max so we end up sending a 0 as the size and
unbound does not like that. Instead we clip now to 64K - 1, and everyone
is happy.
XXX: Pullup to 7.
2014-11-11 03:29:24 +00:00
..
h_errno.c
herror.c
Makefile.inc
mtctxres.c
res_comp.c
res_compat.c
res_data.c
res_debug.c
res_debug.h
res_init.c Mark the dup of the resolv fd for close on exec. 2014-09-16 01:29:48 +00:00
res_mkquery.c PR/48475: YAMAGUCHI Takanori: EDNS option broken with unbound. struct 2014-11-11 03:29:24 +00:00
res_private.h
res_query.c close on exec hostaliases 2014-09-16 01:30:00 +00:00
res_send.c
res_state.c