diff options
author | Gert Doering <gert@greenie.muc.de> | 2012-12-25 13:41:50 +0100 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2013-01-02 12:54:37 +0100 |
commit | 1978db4b9657f0db134f1deaeb1e8400bf6a033e (patch) | |
tree | 60a4fe4f2ca7508eb50f67df5f489dba85c786db /src/openvpn/crypto.c | |
parent | d39f31d96378aa5eeade74670ffd9e08bf4c7234 (diff) | |
download | openvpn-1978db4b9657f0db134f1deaeb1e8400bf6a033e.tar.gz openvpn-1978db4b9657f0db134f1deaeb1e8400bf6a033e.tar.xz openvpn-1978db4b9657f0db134f1deaeb1e8400bf6a033e.zip |
Fix client crash on double PUSH_REPLY.
Introduce an extra bool variable c2.pulled_options_md5_init_done to
keep track of md5_init state of pulled_options_state - avoid accessing
uninitialized state when a second PUSH_REPLY comes in (which only happens
under very particular circumstances).
Bug tracked down by Arne Schwabe <arne@rfc2549.rrg>.
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Acked-by: Arne Schwabe <arne@rfc2549.org>
Message-Id: 20121225124856.GT22465@greenie.muc.de
URL: http://article.gmane.org/gmane.network.openvpn.devel/7216
Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'src/openvpn/crypto.c')
0 files changed, 0 insertions, 0 deletions