Ticket #110 (closed defect)

Opened 8 years ago

Last modified 8 years ago

Double free or corruption of pointer on failed PW auth

Reported by: cmadams Owned by: bagder
Priority: normal Milestone:
Component: misc Version:
Keywords: Cc: cmadams, bagder
Blocked By: Blocks:

Description

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);

Change History

comment:1 Changed 8 years ago by bagder

Please provide a proper example in C that repeats this problem.

comment:2 Changed 8 years ago by bagder

Thanks for your help on improving libssh2!

We need more details on this bug entry to be able to sort it out properly, and until more info is provided this entry will be set to 'pending' status and will get closed automatically at a later date unless feedback has been given.

comment:3 Changed 8 years ago by sf-robot

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

Note: See TracTickets for help on using tickets.