https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241010

--- Comment #8 from commit-h...@freebsd.org ---
A commit in branch stable/14 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=72e2ebf642125efb74479fd038f45f49a3e846e4

commit 72e2ebf642125efb74479fd038f45f49a3e846e4
Author:     Andrey V. Elsukov <a...@freebsd.org>
AuthorDate: 2025-03-06 12:18:59 +0000
Commit:     Andrey V. Elsukov <a...@freebsd.org>
CommitDate: 2025-03-13 10:21:30 +0000

    pfkey2: use correct value for a key length

    The length of key data is specified via sadb_key_bits field.
    Use specified size for buffer allocation and key copying.
    Also add a check that the value of sadb_key_bits is not zero,
    as explicitly required in RFC 2367.

    PR:             241010
    Submitted by:   jean-francois.hren at stormshield eu

    (cherry picked from commit 04207850a9b988d3c04e904cb5783f33da7fe184)

 sys/netipsec/key.c | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to