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

Commit 8b9efad8 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "selinux: KASAN: slab-out-of-bounds in xattr_getsecurity"

parents 2c8327e5 8e0fde5c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1444,7 +1444,7 @@ static int security_context_to_sid_core(const char *scontext, u32 scontext_len,
				      scontext_len, &context, def_sid);
	if (rc == -EINVAL && force) {
		context.str = str;
		context.len = scontext_len;
		context.len = strlen(str) + 1;
		str = NULL;
	} else if (rc)
		goto out_unlock;