Closed
Bug 191131
Opened 22 years ago
Closed 22 years ago
nsDispatchSupport ClassIsListed fn returns wrong listIsEmpty value
Categories
(Core :: XPConnect, defect)
Tracking
()
VERIFIED
FIXED
mozilla1.3beta
People
(Reporter: adamlock, Assigned: adamlock)
References
Details
Attachments
(1 file)
2.70 KB,
patch
|
dbradley
:
review+
darin.moz
:
superreview+
asa
:
approval1.3b+
|
Details | Diff | Splinter Review |
nsDispatchSupport.cpp contains a ClassIsListed() function which is meant to read the registry and say whether a clsid is listed or not. When the key doesn't exist or cannot be opened, the function puts the wrong value into the listIsEmpty return value causing the whitelist check further on to fail. Workaround is to create the SOFTWARE\Mozilla\ActiveX\Whitelist\CLSID key to ensure the test can open the registry key and count the entries. Patch follows
Comment 2•22 years ago
|
||
Comment on attachment 112989 [details] [diff] [review] Patch r=dbradley I like the change to PRBool return value too.
Attachment #112989 -
Flags: review+
Comment on attachment 112989 [details] [diff] [review] Patch Hi Brendan, can I have an sr on this patch to xpconnect to correct check the COM connect object registry blacklist & whitelist? Thanks
Attachment #112989 -
Flags: superreview?(brendan)
Comment 4•22 years ago
|
||
Comment on attachment 112989 [details] [diff] [review] Patch sr=darin
Attachment #112989 -
Flags: superreview?(brendan) → superreview+
Comment on attachment 112989 [details] [diff] [review] Patch Requesting 1.3b approval. Patch only affects COM connect, is low risk and corrects a security inaccuracy when trying to read from a registry key that cannot be found
Attachment #112989 -
Flags: approval1.3b?
Comment 6•22 years ago
|
||
Comment on attachment 112989 [details] [diff] [review] Patch a=asa (on behalf of drivers) for checkin to 1.3beta.
Attachment #112989 -
Flags: approval1.3b? → approval1.3b+
Fix is in
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Updated•22 years ago
|
Target Milestone: --- → mozilla1.3beta
You need to log in
before you can comment on or make changes to this bug.
Description
•