Thread (2 messages) flat view 2 messages, 2 authors, 2017-10-11

Re: ipsec: Fix dst leak in xfrm_bundle_create().

From: Steffen Klassert <steffen.klassert@secunet.com>
Date: 2017-10-11 11:54:33

On Tue, Oct 10, 2017 at 08:59:38PM -0700, David Miller wrote:
If we cannot find a suitable inner_mode value, we will leak
the currently allocated 'xdst'.

The fix is to make sure it is linked into the chain before
erroring out.

Signed-off-by: David S. Miller <davem@davemloft.net>
---

Steffen, I found this via visual inspection.  Please double check my
work before applying this :-)
Looks good. Patch applied, thanks David!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help