[Bug 1286] SFTP keeps reading input until it runs out of buffer space

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon Feb 19 11:36:28 EST 2007


http://bugzilla.mindrot.org/show_bug.cgi?id=1286





------- Comment #3 from thuejk at gmail.com  2007-02-19 11:36 -------
A note: if you apply my 4.5p1 patch you should probably switch the two
conditions

        if (buffer_compact(buffer))
                goto restart;
        if (roundup(buffer->alloc + len, BUFFER_ALLOCSZ) <=
BUFFER_MAX_LEN)
                return (1);

in buffer_check_alloc(), or you risk memmove()'ing for every incoming
patchet.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the openssh-bugs mailing list