Closed kar-rahul-aws closed 1 year ago
Patch coverage: 100.00%
and no project coverage change.
Comparison is base (
2f94b18
) 94.35% compared to head (d4b6b11
) 94.35%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
This PR addresses the bug in xStreamBufferCreateStatic() API when xBufferSizeBytes is less than sbBYTES_TO_STORE_MESSAGE_LENGTH . Static creation of StreamBuffer of BufferSize <= sbBYTES_TO_STORE_MESSAGE_LENGTH can be allowed , in case it is not a MessageBuffer.
Test Steps
Executing this code
Before applying the patch : StreamBuffer creation fails and assert occurs at
After applying the patch : StreamBuffer creation is successful .
Checklist:
Related Issue
792
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.