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

Fixups/v2 #10345

Closed
wants to merge 4 commits into from
Closed

Fixups/v2 #10345

wants to merge 4 commits into from

Conversation

victorjulien
Copy link
Member

#10337 and #10340, plus an added error message.

changes since #10344:

catenacyber and others added 4 commits February 8, 2024 17:02
error: writing `&Vec` instead of `&[_]` involves a new object where a slice will do
   --> src/dns/log.rs:371:29
    |
371 | pub fn dns_print_addr(addr: &Vec<u8>) -> std::string::String {
    |                             ^^^^^^^^ help: change this to: `&[u8]`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
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.
@victorjulien victorjulien mentioned this pull request Feb 9, 2024
Copy link

codecov bot commented Feb 9, 2024

Codecov Report

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

Comparison is base (80abc22) 82.32% compared to head (28ac49c) 82.32%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #10345      +/-   ##
==========================================
- Coverage   82.32%   82.32%   -0.01%     
==========================================
  Files         978      978              
  Lines      272142   272147       +5     
==========================================
- Hits       224053   224041      -12     
- Misses      48089    48106      +17     
Flag Coverage Δ
fuzzcorpus 63.59% <53.84%> (-0.01%) ⬇️
suricata-verify 61.45% <53.84%> (-0.04%) ⬇️
unittests 62.83% <15.38%> (-0.01%) ⬇️

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

Copy link
Member

@inashivb inashivb left a comment

Choose a reason for hiding this comment

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

LGTM

@victorjulien victorjulien added this to the 8.0 milestone Feb 9, 2024
@suricata-qa
Copy link

Information: QA ran without warnings.

Pipeline 18265

@victorjulien
Copy link
Member Author

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

5 participants