summaryrefslogtreecommitdiff
path: root/sbin/ping/ping.8
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-03-31 23:04:11 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-03-31 23:04:11 +0000
commit39eb6fd31bcffb268ce5cc5cfc86d75b8ffa18ca (patch)
tree2259a0814554806146bff3ed01f680643986a54e /sbin/ping/ping.8
parentbce76ddcd9932a3efb6d45ed8592137510762794 (diff)
possible buf oflow in -R; reported by tqbf, fixed by me.
Diffstat (limited to 'sbin/ping/ping.8')
-rw-r--r--sbin/ping/ping.86
1 files changed, 4 insertions, 2 deletions
diff --git a/sbin/ping/ping.8 b/sbin/ping/ping.8
index daacd4a1461..d9787af9b7a 100644
--- a/sbin/ping/ping.8
+++ b/sbin/ping/ping.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ping.8,v 1.6 1996/07/23 10:36:40 deraadt Exp $
+.\" $OpenBSD: ping.8,v 1.7 1998/03/31 23:04:09 deraadt Exp $
.\" $NetBSD: ping.8,v 1.10 1995/12/31 04:55:35 ghudson Exp $
.\"
.\" Copyright (c) 1985, 1991, 1993
@@ -144,7 +144,9 @@ option in the
packet and displays
the route buffer on returned packets.
Note that the IP header is only large enough for nine such routes.
-Many hosts ignore or discard this option.
+If more routes come back than should, such as due to an illegal spoofed
+packet, ping will print the route list and then truncate it at the correct
+spot. Many hosts ignore or discard this option.
.It Fl r
Bypass the normal routing tables and send directly to a host on an attached
network.