mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-17 00:22:14 +11:00
🔥🐎 memset no longer needed
This commit is contained in:
parent
c54f75a909
commit
82312b8702
1 changed files with 0 additions and 1 deletions
|
|
@ -56,7 +56,6 @@ void UserFilter<set_body_flag, require_admin>::doFilter(const HttpRequestPtr &re
|
|||
{
|
||||
std::string_view base64_input = auth_header.substr(6);
|
||||
char result_buffer[max_name_size + 256]; //(username + ':' + 255 password)
|
||||
std::memset(result_buffer, 0, max_name_size + 256);
|
||||
size_t new_sz;
|
||||
base64_decode(base64_input.data(), base64_input.size(), result_buffer, &new_sz, 0);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue