]> git.ipfire.org Git - thirdparty/strongswan.git/commit
ikev2: Check the length of received COOKIE notifies
authorTobias Brunner <tobias@strongswan.org>
Tue, 27 Aug 2019 16:32:32 +0000 (18:32 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 28 Aug 2019 10:15:27 +0000 (12:15 +0200)
commit902f38dd3e94fb4147d7b7837032e178d5da0a0d
tree05ade03e0c65541ffa98aac3e6e1f6422a9ef22e
parent8cd5f33dd88b9e40a4fe37b539ecf4fae563c759
ikev2: Check the length of received COOKIE notifies

As specified by RFC 7296, section 2.6, the data associated with COOKIE
notifications MUST be between 1 and 64 octets in length (inclusive).

Fixes #3160.
src/libcharon/encoding/payloads/notify_payload.c