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

ChildProcess: fix false positives in windowsCreateProcessSupportsExtension #14138

Merged
merged 1 commit into from
Jan 1, 2023

Conversation

squeek502
Copy link
Collaborator

@squeek502 squeek502 commented Dec 31, 2022

Previously, the implementation would essentially check startsWith instead of eql (e.g. it would return true for .exec because it erroneously 'matched' .exe).

This bug had no real negative effects, the windowsCreateProcessSupportsExtension function is just used as an optimization to avoid evaluating extensions that we know we will fail to execute.

Follow up to #13993

…nsion

Previously, the implementation would essentially check `startsWith` instead of `eql` (e.g. it would return true for `.exec` because it erroneously 'matched' `.exe`).

Follow up to ziglang#13993
@andrewrk andrewrk merged commit aadd1b2 into ziglang:master Jan 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants