Closed Bug 1549997 Opened 6 years ago Closed 6 years ago

CPP code analysis bugs for 1508939

Categories

(Core :: DOM: Security, defect)

65 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: jkt, Assigned: jkt)

References

Details

(Whiteboard: [domsecurity-active])

Attachments

(1 file)

dom/base/nsContentUtils.cpp:9845

Dereferencing a pointer that might be "nullptr" "creator" when calling "AppendAnonymousContentTo". (The dereference happens because this is a virtual function call.)

caps/nsScriptSecurityManager.cpp:438

Passing null pointer "*aPrincipal" to "InheritAndSetCSPOnPrincipalIfNeeded", which dereferences it.

Assignee: nobody → jkt
Whiteboard: [domsecurity-active]

The priority flag is not set for this bug.
:ckerschb, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(ckerschb)

No longer needed, the tooling was being over cautious here.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID

(In reply to Jonathan Kingston [:jkt] from comment #3)

No longer needed, the tooling was being over cautious here.

Thanks for the update :jkt - clearing my ni? in that case.

Flags: needinfo?(ckerschb)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: