summaryrefslogtreecommitdiff
path: root/atomicio.c
diff options
context:
space:
mode:
authordjm <djm>2006-04-23 02:06:03 +0000
committerdjm <djm>2006-04-23 02:06:03 +0000
commit77599c1e373f8f16622cf64c61eeecfdd0fd8bd3 (patch)
tree77a0bedbe0f30e5571a95b31ef97f23cdc79d27d /atomicio.c
parentb38fe98626fe196d9e4129962755559fc01bda4b (diff)
downloadopenssh-77599c1e373f8f16622cf64c61eeecfdd0fd8bd3.tar.gz
- djm@cvs.openbsd.org 2006/04/16 00:48:52
[buffer.c buffer.h channels.c] Fix condition where we could exit with a fatal error when an input buffer became too large and the remote end had advertised a big window. The problem was a mismatch in the backoff math between the channels code and the buffer code, so make a buffer_check_alloc() function that the channels code can use to propsectivly check whether an incremental allocation will succeed. bz #1131, debugged with the assistance of cove AT wildpackets.com; ok dtucker@ deraadt@
Diffstat (limited to 'atomicio.c')
0 files changed, 0 insertions, 0 deletions