-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Backport of 6553/6875 to main-7.0.x #11761
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Needed a workaround cast for RBTREE use. (cherry picked from commit a5a6527)
Modeled after the same option in eve/alert. Defaults to 4k. (cherry picked from commit 829bab2)
Don't init buffer to 0 size but use the desired default of 4k. (cherry picked from commit 462a6d7)
In preparation of stream logging changes. (cherry picked from commit a205583)
Log using stream callback API, meaning that data will also be logged if there are GAPs. Also implement GAP indicators: '[123 bytes missing]'. (cherry picked from commit 6e10c66)
(cherry picked from commit ea98df8)
For better readability and type checking. (cherry picked from commit 3ef98f2)
(cherry picked from commit 9c3669b) An additional change was made to correct an ASAN issue -- the membuffer is reset following allocation in MemBufferCreateNew().
(cherry picked from commit 7d5b537)
(cherry picked from commit 1dea4fe)
(cherry picked from commit 926c6e3)
(cherry picked from commit ff8597d)
Information: QA ran without warnings. Pipeline 22564 |
Blocked by SV issues still. |
Continued in #11775 |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Continuation of #11709
Link to tickets:
Describe changes:
Updates:
SCCalloc
to initialize membuffer fields (instead of calling MemBufferReset).Provide values to any of the below to override the defaults.
link to the pull request in the respective
_BRANCH
variable.SV_REPO=
SV_BRANCH=OISF/suricata-verify#2012
SU_REPO=
SU_BRANCH=
LIBHTP_REPO=
LIBHTP_BRANCH=