Closed
Bug 342
Opened 26 years ago
Closed 26 years ago
Browser crashes when user selects View->Page Source
Categories
(MozillaClassic Graveyard :: Macintosh FE, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: cmf, Assigned: sdagley)
Details
Created by Carl Fongheiser (cmf@netins.net) on Friday, May 8, 1998 6:53:19 PM PDT
Additional Details :
In cmd:macfe:gui:CHTMLView.cp (in the routine CHTMLView::ObeyCommand) there is the
following code:
case cmd_ViewSource:
{
URL_Struct* url = NET_CreateURLStruct(mContext->GetCurrentURL(), NET_DONT_RELOAD);
mContext->ImmediateLoadURL(url, FO_VIEW_SOURCE);
NET_FreeURLStruct ( url );
cmdHandled = true;
break;
}
In this case, url is getting freed prematurely, and the browser crashes when it tries to
access a URL_Struct which is now filled with garbage. Commenting out the call to
NET_FreeURLStruct() prevents the crash.
Assignee | ||
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 1•26 years ago
|
||
Fixed by pinkerton a while back but apparently not closed.
marking verified against old code base - new code base works properly as well
You need to log in
before you can comment on or make changes to this bug.
Description
•