summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2011-07-25 19:24:03 +0000
committertedu <tedu@openbsd.org>2011-07-25 19:24:03 +0000
commit5dc72bc17ea9b78badefbec289d584b273a47651 (patch)
tree043467ea1b19163f83a962ccbed9afb0f258fbe7
parentBe more careful when looking at l2tp traffic. Do more length checks and (diff)
downloadwireguard-openbsd-5dc72bc17ea9b78badefbec289d584b273a47651.tar.xz
wireguard-openbsd-5dc72bc17ea9b78badefbec289d584b273a47651.zip
note that -fstrict-overflow is disabled by default. ok jsg nicm
-rw-r--r--share/man/man1/gcc-local.113
1 files changed, 11 insertions, 2 deletions
diff --git a/share/man/man1/gcc-local.1 b/share/man/man1/gcc-local.1
index 18aad35fe08..72f9c82857f 100644
--- a/share/man/man1/gcc-local.1
+++ b/share/man/man1/gcc-local.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: gcc-local.1,v 1.23 2011/06/02 21:39:10 martynas Exp $
+.\" $OpenBSD: gcc-local.1,v 1.24 2011/07/25 19:24:03 tedu Exp $
.\"
.\" Copyright (c) 2002 Marc Espie
.\" Copyright (c) 2003 Anil Madhavapeddy
@@ -25,7 +25,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 2 2011 $
+.Dd $Mdocdate: July 25 2011 $
.Dt GCC-LOCAL 1
.Os
.Sh NAME
@@ -80,6 +80,15 @@ as this option causes issues on some legacy code.
is very unsafe with code that plays tricks with casts, bypassing the
already weak type system of C.
.It
+The
+.Fl O2
+option does not include
+.Fl fstrict-overflow ,
+as this option causes issues on some legacy code.
+.Fl fstrict-overflow
+can cause surprising optimizations to occur, possibly deleting security
+critical overflow checks.
+.It
The option
.Fl fno-builtin-<function>
was backported from