Up to [cvs.NetBSD.org] / src / sbin / ping
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: pgoyette-localcount-20170107
Revision 1.114 / (download) - annotate - [select for diffs], Sun Dec 18 01:19:34 2016 UTC (7 years, 4 months ago) by dholland
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107
Changes since 1.113: +33 -6
lines
Diff to previous 1.113 (colored)
PR bin/36997 Zafer Aydogan: ping doesn't validate numeric inputs enough. Reject packet intervals < 1 ns as they lead to infinite loops adding zero timespecs. Fix the behind-schedule behavior so it doesn't spend all its time in that loop adding very small timespecs. Try ping -c 500 -i 0.000000001 to see this in action with the old ping.