User and Reference Guide for the Intel® Fortran Compiler 14.0
Determines whether the compiler generates code that detects some buffer overruns.
Linux OS and OS X: | -fstack-security-check -fno-stack-security-check |
Windows OS: | /GS /GS- |
None
-fno-stack-security-check |
The compiler does not detect buffer overruns. |
This option determines whether the compiler generates code that detects some buffer overruns that overwrite the return address. This is a common technique for exploiting code that does not enforce buffer size restrictions.
Linux and OS X: -f[no-]stack-protector
Windows: None