Commit 003e30a6 authored by Alan Coopersmith's avatar Alan Coopersmith

Avoid use-after-free in _XimProtoSetIMValues()

Fixes gitlab issue #49Signed-off-by: Alan Coopersmith's avatarAlan Coopersmith <>
parent 30656fd6
......@@ -1297,8 +1297,6 @@ _XimProtoSetIMValues(
if ((name = _XimEncodeIMATTRIBUTE(im, im->core.im_resources,
im->core.im_num_resources, arg, &arg_ret, data, data_len,
&ret_len, (XPointer)&im_values, XIM_SETIMVALUES))) {
if (buf != tmp_buf)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment