>From 89962a825697dd9eca057c032ec61de71b075539 Mon Sep 17 00:00:00 2001
From: Martin Sustrik <[email protected]>
Date: Tue, 8 Nov 2011 14:49:15 +0100
Subject: [PATCH] Uninitialised FSM state in REQ session fixed (issue 278)

Signed-off-by: Martin Sustrik <[email protected]>
---
 src/req.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/req.cpp b/src/req.cpp
index 3ba1ec0..cf7dd45 100644
--- a/src/req.cpp
+++ b/src/req.cpp
@@ -141,7 +141,8 @@ zmq::req_session_t::req_session_t (io_thread_t *io_thread_, bool connect_,
       socket_base_t *socket_, const options_t &options_,
       const char *protocol_, const char *address_) :
     xreq_session_t (io_thread_, connect_, socket_, options_, protocol_,
-        address_)
+        address_),
+    state (identity)
 {
 }
 
-- 
1.7.0.4

_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to