8000 [2.4] Fix Protobuf data corruption for CloudEvent serialized/deserialized several times by pierDipi · Pull Request #525 · cloudevents/sdk-java · GitHub
[go: up one dir, main page]

Skip to content

[2.4] Fix Protobuf data corruption for CloudEvent serialized/deserialized several times #525

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

pierDipi
Copy link
Member

Cherry-pick of #524

… several times (cloudevents#524)

Fixed issue where mutiple serialize/de-serialize operations
would result in corrupted data if the data was a protobuf
message object.

- Introduced equality checks for ProtoDataWrapper.
- Refactored and cleaned up data-wrappers.

Fixes cloudevents#523

Signed-off-by: Jem Day <Jem.Day@cliffhanger.com>
Copy link
Contributor
@JemDay JemDay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pierDipi pierDipi merged commit 9d3ee79 into cloudevents:2.4 Feb 27, 2023
@pierDipi pierDipi deleted the cp-3614a4f5f4982e6ed38332c2cc73b1a558326274-2.4 branch February 27, 2023 17:08
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.

2 participants
0