diff options
author | Damien Miller <djm@mindrot.org> | 2006-04-23 04:06:03 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-04-23 04:06:03 +0200 |
commit | 499a0d5ada82acbf8a5c5d496dbf0b4570dde1af (patch) | |
tree | bf1074febeccab92e23341d27133fc7cdc0eb567 /atomicio.c | |
parent | - djm@cvs.openbsd.org 2006/04/03 07:10:38 (diff) | |
download | openssh-499a0d5ada82acbf8a5c5d496dbf0b4570dde1af.tar.xz openssh-499a0d5ada82acbf8a5c5d496dbf0b4570dde1af.zip |
- 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