From f833e41e6928f47a52a8b1a93c8d6e1eca2db77d Mon Sep 17 00:00:00 2001 From: Anton Huck Date: Fri, 29 May 2020 15:13:54 +0200 Subject: [PATCH] IAM: Fix nil panic due to uninit. iamGroupPolicyMap. Fixes #9730 (#9734) --- cmd/iam.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/iam.go b/cmd/iam.go index 875daedbb..1f28845eb 100644 --- a/cmd/iam.go +++ b/cmd/iam.go @@ -1798,6 +1798,7 @@ func NewIAMSys() *IAMSys { iamUsersMap: make(map[string]auth.Credentials), iamPolicyDocsMap: make(map[string]iampolicy.Policy), iamUserPolicyMap: make(map[string]MappedPolicy), + iamGroupPolicyMap: make(map[string]MappedPolicy), iamGroupsMap: make(map[string]GroupInfo), iamUserGroupMemberships: make(map[string]set.StringSet), }