-
Notifications
You must be signed in to change notification settings - Fork 906
GODRIVER-3303 Prevent out of bounds panic with length value #1735
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
Conversation
Hi! Couldn't link ticket from jira due to the 403 Forbidden server error. |
@qingyang-hu, hi! Could you review this PR please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! 👍
@kobrineli Do you know the GODRIVER ticket number that this should be linked to? Also, do you have an example of a wire message or a description of how to reproduce the panic?
API Change ReportNo changes found! |
@matthewdale |
Here is encoded wire message (OpMsg with DocumentSequence inside) |
GODRIVER-3303
Summary
This PR fixes out of bounds error and following unwanted panic in case of corrupted message length.