[Swan-dev] leaks and cores

Andrew Cagney andrew.cagney at gmail.com
Fri Oct 30 13:12:52 UTC 2020


This is an updated list I extracted from
https://testing.libreswan.org/v4.1-92-g55b1068bc1-main/
     42 %s/%s
     17 orphan shunt
     12 bare shunt
      4 IntAuth_*_I_A | IntAuth_*_R
      4 IntAuth_*_I
      4 2 * IntAuth
      2 responder salt
      2 initiator salt
      2 DH secret
      2 host pair

On Wed, 28 Oct 2020 at 07:59, Andrew Cagney <andrew.cagney at gmail.com> wrote:
>
> (in case you missed the commits)
> The changes to, at the end of every test and regardless of final.sh,
> shutdown pluto then check for leaks and cores have been pushed to
> https://testing.libreswan.org/
> I've also pushed a few memory-leak fixes (one in IKEv1's aggressive
> initiator code seems to go back to at least '07).  While this makes
> some of the contents of final.sh redundant, I'll leave it for the
> moment.
>
> Below are the leaks from a fairly recent test run.   I've trimmed out
> the ones that are likely caused by crypto material being stuck in the
> limbo between helper and main threads (fix pending tm).
> This leaves what to me at least, are potential leaks on the error path:
>
> bare shunt
> host_pair
> IKEv2 fragments buffer
> ikev2_inI1outR1 KE
> initiator salt
> IntAuth
> IntAuth_*_I
> issuer ca
> libevent_malloc
> logger
> message buffer in read_packet()
> orphan shunt
> quick outR1 DH
> read_message
> responder decoding certificates
> responder salt
> %s/%s
> virtual description
> xfrmi name


More information about the Swan-dev mailing list