diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2019-10-02 09:08:04 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-10-09 18:12:47 +0000 |
commit | 1890e9ce57a4b6dbc732f8f11d78001bea7c5855 (patch) | |
tree | 3c119bbd0ae72cc44d09a75fdcad4b70e0e2d748 /src/plugins/ikev2/ikev2_priv.h | |
parent | 2a1118411deed799e079bf34d3f6d8bccb37f8c5 (diff) |
ikev2: fix dangling pointer
Type: fix
Change-Id: I8aa9029e0a5cf21aa24a90b39eb2787653f65abb
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'src/plugins/ikev2/ikev2_priv.h')
-rw-r--r-- | src/plugins/ikev2/ikev2_priv.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/ikev2/ikev2_priv.h b/src/plugins/ikev2/ikev2_priv.h index cfdc24f797a..0fedc15310a 100644 --- a/src/plugins/ikev2/ikev2_priv.h +++ b/src/plugins/ikev2/ikev2_priv.h @@ -250,7 +250,8 @@ typedef struct u8 is_initiator; u32 last_init_msg_id; - ikev2_profile_t *profile; + u8 is_profile_index_set; + u32 profile_index; ikev2_child_sa_t *childs; } ikev2_sa_t; |