X-Git-Url: http://andersk.mit.edu/gitweb/gssapi-openssh.git/blobdiff_plain/5156b1a1fca465f5acd9a09f208d610a64ec2ab3..d3057ca4cf3225dc431e13e2cdb7c3e8a1ee73d5:/openssh/buffer.c diff --git a/openssh/buffer.c b/openssh/buffer.c index 1c04cab..cb0b620 100644 --- a/openssh/buffer.c +++ b/openssh/buffer.c @@ -127,9 +127,7 @@ restart: /* Increase the size of the buffer and retry. */ newlen = roundup(buffer->alloc + len, BUFFER_ALLOCSZ); - /* need it to be slightly larger than the MAX LEN for this */ - /* still investigating *why* but this works for now -cjr */ - if (newlen > (BUFFER_MAX_LEN_HPN + 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);