这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@edigaryev
Copy link
Collaborator

arp -an output can be large enough not to fit in pipe's internal buffer, causing a deadlock: arp can't write to the pipe anymore, but we don't help it by reading from the other end.

This also addresses other places with a similar potentially deadlocking pattern.

@fkorotkov fkorotkov merged commit c0b2093 into main Oct 2, 2024
6 checks passed
@fkorotkov fkorotkov deleted the prevent-pipe-deadlock branch October 2, 2024 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants