Skip to content

od: --strings combined with a type option should be an error #15989

Closed

Description

@sylvestre
$ echo a > a.txt
$ od --strings=1 -c a.txt; echo $?

GNU:

od: no type may be specified when dumping strings
1

uutils exits 0. The same happens with -b, -d, -i, -l, -o, -s, -x and -t.

Reported in #15254 (found by a differential fuzzer; reproduced against GNU coreutils 9.12).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions