Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle GetFileInformationByHandleEx returning a long filename. #19

Merged
merged 3 commits into from
Feb 19, 2023

Commits on Feb 14, 2023

  1. Handle GetFileInformationByHandleEx returning a long filename.

    In #18 there is a report that under some situations
    `GetFileInformationByHandleEx` can produce a file name with a length
    that extends beyond the end of the buffer. Check for this case and
    return false if it is.
    
    Also, backport the change from std to only search the file name for
    "msys-" and "cygwin-", rather than the whole path.
    sunfishcode committed Feb 14, 2023
    Configuration menu
    Copy the full SHA
    2b86dc7 View commit details
    Browse the repository at this point in the history
  2. rustfmt

    sunfishcode committed Feb 14, 2023
    Configuration menu
    Copy the full SHA
    5390f6e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e3ce611 View commit details
    Browse the repository at this point in the history