diff options
author | Eric Biggers <[email protected]> | 2022-01-13 11:44:38 -0800 |
---|---|---|
committer | Mimi Zohar <[email protected]> | 2022-01-24 18:37:36 -0500 |
commit | 926fd9f23b27ca6587492c3f58f4c7f4cd01dad5 (patch) | |
tree | a2ed3b06e4a78df0c6171b387c92b5d80d3c4ab5 /lib/test_overflow.c | |
parent | e783362eb54cd99b2cac8b3a9aeac942e6f6ac07 (diff) |
ima: fix reference leak in asymmetric_verify()
Don't leak a reference to the key if its algorithm is unknown.
Fixes: 947d70597236 ("ima: Support EC keys for signature verification")
Cc: <[email protected]> # v5.13+
Signed-off-by: Eric Biggers <[email protected]>
Reviewed-by: Stefan Berger <[email protected]>
Reviewed-by: Tianjia Zhang <[email protected]>
Signed-off-by: Mimi Zohar <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions