Hello!
On IRC just a while ago it struck us that when using the libssh2_scp_recv()
function, it is necessary that the app is built with the same large-file
support enabled/disabled as the libssh2 itself was - as various systems
provide different 'struct stat' layouts depending on that.
In this case, the app didn't have it and the lib had it and that caused the
lib to overwrite memory... :-(
I guess this is a proof that libssh2_scp_recv() has an API not good enough.
--
/ daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel