Skip to content

8.0.x: backports for issues: 9429, 8724 - v1 - #16753

Open
jasonish wants to merge 4 commits into
OISF:main-8.0.xfrom
jasonish:8.0.x-pr-16699/v1
Open

jasonish wants to merge 4 commits into
OISF:main-8.0.xfrom
jasonish:8.0.x-pr-16699/v1

Conversation

@jasonish

Copy link
Copy Markdown
Member

SV_BRANCH=OISF/suricata-verify#3586

Automated backport of #16699 to main-8.0.x for 8.0.9.

[This backport PR was generated by a new automation in test.]

inashivb and others added 4 commits November 26, 2026 21:09
Flowints are implemented as u32 and they allow subtraction as one of the
operations that can be performed on them without any check for
underflow. Saturate to 0 when the flowint is about to underflow.

Ticket: 9429
(cherry picked from commit 9291ae5)
Flowints are implemented as u32 and they allow addition as one of the
operations that can be performed on them without any check for
overflow. Saturate to U32_MAX when flowint is about to overflow.

Ticket: 9429
(cherry picked from commit 8405cad)
flowint behavior changed recently with it no longer wrapping around on
either of the boundaries hit.

Ticket: 9429

Backport note: Place the keyword change under 8.0.9 in the upgrade guide.

(cherry picked from commit 2d4a0fd)
le_slice_to_string() was the only user: it built a U16CString to
validate and convert UTF-16 input. String::from_utf16 does the same
conversion with the same error on invalid data, so the crate goes away.

Ticket: OISF#5256
Ticket: OISF#8724

Backport note: Remove only widestring from the stable Cargo manifest and
lockfile, retaining the other stable dependencies and versions.

(cherry picked from commit d7a4c61)

@suricata-review-bot suricata-review-bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI-generated review.

Verdict: approve

No high- or medium-severity findings.

Redmine ticket not yet In Review: #5256 (In Progress). Please set it to In Review.

Automated at commit b67cfd0aa5ed using Claude Code with claude-opus-5-5/xhigh. Run: bf2a94e4a61b07d2.

@codecov

codecov Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 90.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 82.18%. Comparing base (8c13932) to head (b67cfd0).

Additional details and impacted files
@@              Coverage Diff               @@
##           main-8.0.x   #16753      +/-   ##
==============================================
- Coverage       82.20%   82.18%   -0.02%     
==============================================
  Files            1020     1020              
  Lines          284688   284690       +2     
==============================================
- Hits           234028   233973      -55     
- Misses          50660    50717      +57     
Flag Coverage Δ
fuzzcorpus 63.63% <60.00%> (-0.04%) ⬇️
livemode 18.35% <0.00%> (+<0.01%) ⬆️
netns 19.82% <0.00%> (-0.02%) ⬇️
pcap 45.18% <20.00%> (-0.04%) ⬇️
suricata-verify 66.89% <90.00%> (-0.03%) ⬇️
unittests 59.26% <60.00%> (-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 = 36155

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.

5 participants