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

Commit a82f28ce 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 7cecebba 6fdb45c3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4404,7 +4404,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';