DescriptionTwo minor changes to the use of FormatMessageA in Win32ErrorLogMessage:
- Follow the MSDN advice and use FORMAT_MESSAGE_IGNORE_INSERTS to avoid security issues and to prevent getting back ERROR_INVALID_PARAMETER for any message that has inserts. This is always the right thing since this function provides no arguments for inserts.
- Don't specify a language identifier, thereby allowing FormatMessageA to make many sensible attempts to find a string in some suitable language.
BUG=none
TEST=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=63166
Patch Set 1 #Patch Set 2 : '' #
Messages
Total messages: 2 (0 generated)
|