Do not call GetLogFileName() unless we know we're logging to a file
Calling GetLogFileName() triggers profile resolution on Windows. This leaves and open ALPC interface after sandbox lockdown, whicb exposes attack surface to a compromised renderrer. My solution is to just not resolve the log path except for the rare case where we need it.
TEST=None.
BUG=86002
Review URL: http://codereview.chromium.org/7145015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89029 0039d316-1c4b-4281-b951-d872f2087c98
1 file changed