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-http-header: alternative cocci fixup - v1 #10340

Closed
wants to merge 2 commits into from

Conversation

jasonish
Copy link
Member

@jasonish jasonish commented Feb 8, 2024

Change the code instead of Cocci. Just an alternative for CI to check.

jasonish and others added 2 commits February 8, 2024 13:23
Add not-needed SCCalloc return check to satisfy our Cocci malloc
checks as it can't see that the caller immediately checks the return
value of this simple wrapper around SCCalloc.
Copy link

codecov bot commented Feb 8, 2024

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (80abc22) 82.32% compared to head (922b262) 82.33%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #10340   +/-   ##
=======================================
  Coverage   82.32%   82.33%           
=======================================
  Files         978      978           
  Lines      272142   272145    +3     
=======================================
+ Hits       224053   224064   +11     
+ Misses      48089    48081    -8     
Flag Coverage Δ
fuzzcorpus 63.59% <20.00%> (+<0.01%) ⬆️
suricata-verify 61.48% <20.00%> (-0.02%) ⬇️
unittests 62.83% <20.00%> (-0.01%) ⬇️

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 18253

This was referenced Feb 9, 2024
@victorjulien
Copy link
Member

Merged as part of #10345, thanks!

@jasonish jasonish deleted the cocci-fix/v1 branch February 13, 2024 19:33
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