Re: [PATCH v3 04/10] tss2: Fix the missing authCommand

2025-03-13 Thread Daniel Kiper
On Mon, Jan 13, 2025 at 11:07:07AM +0800, Gary Lin via Grub-devel wrote: > grub_tpm2_readpublic() and grub_tpm2_testparms() didn't check > 'authCommand' when marshaling the input data buffer. Currently, there is > no caller using non-NULL 'authCommand'. However, to avoid the potential > issue, the

[PATCH v3 04/10] tss2: Fix the missing authCommand

2025-01-12 Thread Gary Lin via Grub-devel
grub_tpm2_readpublic() and grub_tpm2_testparms() didn't check 'authCommand' when marshaling the input data buffer. Currently, there is no caller using non-NULL 'authCommand'. However, to avoid the potential issue, the conditional check is added to insert 'authCommand' into the input buffer if neces