oss-fuzz icon indicating copy to clipboard operation
oss-fuzz copied to clipboard

flask: fix fuzz json

Open rdesfo opened this issue 8 months ago • 2 comments

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

rdesfo avatar Mar 07 '25 10:03 rdesfo

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.

google-cla[bot] avatar Mar 07 '25 10:03 google-cla[bot]

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

github-actions[bot] avatar Mar 07 '25 10:03 github-actions[bot]