!33 Update to version 1.2.0

From: @wang--ge 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2023-08-22 07:51:59 +00:00 committed by Gitee
commit c41f69ee07
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 19 additions and 4 deletions

View File

@ -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

Binary file not shown.

BIN
hiredis-1.2.0.tar.gz Normal file

Binary file not shown.

View File

@ -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 <wang__ge@126.com> - 1.2.0-1
- Update to version 1.2.0
* Thu Jul 20 2023 zhangchenglin <zhangchenglin@kylinos.cn> - 1.1.0-1
- Update to version 1.1.0
* Fri Dec 16 2022 xu_ping <xuping33@h-partners.com> - 1.0.2-3
- fix memory uninitialized in fuzz testcase