Skip to content

OSS-Fuzz: Add new fuzzer targets X509 processing - #2170

Open
arthurscchan wants to merge 3 commits into
seladb:devfrom
arthurscchan:new-fuzzer
Open

OSS-Fuzz: Add new fuzzer targets X509 processing#2170
arthurscchan wants to merge 3 commits into
seladb:devfrom
arthurscchan:new-fuzzer

Conversation

@arthurscchan

Copy link
Copy Markdown
Contributor

This PR adds a new OSS-Fuzz fuzzer targeting X509 processing, together with the fixes of the CMakeList.txt and the OSS-Fuzz build script to accommodate the new fuzzer and the initial seed corpora preparation.

@arthurscchan
arthurscchan requested a review from seladb as a code owner June 25, 2026 19:34
@Dimi1010
Dimi1010 changed the base branch from master to dev June 25, 2026 19:40
@Dimi1010

Copy link
Copy Markdown
Collaborator

Closing and reopening to trigger CI after base branch change.

@Dimi1010 Dimi1010 closed this Jun 25, 2026
@Dimi1010 Dimi1010 reopened this Jun 25, 2026
@codecov

codecov Bot commented Jun 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.70%. Comparing base (ff876fc) to head (fb0266b).

Additional details and impacted files
@@           Coverage Diff            @@
##              dev    #2170    +/-   ##
========================================
  Coverage   82.70%   82.70%            
========================================
  Files         333      333            
  Lines       60336    60328     -8     
  Branches    12578    12872   +294     
========================================
- Hits        49900    49895     -5     
- Misses       9018     9019     +1     
+ Partials     1418     1414     -4     
Flag Coverage Δ
23.11.6 7.29% <ø> (ø)
24.11.5 7.27% <ø> (+0.01%) ⬆️
25.11.1 7.24% <ø> (-0.06%) ⬇️
alpine320 76.90% <ø> (ø)
fedora42 76.48% <ø> (ø)
macos-15 82.30% <ø> (ø)
macos-26 82.31% <ø> (+<0.01%) ⬆️
macos-26-intel 82.23% <ø> (ø)
mingw32 71.51% <ø> (-0.03%) ⬇️
mingw64 71.49% <ø> (+0.10%) ⬆️
npcap ?
rhel94 76.29% <ø> (+0.02%) ⬆️
ubuntu2204 76.30% <ø> (ø)
ubuntu2404 76.59% <ø> (-0.03%) ⬇️
ubuntu2604 76.54% <ø> (+<0.01%) ⬆️
ubuntu2604-arm64 76.37% <ø> (-0.03%) ⬇️
ubuntu2604-icpx 59.15% <ø> (+0.03%) ⬆️
unittest 82.70% <ø> (+<0.01%) ⬆️
windows-2022 85.83% <ø> (+0.11%) ⬆️
windows-2025 85.56% <ø> (+0.12%) ⬆️
winpcap 85.86% <ø> (+0.20%) ⬆️
xdp 52.99% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@seladb

seladb commented Jun 26, 2026

Copy link
Copy Markdown
Owner

Thanks @arthurscchan for working on it! The new fuzzer doesn't pass CI 😕
Also, please note that pre-commit failed: https://github.com/seladb/PcapPlusPlus/actions/runs/28195869547/job/83522396812?pr=2170

@arthurscchan

Copy link
Copy Markdown
Contributor Author

Sorry for dropping that across the weekend. I will fix those CI failed.

@arthurscchan

Copy link
Copy Markdown
Contributor Author

I think the 2 CI failed is that the new fuzzer does discover a new issues in the code. I will double check on those.

@seladb

seladb commented Jul 31, 2026

Copy link
Copy Markdown
Owner

I think the 2 CI failed is that the new fuzzer does discover a new issues in the code. I will double check on those.

@arthurscchan do you think you'll have time to work on it? Should we keep this PR open?

@arthurscchan

Copy link
Copy Markdown
Contributor Author

Hi @seladb, I am sorry I am currently side-tracked into other things. I do suggest if you want to make it an official report in OSS-Fuzz, those CI-Fuzz failing could be ignored and allow the new fuzzer to run on oss-fuzz and reported these as real issues. Or I could try and see how I could fix it and create a PR but that may take me some more time on that as I am currently so busy on some other stuff. Sorry for the late reply.

@seladb

seladb commented Aug 2, 2026

Copy link
Copy Markdown
Owner

Hi @seladb, I am sorry I am currently side-tracked into other things. I do suggest if you want to make it an official report in OSS-Fuzz, those CI-Fuzz failing could be ignored and allow the new fuzzer to run on oss-fuzz and reported these as real issues. Or I could try and see how I could fix it and create a PR but that may take me some more time on that as I am currently so busy on some other stuff. Sorry for the late reply.

@arthurscchan I think the right way would be to fix these issues before merging this PR, but if you don't think you'll have time to work on it guess we can ignore them for now, but I'm not sure how to do that 🤔

@arthurscchan

arthurscchan commented Aug 2, 2026

Copy link
Copy Markdown
Contributor Author

ok. I will spend some time to try and fix them. Would you be OK if I directly create PR once I have some fixes? I can do that next week. @seladb

@seladb

seladb commented Aug 3, 2026

Copy link
Copy Markdown
Owner

ok. I will spend some time to try and fix them. Would you be OK if I directly create PR once I have some fixes? I can do that next week. @seladb

Sure, please feel free top open a PR for this fixes 👍

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
@arthurscchan

Copy link
Copy Markdown
Contributor Author

@seladb Unfortunately, the fuzzer once again discover a new problem after fixing the other one. I will try to come up with a fix for the new one next week.

@arthurscchan

Copy link
Copy Markdown
Contributor Author

Sorry I am extremely busy this week, I will try to have a fix by the end of next week.

@arthurscchan

Copy link
Copy Markdown
Contributor Author

I think after the 2 merged issues, the new fuzzer is good to go now.

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.

3 participants