mirror of
https://github.com/stefanberger/libtpms
synced 2026-01-02 14:36:50 +00:00
NVMarshal: Fix handling of future header version handling
If we come across a header of a verions we don't know in this implementation we just have to cause a skip.
This commit is contained in:
parent
5ddc17e001
commit
d99e48eac2
@ -3384,7 +3384,7 @@ skip_hardware_clock:
|
||||
"Volatile State", "version 3 or later");
|
||||
rc = VolatileState_TailV3_Unmarshal(buffer, size);
|
||||
|
||||
BLOCK_SKIP_READ(skip_future_versions, hdr.version >= 4, buffer, size,
|
||||
BLOCK_SKIP_READ(skip_future_versions, FALSE, buffer, size,
|
||||
"Volatile State", "version 4 or later");
|
||||
/* future versions nest-append here */
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user