mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-25 21:10:05 +01:00
The X server swapping code is a huge attack surface, much of this code
is untested and prone to security issues. The use-case of byte-swapped
clients is very niche, so allow users to disable this if they don't
need it, using either a config option or commandline flag.
For Xorg, this adds the ServerFlag "AllowByteSwappedClients" "off".
For all DDX, this adds the commandline options +byteswappedclients and
-byteswappedclients to enable or disable, respectively.
Fixes #1201
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
---
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| Makefile.am | ||
| Xserver.man | ||