Integer signedness error in the ttioctl function in bsd/kern/tty.c in the xnu kernel in Apple Mac OS X 10.4 through 10.4.10 allows local users to cause a denial of service (system shutdown) or gain privileges via a crafted TIOCSETD ioctl request.
https://exchange.xforce.ibmcloud.com/vulnerabilities/38470
http://www.vupen.com/english/advisories/2007/3868
http://www.us-cert.gov/cas/techalerts/TA07-319A.html
http://www.trapkit.de/advisories/TKADV2007-001.txt
http://www.securityfocus.com/bid/26444
http://www.securityfocus.com/archive/1/483753/100/200/threaded
http://securitytracker.com/id?1018950
http://secunia.com/advisories/27643
http://lists.apple.com/archives/security-announce/2007/Nov/msg00002.html