Skip to content

Conversation

@gpotter2
Copy link
Member

@gpotter2 gpotter2 commented Nov 2, 2025

The bpf_program created with compile_filter was never freed.

fix #4698

@gpotter2 gpotter2 marked this pull request as ready for review November 2, 2025 22:17
@codecov
Copy link

codecov bot commented Nov 2, 2025

Codecov Report

❌ Patch coverage is 90.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 80.86%. Comparing base (ef72e1d) to head (88ad0c5).

Files with missing lines Patch % Lines
scapy/arch/linux/__init__.py 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4872      +/-   ##
==========================================
+ Coverage   80.48%   80.86%   +0.37%     
==========================================
  Files         368      368              
  Lines       90255    90260       +5     
==========================================
+ Hits        72645    72986     +341     
+ Misses      17610    17274     -336     
Files with missing lines Coverage Δ
scapy/arch/bpf/core.py 83.33% <100.00%> (+0.28%) ⬆️
scapy/arch/common.py 69.84% <100.00%> (+1.50%) ⬆️
scapy/arch/linux/__init__.py 82.95% <80.00%> (-0.32%) ⬇️

... and 21 files with indirect coverage changes

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

@gpotter2 gpotter2 added this to the 2.7.0 milestone Nov 2, 2025
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.

memory leak when creating AsyncSniffer repeatedly

1 participant