Closed Bug 33161 Opened 24 years ago Closed 24 years ago

MLK: char* data from ProcessBodyAsAttachment()

Categories

(MailNews Core :: MIME, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: bruce, Assigned: rhp)

References

()

Details

In ProcessBodyAsAttachment(), you need to free the result of
mime_set_url_part().

malloc
PR_Malloc
mime_set_url_part(const char*, char*, int)
ProcessBodyAsAttachment(MimeObject*, nsMsgAttachmentData**)
MimeGetAttachmentList
mime_display_stream_complete
nsStreamConverter::OnStopRequest(nsIChannel*, nsISupports*, unsigned int, const
unsigned short*)
nsDocumentOpenInfo::OnStopRequest(nsIChannel*, nsISupports*, unsigned int, const
unsigned short*)
nsMsgProtocol::OnStopRequest(nsIChannel*, nsISupports*, unsigned int, const
unsigned short*)
nsMailboxProtocol::OnStopRequest(nsIChannel*, nsISupports*, unsigned int, const
unsigned short*)
nsFileChannel::OnStopRequest(nsIChannel*, nsISupports*, unsigned int, const
unsigned short*)
nsOnStopRequestEvent::HandleEvent()
nsStreamListenerEvent::HandlePLEvent(PLEvent*)
PL_HandleEvent
PL_ProcessPendingEvents
nsEventQueueImpl::ProcessPendingEvents()
nsEventQueueImpl::ProcessPendingEvents()
nsEventQueueImpl::ProcessPendingEvents()
nsMacNSPREventQueueHandler::ProcessPLEventQueue()
nsMacNSPREventQueueHandler::RepeatAction(const EventRecord&)
Repeater::DoRepeaters(const EventRecord&)
nsMacMessagePump::DispatchEvent(int, EventRecord*)
nsMacMessagePump::DoMessagePump()
nsAppShell::Run()
nsAppShellService::Run()
main1(int, char**, nsISplashScreen*)
main
__NSInitialize(1F1D7564)
OS: Linux → All
Hardware: PC → All
Thanks for the help bruce. These should be all better now :-)

- rhp
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Target Milestone: --- → M15
I know this was one of mine, but since this is a code level review, I figured 
that I could verify that this change was checked in to fix this problem.

- rhp
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.