aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorEric Biggers <[email protected]>2022-01-13 11:44:38 -0800
committerMimi Zohar <[email protected]>2022-01-24 18:37:36 -0500
commit926fd9f23b27ca6587492c3f58f4c7f4cd01dad5 (patch)
treea2ed3b06e4a78df0c6171b387c92b5d80d3c4ab5 /lib/test_overflow.c
parente783362eb54cd99b2cac8b3a9aeac942e6f6ac07 (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