]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commit
Hgfs Server Linux: fix the share permissions on a file rename or delete
authorOliver Kurth <okurth@vmware.com>
Mon, 17 Sep 2018 23:41:19 +0000 (16:41 -0700)
committerOliver Kurth <okurth@vmware.com>
Mon, 17 Sep 2018 23:41:19 +0000 (16:41 -0700)
commitb08cd0da457263f80e84ca95348c2a97cb7e22a5
tree28926f8ef225ef9b719025c2ecb918764f584120
parentbdde701699212ca7fb118f3a49a9bbc7fb06df68
Hgfs Server Linux: fix the share permissions on a file rename or delete

Coverity found that the argumeents to obtain the share permissions
on a file rename were swapped. Even though they are tested together
in an if statement which is not an issue, it could be in the future.

Reverse arguments so the share read and write permissions are correct.
open-vm-tools/lib/hgfsServer/hgfsServer.c
open-vm-tools/lib/hgfsServer/hgfsServerLinux.c