Skip to content

od: hangs instead of reporting offset overflow #16498

Open

Description

@sylvestre

GNU coreutils master now reports od: offset overflow and exits 1 when the offset overflows.

$ od -A d -t u2 -j 9223372036854775804 /dev/zero
9223372036854775804     0     0     0     0     0     0     0     0
od: offset overflow       # GNU, exit 1; uutils prints '*' and never ends

od -S 4 -j 9223372036854775804 /dev/zero hangs too.

Test added in #16493: cargo test --features unix --test tests -- --ignored test_od::test_skip_near_max_offset_reports_overflow

Activity

  1. added a commit that references this issue on Nov 15, 2026
    319fa24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions