[strongSwan] Setting the source address on outgoing packets does not work (patch)

Tobias Brunner tobias at strongswan.org
Fri Nov 6 14:26:31 CET 2015


Hi Andi,

> A buffer to hold the ancillary data (the source address) for the packet 
> is defined within the scope of an 'if' block and the address of that 
> buffer is stored  in  the message structure defined outside the block. 
> But variable defined in an inner scope are only accessible within that 
> scope, thus what happens to the storage space allocated for the buffer 
> is undefined.

Already reported on the dev ML [1] and in issue #1171 [2] (a patch can
be found there too).

Regards,
Tobias

[1] https://lists.strongswan.org/pipermail//dev/2015-October/001488.html
[2] https://wiki.strongswan.org/issues/1171



More information about the Users mailing list