diff options
| author | Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com> | 2024-09-30 21:52:57 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-27 04:30:15 -0800 |
| commit | d3f80d98f204e08a49e5f7c0bd4e031d9d31eb50 (patch) | |
| tree | 4379d0387738b0f14a7cdd155bbf6086df01e106 /scripts | |
| parent | d91a36b2703c2ea68a559af6770231ea6a7c2c99 (diff) | |
| download | linux-d3f80d98f204e08a49e5f7c0bd4e031d9d31eb50.tar.gz linux-d3f80d98f204e08a49e5f7c0bd4e031d9d31eb50.tar.bz2 linux-d3f80d98f204e08a49e5f7c0bd4e031d9d31eb50.zip | |
accel/ivpu: Limit FW version string length
[ Upstream commit 990b1e3d150104249115a0ad81ea77c53b28f0f8 ]
Limit FW version string, when parsing FW binary, to 256 bytes and
always add NULL-terminate it.
Reviewed-by: Karol Wachowski <karol.wachowski@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240930195322.461209-7-jacek.lawrynowicz@linux.intel.com
Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Stable-dep-of: 41a2d8286c90 ("accel/ivpu: Fix error handling in recovery/reset")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
