diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-05-29 03:22:09 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-05-29 03:22:09 +0100 |
commit | d4bd6695641f6d2ec7ff8681913d304e995902f5 (patch) | |
tree | 6ec8d4c38152bb4f2bb4b93277236ebd9fbbd21d /sys-auth/pam_ssh/files/pam_ssh-1.97-doublefree.patch | |
parent | 22910f5d14da606bd7f06e19a2f61c5d1a8fc94b (diff) |
gentoo resync : 29.05.2018
Diffstat (limited to 'sys-auth/pam_ssh/files/pam_ssh-1.97-doublefree.patch')
-rw-r--r-- | sys-auth/pam_ssh/files/pam_ssh-1.97-doublefree.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/sys-auth/pam_ssh/files/pam_ssh-1.97-doublefree.patch b/sys-auth/pam_ssh/files/pam_ssh-1.97-doublefree.patch deleted file mode 100644 index 2f63ff8bdcb0..000000000000 --- a/sys-auth/pam_ssh/files/pam_ssh-1.97-doublefree.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- pam_ssh-1.97/pam_ssh.c.orig 2009-08-01 20:11:00.000000000 +0200 -+++ pam_ssh-1.97/pam_ssh.c 2009-08-01 20:11:16.000000000 +0200 -@@ -627,7 +627,7 @@ - * than the file creation time */ - if (retval = stat(per_agent, &stat_buf)) { - pam_ssh_log(LOG_ERR, "stat() failed on %s", per_agent); -- free(per_agent); -+ pam_set_data(pamh, "ssh_agent_env_agent", NULL, NULL); - fclose(env_read); - return retval; - } -@@ -646,7 +646,7 @@ - if (start_agent) { - if ((env_write = open(per_agent, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR)) < 0) { - pam_ssh_log(LOG_ERR, "can't write to %s", per_agent); -- free(per_agent); -+ pam_set_data(pamh, "ssh_agent_env_agent", NULL, NULL); - openpam_restore_cred(pamh); - return PAM_SERVICE_ERR; - } |