xserver/render
Enrico Weigelt, metux IT consult 5def7f3f64 render: NULL-protect SetPicturePictFilter()
Even though it shouldn't practically happen, better adding a trivial check,
just in case. The check is really cheap and possibly optimized-out.

| ../render/filter.c: In function ‘SetPicturePictFilter’:
| ../render/filter.c:388:36: warning: dereference of possibly-NULL ‘new_params’ [CWE-690] [-Wanalyzer-possible-null-dereference]
|   388 |         pPicture->filter_params[i] = params[i];
|       |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-12 16:35:08 +02:00
..
animcur.c dix: rename IsFloating() to InputDevIsFloating() 2025-06-12 16:19:40 +02:00
filter.c render: NULL-protect SetPicturePictFilter() 2025-06-12 16:35:08 +02:00
glyph.c render: glyph: extra NULL pointer protection 2025-06-12 16:35:03 +02:00
glyphstr.h
glyphstr_priv.h
matrix.c
meson.build
miindex.c
mipict.c
mipict.h
mirect.c
mitrap.c
mitri.c
picture.c render: NULL protect cpAlphaMap() 2025-06-12 16:35:06 +02:00
picture.h
picturestr.h
picturestr_priv.h
render.c