Skip to content
Commit d81da209 authored by Tobias Stöckmann's avatar Tobias Stöckmann Committed by Matthieu Herrb
Browse files

Validation of server response in XListHosts.



If a server sends an incorrect length in its response, a client is prone
to perform an out of boundary read while processing the data.

The length field of xHostEntry is used to specify the amount of bytes
used to represent the address. It is 16 bit, which means that it is not
possible to perform an arbitrary memory access, but it might be enough
to read sensitive information, e.g. malloc-related pointers and offsets.

Signed-off-by: default avatarTobias Stoeckmann <tobias@stoeckmann.org>
Reviewed-by: default avatarMatthieu Herrb <matthieu@herrb.eu>
parent b676e623
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment