Skip to content

ima-evm-utils: miscellanous bug fixes

Bruno Meneguele linux-integrity 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3ima-evm-utils: fix empty label at end of function.src/evmctl.c+1 -10 replies
2/3ima-evm-utils: fix memory leak in case of errorsrc/evmctl.c+2 -20 replies
3/3ima-evm-utils: fix overflow on printing boot_aggregatesrc/evmctl.c+3 -12 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] ima-evm-utils: miscellanous bug fixes

While testing in RHEL7 the latest 'next-testing' branch changes the build failed due to an "out" label being placed at the end of the function calc_bootaggr() with no instructions for systems with OpenSSL version less then 1.1. Corrected it by putting a simple no-op 'return' there (the function returns nothing).

The other bugs are a simple memory leak, also on calc_bootaggr(), when _DigestUpdate() returns error; and an overflow while reading the boot_aggregate buffer due to the lack of the null char at the end.

Bruno Meneguele (3):
ima-evm-utils: fix empty label at end of function.
ima-evm-utils: fix memory leak in case of error
ima-evm-utils: fix overflow on printing boot_aggregate

 src/evmctl.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
Signature · 1 line
2.26.2