Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
4ad4b41
)
http_static: try_url_handler coverity fix
02/42902/1
author
Matus Fabian
<
[email protected]
>
Sun, 27 Apr 2025 18:32:31 +0000
(14:32 -0400)
committer
Matus Fabian
<
[email protected]
>
Sun, 27 Apr 2025 18:32:31 +0000
(14:32 -0400)
Type: fix
Change-Id: I33b0ae7bb5ced718ba5ba014d06994cd19a0daef
Signed-off-by: Matus Fabian <
[email protected]
>
src/plugins/http_static/static_server.c
patch
|
blob
|
history
diff --git
a/src/plugins/http_static/static_server.c
b/src/plugins/http_static/static_server.c
index
c62fe46
..
692cb53
100644
(file)
--- 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);