diff options
author | 2017-01-25 03:28:29 +0100 | |
---|---|---|
committer | 2017-01-25 03:28:29 +0100 | |
commit | 6bf56a7cb5e98a4afe4e969d343b9a50681afd97 (patch) | |
tree | 06a4f087f35073047e1aacad06e75610143bec98 /src/bytearray.c | |
parent | 4c072d015193af74719d07897c0a0b4396b4a866 (diff) | |
download | libplist-6bf56a7cb5e98a4afe4e969d343b9a50681afd97.tar.gz libplist-6bf56a7cb5e98a4afe4e969d343b9a50681afd97.tar.bz2 |
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.
Diffstat (limited to 'src/bytearray.c')
0 files changed, 0 insertions, 0 deletions