diff options
| author | 2018-05-31 09:45:18 +0200 | |
|---|---|---|
| committer | 2018-05-31 09:53:04 +0200 | |
| commit | 38369f54d97dd7dc50c73a2797bfeb53c2e87d2d (patch) | |
| tree | 10f9850a7f5f795165a4fd7d833261c0d8f8f7e3 /lib/memory-notifier-error-inject.c | |
| parent | xfrm6: avoid potential infinite loop in _decode_session6() (diff) | |
| download | linux-dev-38369f54d97dd7dc50c73a2797bfeb53c2e87d2d.tar.xz linux-dev-38369f54d97dd7dc50c73a2797bfeb53c2e87d2d.zip | |
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>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
