Skip to content

Rfb max length 8731 v3.7 - #16177

Closed
catenacyber wants to merge 2 commits into
OISF:mainfrom
catenacyber:rfb-max-length-8731-v3.7
Closed

Rfb max length 8731 v3.7#16177
catenacyber wants to merge 2 commits into
OISF:mainfrom
catenacyber:rfb-max-length-8731-v3.7

Conversation

@catenacyber

Copy link
Copy Markdown
Contributor

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

Describe changes:

  • rfb: limit strings length

SV_BRANCH=OISF/suricata-verify#3352

#16164 with new SV PR + test

Ticket: 8731

Adds a configurable limit to string lengths to avoid to retain
too much memory for too long, and avoid producing log events
that are too big
And log it with from_utf8_lossy

Since we may now cut a too big failure_reason breaking a valid
utf-8 string

Ticket: 8731
@suricata-review-bot

Copy link
Copy Markdown

AI-generated review posted automatically by Suricata ai-review.

Verdict: approve

No high- or medium-severity findings.

@victorjulien victorjulien added this to the 9.0 milestone Sep 4, 2026
@codecov

codecov Bot commented Sep 4, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 81.81818% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.13%. Comparing base (b8084b3) to head (65d1390).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #16177      +/-   ##
==========================================
- Coverage   83.14%   83.13%   -0.02%     
==========================================
  Files        1004     1004              
  Lines      277579   277619      +40     
==========================================
- Hits       230789   230786       -3     
- Misses      46790    46833      +43     
Flag Coverage Δ
fuzzcorpus 61.76% <44.44%> (+0.11%) ⬆️
livemode 18.40% <3.70%> (+<0.01%) ⬆️
netns 22.82% <3.70%> (-0.06%) ⬇️
pcap 45.39% <72.22%> (-0.05%) ⬇️
suricata-verify 67.31% <81.48%> (-0.02%) ⬇️
unittests 58.53% <38.18%> (-0.01%) ⬇️

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

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

@suricata-qa

Copy link
Copy Markdown

Information: QA ran without warnings.

Pipeline = 33789

@victorjulien

Copy link
Copy Markdown
Member

Merged in #16185, thanks!

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.

4 participants