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

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

Merge "ice: fix security issue with validating error in pointer"

parents 1188c3d1 bf903c47
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1651,6 +1651,9 @@ int qcom_ice_setup_ice_hw(const char *storage_type, int enable)
	struct ice_device *ice_dev = NULL;

	ice_dev = get_ice_device_from_storage_type(storage_type);
	if (ice_dev == ERR_PTR(-EPROBE_DEFER))
		return -EPROBE_DEFER;

	if (!ice_dev)
		return ret;