Closed Bug 1230135 Opened 5 years ago Closed 5 years ago
[Static Analysis][Dereference Null Return Value] Function DOMSVGPath
Seg List::Insert Item Before from DOMSVGPath Seg List .cpp
The Static Analysis tool Scan-Build added value returned by GetDOMWrapperIfExists(InternalAList().GetAnimValKey()) to variable animVal can be NULL leading to a potential null pointer dereference later on.
Hello Jonathan, Could you please take a look other this patch? THX
Attachment #8695278 - Flags: review?(jwatt)
Comment on attachment 8695278 [details] [diff] [review] Bug 1230135.diff stealing as this is my code. MOZ_ASSERT(animVal, "AnimListMirrorsBaseList() promised a non-null animVal"); would be better but the text doesn't matter that much.
Attachment #8695278 - Flags: review?(jwatt) → review+
You need to log in before you can comment on or make changes to this bug.