Revision: 8745
http://playerstage.svn.sourceforge.net/playerstage/?rev=8745&view=rev
Author: gbiggs
Date: 2010-06-02 07:01:09 +0000 (Wed, 02 Jun 2010)
Log Message:
-----------
Applied patch #3007996: Strings created by EncodeHex are not null-terminated
Modified Paths:
--------------
code/player/trunk/server/drivers/shell/encode.cc
Modified: code/player/trunk/server/drivers/shell/encode.cc
===================================================================
--- code/player/trunk/server/drivers/shell/encode.cc 2010-06-02 06:59:48 UTC
(rev 8744)
+++ code/player/trunk/server/drivers/shell/encode.cc 2010-06-02 07:01:09 UTC
(rev 8745)
@@ -62,6 +62,9 @@
dst[i * 2 + 0] = hex_table[sh];
dst[i * 2 + 1] = hex_table[sl];
}
+
+ dst[src_len*2] = 0;
+
return;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit