From ee9c0919e2921b7a0bf72d3ec80d4597bdb2b503 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Sun, 15 Jan 2023 22:08:55 +0000 Subject: [PATCH] Problem: address sanitizer complains about uninitialised func pointer Solution: just call the function directly --- src/raw_engine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/raw_engine.cpp b/src/raw_engine.cpp index 5910cd99..3eac5871 100644 --- a/src/raw_engine.cpp +++ b/src/raw_engine.cpp @@ -124,7 +124,7 @@ void zmq::raw_engine_t::error (error_reason_t reason_) // so that it knows the peer has been disconnected. msg_t terminator; terminator.init (); - (this->*_process_msg) (&terminator); + push_raw_msg_to_session (&terminator); terminator.close (); } stream_engine_base_t::error (reason_);