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

Fix binary serializer can't deserialize protopuf buffer content issue. #810

Merged
merged 1 commit into from
Aug 3, 2023

Conversation

liuh-80
Copy link
Contributor

@liuh-80 liuh-80 commented Aug 3, 2023

Fix binary serializer can't deserialize protopuf buffer content issue.

Work item tracking

Microsoft ADO (number only): 17753804

Why I did it

Fix binary serializer can't deserialize protopuf buffer content issue.

How I did it

Fix code but when deserialize binary string.

How to verify it

Add UT.
Pass all UT.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111

Description for the changelog

Fix binary serializer can't deserialize protopuf buffer content issue.

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@liuh-80 liuh-80 merged commit 5966d8b into sonic-net:master Aug 3, 2023
13 checks passed
SviatoslavBoichuk pushed a commit to SviatoslavBoichuk/sonic-swss-common that referenced this pull request Sep 7, 2023
…sonic-net#810)

Fix binary serializer can't deserialize protopuf buffer content issue.

#### Work item tracking
Microsoft ADO (number only): 17753804

#### Why I did it
Fix binary serializer can't deserialize protopuf buffer content issue.

#### How I did it
Fix code but when deserialize binary string.

#### How to verify it
Add UT.
Pass all UT.

#### Which release branch to backport (provide reason below if selected)

<!--
- Note we only backport fixes to a release branch, *not* features!
- Please also provide a reason for the backporting below.
- e.g.
- [x] 202006
-->

- [ ] 201811
- [ ] 201911
- [ ] 202006
- [ ] 202012
- [ ] 202106
- [ ] 202111

#### Description for the changelog
Fix binary serializer can't deserialize protopuf buffer content issue.

#### Link to config_db schema for YANG module changes
<!--
Provide a link to config_db schema for the table for which YANG model
is defined
Link should point to correct section on https://github.com/Azure/SONiC/wiki/Configuration.
-->

#### A picture of a cute animal (not mandatory but encouraged)
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.

3 participants