Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In some situations involving long paths it is possible that `GetFileInformationByHandleEx` produces a `FILE_NAME_INFO` with `FileNameLength` exceeding the provided buffer [1]. Return `false` from `msys_tty_on` if that happens, instead of reading beyond the end of the allocation. [1] sunfishcode/is-terminal#18
- Loading branch information