Files
xserver/glamor
Alan Coopersmith 3611931eb3 glamor: handle allocation failure in glamor_create_pixmap()
Reported by gcc 15.1:

../glamor/glamor.c: In function ‘glamor_create_pixmap’:
../glamor/glamor.c:233:23: warning: potential null pointer dereference
 [-Wnull-dereference]
  233 |     pixmap_priv->type = GLAMOR_TEXTURE_ONLY;
      |     ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
../glamor/glamor.c:228:26: warning: potential null pointer dereference
 [-Wnull-dereference]
  228 |     pixmap_priv->is_cbcr = (GLAMOR_CREATE_FORMAT_CBCR & usage) == GLAMOR_CREATE_FORMAT_CBCR;

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2094>
(cherry picked from commit cc647f2367)
2026-01-25 10:40:03 -08:00
..
2023-10-09 17:25:28 +00:00
2023-10-09 17:25:28 +00:00
2023-10-09 17:25:28 +00:00
2023-10-09 17:25:28 +00:00
2023-10-09 17:25:28 +00:00
2023-11-07 17:59:24 +03:00
2023-11-07 18:20:48 +03:00