Skip to content

[engine]: ReadAllContext may lead to memory exhaustion on probes #1757

@DecFox

Description

@DecFox

While most current usage of netxlite.ReadAllContext make use of io.LimitReader to limit the amount of bytes read, some instances do not ensure this. We should ensure that ReadAllContext is always called with a bound reader so we do not enter into an endless loop of reading bytes causing memory exhaustion

Metadata

Metadata

Assignees

Labels

priority/highImportant issue that needs attention soon

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions