Control: reassign -1 binutils-mingw-w64
Control: tag -1 + pending

Hi Petter,

On Fri, 02 Sep 2016 09:43:28 +0200, Petter Reinholdtsen <p...@hungry.com>
wrote:
> The Windows binaries generated by mingw are less secure to run on
> Windows than they could have been, and less secure than the equivalent
> binaries build by Microsoft Visual Studio.  For example ASLR[1] and the
> NX bit[2] usable for memory space protection[3].  These features are
> enabled in the Microft Visual Studio compiler by default.
> 
> Please enable them in mingw by default too, to increase the security for
> Windows binaries created on Debian.

That's a useful suggestion, thanks. After working on it a little, it seems to
me the easiest solution is to make these flags the default in ld (and add
"no-..." options to disable them). I've prepared a patch, it will be in the
next upload of binutils-mingw-w64 (soon since there's an RC bug to fix!).

Regards,

Stephen

Attachment: pgpNytQ3dSvad.pgp
Description: OpenPGP digital signature

Reply via email to