Reject string longer than USHRT_MAX before sending them on the wire
The X protocol uses CARD16 values to represent the length so
this would overflow.
CVE-2021-31535
Signed-off-by:
Matthieu Herrb <matthieu@herrb.eu>
Loading
Please register or sign in to comment