uutils / uutils/coreutils

minorbug(dd): status= errors not quoted

Open Beginner friendly
#13,868 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.