Skip to content
Commit 99a2cf1a authored by Tapani Pälli's avatar Tapani Pälli
Browse files

Protect colormap add/removal with display lock

This fixes a bug where concurrent threads call XCreateColormap and
XFreeColormap corrupting a linked list where colormap structures
are stored.

Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/94



v2: handle XCopyColormapAndFree also (Adam Jackson)

Signed-off-by: default avatarTapani Pälli <tapani.palli@intel.com>
parent fea80d03
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment