New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected exceptions in plistlib.loads #76078
Comments
Hi, The following program crashes for me using the current Python3.7 master:
The last few lines look like
This bug was found using an alpha version of python-fuzz. |
The crashing version numbers are from testing on the release Python 3.5, but I think we can just fix this in 3.7+. |
I'm filing related bugs under this same issue.
raises
It seems only |
raises
|
raises
|
Thank you for your report Ned. But there are no crashes. The term crash means a segmentation fault or similar error that causes the interpreter to exit immediately. |
PR 4171 fixes the following errors:
It doesn't verify the binary plist, a bogus plist can be successfully parsed to a bogus data. And it doesn't prevent infinity recursion when read cyclic references. |
Thank you for the quick PR! I will report as behavior next time. I'm also following the library reference and reporting only unexpected exceptions. I trust you to reject any bugs that are expected functionality. I may follow up with additional testcases once the first PR is accepted. |
Opened bpo-32072 for infinite recursion and related issues. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: