OpenBSD/src Lvnu0EWsbin/isakmpd exchange.c exchange.h

   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@
VersionDeltaFile
1.139+51-31sbin/isakmpd/exchange.c
1.35+6-3sbin/isakmpd/exchange.h
+57-342 files

UnifiedSplitRaw