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

different stderr with expr "56" "substr" #5558

Closed
sylvestre opened this issue Nov 19, 2023 · 0 comments · Fixed by #5559
Closed

different stderr with expr "56" "substr" #5558

sylvestre opened this issue Nov 19, 2023 · 0 comments · Fixed by #5559
Labels

Comments

@sylvestre
Copy link
Contributor

With GNU:

/usr/bin/expr "56" "substr"
/usr/bin/expr: syntax error: unexpected argument 'substr'

With our:

./target/debug/coreutils expr "56" "substr"
expr: syntax error (premature end of expression)

Found thanks to fuzzing:
#5557

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant