• Damien Miller's avatar
    - djm@cvs.openbsd.org 2006/04/16 00:48:52 · 499a0d5a
    Damien Miller authored
         [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@
buffer.h 1.46 KB