CVSROOT: /cvs Module name: src Changes by: m...@cvs.openbsd.org 2017/09/18 01:42:52
Modified files: sbin/isakmpd : exchange.c exchange.h Log message: Check for failures of exchange_establish_p{1,2}() and call the given `finalize' function with the `fail' argument when this happen. Introduce some sanity checks in exchange_free() to be able to call if even if the data structure isn't completely initialized. Plug memory leaks when exchange_establish() fails. While here fix a double free in one of the error paths. Based on a diff from hshoexer@, ok stsp@, markus@