]> granicus.if.org Git - python/commit
bpo-29505: Fuzz json module, enforce size limit on int(x) fuzz (GH-13991)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 12 Jun 2019 04:48:17 +0000 (21:48 -0700)
committerGitHub <noreply@github.com>
Wed, 12 Jun 2019 04:48:17 +0000 (21:48 -0700)
commit878227e7217f3363f9c095b7fb8c1dbdde1ec34f
tree4221c0755eccc10d7bd8c0e37a497a78d15fb80a
parent811f84d55d156e3d05889806d00a8c028d304089
bpo-29505: Fuzz json module, enforce size limit on int(x) fuzz (GH-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 a6e190e94b47324f14e22a09200c68b722d55699)

Co-authored-by: Ammar Askar <aaskar@google.com>
Modules/_xxtestfuzz/README.rst
Modules/_xxtestfuzz/dictionaries/fuzz_json_loads.dict [new file with mode: 0644]
Modules/_xxtestfuzz/fuzz_json_loads_corpus/empty_array.json [new file with mode: 0644]
Modules/_xxtestfuzz/fuzz_json_loads_corpus/empty_object.json [new file with mode: 0644]
Modules/_xxtestfuzz/fuzz_json_loads_corpus/pass1.json [new file with mode: 0644]
Modules/_xxtestfuzz/fuzz_json_loads_corpus/pass2.json [new file with mode: 0644]
Modules/_xxtestfuzz/fuzz_json_loads_corpus/pass3.json [new file with mode: 0644]
Modules/_xxtestfuzz/fuzz_json_loads_corpus/simple_array.json [new file with mode: 0644]
Modules/_xxtestfuzz/fuzz_tests.txt
Modules/_xxtestfuzz/fuzzer.c