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

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

Merge "msm: vidc: Fix buffer overflow issue in driver"

parents 0c666a32 9c926ce7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4418,7 +4418,7 @@ static int venus_hfi_get_fw_info(void *dev, struct hal_fw_info *fw_info)
		goto fail_version_string;
	}

	for (i--; i < VENUS_VERSION_LENGTH && j < VENUS_VERSION_LENGTH; i++)
	for (i--; i < VENUS_VERSION_LENGTH && j < VENUS_VERSION_LENGTH - 1; i++)
		fw_info->version[j++] = version[i];
	fw_info->version[j] = '\0';