summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authorjamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-09 17:39:31 +0000
committerjamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-09 17:39:31 +0000
commit73ffbcfa0bf94f503b5222d790ba4832729dd69f (patch)
tree2c8b88f9946a6a517e28b9494b4b0614b03a2157 /content
parentb7e26fd5737f84a49344d18cbfa01e5edaf190eb (diff)
downloadchromium_src-73ffbcfa0bf94f503b5222d790ba4832729dd69f.zip
chromium_src-73ffbcfa0bf94f503b5222d790ba4832729dd69f.tar.gz
chromium_src-73ffbcfa0bf94f503b5222d790ba4832729dd69f.tar.bz2
Fix use-after-free of command line data on Linux/CrOS
Typo in content_main.cc RunZygote was using an old pointer to the command line data. BUG=95620 TEST=Address sanitizer no longer shows use-after-free in browser_tests RenderProcessHostTest.ProcessOverflow Review URL: http://codereview.chromium.org/7857036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100430 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r--content/app/content_main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/app/content_main.cc b/content/app/content_main.cc
index eacb2bd..78e1af5 100644
--- a/content/app/content_main.cc
+++ b/content/app/content_main.cc
@@ -263,7 +263,7 @@ int RunZygote(const MainFunctionParams& main_function_params,
}
if (delegate)
- return delegate->RunProcess(process_type, main_function_params);
+ return delegate->RunProcess(process_type, main_params);
NOTREACHED() << "Unknown zygote process type: " << process_type;
return 1;