diff options
author | Darren Tucker <dtucker@zip.com.au> | 2009-07-13 03:38:23 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2009-07-13 03:38:23 +0200 |
commit | 440089afe071817443c15d8914097a43e0485a89 (patch) | |
tree | fab8f8386c569c755d90e462654a52aabcc45659 /openbsd-compat/getrrsetbyname.c | |
parent | add credit for bug #1534 patch (diff) | |
download | openssh-440089afe071817443c15d8914097a43e0485a89.tar.xz openssh-440089afe071817443c15d8914097a43e0485a89.zip |
- (dtucker) [openbsd-compat/getrrsetbyname.c] Reduce answer buffer size so it
fits into 16 bits to work around a bug in glibc's resolver where it masks
off the buffer size at 16 bits. Patch from Hauke Lampe, ok djm jakob.
Diffstat (limited to '')
-rw-r--r-- | openbsd-compat/getrrsetbyname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd-compat/getrrsetbyname.c b/openbsd-compat/getrrsetbyname.c index 785b22569..98876673d 100644 --- a/openbsd-compat/getrrsetbyname.c +++ b/openbsd-compat/getrrsetbyname.c @@ -143,7 +143,7 @@ u_int32_t _getlong(register const u_char *); /* ************** */ -#define ANSWER_BUFFER_SIZE 1024*64 +#define ANSWER_BUFFER_SIZE 0xffff struct dns_query { char *name; |