WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
22572
AccessibleBase.cpp should null-check the results of documentFrameView() calls
https://bugs.webkit.org/show_bug.cgi?id=22572
Summary
AccessibleBase.cpp should null-check the results of documentFrameView() calls
Eric Seidel (no email)
Reported
2008-12-01 14:05:24 PST
AccessibleBase.cpp should null-check the results of documentFrameView() calls Calling accLocation() when documentFrameView() could return NULL was the cause of the current #1 crasher in Chromium renderer processes. I don't expect this crash may even be possible in Win Safari. But given that documentFrameView() clearly can return null (see implementation) it makes sense IMO to add these preventative checks. In our tree we've fixed the crash by checking mainFrame()->frameView() before ever calling this AX code. It's possible this code is causing crashes for win safari like it was for Chrome, I don't have access to any win safari crash logs to confirm or deny.
Attachments
Add preventative NULL-check to AX calls
(2.25 KB, patch)
2008-12-01 14:06 PST
,
Eric Seidel (no email)
aroben
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Eric Seidel (no email)
Comment 1
2008-12-01 14:06:21 PST
Created
attachment 25636
[details]
Add preventative NULL-check to AX calls WebKit/win/AccessibleBase.cpp | 7 +++++-- WebKit/win/ChangeLog | 19 +++++++++++++++++++ 2 files changed, 24 insertions(+), 2 deletions(-)
Eric Seidel (no email)
Comment 2
2008-12-01 14:06:35 PST
Adam Roben reviewed over irc. Landing...
Eric Seidel (no email)
Comment 3
2008-12-01 14:11:02 PST
Committing to
http://svn.webkit.org/repository/webkit/trunk
... M WebKit/win/AccessibleBase.cpp M WebKit/win/ChangeLog Committed
r38873
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug