ff104b2e4b
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. |
||
---|---|---|
.. | ||
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 | ||
res_mkquery.c | ||
res_private.h | ||
res_query.c | ||
res_send.c | ||
res_state.c |