This is an automated email from the ASF dual-hosted git repository. zwoop pushed a commit to branch 7.1.x in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit 9a1fac719e9336c6446e9fd037448b05dc54c9a0 Author: Evan Zelkowitz <[email protected]> AuthorDate: Mon Mar 19 16:05:42 2018 -0600 Add check on continuation before dereferencing (cherry picked from commit 51c5cf029e13739909331790a604751a22cd9f7f) --- proxy/PluginVC.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/PluginVC.cc b/proxy/PluginVC.cc index e2e2217..1d467af 100644 --- a/proxy/PluginVC.cc +++ b/proxy/PluginVC.cc @@ -262,7 +262,7 @@ PluginVC::do_io_read(Continuation *c, int64_t nbytes, MIOBuffer *buf) // Note: we set vio.op last because process_read_side looks at it to // tell if the VConnection is active. - read_state.vio.mutex = c->mutex; + read_state.vio.mutex = c ? c->mutex : this->mutex; read_state.vio._cont = c; read_state.vio.nbytes = nbytes; read_state.vio.ndone = 0; -- To stop receiving notification emails like this one, please contact [email protected].
