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

Issue 8952005: Fix a stack overflow crash in the accessibility code in the renderer. The crash occurs in the (Closed)

Created:
9 years ago by ananta
Modified:
9 years ago
Reviewers:
David Tseng, sky, piman
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, dpranke-watch+content_chromium.org
Visibility:
Public.

Description

Fix a stack overflow crash in the accessibility code in the renderer. The crash occurs in the RendererAccessibility::PostAccessibilityNotification function while processing the WebAccessibilityNotificationLayoutComplete notification from webkit. This function recursively calls itself with the WebAccessibilityNotificationLayoutComplete notification leading to infinite recursion. Fix is to check whether the incoming notification is WebAccessibilityNotificationLayoutComplete before the recursive call. BUG=none TEST=chrome frame tests should pass on the IE6 builder. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=114573

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -3 lines) Patch
M content/renderer/renderer_accessibility.cc View 1 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
ananta
9 years ago (2011-12-15 01:48:31 UTC) #1
David Tseng
lgtm. (given the comment). Good catch! Adding sky for OWNERS approval. http://codereview.chromium.org/8952005/diff/1/content/renderer/renderer_accessibility.cc File content/renderer/renderer_accessibility.cc (right): ...
9 years ago (2011-12-15 02:03:59 UTC) #2
ananta
http://codereview.chromium.org/8952005/diff/1/content/renderer/renderer_accessibility.cc File content/renderer/renderer_accessibility.cc (right): http://codereview.chromium.org/8952005/diff/1/content/renderer/renderer_accessibility.cc#newcode174 content/renderer/renderer_accessibility.cc:174: PostAccessibilityNotification( On 2011/12/15 02:03:59, David Tseng wrote: > I ...
9 years ago (2011-12-15 02:09:56 UTC) #3
piman
OWNERS lgtm
9 years ago (2011-12-15 02:11:20 UTC) #4
sky
9 years ago (2011-12-15 17:45:01 UTC) #5
LGTM

Powered by Google App Engine
This is Rietveld 408576698