Skip to content

pr: memory leak on infinite data streams #13479

Open

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`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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