oss-fuzz
oss-fuzz copied to clipboard
flask: fix fuzz json
Resolves the following message:
=== Uncaught Python exception: ===
NameError: name 'os' is not defined
Traceback (most recent call last):
File "/opt/fuzz_json.py", line 33, in TestOneInput
app = FuzzFlask("flask_test", root_path=os.path.dirname(__file__))
NameError: name 'os' is not defined
==3849== ERROR: libFuzzer: fuzz target exited
SUMMARY: libFuzzer: fuzz target exited
MS: 0 ; base unit: 0000000000000000000000000000000000000000
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.
rdesfo is a new contributor to projects/flask. The PR must be approved by known contributors before it can be merged. The past contributors are: illia-v, ret2libc, manunio, arthurscchan