-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Packetbeat dies after ERR Dns ParseUdp #2872
Labels
Comments
andrewkroh
added a commit
to andrewkroh/beats
that referenced
this issue
Oct 28, 2016
When converting resource records into MapStrs the code can run into an index out of range exception when processing OPT psuedo resource records. The code reduces the size of a slice by creating a new, smaller slice and copies the existing data to the smaller slice. But the code did not account for the fact that the length of the slice was smaller when indexing. Fixes elastic#2872
ruflin
pushed a commit
that referenced
this issue
Oct 31, 2016
When converting resource records into MapStrs the code can run into an index out of range exception when processing OPT psuedo resource records. The code reduces the size of a slice by creating a new, smaller slice and copies the existing data to the smaller slice. But the code did not account for the fact that the length of the slice was smaller when indexing. * Added a DNS test case for rrsToMapStrs with a OPT resource record Fixes #2872
andrewkroh
added a commit
to andrewkroh/beats
that referenced
this issue
Nov 1, 2016
When converting resource records into MapStrs the code can run into an index out of range exception when processing OPT psuedo resource records. The code reduces the size of a slice by creating a new, smaller slice and copies the existing data to the smaller slice. But the code did not account for the fact that the length of the slice was smaller when indexing. Fixes elastic#2872 (cherry picked from commit cbde106)
ruflin
pushed a commit
that referenced
this issue
Nov 3, 2016
When converting resource records into MapStrs the code can run into an index out of range exception when processing OPT psuedo resource records. The code reduces the size of a slice by creating a new, smaller slice and copies the existing data to the smaller slice. But the code did not account for the fact that the length of the slice was smaller when indexing. Fixes #2872 (cherry picked from commit cbde106)
leweafan
pushed a commit
to leweafan/beats
that referenced
this issue
Apr 28, 2023
When converting resource records into MapStrs the code can run into an index out of range exception when processing OPT psuedo resource records. The code reduces the size of a slice by creating a new, smaller slice and copies the existing data to the smaller slice. But the code did not account for the fact that the length of the slice was smaller when indexing. Fixes elastic#2872 (cherry picked from commit cbde106)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Packetbeat 5.0
Ubuntu 10.04
It runs for a while until at some point, presumably, it comes across a DNS packet it does not like. I will work on getting a pcap.
The text was updated successfully, but these errors were encountered: