Skip to content

Handle corrupted gzip streams in pcap/pcapng readers - #5215

Merged
gpotter2 merged 1 commit into
secdev:masterfrom
guedou:oss-fuzz-corrupted-gzip
Oct 2, 2026
Merged

gpotter2 merged 1 commit into
secdev:masterfrom
guedou:oss-fuzz-corrupted-gzip

Conversation

@guedou

@guedou guedou commented Oct 1, 2026

Copy link
Copy Markdown
Member

This PR fixed the latest OSS-Fuzz finding, and aims to protect other calls to read()

@codecov

codecov Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 75.00000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.14%. Comparing base (ac0ab2e) to head (f90e246).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
scapy/utils.py 75.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5215      +/-   ##
==========================================
+ Coverage   80.29%   81.14%   +0.84%     
==========================================
  Files         375      393      +18     
  Lines       97962    98325     +363     
==========================================
+ Hits        78656    79782    +1126     
+ Misses      19306    18543     -763     
Files with missing lines Coverage Δ
scapy/utils.py 73.60% <75.00%> (-0.15%) ⬇️

... and 304 files with indirect coverage changes

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

Comment thread scapy/utils.py Outdated
@guedou
guedou force-pushed the oss-fuzz-corrupted-gzip branch from f2260a1 to f90e246 Compare October 2, 2026 14:19
@gpotter2
gpotter2 merged commit e2e35c0 into secdev:master Oct 2, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants