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 render: move private definitions out of public glyphstr.h 2024-03-03 22:54:16 +00:00
glyphstr_priv.h render: fix refcounting of glyphs during ProcRenderAddGlyphs 2024-04-02 19:19:40 -07:00
matrix.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
meson.build meson: hide C API if Xorg is disabled (like autotools) 2021-03-11 00:22:36 +00:00
miindex.c render: miindex.c does not need header guard macros 2025-04-19 17:02:16 +00:00
mipict.c render: use dixDestroyPixmap() instead of direct driver call 2025-02-12 17:48:30 +01:00
mipict.h render: Hide/unexport some implementation details 2015-07-08 16:40:57 -04:00
mirect.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
mitrap.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
mitri.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
picture.c render: NULL protect cpAlphaMap() 2025-06-12 16:35:06 +02:00
picture.h glamor: fix CbCr format handling 2022-12-01 08:41:57 +00:00
picturestr.h render: picturestr.h: re-add compat macros for intel driver 2025-02-11 09:53:59 +01:00
picturestr_priv.h rename old symbol PANORAMIX to XINERAMA 2025-02-06 15:51:27 +00:00
render.c render: use dixDestroyPixmap() instead of direct driver call 2025-02-12 17:48:30 +01:00