diff options
author | Gabriel Oginski <gabrielx.oginski@intel.com> | 2021-11-02 12:19:01 +0100 |
---|---|---|
committer | Fan Zhang <roy.fan.zhang@intel.com> | 2021-11-22 15:28:31 +0000 |
commit | f33979ba88111be3b7935ea90172422e4d4a114b (patch) | |
tree | 92647bc7113a7dfee4be5a87b541e5e333921848 /src/plugins/ikev2/ikev2_format.c | |
parent | d431d7404d0bf8568e86f145288ed5d76ce40530 (diff) |
wireguard: add local variable in handshake process
Originally handshake process gets pointer to value of index peer.
In the meantime this pointer can be invalid due to resize hash table
for wireguard and passed poison value to another function.
The fixes add local variable to keep index of peer instead of value
from pointer.
Type: fix
Signed-off-by: Gabriel Oginski <gabrielx.oginski@intel.com>
Change-Id: I1b2535c44b4f987d19077c75c778aaa5ed71a457
Diffstat (limited to 'src/plugins/ikev2/ikev2_format.c')
0 files changed, 0 insertions, 0 deletions