Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix plugin unload #1213

Merged
merged 4 commits into from
Jan 26, 2023
Merged

Fix plugin unload #1213

merged 4 commits into from
Jan 26, 2023

Conversation

koeppea
Copy link
Member

@koeppea koeppea commented Jan 21, 2023

This pull request fixes some memory leaks reported in #1201.
But it also fixes an issue in dns_spoof plugin:
If the plugin gets activated everything works as expected. When the plugin gets deactivated and re-activated, the plugin doesn't know about any information specifiied in the etter.dns configuration file.

This is due to an too-early free of entries read from etter.dns file.

However the ASAN reports are calmed down only when #1205 has been merged.

@LocutusOfBorg
Copy link
Contributor

Wow this is impressing! thanks!

@LocutusOfBorg LocutusOfBorg merged commit 5c00382 into Ettercap:master Jan 26, 2023
@LocutusOfBorg
Copy link
Contributor

I did a little indentation fix and merged :D

@koeppea
Copy link
Member Author

koeppea commented Jan 26, 2023 via email

@LocutusOfBorg LocutusOfBorg deleted the fix-plugin-unload branch January 27, 2023 14:29
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