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

Fix a crash in extractArgs #10394

Merged
merged 2 commits into from
Jan 18, 2023
Merged

Fix a crash in extractArgs #10394

merged 2 commits into from
Jan 18, 2023

Conversation

Colengms
Copy link
Collaborator

This code was originally copied from the native side and was based on: https://daviddeley.com/autohotkey/parameters/parameters.htm

In TypeScript, the division by 2 did not result in a whole number, as it does on the native side, leading to a potential infinite loop shortly after when trying to decrement the value down to 0.

@sean-mcmanus sean-mcmanus added this to the 1.14.1 milestone Jan 18, 2023
@Colengms Colengms merged commit 23f3b47 into main Jan 18, 2023
@Colengms Colengms deleted the coleng/fix_crash_in_extractArgs branch January 18, 2023 20:52
@github-actions github-actions bot locked and limited conversation to collaborators Mar 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants