mirror of
https://github.com/containers/podman.git
synced 2025-12-02 11:08:36 +08:00
vendor: update buildah to latest
Includes a fix for CVE-2024-9407 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
3
vendor/github.com/containers/buildah/pkg/sshagent/sshagent.go
generated
vendored
3
vendor/github.com/containers/buildah/pkg/sshagent/sshagent.go
generated
vendored
@@ -64,7 +64,6 @@ func newAgentServerSocket(socketPath string) (*AgentServer, error) {
|
||||
conn: &conn,
|
||||
shutdown: make(chan bool, 1),
|
||||
}, nil
|
||||
|
||||
}
|
||||
|
||||
// Serve starts the SSH agent on the host and returns the path of the socket where the agent is serving
|
||||
@@ -104,7 +103,7 @@ func (a *AgentServer) Serve(processLabel string) (string, error) {
|
||||
|
||||
go func() {
|
||||
for {
|
||||
//listener.Accept blocks
|
||||
// listener.Accept blocks
|
||||
c, err := listener.Accept()
|
||||
if err != nil {
|
||||
select {
|
||||
|
||||
Reference in New Issue
Block a user