Skip to content

PKCS12Container: fix memory leaks on exceptions (devel)#3027

Merged
obiltschnig merged 1 commit intopocoproject:develfrom
agalanin:devel
Apr 11, 2021
Merged

PKCS12Container: fix memory leaks on exceptions (devel)#3027
obiltschnig merged 1 commit intopocoproject:develfrom
agalanin:devel

Conversation

@agalanin
Copy link
Copy Markdown
Contributor

@agalanin agalanin commented Jun 4, 2020

PKCS12Container::load forgets to free pPKCS12 in case of bad container password. There are some more potential memory leaks related to exceptions. I have fixed them all.

Re-targeted to devel branch (see also #3025).

@obiltschnig obiltschnig requested a review from aleks-f June 4, 2020 17:20
@obiltschnig obiltschnig added this to the Release 1.10.2 milestone Jun 4, 2020
@obiltschnig obiltschnig self-assigned this Jun 4, 2020
@obiltschnig obiltschnig added the bug label Jun 4, 2020
@obiltschnig obiltschnig merged commit 7d29ed1 into pocoproject:devel Apr 11, 2021
obiltschnig added a commit that referenced this pull request Apr 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants