aws / aws-sdk-cpp

AWS SDK for C++
Apache License 2.0
1.98k stars 1.06k forks source link

Change code to handle empty vector #2840

Closed meyertst-aws closed 9 months ago

meyertst-aws commented 9 months ago

On Windows, an exception was thrown because the array index was out of bounds on an empty buffer. Changes made in PR #2827 now allow an empty buffer in this section of code.

Check all that applies:

Check which platforms you have built SDK on to verify the correctness of this PR.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.