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

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

Merge "msm: ipa3: fix to off-by-one read issue"

parents 06418ca4 51b5bdb3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6138,7 +6138,7 @@ int ipa3_is_vlan_mode(enum ipa_vlan_ifaces iface, bool *res)
		return -EINVAL;
	}

	if (iface < 0 || iface > IPA_VLAN_IF_MAX) {
	if (iface < 0 || iface >= IPA_VLAN_IF_MAX) {
		IPAERR("invalid iface %d\n", iface);
		return -EINVAL;
	}