Closed
Bug 565617
Opened 15 years ago
Closed 14 years ago
nsChannelPolicy::nsChannelPolicy() should initialize mLoadType
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
People
(Reporter: timeless, Assigned: timeless)
References
(Blocks 1 open bug)
Details
(Keywords: coverity)
Attachments
(1 file)
468 bytes,
patch
|
bsterne
:
review+
|
Details | Diff | Splinter Review |
NS_GENERIC_FACTORY_CONSTRUCTOR(nsChannelPolicy)
61 unsigned long mLoadType;
39 nsChannelPolicy::nsChannelPolicy()
40 {
41 }
Comment 2•15 years ago
|
||
Comment on attachment 445089 [details] [diff] [review]
initialize with 0 (which is not a defined nsIContentPolicy type)
you should ask bsterne for reviewing this patch
Attachment #445089 -
Flags: review?(cbiesinger)
Attachment #445089 -
Flags: review?(bsterne)
Comment 3•15 years ago
|
||
Comment on attachment 445089 [details] [diff] [review]
initialize with 0 (which is not a defined nsIContentPolicy type)
Makes sense to me. r=bsterne
Attachment #445089 -
Flags: review?(bsterne) → review+
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 5•11 years ago
|
||
This means we are failing open. Two questions:
1) Are there content types that we should set (maybe there is a new CSP directive for them?) that aren't being set.
2) For the content types that are set (ex: script) how do we know they are set in all places?
Updated•6 years ago
|
Blocks: coverity-analysis
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•