Description: tpm: efi: Use local variable for calculating final log size References: Notes: carnil> Introduced in 166a2809d65b ("tpm: Don't duplicate events from the final event carnil> log in the TCG2 log"). Vulnerable versions: 5.3-rc1. Bugs: upstream: released (5.13-rc1) [48cff270b037022e37835d93361646205ca25101] 6.7-upstream-stable: N/A "Fixed before branching point" 6.6-upstream-stable: N/A "Fixed before branching point" 6.1-upstream-stable: N/A "Fixed before branching point" 5.10-upstream-stable: released (5.10.36) [60a01ecc9f68067e4314a0b55148e39e5d58a51b] 4.19-upstream-stable: N/A "Vulnerable code not present" sid: released (5.10.38-1) 6.1-bookworm-security: N/A "Fixed before branching point" 5.10-bullseye-security: N/A "Fixed before branching point" 4.19-buster-security: N/A "Vulnerable code not present"