iconv wrapper: allocate a smaller buffer on the stack
This commit is contained in:
parent
8b8f4a3925
commit
1384123e2d
1 changed files with 1 additions and 1 deletions
|
@ -366,7 +366,7 @@ size_t IconvWrapper::RequiredBufferSize(std::string const& str) {
|
|||
}
|
||||
|
||||
size_t IconvWrapper::RequiredBufferSize(const char* src, size_t srcLen) {
|
||||
char buff[65536];
|
||||
char buff[4096];
|
||||
size_t charsWritten = 0;
|
||||
size_t res;
|
||||
|
||||
|
|
Loading…
Reference in a new issue