Skip to content

interact() in kspawn.c truncates data to 256b at EOF #14

@arekinath

Description

@arekinath

In interact() we currently exit early if we see EOF, without reading more than once from the pipe. This means that if a plugin spits out >256bytes and immediately exits, we will truncate whatever it sends and return only the first 256 bytes.

This doesn't work very well when the recovery template alone is easily bigger than this after base64.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions