1
0
mirror of https://git.code.sf.net/p/linux-ima/ima-evm-utils synced 2025-04-30 07:33:37 +02:00
Frank Sorenson 74ea78d4f2 ima-evm-utils: Prevent crash if pcr is invalid
If the pcr is invalid, evmctl will crash while accessing
an invalid memory address.  Verify the pcr is in the
expected range.

Also, correct range of an existing check.

Signed-off-by: Frank Sorenson <sorenson@redhat.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
2021-02-12 13:38:53 -05:00
..
2020-07-21 18:39:17 -04:00