summaryrefslogtreecommitdiffstats
path: root/chrome/test/data/History
diff options
context:
space:
mode:
authormrossetti@chromium.org <mrossetti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-28 23:19:16 +0000
committermrossetti@chromium.org <mrossetti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-28 23:19:16 +0000
commit34ca58555bb67f8f72b84ba07b5c935928e2db3d (patch)
tree780e4c75ab07800257693e4570d1c08b126d4c89 /chrome/test/data/History
parentee44585c35bdcf5aaa359a80600b02e3dadbc236 (diff)
downloadchromium_src-34ca58555bb67f8f72b84ba07b5c935928e2db3d.zip
chromium_src-34ca58555bb67f8f72b84ba07b5c935928e2db3d.tar.gz
chromium_src-34ca58555bb67f8f72b84ba07b5c935928e2db3d.tar.bz2
This is a temporary fix to prevent the crash described in the bug.
Detect and bypass match ranges which go beyond the end of the content or description string. Also, check for a non-existant cache file but don't log a warning. BUG=77210 TEST=Enhanced unit tests and test data file url_history_provider_test.db.txt. Review URL: http://codereview.chromium.org/6696098 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79632 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/data/History')
-rw-r--r--chrome/test/data/History/url_history_provider_test.db.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/test/data/History/url_history_provider_test.db.txt b/chrome/test/data/History/url_history_provider_test.db.txt
index 44ab44f..26be362 100644
--- a/chrome/test/data/History/url_history_provider_test.db.txt
+++ b/chrome/test/data/History/url_history_provider_test.db.txt
@@ -55,7 +55,7 @@ INSERT INTO "urls" VALUES(26,'http://www.codeproject.com/','Your Development Res
INSERT INTO "urls" VALUES(27,'http://www.tomshardware.com/us/#redir','Tom''s Hardware: Hardware News, Tests and Reviews',6,6,0,0,65);
INSERT INTO "urls" VALUES(28,'http://www.ddj.com/windows/184416623','Dr. Dobb''s | Avoiding the Visual C++ Runtime Library | 2 1, 2003',6,6,0,0,0);
INSERT INTO "urls" VALUES(29,'http://svcs.cnn.com/weather/getForecast?time=34&mode=json_html&zipCode=336736767676&locCode=EGLL&celcius=true&csiID=csi2','',6,6,0,1,0);
-INSERT INTO "urls" VALUES(30,'http://www.drudgery.com/','Life in the Slow Lane',3,2,2,0,0);
+INSERT INTO "urls" VALUES(30,'http://www.drudgery.com/Dogs%20Cats%20Gorillas%20Dolphine%20Sea%20Slugsand%20Mice','Life in the Slow Lane',3,2,2,0,0);
INSERT INTO "urls" VALUES(31,'http://www.redrudgerydo.com/','Music of the Wild Landscape',0,0,6,0,0);
INSERT INTO "urls" VALUES(32,'https://NearlyPerfectResult.com/','Practically Perfect Search Result',99,99,0,0,0);
INSERT INTO "urls" VALUES(33,'http://QuiteUselessSearchResultxyz.com/','Practically Useless Search Result',4,0,99,0,0);