nurfed's Posts

Product: VMware® Workstation 17 Pro  Version: 17.0.2 build-21581411 Host OS: Tested on both Linux and Windows  Guest OS: Tested on Windows 10/11 and Windows server 2022 When a Windows program wri... See more...
Product: VMware® Workstation 17 Pro  Version: 17.0.2 build-21581411 Host OS: Tested on both Linux and Windows  Guest OS: Tested on Windows 10/11 and Windows server 2022 When a Windows program writes data to a file on a vmware shared folder, the data is not flushed to disk when the file pointer does not match the length of the data stream. This results in empty file that just contains null bytes. One such case that I encountered is the link.exe program which comes with visual studio. I suspect this is caused due to a bug in the vmhgfs FS driver that comes with VMware Tools but I could be wrong. I added a sample POC program that can used to reproduce the issue and highlights the diffrence with the regular windows (e.g. NTFS) filesystem. The POC is based on my findings while reverse engineering/debugging link.exe in an attempt to understand the problem.