Bug 131719

Summary: AX: Accessing a table cell with an invalid column header crashes
Product: WebKit Reporter: chris fleizach <cfleizach>
Component: AccessibilityAssignee: chris fleizach <cfleizach>
Status: RESOLVED FIXED    
Severity: Normal CC: aboxhall, apinheiro, commit-queue, dmazzoni, jcraig, jdiggs, mario, samuel_white, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
patch none

Description chris fleizach 2014-04-15 17:54:20 PDT
* thread #1: tid = 0x95b3a, 0x0000000113f5dd75 WebCore`WebCore::AccessibilityTableCell::columnHeaders(this=0x00007ff91a48cd60, headers=0x00007fff53bdb1c8) + 389 at AccessibilityTableCell.cpp:184, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
    frame #0: 0x0000000113f5dd75 WebCore`WebCore::AccessibilityTableCell::columnHeaders(this=0x00007ff91a48cd60, headers=0x00007fff53bdb1c8) + 389 at AccessibilityTableCell.cpp:184
   181 	            continue;
   182 	
   183 	        std::pair<unsigned, unsigned> childRowRange;
-> 184 	        tableCell->rowIndexRange(childRowRange);
   185 	            
   186 	        const AtomicString& scope = tableCell->getAttribute(scopeAttr);
   187 	        if (scope == "col" || tableCell->isTableHeaderCell())
Comment 1 Radar WebKit Bug Importer 2014-04-15 17:54:51 PDT
<rdar://problem/16628821>
Comment 2 chris fleizach 2014-04-15 21:40:35 PDT
Created attachment 229429 [details]
patch
Comment 3 WebKit Commit Bot 2014-04-16 11:05:11 PDT
Comment on attachment 229429 [details]
patch

Clearing flags on attachment: 229429

Committed r167361: <http://trac.webkit.org/changeset/167361>
Comment 4 WebKit Commit Bot 2014-04-16 11:05:17 PDT
All reviewed patches have been landed.  Closing bug.