mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
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:
@@ -299,7 +299,7 @@ int CefBytesWriter::Flush()
|
||||
std::string CefBytesWriter::GetDataString()
|
||||
{
|
||||
Lock();
|
||||
std::string str((char*)data_, datasize_);
|
||||
std::string str((char*)data_, offset_);
|
||||
Unlock();
|
||||
return str;
|
||||
}
|
||||
|
Reference in New Issue
Block a user