]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commit
Fix a security issue in HGFS server.
authorVMware, Inc <>
Thu, 22 Dec 2011 00:32:42 +0000 (16:32 -0800)
committerMarcelo Vanzin <mvanzin@vmware.com>
Thu, 22 Dec 2011 00:32:42 +0000 (16:32 -0800)
commit577b7eb2dfc1939846ec97d8451f152ee456cd63
treeaf09d4a1c30100c334ab63e0d514eee2a13e9008
parent53f3610a61ee7d89456e4cc8ed3b307d4faf3f44
Fix a security issue in HGFS server.

When a packet is received by the HGFS server, all sanity tests related to
the header size and packet sizes should be done first before doing any
other tests. Moved the header and packet size checks to the beginning of
the validation process.

Signed-off-by: Marcelo Vanzin <mvanzin@vmware.com>
open-vm-tools/lib/hgfsServer/hgfsServerParameters.c