Skip to contentSkip to conversation

package/libssh: bump to version 0.9.0

PATCH New Baruch Siach 2 participants 2 messages Jul 1, 2019 – Jul 4, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libssh: bump to version 0.9.0

Drop upstream patches.

---
 ...uffer-Fix-size-comparison-with-count.patch |  48 ------
 ...t-for-argc-argument-in-ssh_buffer_-u.patch | 152 ------------------
 .../0003-more-strict-overflow-fixes.patch     | 122 --------------
 package/libssh/libssh.hash                    |   4 +-
 package/libssh/libssh.mk                      |   4 +-
 5 files changed, 4 insertions(+), 326 deletions(-)
 delete mode 100644 package/libssh/0001-buffer-Fix-size-comparison-with-count.patch
 delete mode 100644 package/libssh/0002-buffer-Use-size_t-for-argc-argument-in-ssh_buffer_-u.patch
 delete mode 100644 package/libssh/0003-more-strict-overflow-fixes.patch
package/libssh/0001-buffer-Fix-size-comparison-with-count.patch deleted +0 -48
deleted file mode 100644
index 88e1bc3b48c1..000000000000
@@ -1,48 +0,0 @@
-From 2aa8c46a853acd4198af16e417ebffd5b0e2c9f4 Mon Sep 17 00:00:00 2001
-From: Andreas Schneider <[email protected]>
-Date: Mon, 1 Oct 2018 20:58:47 +0200
-Subject: [PATCH] buffer: Fix size comparison with count
-
-Signed-off-by: Andreas Schneider <[email protected]>
-Signed-off-by: Baruch Siach <[email protected]>
----
-Upstream status: commit 9c3ba94960cd5
-
- src/buffer.c | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/src/buffer.c b/src/buffer.c
-index da6e587fc9e4..b029f202660f 100644
---- a/src/buffer.c
-+++ b/src/buffer.c
-@@ -816,8 +816,8 @@ static int ssh_buffer_pack_allocate_va(struct ssh_buffer_struct *buffer,
-     ssh_string string = NULL;
-     char *cstring = NULL;
-     size_t needed_size = 0;
--    size_t count;
-     size_t len;
-+    int count; /* int for size comparison with argc */
-     int rc = SSH_OK;
- 
-     for (p = format, count = 0; *p != '\0'; p++, count++) {
-@@ -934,7 +934,7 @@ int ssh_buffer_pack_va(struct ssh_buffer_struct *buffer,
-     char *cstring;
-     bignum b;
-     size_t len;
--    int count;
-+    int count; /* int for size comparison with argc */
- 
-     for (p = format, count = 0; *p != '\0'; p++, count++) {
-         /* Invalid number of arguments passed */
-@@ -1098,7 +1098,7 @@ int ssh_buffer_unpack_va(struct ssh_buffer_struct *buffer,
-     } o;
-     size_t len, rlen, max_len;
-     va_list ap_copy;
--    int count;
-+    int count; /* int for size comparison with argc */
- 
-     max_len = ssh_buffer_get_len(buffer);
- 
--- 
-2.20.1
-
package/libssh/0002-buffer-Use-size_t-for-argc-argument-in-ssh_buffer_-u.patch deleted +0 -152

152 lines not on this page · raw message

package/libssh/0003-more-strict-overflow-fixes.patch deleted +0 -122

122 lines not on this page · raw message

package/libssh/libssh.hash +2 -2
index 7164c91069e8..2f5708ddac92 100644
@@ -1,5 +1,5 @@
 # Locally calculated after checking pgp signature
-# https://www.libssh.org/files/0.8/libssh-0.8.7.tar.xz.asc
+# https://www.libssh.org/files/0.9/libssh-0.9.0.tar.xz.asc
 # with key 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
-sha256 43304ca22f0ba0b654e14b574a39816bc70212fdea5858a6637cc26cade3d592  libssh-0.8.7.tar.xz
+sha256 25303c2995e663cd169fdd902bae88106f48242d7e96311d74f812023482c7a5  libssh-0.9.0.tar.xz
 sha256 1656186e951db1c010a8485481fa94587f7e53a26d24976bef97945ad0c4df5a  COPYING
package/libssh/libssh.mk +2 -2
index 332f2a57004b..d5f22c29a08e 100644
@@ -4,8 +4,8 @@
 #
 ################################################################################
 
-LIBSSH_VERSION_MAJOR = 0.8
-LIBSSH_VERSION = $(LIBSSH_VERSION_MAJOR).7
+LIBSSH_VERSION_MAJOR = 0.9
+LIBSSH_VERSION = $(LIBSSH_VERSION_MAJOR).0
 LIBSSH_SOURCE = libssh-$(LIBSSH_VERSION).tar.xz
 LIBSSH_SITE = https://www.libssh.org/files/$(LIBSSH_VERSION_MAJOR)
 LIBSSH_LICENSE = LGPL-2.1
Signature · 1 line
2.20.1