commit | 38369f54d97dd7dc50c73a2797bfeb53c2e87d2d | [log] [tgz] |
---|---|---|
author | Steffen Klassert <steffen.klassert@secunet.com> | Thu May 31 09:45:18 2018 +0200 |
committer | Steffen Klassert <steffen.klassert@secunet.com> | Thu May 31 09:53:04 2018 +0200 |
tree | 10f9850a7f5f795165a4fd7d833261c0d8f8f7e3 | |
parent | d9f92772e8ec388d070752ee8f187ef8fa18621f [diff] |
xfrm Fix potential error pointer dereference in xfrm_bundle_create. We may derference an invalid pointer in the error path of xfrm_bundle_create(). Fix this by returning this error pointer directly instead of assigning it to xdst0. Fixes: 45b018beddb6 ("ipsec: Create and use new helpers for dst child access.") Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>