[cfe-dev] Not null terminated file

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue May 27 07:47:25 PDT 2014


On 27 May 2014 10:36, Rafael EspĂ­ndola <rafael.espindola at gmail.com> wrote:
>> At least I know that it is a network filesystem.
>> The Explorer shows MVFS for this drive.
>
> OK, this might be a bug in their implementation of CreateFileMappingW.
> I assume it is required to zero fill the last bytes, just like mmap.
> I am not sure if it is easy to work around this. Is there a cheap
> system call to find what is the FS type responsible far a handle?


Actually, something along the lines of llvm.org/pr19868 is probably a
better way to handle this.

Cheers,
Rafael




More information about the cfe-dev mailing list