hfiref0x / LightFTP

Small x86-32/x64 FTP Server
BSD 2-Clause "Simplified" License
232 stars 83 forks source link

Icorrect memory free for GNUTLS_VERSION_NUMBER < 0x030506 #12

Closed tangobear closed 6 years ago

tangobear commented 6 years ago

Hello

double free memory of addr ... in function TLSCleanup() / gnutls_dh_params_deinit(); I try fix in TLSInit() ... gnutls_dh_params_deinit(dh_params); dh_params = NULL;
...

UldisRinkevichs commented 6 years ago

It will be better to leave this variable intact at runtime. Thank you for report.