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 potential index out of range error #368

Merged
merged 1 commit into from
Jun 21, 2022
Merged

Fix potential index out of range error #368

merged 1 commit into from
Jun 21, 2022

Conversation

slavick
Copy link
Contributor

@slavick slavick commented Jun 18, 2022

If only two arguments are provided, line 28 will throw an error when it attempts to read args[2].

If only two arguments are provided, line 28 will throw an error when it attempts to read `args[2]`.
Copy link
Collaborator

@VojtechVitek VojtechVitek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mfridman mfridman merged commit bfd4286 into pressly:master Jun 21, 2022
@slavick slavick deleted the patch-1 branch June 23, 2022 11:07
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.

3 participants