mirror of
https://github.com/ovh/the-bastion.git
synced 2026-05-09 08:25:27 +02:00
Labels
No labels
answered
bug
documentation
enhancement
enhancement
feature
feature
kept-open-for-info
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/the-bastion#418
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ovh/the-bastion/pull/347
Author: @speed47
Created: 10/27/2022
Status: ✅ Merged
Merged: 11/15/2022
Merged by: @speed47
Base:
master← Head:fixexecute📝 Commits (1)
9fe8611fix: rare race condition introduced byb7f4909📊 Changes
3 files changed (+181 additions, -74 deletions)
View changed files
📝
bin/plugin/open/scp(+4 -10)📝
lib/perl/OVH/Bastion/execute.inc(+176 -64)📝
tests/functional/tests.d/330-selfkeys.sh(+1 -0)📄 Description
Under some specific conditions, the execute() call could get deadlocked with the program it started, both waiting for each other to read or write data. This is easier to reproduce with the
scpplugin, where the transfer would just stall. Introduce an additional intermediate buffer to avoid this race condition.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.