summaryrefslogtreecommitdiffstats
path: root/chrome/browser/errorpage_uitest.cc
diff options
context:
space:
mode:
authorerikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-05 17:34:22 +0000
committererikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-05 17:34:22 +0000
commit3c99c5d472a2f748155e696d91ebabefd27931cc (patch)
tree94b9e9580ad1b9001b51d6f07b40669e2684d7c3 /chrome/browser/errorpage_uitest.cc
parent11e52bce67b61f04f5654caec963d51bdd7b39b5 (diff)
downloadchromium_src-3c99c5d472a2f748155e696d91ebabefd27931cc.zip
chromium_src-3c99c5d472a2f748155e696d91ebabefd27931cc.tar.gz
chromium_src-3c99c5d472a2f748155e696d91ebabefd27931cc.tar.bz2
Fixed a bogus initialization of string constants. The stack allocated string from StringPrintf gets destroyed right away, and c_str is just a pointer to its internal buffer, so the error constant was bogus memory. This showed up in the purify tests.
Sorry I missed this in the initial code review. Review URL: http://codereview.chromium.org/13204 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6436 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/errorpage_uitest.cc')
0 files changed, 0 insertions, 0 deletions