Module Name: src Committed By: dholland Date: Sun Dec 18 01:19:34 UTC 2016
Modified Files: src/sbin/ping: ping.c Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.113 -r1.114 src/sbin/ping/ping.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.