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

D. Hugh Redelmeier hugh at vault.libreswan.fi
Wed Jul 11 13:50:59 UTC 2018


New commits:
commit 13e38a1ae0e0c41cf8d1673839706765c3880a5e
Author: D. Hugh Redelmeier <hugh at mimosa.com>
Date:   Wed Jul 11 09:38:48 2018 -0400

    pluto: a few more tweaks to add_connect
    
    - ensure alg_info_ike and alg_info_esp fields are initialized to NULL
      (initializing a pointer's raw memory to 0x00 is not guaranteed to initialize
      the pointer to NULL)
    
    - there are two distinct err_buf variables.  Reduce the scope of one
      so that their scopes don't overlap.
    
    - make it manifest that c->alg_info_esp is set only once to a non-NULL value.
      This makes it clear that there is no leak caused by an apparent second
      assignment.

commit 82b21dde2fed4de55f097e1ea0029378b51ef0bf
Author: D. Hugh Redelmeier <hugh at mimosa.com>
Date:   Wed Jul 11 09:02:35 2018 -0400

    pluto: ike_alg_show_connection: combine declaration and initialization
    
    This reduces the scope of the variable st and eliminates the portion of the
    scope where it was uninitialized.

commit e1c8467ea3e3bf8ee5dfb2a10ca1952716f774c2
Author: D. Hugh Redelmeier <hugh at mimosa.com>
Date:   Wed Jul 11 09:00:44 2018 -0400

    ah_info.c and esp_info.c: update a ??? comment

commit efbcf791f7b17fa0e3ea1e0bc23a318e2742f310
Author: D. Hugh Redelmeier <hugh at mimosa.com>
Date:   Wed Jul 11 08:57:38 2018 -0400

    parser.y: explicitly test pointer in boolean context



More information about the Swan-commit mailing list