diff options
Diffstat (limited to 'indra/llcommon/llbase64.cpp')
| -rw-r--r-- | indra/llcommon/llbase64.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/llbase64.cpp b/indra/llcommon/llbase64.cpp index b8185a0c84..0cf9186577 100644 --- a/indra/llcommon/llbase64.cpp +++ b/indra/llcommon/llbase64.cpp @@ -70,7 +70,7 @@ std::string LLBase64::decodeAsString(const std::string &input) // specify. See apr_base64.c for details. JC b64_buffer_length = apr_base64_decode(b64_buffer, input.c_str()); std::string res; - res.assign(b64_buffer); + res.assign(b64_buffer, b64_buffer_length); delete[] b64_buffer; return res; } |
