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

ldap: truly enforce max-tx #12295

Closed
wants to merge 1 commit into from

Conversation

catenacyber
Copy link
Contributor

Link to ticket: https://redmine.openinfosecfoundation.org/issues/
https://redmine.openinfosecfoundation.org/issues/7465

Describe changes:

  • ldap: truly enforce max-tx

Fail creating a new transaction if there are too many live ones

Ticket: 7465

If a bug chunk of data is parsed in one go, we could create many
transactions even if marking them as complete, and have
quadratic complexity calling find_request.

Proposed solution is to fail on creating a new transaction if too
many already exist.
Copy link

codecov bot commented Dec 17, 2024

Codecov Report

Attention: Patch coverage is 73.80952% with 11 lines in your changes missing coverage. Please review.

Please upload report for BASE (master@2c0d3b8). Learn more about missing BASE report.
Report is 14 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master   #12295   +/-   ##
=========================================
  Coverage          ?   83.36%           
=========================================
  Files             ?      912           
  Lines             ?   257636           
  Branches          ?        0           
=========================================
  Hits              ?   214777           
  Misses            ?    42859           
  Partials          ?        0           
Flag Coverage Δ
fuzzcorpus 61.47% <73.80%> (?)
livemode 19.39% <0.00%> (?)
pcap 44.48% <52.38%> (?)
suricata-verify 62.88% <59.52%> (?)
unittests 59.19% <0.00%> (?)

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

@suricata-qa
Copy link

Information: QA ran without warnings.

Pipeline 23976

@catenacyber
Copy link
Contributor Author

catenacyber commented Dec 18, 2024

CI failures look unrelated : tcp-urgp on Debian MSRV

@catenacyber
Copy link
Contributor Author

Replaced by #12351

@catenacyber catenacyber closed this Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants