Re: [PATCH] UefiPayloadPkg/UefiPayloadEntry: Fix memory corruption
Marvin Häuser <mhaeuser@...>
On 09/08/2021 06:20, Ni, Ray wrote:
It's so lucky that no code calls AllocatePool so the bug didn't cause real issues. (I tried to remove AllocatePool() and build still passed.)Hey Ray, clang-tidy gave me a hand. :) "Suspicious usage of 'sizeof(K)'; did you mean 'K'? clang-tidy(bugprone-sizeof-expression)" I set it up as follows (this is *not* sophisticated, just added things to quickly move on): https://github.com/tianocore/edk2-staging/blob/2021-gsoc-secure-loader/compile_flags.txt Best regards, Marvin
|
|