ima-evm-utils: miscellanous bug fixes
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ima-evm-utils: fix empty label at end of function.src/ | +1 | 0 replies | |
| 2/3 | ima-evm-utils: fix memory leak in case of errorsrc/ | +2 | 0 replies | |
| 3/3 | ima-evm-utils: fix overflow on printing boot_aggregatesrc/ | +3 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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