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
|
Thanks @ammaraskar for the PR, and @gpshead for merging it |
|
GH-14005 is a backport of this pull request to the 3.8 branch. |
|
GH-14006 is a backport of this pull request to the 3.7 branch. |
…nGH-13991) * bpo-29505: Enable fuzz testing of the json module, enforce size limit on int(x) fuzz and json input size to avoid timeouts. Contributed by by Ammar Askar for Google. (cherry picked from commit a6e190e) Co-authored-by: Ammar Askar <aaskar@google.com>
…nGH-13991) * bpo-29505: Enable fuzz testing of the json module, enforce size limit on int(x) fuzz and json input size to avoid timeouts. Contributed by by Ammar Askar for Google. (cherry picked from commit a6e190e) Co-authored-by: Ammar Askar <aaskar@google.com>
…nGH-13991) * bpo-29505: Enable fuzz testing of the json module, enforce size limit on int(x) fuzz and json input size to avoid timeouts. Contributed by by Ammar Askar for Google.
…nGH-13991) * bpo-29505: Enable fuzz testing of the json module, enforce size limit on int(x) fuzz and json input size to avoid timeouts. Contributed by by Ammar Askar for Google.
Since CPython seems to be successfully building and being fuzzed in OSS-Fuzz, it's time to add some more interesting fuzzing targets. This PR does the following:
int(x)fuzz target. Since python supports arbitrarily large integers, there is a ratherboring case that is essentially
int("9" * 100000)causing timeouts in this path.json.loads(x)for fuzzing.Potential reviewers: @gpshead @alex (skip-news label can be applied)
https://bugs.python.org/issue29505