Dylan Aïssi pushed to branch debian-unstable at X Strike Force / wayland / weston
Commits:
-
c6238288
by Simon McVittie at 2024-09-14T19:12:44+01:00
-
02dbf5d7
by Simon McVittie at 2024-09-14T19:13:32+01:00
3 changed files:
- debian/changelog
- + debian/patches/libweston-noop-renderer-Check-shm_buffer-for-NULL.patch
- debian/patches/series
Changes:
| 1 | +weston (14.0.0-1.1) UNRELEASED; urgency=medium
|
|
| 2 | + |
|
| 3 | + * Non-maintainer upload
|
|
| 4 | + * d/p/libweston-noop-renderer-Check-shm_buffer-for-NULL.patch:
|
|
| 5 | + Add proposed patch fixing a crash while running the gtk4 test suite.
|
|
| 6 | + Thanks to Jan Alexander Steffens (heftig) (Closes: #1081515)
|
|
| 7 | + |
|
| 8 | + -- Simon McVittie <smcv@debian.org> Sat, 14 Sep 2024 19:12:51 +0100
|
|
| 9 | + |
|
| 1 | 10 | weston (14.0.0-1) unstable; urgency=medium
|
| 2 | 11 | |
| 3 | 12 | * Upload to unstable
|
| 1 | +From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
|
|
| 2 | +Date: Sat, 14 Sep 2024 06:35:09 +0200
|
|
| 3 | +Subject: libweston/noop-renderer: Check shm_buffer for NULL
|
|
| 4 | + |
|
| 5 | +Copy the check from the pixman renderer.
|
|
| 6 | + |
|
| 7 | +Bug: https://gitlab.freedesktop.org/wayland/weston/-/issues/953
|
|
| 8 | +Signed-off-by: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
|
|
| 9 | +Forwarded: https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1614
|
|
| 10 | +Bug-Debian: https://bugs.debian.org/1081515
|
|
| 11 | +---
|
|
| 12 | + libweston/noop-renderer.c | 6 ++++++
|
|
| 13 | + 1 file changed, 6 insertions(+)
|
|
| 14 | + |
|
| 15 | +diff --git a/libweston/noop-renderer.c b/libweston/noop-renderer.c
|
|
| 16 | +index 06b4aeb..58d0b66 100644
|
|
| 17 | +--- a/libweston/noop-renderer.c
|
|
| 18 | ++++ b/libweston/noop-renderer.c
|
|
| 19 | +@@ -94,6 +94,12 @@ noop_renderer_attach(struct weston_paint_node *pnode)
|
|
| 20 | + }
|
|
| 21 | +
|
|
| 22 | + shm_buffer = buffer->shm_buffer;
|
|
| 23 | ++ /* This can happen if a SHM wl_buffer gets destroyed before we attach,
|
|
| 24 | ++ * because wayland-server just nukes the wl_shm_buffer from underneath
|
|
| 25 | ++ * us. */
|
|
| 26 | ++ if (!shm_buffer)
|
|
| 27 | ++ return;
|
|
| 28 | ++
|
|
| 29 | + data = "">
|
|
| 30 | + stride = buffer->stride;
|
|
| 31 | + height = buffer->height; |
| 1 | 1 | Skip_xwayland_test.patch
|
| 2 | +libweston-noop-renderer-Check-shm_buffer-for-NULL.patch |