Skip to content

bug(stat): ./stat --format '%s' a > /dev/full panics #12901

@HackingRepo

Description

@HackingRepo

Hi, uutils mainteners

i see stat panics when trying to redirect ./stat --format '%s' a to /dev/full

relunsec@relunsec:~/software/coreutils/target/debug$ ./stat --format '%s' a > /dev/full

thread 'main' (71086) panicked at /rustc/d595fce01043347bf7f80e85b76dcc41b59a3e6e/library/std/src/io/stdio.rs:1166:9:
failed printing to stdout: No space left on device (os error 28)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
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