Menu

IMA/EVM Utils Merge Request #4: libimaevm: do not crash if the certificate cannot be read (open)

Merging...

Merged

Something went wrong. Please, merge manually

Checking if merge is possible...

Something went wrong. Please, merge manually

Alberto Mardegan wants to merge 1 commit from /u/mardy/linux-ima/ to master, 2022-12-15

This code path can be triggered if someone inadvertedly swaps the key with the certificate in the evmctl command line. Our x variable would be NULL, and we need to abort further processing of the certificate.

Commit Date  
[3dbbb2] (return-patch) by Alberto Mardegan Alberto Mardegan

libimaevm: do not crash if the certificate cannot be read

This code path can be triggered if someone inadvertedly swaps the key
with the certificate in the evmctl command line. Our `x` variable would
be NULL, and we need to abort further processing of the certificate.

Signed-off-by: Alberto Mardegan <a.mardegan@...>

2022-12-15 10:59:01 Tree

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.