Re: [PATCH] efi_loader: Trim output buffer size correctly for tee variables

2020-07-22 Thread Heinrich Schuchardt
On 22.07.20 00:50, Ilias Apalodimas wrote: > The current code does not trim the output buffer correctly. > In fact it doesn't trim the buffer at all, since it calculates a wrong > value for it, which isn't even applied. > So let's remove the unused temporary size variable and trim the buffer >

[PATCH] efi_loader: Trim output buffer size correctly for tee variables

2020-07-21 Thread Ilias Apalodimas
The current code does not trim the output buffer correctly. In fact it doesn't trim the buffer at all, since it calculates a wrong value for it, which isn't even applied. So let's remove the unused temporary size variable and trim the buffer correctly. Since we are editing