diff --git a/fix-memory-uninitialized-in-fuzz-testcase.patch b/fix-memory-uninitialized-in-fuzz-testcase.patch index 86d728d..088383d 100644 --- a/fix-memory-uninitialized-in-fuzz-testcase.patch +++ b/fix-memory-uninitialized-in-fuzz-testcase.patch @@ -1,8 +1,16 @@ +From 28b80dc9143d3625b05e28debe77368d332e9bf6 Mon Sep 17 00:00:00 2001 +Date: Tue, 22 Aug 2023 09:39:36 +0800 +Subject: [PATCH] fix memory uninitialized in fuzz testcase + +--- + sds.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + diff --git a/sds.c b/sds.c -index 49d2096..9d46dc4 100644 +index 21ecec0..8d0ec69 100644 --- a/sds.c +++ b/sds.c -@@ -513,7 +513,7 @@ sds sdscatvprintf(sds s, const char *fmt, va_list ap) { +@@ -516,7 +516,7 @@ sds sdscatvprintf(sds s, const char *fmt, va_list ap) { } else { buflen = sizeof(staticbuf); } @@ -11,3 +19,6 @@ index 49d2096..9d46dc4 100644 /* Try with buffers two times bigger every time we fail to * fit the string in the current buffer size. */ while(1) { +-- +2.33.0 + diff --git a/hiredis-1.1.0.tar.gz b/hiredis-1.1.0.tar.gz deleted file mode 100644 index edafe2c..0000000 Binary files a/hiredis-1.1.0.tar.gz and /dev/null differ diff --git a/hiredis-1.2.0.tar.gz b/hiredis-1.2.0.tar.gz new file mode 100644 index 0000000..247edb8 Binary files /dev/null and b/hiredis-1.2.0.tar.gz differ diff --git a/hiredis.spec b/hiredis.spec index ee58092..d20e82a 100644 --- a/hiredis.spec +++ b/hiredis.spec @@ -1,10 +1,10 @@ Name: hiredis -Version: 1.1.0 +Version: 1.2.0 Release: 1 Summary: A minimalistic C client library for the Redis database License: BSD URL: https://github.com/redis/hiredis -Source0: https://github.com/redis/hiredis/archive/refs/tags/v%{version}.tar.gz#/hiredis-1.1.0.tar.gz +Source0: https://github.com/redis/hiredis/archive/refs/tags/v%{version}.tar.gz#/hiredis-1.2.0.tar.gz BuildRequires: gcc redis @@ -61,8 +61,12 @@ make check || true %{_libdir}/pkgconfig/hiredis.pc %changelog +* Tue Aug 22 2023 Ge Wang - 1.2.0-1 +- Update to version 1.2.0 + * Thu Jul 20 2023 zhangchenglin - 1.1.0-1 - Update to version 1.1.0 + * Fri Dec 16 2022 xu_ping - 1.0.2-3 - fix memory uninitialized in fuzz testcase