Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@thevilledev
Copy link
Collaborator

@thevilledev thevilledev commented Sep 15, 2025

1. Why is this pull request needed and what does it do?

Validate dnstap writebuffer (MiB) and queue (x10k) args. Reject non-integers and out-of-range values with clear errors. Updated plugin documentation and tests.

Should fix the following OSS-Fuzz findings:

Verified locally that the reproducer didn't work after the patch. Should clear out automatically after this PR is merged in.

2. Which issues (if any) are related?

None.

3. Which documentation changes (if any) need to be made?

Added additional documentation on TCP max buffer size and queue capacity for the plugin.

4. Does this introduce a backward incompatible change or deprecation?

The sizes are quite generous I think. Should not be an incompatible change.

Validate dnstap writebuffer (MiB) and queue (x10k) args. Reject
non-integers and out-of-range values with clear errors. Updated
plugin documentation and tests.

Signed-off-by: Ville Vesilehto <[email protected]>
@codecov
Copy link

codecov bot commented Sep 15, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.16%. Comparing base (93c57b6) to head (fb93f8a).
⚠️ Report is 1652 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7557      +/-   ##
==========================================
+ Coverage   55.70%   62.16%   +6.46%     
==========================================
  Files         224      274      +50     
  Lines       10016    18308    +8292     
==========================================
+ Hits         5579    11381    +5802     
- Misses       3978     6261    +2283     
- Partials      459      666     +207     

☔ View full report in Codecov by Sentry.
📢 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.

@yongtang yongtang merged commit 0440e54 into coredns:master Sep 19, 2025
16 of 17 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.

2 participants