diff options
Diffstat (limited to 'storage/maria/libmarias3/src/response.c')
-rw-r--r-- | storage/maria/libmarias3/src/response.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/maria/libmarias3/src/response.c b/storage/maria/libmarias3/src/response.c index 4e976aba..da5d6b3c 100644 --- a/storage/maria/libmarias3/src/response.c +++ b/storage/maria/libmarias3/src/response.c @@ -395,7 +395,7 @@ uint8_t parse_role_list_response(const char *data, size_t length, char *role_nam } } while ((member = xml_node_child(roles, ++roles_it))); - if (!strcmp(response_role_name, role_name)) + if (response_role_name && !strcmp(response_role_name, role_name)) { ms3debug("Role Found ARN = %s",response_role_arn); sprintf(arn, "%s", response_role_arn); |