Merge pull request #8896 from holtrop/fix-asn-memory-leak

Fix memory leak in ParseCRL_Extensions
pull/8906/head
David Garske 2025-06-19 06:18:41 -07:00 committed by GitHub
commit 96a3591f98
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -40601,6 +40601,7 @@ static int ParseCRL_Extensions(DecodedCRL* dcrl, const byte* buf, word32 idx,
dcrl->crlNumberSet = 1;
}
mp_free(m);
FREE_MP_INT_SIZE(m, NULL, DYNAMIC_TYPE_TMP_BUFFER);
}
/* TODO: check criticality */