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

Next/20200120/v5 #4492

Merged
merged 11 commits into from Jan 20, 2020
Merged

Next/20200120/v5 #4492

merged 11 commits into from Jan 20, 2020

Conversation

victorjulien
Copy link
Member

jasonish and others added 11 commits January 14, 2020 08:42
Tests distcheck on a build from a distribution archive.
There were no distchecks being done on builds from git.
There is no need to include Cargo.toml in the distribution,
it is always generated from Cargo.toml.in during
./configure.
If sources are vendored, we get the same effect of using frozen
with a lock file, and the Cargo.lock is generated based
on the vendored sources.

This also removes the need to ship a Cargo.lock.

Fixed out of source builds with vendored sources.
This commit causes Suricata to exit when a buffer from the analyzer
table is not recognized.

Since the table must match what's registered, exiting will bring noticed
to the condition.
Don't assume that the next block after the sbb head is after the
requested offset.

If the next block was before the offset, the returned data_len
would underflow and return a nonsense value to the app-layer.

Bug OISF#2993.
In some cases a SBB could be seen as overlapping with the requested
offset, when it was in fact precisely before it. In some special cases
this could lead to the stream engine not progressing the 'raw' progress.
@victorjulien victorjulien requested review from jasonish and a team as code owners January 20, 2020 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants