This link to the commit log is slightly better:
http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/head/he...
You're one click away from the diff.
http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/head/he...
You're one click away from the diff.
Maybe some important shell scripts hang in a loop because they expect head to report an unsuccessful termination status when a file doesn't exist. Maybe some situation exists where a privileged system script can be fooled into looping by an unprivileged user.
Here is the mailing list discussion:
https://www.mail-archive.com/misc@openbsd.org/msg132628.html
There is no report of any actual DDoS. Craig Skinner was really just testing tools on nonexistent files!
So the commit comment just follows from some general hypothesis that incorrect exit statuses from tools can be exploited in some way by attackers.