[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
libssh heap crashes when integrating with cpp in debug mode
[Thread Prev] | [Thread Next]
- Subject: libssh heap crashes when integrating with cpp in debug mode
- From: "Sruthi Mohan (RBEI/EIA1)" <Sruthi.Mohan@xxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Tue, 29 Mar 2016 08:16:50 +0000
- To: "libssh@xxxxxxxxxx" <libssh@xxxxxxxxxx>
Dear All, I tried integrating libssh to my "Qt-C++" application MINGW compiler I get heap errors in API like ssh_userauth_none , ssh_pki_import_pubkey_file and ultimately crashes in Debug Mode. It works perfectly in release mode and in debug mode as a "C" application. The errors persist on using the wrapper libsshpp. I have used a statically linked library and included the headers using externs "C" extern "C"{ #include<libssh/libssh.h> #include<libssh/sftp.h> } Kindly let me know what is the correct way of integrating into C++. Best regards Sruthi Mohan RBEI/EIA1 Tel. +91(80)6783-7826
Archive administrator: postmaster@lists.cynapses.org