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

[6.2] Backport packetbeat fixes #6776

Merged
merged 4 commits into from
Apr 6, 2018

Conversation

adriansr
Copy link
Contributor

@adriansr adriansr commented Apr 5, 2018

This backports packetbeat's fixes from master:

adriansr added 4 commits April 5, 2018 10:43
A message with a client header consisting on a partial frame (not
all data received for this frame) could result in a panic.
* Fix out of bounds access to slice in MongoDB parser

Ignore MongoDB message and drop the TCP stream if a malformed
query / response is received, instead of logging a panic.

Closes elastic#5188

* Update CHANGELOG
Fixes packetbeat termination problems with both af_packet and pcap
captures.

Fixes elastic#6535
There was a bounds check error in parsing HTTP responses. A malformed
response line in the form "HTTP/1.1\r\n" would cause a panic when parsed.

Related to elastic#6409
@adriansr adriansr requested a review from tsg April 5, 2018 08:58
@adriansr adriansr added the v6.2.4 label Apr 5, 2018
@andrewkroh andrewkroh merged commit 6db64c6 into elastic:6.2 Apr 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants