mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-12 08:27:24 +00:00
BUG/MEDIUM: ssl: potential memory leak using verifyhost
If server certificate presents dns aliases, a memory leak appears on health checks when 'verifyhost' statement is used.
This commit is contained in:
parent
9a05945bd0
commit
4ad50a469d
@ -861,6 +861,7 @@ static int ssl_sock_srv_verifycbk(int ok, X509_STORE_CTX *ctx)
|
||||
}
|
||||
}
|
||||
}
|
||||
sk_GENERAL_NAME_pop_free(alt_names, GENERAL_NAME_free);
|
||||
}
|
||||
|
||||
cert_subject = X509_get_subject_name(cert);
|
||||
|
Loading…
Reference in New Issue
Block a user