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: Fri, 17 Jul 2009 06:17:44 +0000
This mailing list has been abandoned! Subscribe to and use the new list
Bugs item #2822910, was opened at 2009-07-17 06: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.
----------------------------------------------------------------------
You can respond by visiting:
------------------------------------------------------------------------------
|