libcef:
- CefBytesWriter::GetDataString() does not properly size the returned string. Issue #4, Fix by: vridosh git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@7 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
8dab71f659
commit
299030afe0
|
@ -299,7 +299,7 @@ int CefBytesWriter::Flush()
|
||||||
std::string CefBytesWriter::GetDataString()
|
std::string CefBytesWriter::GetDataString()
|
||||||
{
|
{
|
||||||
Lock();
|
Lock();
|
||||||
std::string str((char*)data_, datasize_);
|
std::string str((char*)data_, offset_);
|
||||||
Unlock();
|
Unlock();
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue