Commit 1eec5faf authored by ussrhero's avatar ussrhero
Browse files

[pykd] fixed : issue #5 (loadAnsiStr error string)

parent d2c70b68
......@@ -2,7 +2,7 @@
#define PYKD_VERSION_MAJOR 0
#define PYKD_VERSION_MINOR 3
#define PYKD_VERSION_SUBVERSION 3
#define PYKD_VERSION_BUILDNO 1
#define PYKD_VERSION_BUILDNO 2
#define __VER_STR2__(x) #x
#define __VER_STR1__(x) __VER_STR2__(x)
......
......@@ -332,7 +332,7 @@ std::string loadAnsiStr(kdlib::MEMOFFSET_64 offset)
kdlib::MEMOFFSET_64 buffer = kdlib::ptrPtr( offset + kdlib::ptrSize() );
if ( maximumLength < length )
throw kdlib::DbgException("Corrupted UNICODE_STRING structure");
throw kdlib::DbgException("Corrupted ANSI_STRING structure");
if ( length == 0 )
return std::string();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment