diff options
author | Colin Watson <cjwatson@debian.org> | 2021-03-13 09:35:05 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2021-03-13 09:35:05 +0000 |
commit | 421db3656dcafbe810226463bf27a18a0b1c3186 (patch) | |
tree | 454315fa7595e71fa72dae87b74763cf8bd9efb9 /ssh-agent.c | |
parent | 27cf2f667b46a99f4469f41bcb8e004834a3d34f (diff) |
Double free in ssh-agent(1)
Origin: upstream, https://ftp.openbsd.org/pub/OpenBSD/patches/6.8/common/015_sshagent.patch.sig
Bug-Debian: https://bugs.debian.org/984940
Last-Update: 2021-03-13
Patch-Name: ssh-agent-double-free.patch
Diffstat (limited to 'ssh-agent.c')
-rw-r--r-- | ssh-agent.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ssh-agent.c b/ssh-agent.c index e1fd1f3f6..48155c96e 100644 --- a/ssh-agent.c +++ b/ssh-agent.c | |||
@@ -581,6 +581,7 @@ process_add_identity(SocketEntry *e) | |||
581 | goto err; | 581 | goto err; |
582 | } | 582 | } |
583 | free(ext_name); | 583 | free(ext_name); |
584 | ext_name = NULL; | ||
584 | break; | 585 | break; |
585 | default: | 586 | default: |
586 | error("%s: Unknown constraint %d", __func__, ctype); | 587 | error("%s: Unknown constraint %d", __func__, ctype); |