在 2019/10/10 4:35, Christian Franke 写道:
> Even if _FORTIFY_SOURCE=2 is set, this patch allows for example:
>
> struct { char header[4], payload[42], trailer[13]; } data;
> n = read(fd, &data.payload, 42+13);
>
> Same applies to fread() and memcpy(), memset(), ... .
> The checks of other functions (str*(), *s*printf(), ...) are not affected.
>
>
>
Thanks. I pushed these to master.-- Best regards, LH_Mouse
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
