Projects
Eulaceura:Factory
gazelle
_service:obs_scm:0249-epoll-fix-wild-pointer-de...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:0249-epoll-fix-wild-pointer-detected-by-cooddy.patch of Package gazelle
From 2adb9415c567037a44f6adf7df3b91ced624cb51 Mon Sep 17 00:00:00 2001 From: yinbin <yinbin8@huawei.com> Date: Tue, 27 Aug 2024 16:23:03 +0800 Subject: [PATCH] epoll: fix wild pointer detected by cooddy --- src/lstack/api/lstack_epoll.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lstack/api/lstack_epoll.c b/src/lstack/api/lstack_epoll.c index b83da70..5b0bee4 100644 --- a/src/lstack/api/lstack_epoll.c +++ b/src/lstack/api/lstack_epoll.c @@ -782,6 +782,7 @@ static int resize_kernel_poll(struct wakeup_poll *wakeup, nfds_t nfds) if (wakeup->events == NULL) { LSTACK_LOG(ERR, LSTACK, "calloc failed errno=%d\n", errno); free(wakeup->last_fds); + wakeup->last_fds = NULL; return -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