[all-commits] [llvm/llvm-project] 2696d8: Windows: correct iteration of additional search paths
Saleem Abdulrasool via All-commits
all-commits at lists.llvm.org
Sat Apr 16 18:01:44 PDT 2022
Author: Saleem Abdulrasool <compnerd at compnerd.org>
Date: 2022-04-16 (Sat, 16 Apr 2022)
Windows: correct iteration of additional search paths
This adjusts the path iteration - `paths` is a null-terminated sequence
of C strings, creating an array from a single contiguous buffer. We
would previously continue to iterate indefinitely as we did not check if
we had encountered the terminator.
Found by inspection.
More information about the All-commits