commit | 6bf56a7cb5e98a4afe4e969d343b9a50681afd97 | [log] [tgz] |
---|---|---|
author | Nikias Bassen <nikias@gmx.li> | Wed Jan 25 03:28:29 2017 +0100 |
committer | Nikias Bassen <nikias@gmx.li> | Wed Jan 25 03:28:29 2017 +0100 |
tree | 06a4f087f35073047e1aacad06e75610143bec98 | |
parent | 4c072d015193af74719d07897c0a0b4396b4a866 [diff] |
bplist: Fix UID node parsing to match Apple's parser Apple only allows 32 bit unsigned values for UID nodes. Also the encoding of the length is different from the encoding used for other node types. The nibble used to mark the size is 1 less than the actual size of the integer value data, so 0 means 1 byte length 1 means 2 bytes length, etc.