New commits: commit 13e38a1ae0e0c41cf8d1673839706765c3880a5e Author: D. Hugh Redelmeier <h...@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 <h...@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 <h...@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 <h...@mimosa.com> Date: Wed Jul 11 08:57:38 2018 -0400 parser.y: explicitly test pointer in boolean context _______________________________________________ Swan-commit mailing list Swan-commit@lists.libreswan.org https://lists.libreswan.org/mailman/listinfo/swan-commit