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:
[x] Did a review by yourself.
[x] Changed one line of code. No additional tests needed.
[ ] Checked if this PR is a breaking (APIs have been changed) change.
[ ] Checked if this PR will not introduce cross-platform inconsistent behavior.
[ ] Checked if this PR would require a ReadMe/Wiki update.
Check which platforms you have built SDK on to verify the correctness of this PR.
[x] Linux
[x] Windows
[ ] Android
[x] MacOS
[ ] IOS
[ ] Other Platforms
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
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.