[issue26707] plistlib fails to parse bplist with 0x80 UID values

2016-04-07 Thread John Lehr
John Lehr added the comment: Based on the format specification pointed to by Serhiy, perhaps this a better patch, correcting size from previous patch submission and treating: 706,707c706,708 < # tokenH == 0x80 is documented as 'UID' and appears to be used for <

[issue26707] plistlib fails to parse bplist with 0x80 UID values

2016-04-07 Thread John Lehr
John Lehr added the comment: I’m sorry, but the files in which I detected the problem cannot be circulated. I will try to create a test account on Snapchat and generate some test data, but I can’t do this anytime soon. > On Apr 7, 2016, at 12:51 AM, SilentGhost wrote: > > >

[issue26707] plistlib fails to parse bplist with 0x80 UID values

2016-04-07 Thread John Lehr
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 wrote: > > > Serhiy Storchaka added the comment: >

[issue26707] plistlib fails to parse bplist with 0x80 UID values

2016-04-06 Thread John Lehr
New submission from John Lehr: libplist raises an invalid file exception on loading properly formed binary plists containing UID (0x80) values. The binary files were tested for form with plutil. Comments at line 706 state the value is defined but not in use in plists, and the object is not

[issue21538] plistlib unable to load iOS7 Safari History.plist

2014-05-20 Thread John Lehr
John Lehr added the comment: Patch plistlib_read_refs_2.patch corrects load error for iOS Safari History.plist. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue21538] plistlib unable to load iOS7 Safari History.plist

2014-05-20 Thread John Lehr
John Lehr added the comment: Serhiy, I applied the patch and can confirm this is a fix (three previous failing loads of History.plists from three different devices now load successfully). Thank you, I would not likely have identified the issue myself. On Mon, May 19, 2014 at 11:08 PM, Serhiy

[issue21538] plistlib unable to load iOS7 Safari History.plist

2014-05-19 Thread John Lehr
John Lehr added the comment: Ned, I understand. I did get permission to post that history, and as I feared, the sanitized History.plist I'm attaching now doesn't have the loading issue that the first did. Possibly a URL character is throwing the exception? Can you suggest where I

[issue21538] plistlib unable to load iOS7 Safari History.plist

2014-05-19 Thread John Lehr
John Lehr added the comment: I have shared the file for which I have permission, but neither of two History.plists in my possession will load, both with the same traceback. Thank you. On Mon, May 19, 2014 at 4:18 PM, Ned Deily wrote: > > Ned Deily added the comment: > > Can

[issue21538] plistlib unable to load iOS7 Safari History.plist

2014-05-19 Thread John Lehr
New submission from John Lehr: plistlib has key error when attempting to load the iOS7 var/mobile/Applications/com.apple.mobilesafari/Library/Safari/History.plist. No detected issues with other iOS7 plists. In [8]: with open('cases/vitale_test_iphone/unback/AppDomain-com.apple.mobiles