Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(147)

Unified Diff: content/app/content_main.cc

Issue 7857036: Fix use-after-free of command line data on Linux/CrOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/app/content_main.cc
diff --git a/content/app/content_main.cc b/content/app/content_main.cc
index eacb2bd84a75823efb2dfa93aa42ddf37a82194c..4810a7828b6d68f67bab23e3109b15763e553b34 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;
@@ -297,6 +297,7 @@ int RunNamedProcessTypeMain(const std::string& process_type,
// for why we don't use ZygoteMain directly.
if (process_type == switches::kZygoteProcess)
return RunZygote(main_function_params, delegate);
+ }
jam 2011/09/09 16:49:40 accident?
James Cook 2011/09/09 16:51:08 Yup, thanks.
#endif
// If it's a process we don't know about, the embedder should know.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698