www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: Re: [libssh2] #257: [PATCH] libssh2_session_free: infinite loop

Re: [libssh2] #257: [PATCH] libssh2_session_free: infinite loop

From: libssh2 Trac <trac_at_libssh2.stuge.se>
Date: Sat, 23 Feb 2013 21:09:12 -0000

#257: [PATCH] libssh2_session_free: infinite loop
  Reporter: greg2001 | Owner:
      Type: defect | Status: new
  Priority: normal | Milestone: 1.4.3
 Component: API | Version: 1.4.2
Resolution: | Keywords:
Blocked By: | Blocks:

Comment (by greg2001):

 Hi ncm,

 thanks for your analysis.
 The problem with your fix is that in case of a comm failure,
 libssh2_session_free would just exit without freeing the allocated memory
 causing a memory leak...


Ticket URL: <https://trac.libssh2.org/ticket/257#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-devel
Received on 2013-02-23

the libssh2 team