xorg-libx11/include
Igor V. Kovalenko 2356e59ff2 libX11: do not crash in GetResReq() macro
When _XGetRequest() detects that requested length exceeds remaining display
output buffer capacity it would return NULL. GetResReq() macro obtains "req"
pointer from a call to _XGetRequest() and then proceeds to assign request id
through "req" pointer which leads to NULL pointer dereference in this case.

Fix this by checking if "req" is valid before assigning request id.

Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
2021-09-05 13:57:26 +03:00
..
X11 libX11: do not crash in GetResReq() macro 2021-09-05 13:57:26 +03:00
Makefile.am xkb: Provide <X11/extensions/XKBgeom.h> ourselves 2019-09-24 13:02:47 -04:00