minorbug(dd): status= errors not quoted
Open
Beginner friendly
Nobody has claimed this yet.
U - dd
- Dominant language
- Rust
- Stars
- 24.1k
- Forks
- 2k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 365
Description
Hi, uutils mainteners
we confirmed that when analyzing errors that not quoted
relunsec@relunsec:~/software/coreutils/target/debug$ ./dd status=$'\x01'
dd: status=LEVEL not recognized ->
relunsec@relunsec:~/software/coreutils/target/debug$ gnudd iflag=$'\x01'
gnudd: invalid input flag: ‘\001’
Try 'gnudd --help' for more information.
relunsec@relunsec:~/software/coreutils/target/debug$
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the malformed control-character value with the dd command's status= option, then locate dd's argument validation and existing error tests. Compare the output with GNU dd and add coverage for the unrecognized value. Done means the error identifies the nonprintable input with quoting comparable to the reference behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100