Skip to content
Commit 304a654a authored by Alan Coopersmith's avatar Alan Coopersmith
Browse files

InitExt.c: Add bounds checks for extension request, event, & error codes



Fixes CVE-2023-3138: X servers could return values from XQueryExtension
that would cause Xlib to write entries out-of-bounds of the arrays to
store them, though this would only overwrite other parts of the Display
struct, not outside the bounds allocated for that structure.

Reported-by: default avatarGregory James DUCK <gjduck@gmail.com>
Signed-off-by: default avatarAlan Coopersmith <alan.coopersmith@oracle.com>
parent 71b08b8a
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