Fix incorrect use of the size of Path when accessing PathUTF16, as the
UTF-16 path can be shorter. Added unit test for coverage of this test
case.
Thanks to Ding Fei (danix800) for the code fix, see
https://reviews.llvm.org/D83321.
Differential D83689
[Support] Fix Windows directory_iterator_construct out of bounds Authored by andrewng on Jul 13 2020, 10:04 AM.
Details Fix incorrect use of the size of Path when accessing PathUTF16, as the Thanks to Ding Fei (danix800) for the code fix, see
Diff Detail
Event TimelineComment Actions This is actually bug reported on 07 of Jun: https://bugs.llvm.org/show_bug.cgi?id=46236 @andrewng Please mark that completed. |