- [X] Backport 5098f2cefe4065 so that v0.10 writes the same size of the state as master. This is related to the bug mention here: https://github.com/stefanberger/swtpm/pull/1083#issuecomment-4034083092 (this bugfix is unlikely to affect anything other than the test case that expects the size of the state not to change) - [X] Backport 77104fbfbdaf6 to fix an issue related to this code here where sizeof(OBJECT) is still used https://github.com/stefanberger/libtpms/blob/6bca0291dff4691d2cdff29ad1e07f4b6053781d/src/tpm2/NVMarshal.c#L4983-L4989
libtpms/src/tpm2/NVMarshal.c
Lines 4983 to 4989 in 6bca029