Skip to content

pr: memory leak on infinite data streams #13479

Description

@Devel08

GNU pr doesn't leak memory, on uutils it happens on /dev/zero, /dev/full and /dev/random

reproduce:

$ cargo run pr /dev/random
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s
     Running `target/debug/coreutils pr /dev/random`

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