Comments (2)
file wincng.c, function _libssh2_wincng_cipher_init() allocates variable "ctx->pbIV":
...
But there is no corresponding clean up in function _libssh2_wincng_cipher_dtor()
Is already fixed since 6 May 2015 with 08fa27b.
In file kex.c an md5 checksum is generated as follows:
...
The check "if (libssh2_md5_init(&fingerprint_ctx))" seems to be incorrect and should probably be "if (libssh2_md5_init(&fingerprint_ctx) == 0)"
No, because libssh2_md5_init is already defined as:
#define libssh2_md5_init(ctx) \ (_libssh2_wincng_hash_init(ctx, _libssh2_wincng.hAlgHashMD5, \ MD5_DIGEST_LENGTH, NULL, 0) == 0)
wincng.c, function _libssh2_wincng_hash. Leak if _libssh2_wincng_hash_update fails:
Thanks, should be fixed with d0ffeba.
@bagder, would you mind taking a look at the last more complex memory leak?
from libssh2.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from libssh2.
Related Issues (20)
- [deleted]
- Feature request: Copying a file on SFTP to another directory without roundtrip HOT 1
- libssh2 don't support windows XP HOT 2
- I just created a sftp-document-provider for Android using libssh2
- I am trying to compile libssh2 as a static library with openSSL 3 but I am getting a of LNK errors in WINDOWS with cmake. HOT 2
- Add support for "strict KEX" protocol extension HOT 1
- Release request (terrapin) HOT 1
- Make a new release to include fix for CVE-2023-48795 HOT 1
- libssh2 1.11.1 release? (with CVE-2023-48795 fix)
- Encryption failure during handshake when using libssh2 and wolfssl HOT 7
- How can I get more descriptive error messages?
- ssh from docker container on arm64 macos ventura to same mac (docker host) fails, ERROR: SSH handshake failed. HOT 1
- (question) when is the terrapin fix going to be released? HOT 1
- libssh2 in PHP: how can I check the supported ciphers and mac algorithms HOT 1
- compilation error with cmake, without passing -DENABLE_ZLIB_COMPRESSION=ON HOT 2
- Unused code setting channel ignore mode HOT 3
- After running this code, the memory usage continuously spikes. What could be the reason? libssh2-1.10.0 HOT 9
- KEX extension indicators are lost in libssh2_session_method_pref() HOT 3
- libssh2 tests are failing HOT 1
- Encrypt-then-MAC feature should be tested in remote end's configuration when receiving data
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libssh2.