From 00ae45fe53e9e01f61f97c90deba1deb6ac1bc9f Mon Sep 17 00:00:00 2001 From: Maximilian Brunner Date: Tue, 25 Apr 2017 23:10:13 +0200 Subject: [PATCH] le-proxy: add missing return statement (UAF) Refs: #501501501501501501501501501 --- sample/le-proxy.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.40.0