Skip to content

Command line args bounds checking #424

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

Merged
merged 2 commits into from
Mar 23, 2023
Merged

Command line args bounds checking #424

merged 2 commits into from
Mar 23, 2023

Conversation

anzz1
Copy link
Contributor

@anzz1 anzz1 commented Mar 23, 2023

Bound check command line argument parameters so it doesn't crash / do out-of-bounds read when entering empty param.
Outputs a "invalid parameter" error in this case.

before: "./main -r " = crash

@anzz1 anzz1 added the bug Something isn't working label Mar 23, 2023
@anzz1 anzz1 requested review from ggerganov, sw, blackhole89 and Green-Sky and removed request for ggerganov March 23, 2023 11:52
@anzz1 anzz1 requested a review from Green-Sky March 23, 2023 12:10
@anzz1
Copy link
Contributor Author

anzz1 commented Mar 23, 2023

Hm it got stuck on "change requested" even when it's resolved?

@Green-Sky
Copy link
Collaborator

Hm it got stuck on "change requested" even when it's resolved?

wdym?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants