Johannes Schindelin 6fc6a9d187 mingw: enable stack smashing protector
As suggested privately to Brendan Forster by some unnamed person
(suggestion for the future: use the public mailing list, or even the
public GitHub issue tracker, that is a much better place to offer such
suggestions), we should make use of gcc's stack smashing protector that
helps detect stack buffer overruns early.

Rather than using -fstack-protector, we use -fstack-protector-strong
because it strikes a better balance between how much code is affected
and the performance impact.

In a local test (time git log --grep=is -p), best of 5 timings went from
23.009s to 22.997s (i.e. the performance impact was *well* lost in the
noise).

This fixes https://github.com/git-for-windows/git/issues/501

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2015-11-09 14:25:25 +01:00
2015-10-18 13:51:33 +02:00
2015-10-18 13:45:15 +02:00
2015-10-18 13:45:13 +02:00
2015-10-18 13:49:35 +02:00
2015-08-03 11:01:27 -07:00
2015-08-25 14:57:08 -07:00
2015-08-25 14:57:08 -07:00
2015-08-11 13:48:15 -07:00
2015-10-18 13:51:33 +02:00
2015-09-28 15:33:56 -07:00
2015-08-03 11:01:21 -07:00
2015-08-03 11:01:21 -07:00
2015-08-03 11:01:27 -07:00
2015-10-18 13:45:07 +02:00
2015-06-29 11:39:10 -07:00
2015-09-28 19:16:54 -07:00
2015-09-28 14:57:10 -07:00
2015-10-18 13:42:52 +02:00
2015-08-19 14:48:56 -07:00
2015-08-03 11:01:18 -07:00
2015-10-16 14:40:05 -07:00
2015-10-18 13:45:22 +02:00
2015-09-28 15:28:31 -07:00
2015-09-28 15:33:56 -07:00
2015-08-03 11:01:27 -07:00
2015-10-18 13:45:23 +02:00
2015-09-04 10:43:23 -07:00
2015-10-18 13:45:40 +02:00
2015-08-25 14:57:09 -07:00
2015-08-25 14:57:08 -07:00
2015-10-16 14:40:05 -07:00
2015-08-25 14:57:08 -07:00
2015-09-01 16:31:07 -07:00
2015-10-18 13:51:33 +02:00
2015-08-25 14:57:09 -07:00
2015-08-03 11:01:27 -07:00
2015-08-31 15:39:03 -07:00
2015-09-28 19:16:54 -07:00
2015-09-28 19:16:54 -07:00
2015-09-09 14:30:35 -07:00
2015-08-11 14:29:36 -07:00

Git for Windows

Join the chat at https://gitter.im/git-for-windows/git

This is the source code of Git for Windows, forked from Git.

This project is run by a governance model. If you encounter problems, you can report them as GitHub issues, discuss them on Git for Windows' Google Group, and contribute bug fixes.

Description
A fork of Git containing Windows-specific patches.
Readme 462 MiB
2025-08-19 03:50:05 -05:00
Languages
C 51.7%
Shell 37.5%
Perl 4.3%
Tcl 3%
Python 0.8%
Other 2.5%