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

issue 6300: correctly handle configuration includes from arrays - v1 #9465

Closed

Conversation

jasonish
Copy link
Member

@jasonish jasonish commented Sep 7, 2023

Includes from an "include" array were being loaded into the wrong
parent as the logic for array handing in include context was not
updated.

If we are descending into an array in include context, pass through
the current parent so the included configuration is included where it
is expected.

Bug: https://redmine.openinfosecfoundation.org/issues/6300

SV_BRANCH=OISF/suricata-verify#1382

Includes from an "include" array were being loaded into the wrong
parent as the logic for array handing in include context was not
updated.

If we are descending into an array in include context, pass through
the current parent so the included configuration is included where it
is expected.

Bug: OISF#6300
@codecov
Copy link

codecov bot commented Sep 7, 2023

Codecov Report

Merging #9465 (456c70d) into master (2b57179) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #9465      +/-   ##
==========================================
- Coverage   82.18%   82.18%   -0.01%     
==========================================
  Files         968      968              
  Lines      274199   274199              
==========================================
- Hits       225363   225355       -8     
- Misses      48836    48844       +8     
Flag Coverage Δ
fuzzcorpus 64.09% <100.00%> (ø)
suricata-verify 60.90% <100.00%> (-0.01%) ⬇️
unittests 62.88% <100.00%> (ø)

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

📢 Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OISF).

@suricata-qa
Copy link

Information: QA ran without warnings.

Pipeline 15866

@jlucovsky jlucovsky changed the title isse 6300: correctly handle configuration includes from arrays - v1 issue 6300: correctly handle configuration includes from arrays - v1 Sep 12, 2023
@victorjulien
Copy link
Member

Merged in #9492, thanks!

@jasonish jasonish deleted the issue-6300-conf-include-array/v1 branch August 15, 2024 16:31
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