BSD libc contains a buffer overflow vulnerability
kb.cert.org
kb.cert.org
It's really basic; get the kernel to cough up a bad sockaddr and bcopy will scribble on your memory. That may seem far fetched but then you remember LKM and maybe not. Incidentally OpenBSD dropped LKM support in 2014 [1], presumably for hardening purposes.
(Pretty sure 4.3BSD didn't have loadable kernel modules; you built your kernel from source, uphill both ways in the snow.)
http://minnie.tuhs.org/cgi-bin/utree.pl?file=4.3BSD-Reno/src...
Personally I'm more worried about the function returning obuf, a pointer to a stack variable in link_ntoa.
There's a number of ways this particular "ordering" could have occurred.
from http://www.dhs.gov/office-cybersecurity-and-communications "The Office of Cybersecurity and Communications (CS&C), within the National Protection and Programs Directorate, is responsible for enhancing the security, resilience, and reliability of the Nation’s cyber and communications infrastructure."
That used to be part of the NSA's charter, more or less, before they decided that playing offense was more fun.