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

Open
wants to merge 1 commit into
base: master
Choose a base branch
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 66.66667% with 14 lines in your changes missing coverage. Please review.

Please upload report for BASE (master@2c0d3b8). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff            @@
##             master   #12295   +/-   ##
=========================================
  Coverage          ?   83.23%           
=========================================
  Files             ?      912           
  Lines             ?   257636           
  Branches          ?        0           
=========================================
  Hits              ?   214444           
  Misses            ?    43192           
  Partials          ?        0           
Flag Coverage Δ
fuzzcorpus 61.09% <66.66%> (?)
livemode 19.39% <0.00%> (?)
pcap 44.41% <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

CI failures look unrelated

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