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

detect/transform: handle overlapping dotprefix #12154

Merged

Conversation

catenacyber
Copy link
Contributor

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

Describe changes:

  • detect/transform: handle overlapping case for dotprefix transform

Follow up on #12125

If there is a transform before dotprefix, it operates in place
in a single buffer, and must therefore use memmove instead of memcpy
to avoid UB.

Ticket: 7229
Copy link

codecov bot commented Nov 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.18%. Comparing base (fccb328) to head (c3a6abf).
Report is 1 commits behind head on main-7.0.x.

Additional details and impacted files
@@              Coverage Diff               @@
##           main-7.0.x   #12154      +/-   ##
==============================================
+ Coverage       83.13%   83.18%   +0.04%     
==============================================
  Files             922      922              
  Lines          260821   260821              
==============================================
+ Hits           216826   216953     +127     
+ Misses          43995    43868     -127     
Flag Coverage Δ
fuzzcorpus 64.13% <100.00%> (+0.06%) ⬆️
suricata-verify 63.35% <100.00%> (+0.05%) ⬆️
unittests 62.38% <100.00%> (ø)

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

@suricata-qa
Copy link

WARNING:

field baseline test %
SURI_TLPW2_autofp_stats_chk
.uptime 145 140 96.55%

Pipeline 23560

@victorjulien victorjulien merged commit c3a6abf into OISF:main-7.0.x Nov 28, 2024
88 checks passed
@victorjulien
Copy link
Member

Merged in #12160, 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.

3 participants