Projects
Eulaceura:Mainline:GA
hiredis
_service:obs_scm:fix-memory-uninitialized-in-fu...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:fix-memory-uninitialized-in-fuzz-testcase.patch of Package hiredis
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 21ecec0..8d0ec69 100644 --- a/sds.c +++ b/sds.c @@ -516,7 +516,7 @@ sds sdscatvprintf(sds s, const char *fmt, va_list ap) { } else { buflen = sizeof(staticbuf); } - + memset(buf, 0, buflen); /* Try with buffers two times bigger every time we fail to * fit the string in the current buffer size. */ while(1) { -- 2.33.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2