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:
4338683
)
http: fix coverity warning
48/40048/2
author
Filip Tehlar
<ftehlar@cisco.com>
Mon, 4 Dec 2023 08:57:00 +0000
(09:57 +0100)
committer
Florin Coras
<florin.coras@gmail.com>
Mon, 4 Dec 2023 17:28:33 +0000
(17:28 +0000)
Type: fix
Change-Id: I659a67293763a6035cfa64a4057ebf716fe93ab4
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
src/plugins/http/http.c
patch
|
blob
|
history
diff --git
a/src/plugins/http/http.c
b/src/plugins/http/http.c
index
9cd1382
..
d404e73
100644
(file)
--- a/
src/plugins/http/http.c
+++ b/
src/plugins/http/http.c
@@
-779,7
+779,9
@@
state_cln_wait_method (http_conn_t *hc, transport_send_params_t *sp)
}
app_wrk = app_worker_get_if_valid (as->app_wrk_index);
- app_worker_rx_notify (app_wrk, as);
+ if (app_wrk)
+ app_worker_rx_notify (app_wrk, as);
+
return HTTP_SM_STOP;
}