Skip to content
Commit 6dc387d5 authored by Matt Bobrowski's avatar Matt Bobrowski Committed by Mimi Zohar
Browse files

ima: fix error handling logic when file measurement failed



Restore the error handling logic so that when file measurement fails,
the respective iint entry is not left with the digest data being
populated with zeroes.

Fixes: 54f03916 ("ima: permit fsverity's file digests in the IMA measurement list")
Cc: stable@vger.kernel.org	# 5.19
Signed-off-by: default avatarMatt Bobrowski <mattbobrowski@google.com>
Signed-off-by: default avatarMimi Zohar <zohar@linux.ibm.com>
parent 5dc4c995
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment