summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorSabrina Dubroca <sd@queasysnail.net>2025-07-14 17:20:02 +0300
committerAntonio Quartulli <antonio@openvpn.net>2026-03-17 13:08:54 +0300
commit7e7ca01d912637316c0159a0a15a5fc14cd12aff (patch)
treed6dbf6253be33d03168292adecc70a4da0a3f91d /include/uapi/linux
parenta8e136b496259e689942d295d06cc4e517418cc4 (diff)
downloadlinux-7e7ca01d912637316c0159a0a15a5fc14cd12aff.tar.xz
ovpn: use correct array size to parse nested attributes in ovpn_nl_key_swap_doit
In ovpn_nl_key_swap_doit, the attributes array used to parse the OVPN_A_KEYCONF uses OVPN_A_PEER_MAX instead of OVPN_A_KEYCONF_MAX. Note that this does not cause any bug, since currently OVPN_A_KEYCONF_MAX < OVPN_A_PEER_MAX. The wrong constant was introduced by commit 203e2bf55990 ("ovpn: implement key add/get/del/swap via netlink") Signed-off-by: Sabrina Dubroca <sd@queasysnail.net> Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions