mongodb/mongo — pull request #157 by evanlong (2012-01-01 00:14:14+00:00)
Title: Using the safe strcpy_s. The 'num' parameter is the size of the 'buf' array.

This will help protect against buffer overflow and/or heap corruption.