diff options
author | 2023-06-27 11:39:54 +0800 | |
---|---|---|
committer | 2023-06-29 10:47:29 +0200 | |
commit | 75065a8929069bc93181848818e23f147a73f83a (patch) | |
tree | 28468ce47f19cc1a2046df2efbf585ab8da897a2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: xfrm: Fix xfrm_address_filter OOB read (diff) | |
download | wireguard-linux-75065a8929069bc93181848818e23f147a73f83a.tar.xz wireguard-linux-75065a8929069bc93181848818e23f147a73f83a.zip |
net: af_key: fix sadb_x_filter validation
When running xfrm_state_walk_init(), the xfrm_address_filter being used
is okay to have a splen/dplen that equals to sizeof(xfrm_address_t)<<3.
This commit replaces >= to > to make sure the boundary checking is
correct.
Fixes: 37bd22420f85 ("af_key: pfkey_dump needs parameter validation")
Signed-off-by: Lin Ma <linma@zju.edu.cn>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions