Skip to content

Fix 'attach' when passing null byte in the data #1536

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

Merged
merged 2 commits into from
May 11, 2021

Conversation

aurelien-reeves
Copy link
Contributor

Is your pull request related to a problem? Please describe.

Fixes #1529

Describe the solution you have implemented

Rescue any standard error in the attach method, then call super without any further process around it

Verified

This commit was signed with the committer’s verified signature.
aurelien-reeves Aurélien Reeves

Verified

This commit was signed with the committer’s verified signature.
aurelien-reeves Aurélien Reeves
@aurelien-reeves
Copy link
Contributor Author

Thanks @luke-hill

I've just commit fixes for your suggestions

@aurelien-reeves aurelien-reeves merged commit 7907579 into main May 11, 2021
@aurelien-reeves aurelien-reeves deleted the attach-null-bytes-1529 branch May 11, 2021 08:38
@mattwynne mattwynne added this to the 6.1 milestone May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

attach fails when data is an array with a null byte
3 participants