Closed
Bug 569463
Opened 14 years ago
Closed 14 years ago
[@ SVGMotionSMILAnimationFunction::RebuildPathAndVerticesFromMpathElem]
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
FIXED
People
(Reporter: timeless, Assigned: longsonr)
References
(Blocks 1 open bug, )
Details
(Keywords: coverity, crash)
Crash Data
Attachments
(1 file)
1.10 KB,
patch
|
jwatt
:
review+
|
Details | Diff | Splinter Review |
248 SVGMotionSMILAnimationFunction:: 249 RebuildPathAndVerticesFromMpathElem(nsSVGMpathElement* aMpathElem) 257 const nsAString& pathSpec = 258 pathElem->GetParsedAttr(nsGkAtoms::d)->GetStringValue(); according to coverity, there is only one other caller in the tree which doesn't null check the result form GetParsedAttr.
Comment 1•14 years ago
|
||
Note that we do check "HasAttr" before calling GetParsedAttr -- so I don't think it's possible for this particular call to return null. Maybe there's a cleaner way to do things here, though. You added the keyword "crash" -- do you have a testcase that crashes on this line?
Crashing is what would happen, I use it so that when someone does hit a crash and searches for it, they will find this bug recognize it's their crash and cc/comment/offer incident id's.
Assignee | ||
Comment 3•14 years ago
|
||
Assignee: nobody → longsonr
Attachment #448998 -
Flags: review?(jwatt)
Updated•14 years ago
|
Attachment #448998 -
Flags: review?(jwatt) → review+
Assignee | ||
Comment 4•14 years ago
|
||
pushed http://hg.mozilla.org/mozilla-central/rev/18c728e4b4c6
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Crash Signature: [@ SVGMotionSMILAnimationFunction::RebuildPathAndVerticesFromMpathElem]
Updated•6 years ago
|
Blocks: coverity-analysis
You need to log in
before you can comment on or make changes to this bug.
Description
•