Re: [PATCH for-8.2] ui/pixman-minimal.h: fix empty allocation

2023-11-23 Thread Manos Pitsidianakis
On Thu, 23 Nov 2023 12:15, Michael Tokarev wrote: 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 = ze

Re: [PATCH for-8.2] ui/pixman-minimal.h: fix empty allocation

2023-11-23 Thread Michael Tokarev
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 allocate

Re: [PATCH for-8.2] ui/pixman-minimal.h: fix empty allocation

2023-11-21 Thread Marc-André Lureau
Hi Manos On Tue, Nov 21, 2023 at 1:38 PM Manos Pitsidianakis wrote: > > 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 o

[PATCH for-8.2] ui/pixman-minimal.h: fix empty allocation

2023-11-21 Thread 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