[issue26707] plistlib fails to parse bplist with 0x80 UID values
John Lehr
report at bugs.python.org
Thu Apr 7 14:15:55 EDT 2016
John Lehr added the comment:
I’m glad you found it in the Apple specification. I looked, but missed it. I would absolutely defer to you on your assessment of the decoding.
> On Apr 7, 2016, at 1:46 AM, Serhiy Storchaka <report at bugs.python.org> wrote:
>
>
> Serhiy Storchaka added the comment:
>
> UID is rather int than bytes. And I would use a special UID type.
>
> According to Apple's sources [1], the size of UID data is tokenL+1, not self._get_size(tokenL).
>
> [1] http://www.opensource.apple.com/source/CF/CF-1153.18/CFBinaryPList.c
>
> ----------
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue26707>
> _______________________________________
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26707>
_______________________________________
More information about the Python-bugs-list
mailing list