Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

Protect against command output that exceeds Scanner buffer size#113

Merged
phelpsdb merged 1 commit intomainfrom
phelpsdb-buffered-output
Jun 24, 2024
Merged

Protect against command output that exceeds Scanner buffer size#113
phelpsdb merged 1 commit intomainfrom
phelpsdb-buffered-output

Conversation

@phelpsdb
Copy link
Contributor

Errors have emerged in the wild where Scanner has insufficient buffer size to print the output of a command. Until it's clear what kind of output is causing this issue, using Reader.ReadLine should get around the issue.

@phelpsdb phelpsdb marked this pull request as ready for review June 24, 2024 23:32
@phelpsdb phelpsdb requested a review from alecsavvy June 24, 2024 23:39
@phelpsdb phelpsdb merged commit d4193c7 into main Jun 24, 2024
@phelpsdb phelpsdb deleted the phelpsdb-buffered-output branch June 24, 2024 23:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants