commit | 9289a043153435fcb54b57f63b3a5a27565f2a9a | [log] [tgz] |
---|---|---|
author | Ryan Mitchell <rtmitchell@google.com> | Wed Jan 13 17:21:29 2021 -0800 |
committer | Ryan Mitchell <rtmitchell@google.com> | Wed Jan 13 17:53:47 2021 -0800 |
tree | f7f48177af2374dd9230065166898a60bfa999d4 | |
parent | fb4d09cadd27a3fb1a2e268417f0f511aa92e344 [diff] |
Fail idmap parsing earlier if version differs Variable length strings are now in the idmap format. Idmap attempts to parse the old idmap files using the new format and can interpret old data as the length of a variable length string. Fail parsing idmap header early if the idmap magic or version differs from what is expected. Bug: 177295273 Test: boot, apply change, reboot Change-Id: I2914f11547424457fdb78de0ad03976e1fc81084