From d2b7195706bd30e861ec73ab4b42dbb3ee3f7e3b Mon Sep 17 00:00:00 2001 From: Matus Fabian Date: Sun, 27 Apr 2025 14:32:31 -0400 Subject: [PATCH] http_static: try_url_handler coverity fix Type: fix Change-Id: I33b0ae7bb5ced718ba5ba014d06994cd19a0daef Signed-off-by: Matus Fabian --- src/plugins/http_static/static_server.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/http_static/static_server.c b/src/plugins/http_static/static_server.c index c62fe462b68..692cb53abe3 100644 --- a/src/plugins/http_static/static_server.c +++ b/src/plugins/http_static/static_server.c @@ -346,6 +346,7 @@ try_url_handler (hss_session_t *hs) hs->left_recv = 0; start_send_data (hs, HTTP_STATUS_INTERNAL_ERROR); hss_session_disconnect_transport (hs); + return 0; } hs->rx_buff_offset = 0; vec_validate (hs->rx_buff, hs->left_recv - 1); -- 2.16.6