rapid7/meterpreter — pull request #33 by OJ (2013-10-17 10:28:53+00:00)
Title: Fix railgun crash on XP SP3

Fix issue where the railgun API was relyling on FormatMessage returning a
valid pointer when the error is `ERROR_SUCCESS`. On some platforms, such
as XP SP3, the function would return a NULL pointer for this case. This
fix makes sure that in the case of a NULL pointer the error message is set
to a value that matches that found on other platforms.

[FixRM 8505]

/cc @Meatballs1