Skip to content

bug(dd): when obs= is a very large number it panics #12847

@HackingRepo

Description

@HackingRepo

Hi, uutils mainteners

we confirmed dd in the fifth panics when obs= is a very large number

relunsec@relunsec:~/software/coreutils/target/debug$ ./dd if=a of=b obs=1001111111772
memory allocation of 1001111111772 bytes failed
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Aborted                    (core dumped) ./dd if=a of=b obs=1001111111772
relunsec@relunsec:~/software/coreutils/target/debug$ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions