Comments (8)
Hi @Lucas-C !
Thanks for the response!
By fuzz harness, I mean I will need to host python scripts in this repository that fuzz various entry points into fpdf2.
While it is not required, it would be helpful if you could provide potential entry points that you think would benefit the most from fuzz testing.
Thank you for your help!
from fpdf2.
It seems very interesting. You can submit your PR and we'll go from there.
from fpdf2.
Wonderful! Thank you! Could you share an email address with me that I can include in my submission to OSS-Fuzz so that you are notified should any vulnerabilities be uncovered? I have to submit a project's maintainer's email with my project.yaml submission to OSS-Fuzz.
@andersonhc
from fpdf2.
Wonderful! Thank you! Could you share an email address with me that I can include in my submission to OSS-Fuzz so that you are notified should any vulnerabilities be uncovered? I have to submit a project's maintainer's email with my project.yaml submission to OSS-Fuzz. @andersonhc
you can start with [email protected]
from fpdf2.
Hi.
My name is McKenna Dallmeyer and I would like to submit fpdf2 to OSS-Fuzz.
Welcome and good idea!
I tried to add CPython to OSS-Fuzz a few years ago (google/oss-fuzz#731 (comment)), but that attempt did not succeed at the time... π
In order to get the most out of this program, it would be greatly beneficial to be able to merge-in my fuzz harness
What exactly is your "fuzz harness"?
Another naive question: should we provide fuzz targets?
Thank you for this intent to contribute to fpdf2
@ennamarie19 π π
from fpdf2.
By fuzz harness, I mean I will need to host python scripts in this repository that fuzz various entry points into fpdf2.
π
While it is not required, it would be helpful if you could provide potential entry points that you think would benefit the most from fuzz testing.
fpdf2
is a PDF producer, so bascially input is code, and output is a PDF document.
We have various PDF-checkers in our CI pipeline that ensure that PDFs produced in our test suite are valid:
https://github.com/py-pdf/fpdf2/blob/master/.github/workflows/continuous-integration-workflow.yml#L45
Maybe they could be useful when fuzzing, to check that the output is valid, or not (meaning a probable bug)?
Regarding the input, I don't really know how what the best entry point / fuzzing target would be...
Should it be a single program?
Maybe one of our tutorial scripts, or one of our unit tests?
Do you have guidelines or documentation to help setting up Python fuzzing targets?
from fpdf2.
Regarding the input, I don't really know how what the best entry point / fuzzing target would be...
Should it be a single program?
Maybe one of our tutorial scripts, or one of our unit tests?
The complete test suite?
If it's worth testing, it's worth fuzzing. π€‘
from fpdf2.
from fpdf2.
Related Issues (20)
- Issue on Khmer Unicode Font Subscripts HOT 22
- Unexpected HTML end tag </span>, start tag was <p> HOT 2
- Word wrapping for Thai text (zero-width space) may not work as intended // wrapmode==WORD should also use zero-width space? HOT 2
- Add Cell Level Controll for Table Borders HOT 1
- Wrong signature for `pdf.table` HOT 4
- multipage table using fpdf HOT 2
- Get rid of FPDF class/instance attributes getting passed to HTML2PDF. HOT 5
- Proposal for Generic Robust Substitution Mechanism HOT 1
- `local_context()` blocks appear to "leak" into one another HOT 6
- HTML: indent of lists on new line not flush HOT 5
- Line spacing for a long line that is displayed in several lines. HOT 5
- Text columns issue with top margin HOT 1
- Markdown not escaping MD special characters HOT 2
- Solution needed: Typographical Margins, Line Height, Leading HOT 1
- write_html() ignores font changes HOT 4
- call .write_html in footer cause RecursionError HOT 1
- pdf.font_style = "B" and pdf.emphasis = "BOLD" should behave the same way as pdf.set_font(style="B") HOT 1
- Lowercase hex (e.g. #fff) do not convert properly HOT 5
- Stampapdf
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fpdf2.