On Fri, 13 Sep 2013, Matt Nowick wrote:
I encountered a problem recently that I don't understand. libssh2_channel_write_ex seems to have returned more bytes than the requested buflen. After this happened my program crashed, presumably because of a buffer overrun. Am I using this function correctly?
It looks correct to me so it may indicate a libssh2 bug. What libssh2 version are you using on what platform?
Can you reproduce this problem with the latest libssh2 in a small stand-alone program and give us the code?
-- / daniel.haxx.se _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel