Skip to content

next/622/20241101/v1#12074

Merged
victorjulien merged 2 commits intoOISF:masterfrom
victorjulien:next/622/20241101/v1
Nov 1, 2024
Merged

next/622/20241101/v1#12074
victorjulien merged 2 commits intoOISF:masterfrom
victorjulien:next/622/20241101/v1

Conversation

@victorjulien
Copy link
Member

catenacyber and others added 2 commits October 29, 2024 11:00
These tests purpose seems to have been lost.
Registering a alproto with a parser function that always fails,
and just testing that AppLayerParserParse returned -1...
We would get the same result  without registering a parser function,
or using ALPROTO_FAILED as argument to AppLayerParserParse

The comment says "Test the deallocation of app layer parser memory
on occurrence of error in the parsing process."
but I do not see how this is tested.
Only call ThreadInit and ThreadDeinit for custom eve filetypes if they
exist. They are not required by all filetypes.

Ticket: OISF#7359
@codecov
Copy link

codecov bot commented Nov 1, 2024

Codecov Report

Attention: Patch coverage is 20.00000% with 4 lines in your changes missing coverage. Please review.

Project coverage is 83.37%. Comparing base (3a7eef8) to head (b1e7917).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #12074      +/-   ##
==========================================
- Coverage   83.42%   83.37%   -0.06%     
==========================================
  Files         910      910              
  Lines      257642   257556      -86     
==========================================
- Hits       214949   214748     -201     
- Misses      42693    42808     +115     
Flag Coverage Δ
fuzzcorpus 61.54% <0.00%> (-0.11%) ⬇️
livemode 19.41% <20.00%> (-0.01%) ⬇️
pcap 44.50% <20.00%> (+0.01%) ⬆️
suricata-verify 62.75% <20.00%> (-0.01%) ⬇️
unittests 59.35% <0.00%> (-0.02%) ⬇️

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 23228

@victorjulien victorjulien merged commit b1e7917 into OISF:master Nov 1, 2024
@victorjulien victorjulien deleted the next/622/20241101/v1 branch November 1, 2024 19:06
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