Projects
openEuler:24.03:SP1:Everything
xorg-x11-server
_service:tar_scm:backport-CVE-2023-0494.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:backport-CVE-2023-0494.patch of Package xorg-x11-server
From 4005f77c03f67f1527519969b047c599cba32e36 Mon Sep 17 00:00:00 2001 From: rpm-build <rpm-build> Date: Fri, 17 Feb 2023 16:34:39 +0800 Subject: [PATCH] fix CVE-2023-0494 --- Xi/exevents.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Xi/exevents.c b/Xi/exevents.c index 659816a..0cb8d78 100644 --- a/Xi/exevents.c +++ b/Xi/exevents.c @@ -575,8 +575,10 @@ DeepCopyPointerClasses(DeviceIntPtr from, DeviceIntPtr to) memcpy(to->button->xkb_acts, from->button->xkb_acts, sizeof(XkbAction)); } - else + else { free(to->button->xkb_acts); + to->button->xkb_acts = NULL; + } memcpy(to->button->labels, from->button->labels, from->button->numButtons * sizeof(Atom)); -- 2.20.1
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