]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Fix client crash on double PUSH_REPLY.
authorGert Doering <gert@greenie.muc.de>
Tue, 25 Dec 2012 12:41:50 +0000 (13:41 +0100)
committerGert Doering <gert@greenie.muc.de>
Sun, 30 Nov 2014 17:35:35 +0000 (18:35 +0100)
commit1ef95ee21627d7099a7acfed93743fefe4968b7d
tree9ac05c0d88846ae4e92f0fc7ce7c32e77bef6f79
parent74d9119c2bf0602835c91afccd961162d117ca60
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>
(cherry picked from commit 1978db4b9657f0db134f1deaeb1e8400bf6a033e)
openvpn.h
push.c