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:
Stefan Berger 2018-07-12 20:44:47 -04:00
parent 5ddc17e001
commit d99e48eac2

View File

@ -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 */
}