MS12-032 - Vulnerability in TCP/IP Could Allow Elevation of Privilege

We discovered that running our application under certain conditions
results in Windows bluescreen. After some investigation we were able to
narrow down the scenario to a sample of ~50 lines of C code using
Winsock2 APIs. The sample repeatedly binds to IPv6-mapped invalid IPv4
address. Windows Server 2008 R2 crashes after several seconds running
the sample. The problem reproduces on different physical machines as
well as on Virtual Machines.

// the program attempts to bind to IPV6-mapped IPV4 address// in a tight loop. If the address is not configured on the machine// running the program crashes Windows Server 2008 R2 (if program is 32-bit)