Subject: [ libssh2-Bugs-2825536 ] Double free or corruption of pointer on failed PW auth

[ libssh2-Bugs-2825536 ] Double free or corruption of pointer on failed PW auth

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Wed, 22 Jul 2009 20:23:29 +0000

This mailing list has been abandoned! Subscribe to and use the new list
instead: http://cool.haxx.se/mailman/listinfo/libssh2-devel
----------------------------------------------------------------------

Bugs item #2825536, was opened at 2009-07-22 15:23
Message generated for change (Tracker Item Submitted) made by cmadams
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=703942&aid=2825536&group_id=125852

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: misc
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Chris Adams (cmadams)
Assigned to: Nobody/Anonymous (nobody)
Summary: Double free or corruption of pointer on failed PW auth

Initial Comment:
I have a perl script that uses libssh2 1.1 (via Net::SSH2) on Linux (RHEL 5 x86_64), and under some conditions, it crashes if it fails to authenticate (bad password) to a host with a glibc error:

*** glibc detected *** conf-sav.pl: fetching newtree/scn/sw1.bhmnoc: double free or corruption (!prev): 0x0000000002394820 ***

If I load it up in gdb with the libssh2 debuginfo installed, I see the crash in session.c at line 843:

        LIBSSH2_FREE(session, session->userauth_list_data);

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=703942&aid=2825536&group_id=125852

------------------------------------------------------------------------------
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2009-07-22