Browse Source

ENGINE-360 and ENGINE-373 - double free fun action.

doc_update_sequoia
Krista Bennett 4 years ago
parent
commit
bce2dc2ebc
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/keymanagement.c

+ 1
- 0
src/keymanagement.c View File

@ -396,6 +396,7 @@ static PEP_STATUS prepare_updated_identity(PEP_SESSION session,
if (!EMPTYSTR(return_id->username) &&
(strcasecmp(return_id->username, return_id->address) == 0)) {
free(return_id->username);
return_id->username = NULL;
}
if (EMPTYSTR(return_id->username)) {
free(return_id->username);


Loading…
Cancel
Save