Validation of server responses in XGetImage()
Check if enough bytes were received for specified image type and
geometry. Otherwise GetPixel and other functions could trigger an
out of boundary read later on.
Signed-off-by:
Tobias Stoeckmann <tobias@stoeckmann.org>
Reviewed-by:
Matthieu Herrb <matthieu@herrb.eu>
Backported-to-NX-by:
Ulrich Sibiller <uli42@gmx.de>
Showing
Please
register
or
sign in
to comment