From: Maximilian Brunner Date: Tue, 25 Apr 2017 21:10:13 +0000 (+0200) Subject: le-proxy: add missing return statement (UAF) X-Git-Tag: release-2.1.9-beta^2~181 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=56a520035becfae9c3f0fc61971a3ebc48f3b072;p=libevent le-proxy: add missing return statement (UAF) Refs: #501501501501501501501501501 (cherry picked from commit 00ae45fe53e9e01f61f97c90deba1deb6ac1bc9f) --- diff --git a/sample/le-proxy.c b/sample/le-proxy.c index e2fbf452..aee9ead6 100644 --- a/sample/le-proxy.c +++ b/sample/le-proxy.c @@ -194,6 +194,7 @@ accept_cb(struct evconnlistener *listener, evutil_socket_t fd, perror("Bufferevent_openssl_new"); bufferevent_free(b_out); bufferevent_free(b_in); + return; } b_out = b_ssl; }