Skip to content

Fix a crash in extractArgs#10394

Merged
Colengms merged 2 commits intomainfrom
coleng/fix_crash_in_extractArgs
Jan 18, 2023
Merged

Fix a crash in extractArgs#10394
Colengms merged 2 commits intomainfrom
coleng/fix_crash_in_extractArgs

Conversation

@Colengms
Copy link
Copy Markdown
Contributor

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