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

Unified Diff: chrome/installer/util/version.cc

Issue 2813005: Avoid a crash when current version info is not obtainable. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: oops Created 10 years, 6 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 | « chrome/browser/upgrade_detector.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/version.cc
diff --git a/chrome/installer/util/version.cc b/chrome/installer/util/version.cc
index 2e580763de44138813eea6b78fa97fa86cc1ab3e..6dfc2058a297e94a935524f57882ed440205523e 100644
--- a/chrome/installer/util/version.cc
+++ b/chrome/installer/util/version.cc
@@ -38,6 +38,7 @@ installer::Version* installer::Version::GetVersionFromString(
SplitString(version_str, '.', &numbers);
if (numbers.size() != 4) {
+ LOG(ERROR) << "Invalid version string: " << version_str;
return NULL;
}
« no previous file with comments | « chrome/browser/upgrade_detector.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698