[Swan-commit] Changes to ref refs/heads/main

D. Hugh Redelmeier hugh at vault.libreswan.fi
Mon Sep 6 03:00:09 UTC 2021

New commits:
commit 2293faf5aae12ddf920c99bdb338fe9007b022ba
Author: D. Hugh Redelmeier <hugh at mimosa.com>
Date:   Sun Sep 5 22:52:39 2021 -0400

    pluto: kernel_xfrm.c: netlink_raw_policy(): use right type for .mode
    mode in struct xfrm_user_tmpl isn't a bool (although that accidentally
    works).  Nor is it our enum encap_mode (although that would
    accidentally work).  The correct values are macros from linux's xfrm.h.
    Fix our code appropriately.
    Check for array bound overflow via assert.  Better to crash than
    scribble.  Should not happen.

More information about the Swan-commit mailing list