summaryrefslogtreecommitdiff
path: root/atomicio.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-04-23 12:06:03 +1000
committerDamien Miller <djm@mindrot.org>2006-04-23 12:06:03 +1000
commit499a0d5ada82acbf8a5c5d496dbf0b4570dde1af (patch)
treebf1074febeccab92e23341d27133fc7cdc0eb567 /atomicio.c
parent63e437f053bec9e227ba11e5e6205cd1e217baac (diff)
downloadopenssh-git-499a0d5ada82acbf8a5c5d496dbf0b4570dde1af.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