Changeset 43237 in webkit
- Timestamp:
- May 5, 2009 8:41:41 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r43234 r43237 1 2009-05-05 Eric Seidel <eric@webkit.org> 2 3 Reviewed by Adam Roben. 4 5 Fix mappedAttributes() access without NULL check 6 https://bugs.webkit.org/show_bug.cgi?id=25553 7 8 * svg/custom/path-getPresentationAttribute-crash-expected.txt: Added. 9 * svg/custom/path-getPresentationAttribute-crash.html: Added. 10 1 11 2009-05-04 Eric Seidel <eric@webkit.org> 2 12 -
trunk/WebCore/ChangeLog
r43233 r43237 1 2009-05-05 Eric Seidel <eric@webkit.org> 2 3 Reviewed by Adam Roben. 4 5 Fix mappedAttributes() access without NULL check 6 https://bugs.webkit.org/show_bug.cgi?id=25553 7 8 SVGStyledElement::getPresentationAttribute was using mappedAttributes() 9 without checking for NULL. 10 11 HTMLInputElement::setInputType also doesn't NULL check, but I was not 12 able to get it to crash with a test case so I just added an ASSERT. 13 14 * html/HTMLInputElement.cpp: 15 (WebCore::HTMLInputElement::setInputType): 16 * svg/SVGStyledElement.cpp: 17 (WebCore::SVGStyledElement::getPresentationAttribute): 18 1 19 2009-05-05 Holger Hans Peter Freyther <zecke@selfish.org> 2 20 -
trunk/WebCore/html/HTMLInputElement.cpp
r43187 r43237 276 276 if (didRespectHeightAndWidth != willRespectHeightAndWidth) { 277 277 NamedMappedAttrMap* map = mappedAttributes(); 278 ASSERT(map); 278 279 if (Attribute* height = map->getAttributeItem(heightAttr)) 279 280 attributeChanged(height, false); -
trunk/WebCore/svg/SVGStyledElement.cpp
r43187 r43237 243 243 PassRefPtr<CSSValue> SVGStyledElement::getPresentationAttribute(const String& name) 244 244 { 245 if (!mappedAttributes()) 246 return 0; 247 245 248 Attribute* attr = mappedAttributes()->getAttributeItem(QualifiedName(nullAtom, name, nullAtom)); 246 249 if (!attr || !attr->isMappedAttribute() || !attr->style())
Note: See TracChangeset
for help on using the changeset viewer.