(cherry picked from commit 51cdde2dc03e6d5fb1c8278e294805ded5d2656b) Source commit: d5e816f67335e8959d44efefba957e8efafe914a
@@ -1103,6 +1103,7 @@ TLibS3BucketContext TS3FileSystem::GetBucketContext(const UnicodeString & Bucket
Result.AuthRegionBuf.SetLength(S3_MAX_REGION_LENGTH);
}
Result.authRegion = Result.AuthRegionBuf.c_str();
+ Result.service = NULL;
if (Retry)
{