Projects
Factory:RISC-V:Base
libarchive
_service:tar_scm:libarchive-uninitialized-value...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:libarchive-uninitialized-value.patch of Package libarchive
From 1ab606af27d6b3fa07a638b7f04efadbc8ef75b4 Mon Sep 17 00:00:00 2001 From: zhangnaru <zhangnaru@huawei.com> Date: Tue, 28 Jul 2020 15:05:03 +0800 Subject: [PATCH] there need to add the init of child to solve the problem in oss-fuzz --- libarchive/filter_fork_posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libarchive/filter_fork_posix.c b/libarchive/filter_fork_posix.c index ac255c4..62085a7 100644 --- a/libarchive/filter_fork_posix.c +++ b/libarchive/filter_fork_posix.c @@ -76,7 +76,7 @@ int __archive_create_child(const char *cmd, int *child_stdin, int *child_stdout, pid_t *out_child) { - pid_t child; + pid_t child = -1; int stdin_pipe[2], stdout_pipe[2], tmp; #if HAVE_POSIX_SPAWNP posix_spawn_file_actions_t actions; -- 2.23.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