mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-24 23:31:40 +02: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);
|
cert_subject = X509_get_subject_name(cert);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user