[cfe-dev] Not null terminated file
tsett
tsett at gmx.net
Tue May 27 12:54:59 PDT 2014
This sounds good to me. Especially for the check of the last byte.
Should I report my issue there too?
Best,
Robert
Am 27.05.2014 16:47, schrieb Rafael EspĂndola:
> 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