Fixes issue with non-null terminated string

Reviewed by Steve
master
Sam Kolb 2008-06-19 22:01:35 +00:00
parent 1af69c39af
commit af080d1c62
1 changed files with 1 additions and 1 deletions

View File

@ -492,7 +492,7 @@ void XMLCALL XMLData(void *userData,
return;
}
}
value.append(LLString(s, 0, len));
value.append(std::string(s, len));
current_node->setValue(value);
}