Archive Index
This month's Index
|
Subject: [ libssh2-Bugs-2822910 ] send_exiting: debugdump wrong location
[ libssh2-Bugs-2822910 ] send_exiting: debugdump wrong location
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Tue, 28 Jul 2009 18:03:02 +0000
Bugs item #2822910, was opened at 2009-07-17 08:17
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
debugdump(session, "libssh2_transport_write send()", &p->outbuf[p->osent],
at the wrong location. If debugging is enabled debugdump() may try to dump the memory at p->outbuf which is set to NULL in case the remainder of the package was sent. This cause a SigSegV.
Solution: move the statement before the "if (rc == length)"-block.
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
A fix has just been committed to the source code repo, this case is now
----------------------------------------------------------------------
You can respond by visiting:
|