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

Commit d296c383 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

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

parents bde17aad 08823210
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1448,7 +1448,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;