Skip to content
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

OSS-Fuzz support #5189

Merged
merged 3 commits into from Jan 7, 2021
Merged

Conversation

wiredfool
Copy link
Member

In-tree support for https://github.com/google/oss-fuzz/.

Includes

  • an updated version of the fuzz-pillow script that enables decompression bomb errors
  • sets zipsafe to false when building for the fuzzer to make custom builds far better.

There will be a corresponding PR to the oss-fuzz repo that should be merged after this.

@@ -840,7 +840,9 @@ def summary_report(self, feature):


def debug_build():
return hasattr(sys, "gettotalrefcount") or os.environ.get("LIB_FUZZING_ENGINE", None)
return hasattr(sys, "gettotalrefcount") or os.environ.get(
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Black you useless reptile

@wiredfool wiredfool merged commit 75cee40 into python-pillow:master Jan 7, 2021
@radarhere radarhere changed the title Oss fuzz support OSS Fuzz support Jan 8, 2021
@radarhere radarhere changed the title OSS Fuzz support OSS-Fuzz support Jan 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants