Skip to content

Use bounded readers where we currently use io.ReadAll #8823

Description

@aarongable

Everywhere we use io.ReadAll is potentially an unbounded read. It would be better to use https://pkg.go.dev/io#LimitedReader to prevent any potential memory blow-ups.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions