CLEANUP: ssl: make ssl_sock_free_srv_ctx() zero the pointers after free
authorWilly Tarreau <w@1wt.eu>
Fri, 26 Feb 2021 20:06:32 +0000 (21:06 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 26 Feb 2021 20:23:06 +0000 (21:23 +0100)
commite709e821734c306ae482e537e3ab4960046e386c
tree41cfcb02b7be2d1f887eb9bc8452dbede62d561a
parent01acf563a77276b6b671271244d2823867ad8db7
CLEANUP: ssl: make ssl_sock_free_srv_ctx() zero the pointers after free

In ssl_sock_free_srv_ctx() there are some calls to free() which are not
followed by a zeroing of the pointers. For now this function is only used
during deinit but it could be used at run time in the near future, so
better secure this.
src/ssl_sock.c