Projects
Eulaceura:Mainline:GA
qemu
_service:obs_scm:bugfix-fix-some-illegal-memory...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:bugfix-fix-some-illegal-memory-access-and-memory-lea.patch of Package qemu
From 35054aa25a0d7758a35d75e3298555b502e37b0f Mon Sep 17 00:00:00 2001 From: jiangdongxu <jiangdongxu1@huawei.com> Date: Thu, 10 Feb 2022 21:32:37 +0800 Subject: [PATCH] bugfix: fix some illegal memory access and memory leak Signed-off-by: yuxiating <yuxiating@huawei.com> Signed-off-by: jiangdongxu <jiangdongxu1@huawei.com> Signed-off-by: Adttil <yangtao286@huawei.com> --- util/range.c | 1 + 1 file changed, 1 insertion(+) diff --git a/util/range.c b/util/range.c index f3f40098d5..2ea640662b 100644 --- a/util/range.c +++ b/util/range.c @@ -61,6 +61,7 @@ GList *range_list_insert(GList *list, Range *data) range_extend(l->data, l->next->data); g_free(l->next->data); new_l = g_list_delete_link(list, l->next); + l->next = NULL; assert(new_l == list); } -- 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