Skip to content

fix(gen_expand): add numeric validation for input argument n - #58

Merged
seranian merged 1 commit into
google:masterfrom
pohaosu:fix/gen-expand-validation
Aug 31, 2026
Merged

fix(gen_expand): add numeric validation for input argument n#58
seranian merged 1 commit into
google:masterfrom
pohaosu:fix/gen-expand-validation

Conversation

@pohaosu

@pohaosu pohaosu commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Executing ./gen_expand without arguments or with non-numeric parameters resulted in unhandled script errors and could produce malformed header files. This change validates that $n is a positive integer before proceeding, and fixes capitalization in comments.

Executing ./gen_expand without arguments or with non-numeric parameters
resulted in unhandled script errors and could produce malformed header files.
This change validates that $n is a positive integer before proceeding, and
fixes capitalization in comments.

Signed-off-by: Phineas Su <pohaosu@google.com>
@seranian
seranian merged commit 4986aaf into google:master Aug 31, 2026
6 checks passed
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