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

2025-01-02 Thread Stefan Berger
On 12/19/24 3:12 AM, Gary Lin 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 conditional check is added to insert 'au

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

2024-12-19 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