JonY wrote:
On 8/24/19 6:50 PM, Christian Franke wrote:
Hi,
packages from Linux and *BSD distros are often build with
-D_FORTIFY_SOURCE=2 set by default. This enables buffer overflow checks
for functions like strcpy() if buffer size is known at compile time.
Attached is an experimental patch t
On 8/24/19 6:50 PM, Christian Franke wrote:
> Hi,
>
> packages from Linux and *BSD distros are often build with
> -D_FORTIFY_SOURCE=2 set by default. This enables buffer overflow checks
> for functions like strcpy() if buffer size is known at compile time.
>
> Attached is an experimental patch th
在 2019/8/25 23:14, LRN 写道:
> The way i read _mingw_stat64.h and sys/stat.h, if _FILE_OFFSET_BITS is
> undefined (i.e. autotools is not being used) and the host architecture is
> x86_64, we end up with struct stat that has 32-bit st_size field, because
> _off_t is always 32-bit, and there's no macro
The way i read _mingw_stat64.h and sys/stat.h, if _FILE_OFFSET_BITS is
undefined (i.e. autotools is not being used) and the host architecture is
x86_64, we end up with struct stat that has 32-bit st_size field, because
_off_t is always 32-bit, and there's no macro to turn stat into _stat64,
because