Commit Graph

12 Commits

Author SHA1 Message Date
su-fang d50614e6b6 rebuild. 2023-04-21 15:40:28 +08:00
su-fang f12c1e2473 merge upstream 22.1.8 2023-04-21 14:26:36 +08:00
Olivier Fourdan 9d90fae431 composite: Fix use-after-free of the COW
ZDI-CAN-19866/CVE-2023-1393

If a client explicitly destroys the compositor overlay window (aka COW),
we would leave a dangling pointer to that window in the CompScreen
structure, which will trigger a use-after-free later.

Make sure to clear the CompScreen pointer to the COW when the latter gets
destroyed explicitly by the client.

This vulnerability was discovered by:
Jan-Niklas Sohn working with Trend Micro Zero Day Initiative

Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
2023-04-21 14:22:40 +08:00
su-fang eb8a09be2b xwayland-Detect-gbm_bo_get_fd_for_plane-at-runtime.patch
Description: xwayland: Detect gbm_bo_get_fd_for_plane at runtime
 `gbm_bo_get_fd_for_plane` was introduced in Mesa 21 but some
 proprietary GBM implementations (Xilinx) still haven't been updated
 to support it:
 ```
 /usr/bin/Xwayland: symbol lookup error: /usr/bin/Xwayland: undefined symbol: gbm_bo_get_fd_for_plane
 ```
 .
 Since distros would like to build a single Xwayland binary for all
 OEMs of the same architecture, we now make the function always
 available.
 .
 If a real implementation of `gbm_bo_get_fd_for_plane` exists at runtime
 then it will be used, otherwise fall back to `gbm_bo_get_fd` or fail.
Author: Daniel van Vugt <daniel.van.vugt@canonical.com>
2023-04-21 14:21:47 +08:00
su-fang 474d22870b Merge tag 'upstream/22.1.8' into openkylin/latest
Upstream version 22.1.8
2023-04-21 14:19:33 +08:00
su-fang decbdc3bfd New upstream version 22.1.8 2023-04-21 14:17:29 +08:00
shangxiaoyang 9d6a8ba709
!1 rebuild
Merge pull request !1 from shangxiaoyang/openkylin/yangtze
2023-03-21 05:39:33 +00:00
Shang xiaoyang db2bcd02ea rebuild 2023-03-21 13:38:49 +08:00
Shang xiaoyang 97e1c2fc36 Modify version number. 2023-03-21 09:41:48 +08:00
shangxiaoyang 16ede91ed1 changed debian/source/format to native 2023-03-13 15:49:03 +08:00
shangxiaoyang 48258f0cc7 Import Upstream version 21.1.0 2023-03-13 15:48:58 +08:00
shangxiaoyang 1796406a36 Import Debian changes 2:21.1.0-ok1
xwayland (2:21.1.0-ok1) yangtze; urgency=medium

  * Build for openKylin.
2023-03-13 15:48:58 +08:00