Summary: | WebTextCheckerClient doesn't initialize output arguments. | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Philippe Normand <pnormand> | ||||
Component: | WebKit2 | Assignee: | Simon Pena <spenap> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | andersca, ap, commit-queue, dcheng, spenap, zan | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Philippe Normand
2012-04-11 02:33:39 PDT
This test now passes in Debug and Release in WebKitGTK, but crashes on Debug in WebKit2GTK. I am investigating this. The crash in GTK-WK2 happens in ASSERT(misspellingLocation < len), in TextCheckingHelper.cpp. I investigated how it happens, and it turned out that the values coming out of the IPC calls to checkSpellingOfString are wrong, and have not been initialized. I am renaming this bug to something more appropriate and will upload a patch that fixes this. Created attachment 205922 [details]
Patch
I am also taking a look at other places where this could be happening. CCing an OWNER for review as well. Looks good to me. Comment on attachment 205922 [details] Patch Clearing flags on attachment: 205922 Committed r152369: <http://trac.webkit.org/changeset/152369> All reviewed patches have been landed. Closing bug. |