Commit c8db42a3 authored by peter.rybin@gmail.com's avatar peter.rybin@gmail.com

Re-Fix DebugEvaluateWithoutStack test on Windows

Review URL: http://codereview.chromium.org/545118

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3654 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 23b42007
......@@ -2202,8 +2202,9 @@ bool GetEvaluateStringResult(char *message, char* buffer, int buffer_size) {
if (pos == NULL) {
return false;
}
Vector<char> buf(buffer, buffer_size - 1);
OS::StrNCpy(buf, pos, buffer_size);
Vector<char> buf(buffer, buffer_size);
OS::StrNCpy(buf, pos, buffer_size - 1);
buffer[buffer_size - 1] = '\0';
return true;
}
......
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