MLK: nsScriptSecurityManager::CreateCodebasePrincipal

VERIFIED FIXED

Status

()

Core
Security
P3
normal
VERIFIED FIXED
18 years ago
18 years ago

People

(Reporter: Bruce Mitchener, Assigned: Norris Boyd)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

18 years ago
Solaris 2.6, gcc 2.7.2.3.  Build from September 13, 1999.  Opened viewer, loaded
initial page, went to www.visa.com, selected the 'back to school' specials link,
quit.

MLK: 36 bytes leaked at 0x979e40
  * This memory was allocated from:
        malloc         [rtlib.o]
        __bUiLtIn_nEw  [libraptorgfx.so]
        __builtin_new  [rtlib.o]
        nsScriptSecurityManager::CreateCodebasePrincipal(nsIURI*,nsIPrincipal**)
[nsScriptSecurityManager.cpp:199]
        GlobalWindowImpl::GetPrincipal(nsIPrincipal**) [nsGlobalWindow.cpp:2975]
        nsJSContext::EvaluateString(const nsString&,const char*,unsigned
int,nsString&,int*) [nsJSEnvironment.cpp:140]
        HTMLContentSink::EvaluateScript(nsString&,int)
[nsHTMLContentSink.cpp:3212]
        HTMLContentSink::ProcessSCRIPTTag(const nsIParserNode&)
[nsHTMLContentSink.cpp:3381]
        HTMLContentSink::AddLeaf(const nsIParserNode&)
[nsHTMLContentSink.cpp:2231]
        CNavDTD::AddLeaf(const nsIParserNode&) [CNavDTD.cpp:2675]
        CNavDTD::AddHeadLeaf(nsIParserNode&) [CNavDTD.cpp:2707]
        CNavDTD::HandleStartToken(CToken*) [CNavDTD.cpp:1298]
        NavDispatchTokenHandler(CToken*,nsIDTD*) [CNavDTD.cpp:241]
        CTokenHandler::operator ()(CToken*,nsIDTD*) [nsTokenHandler.cpp:80]
        CNavDTD::HandleToken(CToken*,nsIParser*) [CNavDTD.cpp:740]

CNavDTD::BuildModel(nsIParser*,nsITokenizer*,nsITokenObserver*,nsIContentSink*)
[CNavDTD.cpp:551]
        nsParser::BuildModel() [nsParser.cpp:942]
        nsParser::ResumeParse(nsIDTD*,int) [nsParser.cpp:887]

nsParser::OnDataAvailable(nsIChannel*,nsISupports*,nsIInputStream*,unsigned
int,unsigned int) [nsParser.cpp:1288]

nsDocumentBindInfo::OnDataAvailable(nsIChannel*,nsISupports*,nsIInputStream*,unsigned
int,unsigned int) [nsDocLoader.cpp:2000]

nsChannelListener::OnDataAvailable(nsIChannel*,nsISupports*,nsIInputStream*,unsigned
int,unsigned int) [nsDocLoader.cpp:2272]

nsHTTPResponseListener::OnDataAvailable(nsIChannel*,nsISupports*,nsIInputStream*,unsigned
int,unsigned int) [nsHTTPResponseListener.cpp:186]
        nsOnDataAvailableEvent::HandleEvent() [nsAsyncStreamListener.cpp:344]
        nsStreamListenerEvent::HandlePLEvent(PLEvent*)
[nsAsyncStreamListener.cpp:144]
        PL_HandleEvent [plevent.c:509]
        PL_ProcessPendingEvents [plevent.c:470]
        nsEventQueueImpl::ProcessPendingEvents() [nsEventQueue.cpp:118]
        event_processor_callback(void*,int,GdkInputCondition)
[nsAppShell.cpp:153]
        gdk_io_invoke  [gdkevents.c:868]
        g_io_unix_dispatch [giounix.c:131]
(Assignee)

Updated

18 years ago
Status: NEW → ASSIGNED
(Assignee)

Updated

18 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → FIXED

Comment 1

18 years ago
Bulk moving all Browser Security bugs to new Security: General component.  The 
previous Security component for Browser will be deleted.
Component: Security → Security: General

Comment 2

18 years ago
Verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.