Projects
Eulaceura:Factory
gazelle
_service:obs_scm:0103-fix-func-stack_setup_thre...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:0103-fix-func-stack_setup_thread-array-doesn-t-init.patch of Package gazelle
From 9ed5bee888ab4936372a81919d894d8fd291e7c1 Mon Sep 17 00:00:00 2001 From: yinbin <yinbin8@huawei.com> Date: Tue, 26 Dec 2023 22:49:03 +0800 Subject: [PATCH] fix func stack_setup_thread array doesn't init --- src/lstack/core/lstack_protocol_stack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lstack/core/lstack_protocol_stack.c b/src/lstack/core/lstack_protocol_stack.c index 829313f..0aff1b4 100644 --- a/src/lstack/core/lstack_protocol_stack.c +++ b/src/lstack/core/lstack_protocol_stack.c @@ -648,7 +648,7 @@ int32_t stack_setup_thread(void) int32_t ret; char name[PATH_MAX]; int queue_num = get_global_cfg_params()->num_queue; - struct thread_params *t_params[queue_num]; + struct thread_params *t_params[queue_num] = {0}; int process_index = get_global_cfg_params()->process_idx; for (uint32_t i = 0; i < queue_num; i++) { -- 2.27.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