Bug 45404 - Null deref in RenderBlock::updateFirstLetter()
Summary: Null deref in RenderBlock::updateFirstLetter()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-08 11:43 PDT by Cris Neckar
Modified: 2010-09-10 03:04 PDT (History)
2 users (show)

See Also:


Attachments
repro (258 bytes, text/html)
2010-09-08 11:43 PDT, Cris Neckar
no flags Details
Patch (3.05 KB, patch)
2010-09-08 11:50 PDT, Cris Neckar
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Cris Neckar 2010-09-08 11:43:02 PDT
With first-letter style there is a null deref when getCachedPseudoStyle() returns a null RenderStyle. 

The attached repro will trigger it.

Patch to follow shortly.
Comment 1 Cris Neckar 2010-09-08 11:43:28 PDT
Created attachment 66919 [details]
repro
Comment 2 Cris Neckar 2010-09-08 11:50:53 PDT
Created attachment 66920 [details]
Patch
Comment 3 chris fleizach 2010-09-10 01:59:45 PDT
Comment on attachment 66920 [details]
Patch

r=me
Comment 4 WebKit Commit Bot 2010-09-10 03:04:51 PDT
Comment on attachment 66920 [details]
Patch

Clearing flags on attachment: 66920

Committed r67184: <http://trac.webkit.org/changeset/67184>
Comment 5 WebKit Commit Bot 2010-09-10 03:04:55 PDT
All reviewed patches have been landed.  Closing bug.