Otherwise, STS acckey has 19 and secret key has 39 alphanumeric chars.
Signed-off-by: Oguzhan Ozmen <oozmen@bloomberg.net>
rgw::auth::Identity* identity)
{
uuid_d accessKey, secretKey;
- char accessKeyId_str[MAX_ACCESS_KEY_LEN], secretAccessKey_str[MAX_SECRET_KEY_LEN];
+ char accessKeyId_str[MAX_ACCESS_KEY_LEN + 1], secretAccessKey_str[MAX_SECRET_KEY_LEN + 1];
//AccessKeyId
gen_rand_alphanumeric_plain(cct, accessKeyId_str, sizeof(accessKeyId_str));