-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
cksum: Check --length before --check #7050
Comments
@sylvestre this can be set as a good first issue IMO |
Hello, I would like to solve this issue, although it is the first time I contribute to open source projects (so sorry in advance if I make some mistakes). I read the |
Hi @Felle33 ! thanks for being interested in fixing this.
Once done, your cksum binary will be at You should observe the following behavior when running it with the problematic arguments
Now, you can compare this to the GNU cksum. You may use your OS' coreutils if it's the version 9.5, which is the version we're trying to match in uutils (check this with
I hope that's detailed enough for you, feel free to reach out to me here on the issue, or on the discord server if you have any other question regarding your development environment ^^ |
@RenjiSann good explanation :) |
@RenjiSann thanks for the support :) |
(Found with fuzzer)
Basically,
cksum
should check that--length
is allowed before checking if--check
is.The text was updated successfully, but these errors were encountered: