Commit 8d2e02ae authored by Matthieu Herrb's avatar Matthieu Herrb Committed by Matthieu Herrb
Browse files

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's avatarMatthieu Herrb <matthieu@herrb.eu>
parent 838ea5a5
Supports Markdown
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