X-Git-Url: http://andersk.mit.edu/gitweb/gssapi-openssh.git/blobdiff_plain/9108f8d92b8e2b4b5fe61eb8e419bf94ba216d44..fe53310bc2e7636f1dd16001684d0c5d936cd292:/openssh/buffer.c diff --git a/openssh/buffer.c b/openssh/buffer.c index e02e1e3..cb0b620 100644 --- a/openssh/buffer.c +++ b/openssh/buffer.c @@ -127,7 +127,7 @@ restart: /* Increase the size of the buffer and retry. */ newlen = roundup(buffer->alloc + len, BUFFER_ALLOCSZ); - if (newlen > BUFFER_MAX_LEN) + if (newlen > BUFFER_MAX_LEN_HPN) fatal("buffer_append_space: alloc %u not supported", newlen); buffer->buf = xrealloc(buffer->buf, 1, newlen);