Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for a bug in GetCORSystemDirectoryInternaL
Change 7045ca7 introduced a bug in GetCORSystemDirectoryInternaL. The second parameter of GetRuntimeDirectory is in/out so passing a pointer to an uninitialized cchBuffer was wrong. The fix is to initialize cchBuffer to MAX_PATH - 1. This was causing failures in some non CoreClr ngen scenarios.
- Loading branch information