|
| From: | Michael Tokarev |
| Subject: | Re: [PATCH for-8.2] ui/pixman-minimal.h: fix empty allocation |
| Date: | Thu, 23 Nov 2023 13:15:15 +0300 |
| User-agent: | Mozilla Thunderbird |
21.11.2023 12:38, Manos Pitsidianakis :
In the minimal pixman API stub that is used when the real pixman dependency is missing a NULL dereference happens when virtio-gpu-rutabaga allocates a pixman image with bits = NULL and rowstride_bytes = zero. A buffer of rowstride_bytes * height is allocated which is NULL. However, in that scenario pixman calculates a new stride value based on given width, height and format size.
So, does rutabaga depend on pixman (as mentioned on irc), or can the minimal in-qemu version (with this fix) be used? /mjt
| [Prev in Thread] | Current Thread | [Next in Thread] |