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

Issue 203046: Fix a crasher in full text search (sqlite)... (Closed)

Created:
11 years, 3 months ago by cpu_(ooo_6.6-7.5)
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, huanr
Visibility:
Public.

Description

Fix a crasher in full text search (sqlite) - If the xxx_segdir table gets corrupted, you can have non-contiguous indexes (idx). - This causes an assertion in debug, and a crash later on on release With this change it will return 'corrupted db' We shall wait to get a couple more fixes to upstream to sqlite org. BUG=21377 TEST=see bug

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -2 lines) Patch
M third_party/sqlite/ext/fts2/fts2.c View 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
cpu_(ooo_6.6-7.5)
11 years, 3 months ago (2009-09-12 01:22:03 UTC) #1
Scott Hess - ex-Googler
Looks Great To Me.
11 years, 3 months ago (2009-09-12 16:28:04 UTC) #2
cpu_(ooo_6.6-7.5)
Committed but gcl failed to close the issue. Grrr. Presubmit checks took 2.0s to calculate. ...
11 years, 3 months ago (2009-09-14 17:38:41 UTC) #3
Chris Evans
Sorry to be late to the party! Can you also return a corruption error if ...
11 years, 3 months ago (2009-09-16 00:22:29 UTC) #4
Scott Hess - ex-Googler
Seems reasonable. Adding the right index and the right data types would be pretty amazing, ...
11 years, 3 months ago (2009-09-16 00:29:42 UTC) #5
Chris Evans
One more thing. I think the fix is incomplete in that if there are missing ...
11 years, 3 months ago (2009-09-16 07:26:41 UTC) #6
Scott Hess - ex-Googler
Chris, I'll give it a once-over to see if there are similar opportunities. By "it" ...
11 years, 3 months ago (2009-09-16 17:32:49 UTC) #7
tony
Late drive-by-nit: Can you create a patch file in the sqlite directory update README.chromium? Also, ...
11 years, 3 months ago (2009-09-23 21:45:30 UTC) #8
cevans
11 years, 3 months ago (2009-09-23 21:52:16 UTC) #9
I'll take care of creating a "fts2-fixes.patch" which will be cpu@'s plus my
tweak plus my other megapatch. I will also offer it upstream.

On Wed, Sep 23, 2009 at 2:45 PM, <tony@chromium.org> wrote:

> Late drive-by-nit:
> Can you create a patch file in the sqlite directory update README.chromium?
> Also, can you upstream the patch?
>
>
> http://codereview.chromium.org/203046
>

Powered by Google App Engine
This is Rietveld 408576698