Skip to content

Conversation

@sbaluja
Copy link
Contributor

@sbaluja sbaluja commented Sep 25, 2025

Issue #, if available:

Description of changes:
CborDecoder initialize m_lastError in constructor to AWS_ERROR_SUCCESS instead of it holding a garbage value

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@sbaluja sbaluja marked this pull request as ready for review September 25, 2025 18:04
Copy link
Contributor

@TingDaoK TingDaoK left a comment

Choose a reason for hiding this comment

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

Can you also help to add a quick regression test, like just create the decoder and ask for the last error, it should return UNKNOWN instead of garbage.

Copy link
Contributor

@TingDaoK TingDaoK left a comment

Choose a reason for hiding this comment

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

Thank you. It looks good to me. The CI seems to fail because the test been flaky, feel free to just retry and merge after it succeed

@sbaluja sbaluja merged commit a1e5db1 into main Sep 26, 2025
127 of 128 checks passed
@sbaluja sbaluja deleted the initCborLastError branch September 26, 2025 14:55
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