Giter Club home page Giter Club logo

Comments (12)

gaborbernat avatar gaborbernat commented on September 23, 2024

I don't think we plan to do this ourselves. I don't fully understand how this would look, so perhaps you'd be interested in opening a PR and showing us the benefits, and what tare the benefits? Is there a good description of what a such integration entitles?

from platformdirs.

DavidKorczynski avatar DavidKorczynski commented on September 23, 2024

Apologies for the delay here!

The fuzzer I added for now is here: https://github.com/google/oss-fuzz/pull/8244/files#diff-d8851e58e8b63c88b3ad9b845fcd8becb9dbcfadebf9cc13b532e69e14a34776

In essence, a simple fuzzer that will explore most of the code in paltformdirs.

Since platformdirs is fairly small in size I think there will be limited findings. However, to give some insights on what it can find, an example of bug found by fuzzing is pallets/werkzeug#2494 -- This was found by the fuzzer in OSS-Fuzz (https://github.com/google/oss-fuzz/blob/master/projects/flask/fuzz_werkzeug_http.py) which showed the stack trace:

=== Uncaught Python exception: ===
  | ValueError: invalid literal for int() with base 10: '²'
  | Traceback (most recent call last):
  | File "fuzz_werkzeug_http.py", line 25, in TestOneInput
  | File "werkzeug/http.py", line 822, in parse_content_range_header

Although platformdirs is relatively small, OSS-Fuzz will help have a continuous monitoring solution on the project as well.

from platformdirs.

gaborbernat avatar gaborbernat commented on September 23, 2024

This link does not work for me 🤔

from platformdirs.

DavidKorczynski avatar DavidKorczynski commented on September 23, 2024

This link does not work for me thinking

Apologies -- edited it to work now (was missing y at the end).

from platformdirs.

gaborbernat avatar gaborbernat commented on September 23, 2024

So how we will get notified when things fail?

from platformdirs.

DavidKorczynski avatar DavidKorczynski commented on September 23, 2024

So how we will get notified when things fail?

by email:

"If you would like to integrate, the only thing I need is a list of email(s) that will get access to the data produced by OSS-Fuzz, such as bug reports, coverage reports and more stats."

Note the email(s) should be affiliated with a Google account as authentication is done that way

from platformdirs.

gaborbernat avatar gaborbernat commented on September 23, 2024

So given that do you need anything more here? Or we can close this then?

from platformdirs.

DavidKorczynski avatar DavidKorczynski commented on September 23, 2024

Yes, given that then there is nothing more here. Later, I could move the fuzzers upstream but we can do that after

from platformdirs.

gaborbernat avatar gaborbernat commented on September 23, 2024

It's on my profile 👍

from platformdirs.

DavidKorczynski avatar DavidKorczynski commented on September 23, 2024

It's on my profile +1

Awesome, thanks!

from platformdirs.

DavidKorczynski avatar DavidKorczynski commented on September 23, 2024

@gaborbernat I just noticed you also maintain filelock, would you be okay with me doing the same for filelock?

from platformdirs.

gaborbernat avatar gaborbernat commented on September 23, 2024

Yes

from platformdirs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.