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

Fix crash with parseuntil when top layer is more than the chosen parseuntil OSI layer. #1580

Merged
merged 2 commits into from
Sep 21, 2024

Conversation

rndx21033
Copy link
Contributor

Fix crash with pcpp::Packet parseuntil of OSI layer that is less than the top layer in the packet.

Copy link

codecov bot commented Sep 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.90%. Comparing base (4af4b8b) to head (e2f03a3).
Report is 5 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #1580      +/-   ##
==========================================
- Coverage   82.91%   82.90%   -0.01%     
==========================================
  Files         273      273              
  Lines       46261    46274      +13     
  Branches     9412     9343      -69     
==========================================
+ Hits        38356    38365       +9     
- Misses       7049     7105      +56     
+ Partials      856      804      -52     
Flag Coverage Δ
fedora39 74.51% <100.00%> (+<0.01%) ⬆️
macos-12 80.89% <100.00%> (+<0.01%) ⬆️
macos-13 80.31% <100.00%> (+<0.01%) ⬆️
macos-14 80.23% <100.00%> (+<0.01%) ⬆️
mingw32 70.28% <100.00%> (-0.03%) ⬇️
mingw64 70.25% <100.00%> (-0.05%) ⬇️
npcap 84.82% <100.00%> (-0.03%) ⬇️
rhel94 74.29% <100.00%> (+<0.01%) ⬆️
ubuntu2004 57.84% <100.00%> (-0.01%) ⬇️
ubuntu2004-zstd 57.96% <100.00%> (-0.03%) ⬇️
ubuntu2204 74.19% <100.00%> (-0.03%) ⬇️
ubuntu2204-icpx 58.40% <80.00%> (-0.03%) ⬇️
ubuntu2404 74.45% <100.00%> (-0.03%) ⬇️
unittest 82.90% <100.00%> (-0.01%) ⬇️
windows-2019 84.87% <100.00%> (-0.01%) ⬇️
windows-2022 84.87% <100.00%> (-0.02%) ⬇️
winpcap 84.85% <100.00%> (+<0.01%) ⬆️
xdp 49.21% <100.00%> (+0.01%) ⬆️

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

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

@tigercosmos tigercosmos merged commit 3b57224 into seladb:dev Sep 21, 2024
40 checks passed
tigercosmos pushed a commit to tigercosmos/PcapPlusPlus that referenced this pull request Sep 24, 2024
…euntil OSI layer. (seladb#1580)

* Fix crash with parseuntil when top layer is more than the chosen parseuntil OSI layer.

* fix format
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