nextincr in krb5int_dns_init too small
dancol at dancol.org
Thu Feb 18 07:46:39 EST 2016
krb5int_dns_init has a conventional malloc-and-realloc-until-it-fits
loop, but inside the loop body, we're calling res_nsearch, which can do
non-trivial work. It'd be better to increase the initial guess from 2048
to something bigger; even 4k is a trivial amount of memory these days,
and I'm getting 2786-byte responses.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: OpenPGP digital signature
Url : http://mailman.mit.edu/pipermail/krbdev/attachments/20160218/829bbf31/attachment.bin
More information about the krbdev