From b879db5ce7de4621a843dcccf67d6a0418415371 Mon Sep 17 00:00:00 2001 From: songnannan Date: Sun, 12 Jan 2020 18:11:21 +0800 Subject: [PATCH] bugfix in build --- 0001-CVE-2019-14889.patch | 2 +- libssh.spec | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/0001-CVE-2019-14889.patch b/0001-CVE-2019-14889.patch index 76a15a8..b2f0753 100644 --- a/0001-CVE-2019-14889.patch +++ b/0001-CVE-2019-14889.patch @@ -555,7 +555,7 @@ index fd9aaaaa..5de0e6ff 100644 + file, size, perms); + snprintf(buffer, sizeof(buffer), "C%s %" PRIu64 " %s\n", perms, size, file); + SAFE_FREE(file); -+ SAFE_FREE(perms) ++ SAFE_FREE(perms); + + rc = ssh_channel_write(scp->channel, buffer, strlen(buffer)); + if (rc == SSH_ERROR) { diff --git a/libssh.spec b/libssh.spec index 32430f4..540cca1 100644 --- a/libssh.spec +++ b/libssh.spec @@ -1,6 +1,6 @@ Name: libssh Version: 0.8.3 -Release: 6 +Release: 7 Summary: A library implementing the SSH protocol License: LGPLv2+ URL: https://www.libssh.org @@ -107,6 +107,12 @@ popd %doc README ChangeLog obj/doc/html %changelog +* Sun Jan 12 2020 openEuler Buildteam - 0.8.3-7 +- Type:bugfix +- Id:NA +- SUG:NA +- DESC:bugfix in build process + * Sun Jan 12 2020 openEuler Buildteam - 0.8.3-6 - Type:bugfix - Id:NA -- Gitee