xserver/glx
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Peter Hutterer 2f32fa61ed glx: fix wrong pointer passed to non-swap handlers in TexImage/CopySubBuffer
Three GLX byte-swap dispatch functions advance the pc pointer past the
vendor private header (pc += __GLX_VENDPRIV_HDR_SIZE) for local field
swapping, then pass the ADVANCED pc to the non-swap handler. But the
non-swap handlers expect pc to point to the start of the
xGLXVendorPrivateReq — they cast pc to xGLXVendorPrivateReq* to access
req->contextTag, then do their own pc += __GLX_VENDPRIV_HDR_SIZE.

Co-Authored-by: Claude Code <noreply@anthropic.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2181>
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-04-27 19:08:21 +02:00
..
glx_dri stop defining _XF86DRI_SERVER_ 2026-01-05 14:42:05 +01:00
clientinfo.c glx: use sizeof() for reply struct 2025-02-06 20:04:23 +00:00
createcontext.c dix: unexport enableIndirectGLX 2025-11-20 19:25:41 +01:00
extension_string.c dix: unexport enableIndirectGLX 2025-11-20 19:25:41 +01:00
extension_string.h glx: Implement GLX_EXT_get_drawable_type 2020-09-28 17:16:24 +00:00
glxcmds.c glx: avoid null dereference in validGlxFBConfigForWindow() 2026-04-21 12:25:46 +02:00
glxcmdsswap.c glx: fix wrong pointer passed to non-swap handlers in TexImage/CopySubBuffer 2026-04-27 19:08:21 +02:00
glxcontext.h glx: drop including dix-config.h from internal includes 2025-07-18 04:51:30 +02:00
glxdrawable.h glx: drop including dix-config.h from internal includes 2025-07-18 04:51:30 +02:00
glxext.c glx: glxext fix memory leak when calling DestroyPixmap 2026-01-13 15:03:38 +01:00
glxext.h glx: drop including dix-config.h from internal includes 2025-07-18 04:51:30 +02:00
glxscreens.c glx: fix missing includes of extinit.h 2025-09-25 13:48:08 +02:00
glxscreens.h glx: fix duplicate typedef 2025-08-05 10:18:19 +02:00
glxserver.h glx: drop including dix-config.h from internal includes 2025-07-18 04:51:30 +02:00
glxutil.h glx: drop including dix-config.h from internal includes 2025-07-18 04:51:30 +02:00
indirect_dispatch.c glx: drop obsolete warnings on files being generated 2025-02-06 14:29:54 +00:00
indirect_dispatch.h
indirect_dispatch_swap.c glx: drop obsolete warnings on files being generated 2025-02-06 14:29:54 +00:00
indirect_program.c dix: move request/response related functions to new request_priv.h header 2025-09-24 11:32:50 +02:00
indirect_reqsize.c Revert 9a82f5c, bring back Cygwin support. 2025-12-21 12:59:03 +01:00
indirect_reqsize.h drop remains of support for old Sun compilers 2024-02-19 09:21:36 +00:00
indirect_size.h drop remains of cygwin support 2025-06-12 17:21:46 +02:00
indirect_size_get.c Revert 9a82f5c, bring back Cygwin support. 2025-12-21 12:59:03 +01:00
indirect_size_get.h drop remains of cygwin support 2025-06-12 17:21:46 +02:00
indirect_table.c glx: drop including dix-config.h from internal includes 2025-07-18 04:51:30 +02:00
indirect_table.h
indirect_texture_compression.c dix: move request/response related functions to new request_priv.h header 2025-09-24 11:32:50 +02:00
indirect_util.c dix: move request/response related functions to new request_priv.h header 2025-09-24 11:32:50 +02:00
indirect_util.h
meson.build glx: include: meson_options.txt: Allow disabling DRI glx backends 2025-12-16 15:56:04 +01:00
render2.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
render2swap.c glx: replace __GLX_SWAP_INT() by swapl() 2025-09-04 18:33:24 +02:00
renderpix.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
renderpixswap.c glx: replace __GLX_SWAP_INT() by swapl() 2025-09-04 18:33:24 +02:00
rensize.c glx: fix correct sizeof GL unsigned int 2025-06-23 16:18:47 +02:00
single2.c dix: move request/response related functions to new request_priv.h header 2025-09-24 11:32:50 +02:00
single2swap.c dix: unexport SwapLongs() 2025-11-25 18:26:02 +01:00
singlepix.c dix: move request/response related functions to new request_priv.h header 2025-09-24 11:32:50 +02:00
singlepixswap.c glx: replace __GLX_SWAP_INT() by swapl() 2025-09-04 18:33:24 +02:00
singlesize.c glx: Fix out-of-bounds reads from negative return 2025-07-03 16:43:18 +02:00
singlesize.h glx: drop including dix-config.h from internal includes 2025-07-18 04:51:30 +02:00
swap_interval.c glx: drop obsolete glxbyteorder.h 2025-02-06 14:29:54 +00:00
unpack.h dix: move request/response related functions to new request_priv.h header 2025-09-24 11:32:50 +02:00
vnd_dispatch_stubs.c treewide: use helper dixGetScreenPtr() for retrieving ScreenPtr's 2025-10-30 09:44:24 +01:00
vndcmds.c glx: vndcmds: Update a comment 2025-10-24 12:47:15 +02:00
vndext.c glx: revert cb85ceae2d 2025-11-11 10:46:29 +01:00
vndserver.h glx: move private definitions from vndserver.h to vndserver_priv.h 2024-02-22 23:52:03 +00:00
vndserver_priv.h glx: drop including dix-config.h from internal includes 2025-07-18 04:51:30 +02:00
vndservermapping.c glx: fix missing include of dix-config.h 2025-06-12 16:50:30 +02:00
vndservervendor.c glx: fix missing include of dix-config.h 2025-06-12 16:50:30 +02:00
vndservervendor.h glx: drop including dix-config.h from internal includes 2025-07-18 04:51:30 +02:00
xfont.c glx: use calloc() instead of malloc() 2025-06-12 16:49:22 +02:00