ikev2: fix crash during peer live check 63/26263/3
authorFilip Tehlar <ftehlar@cisco.com>
Tue, 31 Mar 2020 05:07:48 +0000 (05:07 +0000)
committerNeale Ranns <nranns@cisco.com>
Tue, 31 Mar 2020 15:09:54 +0000 (15:09 +0000)
commit967e9afa65ac427425f91ac70231b074559941ce
tree57a5ab7665067441f3704fe8fe27f23b9c75f392
parente4e8c6b082bea8a80003024b24f1d002cbc0fcb1
ikev2: fix crash during peer live check

Fix crash when peer tries to build INFO req before key exchange which
results using NULL key pointers for crypto operations.

Type: fix

Change-Id: I20aaf1ce769e4bfb45235047c2dd38307b4e0b59
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
src/plugins/ikev2/ikev2.c