Re: Possible segfault in iked

2022-05-28 Thread Tobias Heider
On Sat, May 28, 2022 at 03:17:07PM +0200, Gerhard Roth wrote: > Hi, > > since there's a 'sa_free(sa)' followed by a 'continue' a few lines down > from the RB_FOREACH(), we must use RB_FOREACH_SAFE() instead. > > Gerhard ok tobhe@ > > > Index: sbin/iked/ikev2.c > ==

Possible segfault in iked

2022-05-28 Thread Gerhard Roth
Hi, since there's a 'sa_free(sa)' followed by a 'continue' a few lines down from the RB_FOREACH(), we must use RB_FOREACH_SAFE() instead. Gerhard Index: sbin/iked/ikev2.c === RCS file: /cvs/src/sbin/iked/ikev2.c,v retrieving revisi