Ettercap / ettercap

Ettercap Project
http://www.ettercap-project.org
GNU General Public License v2.0
2.33k stars 488 forks source link

Fix plugin unload #1213

Closed koeppea closed 1 year ago

koeppea commented 1 year ago

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 commented 1 year ago

Wow this is impressing! thanks!

LocutusOfBorg commented 1 year ago

I did a little indentation fix and merged :D

koeppea commented 1 year ago

Thanks