From: Roman Hoog Antink <rha@op...> - 2011-03-04 01:19:51
I discovered that using inherited remoteconfs and reloading crashes
racoon, due to double free's. This happens with the official 0.8.0 beta3
as well as with my recent memleak patches. But my patches make it crash
at another spot. So at least I did not make things worse.
I will focus on this issue within the next days. Stay tuned.
Today I dug deep into things and finished the patch, so that no more
lost memory is being reported by valgrind and no double free's at the
same time, even when used with "inherit".
I tested with plainRSA setups and pre shared key as well. Runs like a charm.
Tomorrow I will test with certs. I will report back until the end of the
week how it worked out for me.
This patch also fixes another memleak in case of inheritance. The parent
remote address, linking the parent to the child remote config section
was not free'd.
Note that this patch contains the other patch I posted on 2011-03-04
01:16, filename: racoon-memleak-script.patch.