Skip to content

Fix IMPORTANT audit findings (fix-id-sleep-yes-audit)#15

Open
kelp wants to merge 1 commit intomainfrom
fix-id-sleep-yes-audit
Open

Fix IMPORTANT audit findings (fix-id-sleep-yes-audit)#15
kelp wants to merge 1 commit intomainfrom
fix-id-sleep-yes-audit

Conversation

@kelp
Copy link
Copy Markdown
Owner

@kelp kelp commented Mar 30, 2026

Fixes IMPORTANT audit findings. Tests pass.

id: -z alone now exits 2 (GNU rejects without -u/-g/-G).
id: -a is now a no-op (GNU behavior), not an alias for -G.
sleep: 'inf'/'infinity' accepted as maxInt(u64) (GNU compat).
sleep: error message includes the invalid token name.
yes: unknown flag exits 1 (GNU behavior), not 2.
yes: error message includes the unrecognized flag name.
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.

1 participant