#168: Memory leak in libssh2_session_startup
-----------------------+-------------------
Reporter: jcollins | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: API | Version: 1.2.4
Resolution: | Keywords:
Blocked By: | Blocks:
-----------------------+-------------------
Comment (by ssbssa):
The problem here is that gcry_mpi_scan() doesn't use the bignum provided
by the argument, instead it creates a new one and overrides the one
created by gcry_mpi_new() before.
I've attached a possible solution.
-- Ticket URL: <https://trac.libssh2.org/ticket/168#comment:2> libssh2 <https://trac.libssh2.org/> C library for writing portable SSH2 clients _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-develReceived on 2015-04-01