Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3f5a95ad authored by Koichiro Den's avatar Koichiro Den Committed by Steffen Klassert
Browse files

xfrm: fix null pointer dereference on state and tmpl sort



Creating sub policy that matches the same outer flow as main policy does
leads to a null pointer dereference if the outer mode's family is ipv4.
For userspace compatibility, this patch just eliminates the crash i.e.,
does not introduce any new sorting rule, which would fruitlessly affect
all but the aforementioned case.

Signed-off-by: default avatarKoichiro Den <den@klaipeden.com>
Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
parent e6194923
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment