Skip to content

busybox: 'ash: write error: EPIPE' when piping some large text variable into head command #166

@damianloew

Description

@damianloew

Screenshot from 2021-08-12 13-00-55
To reproduce:

  1. edit /etc/rc.psh in rootskel like that (for posixsrv run in background):
    image

  2. run system image

  3. run /bin/psh /etc/rc.psh (for posixsrv run in background)

  4. run /bin/sh

  5. run text='yes abc | head -c 9999'

  6. run echo "$text" | head -c 5

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