[strongSwan] strongSwan 5.0.4: crash in method memwipe_inline (called by query_sa)

Tobias Brunner tobias at strongswan.org
Mon May 27 18:48:06 CEST 2013

Hi Zoltan,

> #2  0x00000000004014f6 in segv_handler (signal=<optimized out>) at
> charon.c:183
> #3  <signal handler called>
> #4  memwipe_inline (n=<optimized out>, ptr=<optimized out>) at
> utils/utils.h:411
> *#5  memwipe_noinline (ptr=0x0, n=139776064641392) at utils/utils.c:109*

We should probably check for NULL in memwipe().  The patch at [1] fixes


[1] http://git.strongswan.org/?p=strongswan.git;a=commitdiff;h=c480b5f4

More information about the Users mailing list