Skip to content

od: final offset line missing when an input file fails #15990

Open

Description

@sylvestre

If one of the inputs cannot be read, uutils does not print the final offset line.

$ echo a > a.txt; mkdir d
$ od a.txt d

GNU:

od: d: Is a directory
0000000 005141
0000002

uutils:

od: d: Is a directory
0000000 005141

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