]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r223579:
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 29 Jun 2011 16:43:44 +0000 (16:43 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 29 Jun 2011 16:43:44 +0000 (16:43 +0000)
commit09e45bde3c6cf4022d28bf7c55290dafe556f1cc
treed993f8b3e779a4d05121c9014c8e0ed86f273d21
parentd99e0cc37754c2f0753e2c0158bf598ec2ce6b16
MFC r223579:

For some reason, contrib/traceroute/traceroute.c ensures MAXHOSTNAMELEN
is defined, but then proceeds to use a hardcoded maximum hostname length
of 64 anyway.  Fix this by checking against MAXHOSTNAMELEN instead.

PR: bin/157732

git-svn-id: svn://svn.freebsd.org/base/stable/8@223678 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/traceroute/traceroute.c