| On 16 December 2017 at 13:14, Antony Antony <ant...@phenome.org> wrote:
| Hi
|
| I noticed a coredump in xauth-pluto-20-pam-timeout since week or so.
| I think it is related to a recent fixes to  xauth pam stuff around Dec 5th
| or so.

Sorry about that.  I ran the test suite but this failure does not show
up on my machine.

The test fails differently and I was advised to ignore that failure
since that test (and a bunch of others) are non-deterministic.

Notwithstanding non-determinism, core dumps are not OK.

| From: Andrew Cagney <andrew.cag...@gmail.com>
| 
| I'd suspect a use after free - *xauth would contain gibberish.
| It looks like xauth_pam_abort() is freeing the object instead of
| leaving it to xauth_pam_child_cleanup().

I think that you've nailed it.  Thanks.

I've pushed what I hope is a fix.  But I cannot test it.

Antony: could you see if 97a28bf6f828f8e6bd02309ccaacf791fdd05817
fixes the problem?
_______________________________________________
Swan-dev mailing list
Swan-dev@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-dev

Reply via email to