New commits:
commit 2293faf5aae12ddf920c99bdb338fe9007b022ba
Author: D. Hugh Redelmeier <h...@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.

_______________________________________________
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit

Reply via email to