Bug 13242 - REGRESSION: Repro crash when specifying the content property for an image
Summary: REGRESSION: Repro crash when specifying the content property for an image
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P1 Normal
Assignee: Nobody
URL: data:text/html,<img style="content: '...
Keywords: InRadar, Regression
Depends on:
Blocks:
 
Reported: 2007-03-31 03:29 PDT by mitz
Modified: 2007-03-31 22:22 PDT (History)
0 users

See Also:


Attachments
Fix the crash (3.43 KB, patch)
2007-03-31 04:07 PDT, mitz
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mitz 2007-03-31 03:29:48 PDT
The URL crashes TOT. Backtrace:

#0  0x015df328 in WebCore::StringImpl::length (this=0xffff1340) at StringImpl.h:72
#1  0x0121bf5c in WebCore::String::isEmpty (this=0x69566d8) at WebCore/platform/String.cpp:381
#2  0x011b62c4 in WebCore::RenderImage::setImageSizeForAltText (this=0x695666c, newImage=0x0) at WebCore/rendering/RenderImage.cpp:95
#3  0x013590cc in WebCore::HTMLImageElement::attach (this=0x694e3d0) at WebCore/html/HTMLImageElement.cpp:187
Comment 1 mitz 2007-03-31 04:07:12 PDT
Created attachment 13905 [details]
Fix the crash
Comment 2 Darin Adler 2007-03-31 16:23:44 PDT
Comment on attachment 13905 [details]
Fix the crash

r=me
Comment 3 Andrew Wellington 2007-03-31 22:16:40 PDT
Landed in r20644
Comment 4 Mark Rowe (bdash) 2007-03-31 22:22:26 PDT
<rdar://problem/5103235>