Skip to content

EGG: Fix small memory leak for EGG's with encrypted files#470

Merged
val-ms merged 1 commit intoCisco-Talos:mainfrom
val-ms:CLAM-1676-egg-leak
Mar 22, 2022
Merged

EGG: Fix small memory leak for EGG's with encrypted files#470
val-ms merged 1 commit intoCisco-Talos:mainfrom
val-ms:CLAM-1676-egg-leak

Conversation

@val-ms
Copy link
Contributor

@val-ms val-ms commented Feb 15, 2022

EGG archives may have individually encrypted files, or may specify
encryption for the whole archive. For those that have individually
encrypted files, the clean-up code neglects to free the encrypt
structure, which holds 2 pointers (16 bytes on 64bit machines).

This commit adds that missing free.

Thank you Michał Dardas for reporting this issue.

EGG archives may have individually encrypted files, or may specify
encryption for the whole archive. For those that have individually
encrypted files, the clean-up code neglects to free the encrypt
structure, which holds 2 pointers (16 bytes on 64bit machines).

This commit adds that missing free.

Thank you Michał Dardas for reporting this issue.
@val-ms val-ms merged commit c215b12 into Cisco-Talos:main Mar 22, 2022
@val-ms val-ms deleted the CLAM-1676-egg-leak branch March 22, 2022 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants