Open
Bug 54048
Opened 24 years ago
Updated 2 years ago
mailnews/mime/src/nsStreamConverter.cpp mucking with mime internals
Categories
(MailNews Core :: MIME, defect)
MailNews Core
MIME
Tracking
(Not tracked)
NEW
People
(Reporter: rhp, Unassigned)
Details
The following code: char *urlString; if (NS_SUCCEEDED(aURI->GetSpec(&urlString))) { if ((urlString) && (*urlString)) { CRTFREEIF(*url_name); *url_name = nsCRT::strdup(urlString); if (!(*url_name)) return NS_ERROR_OUT_OF_MEMORY; // rhp: Ugh, this is ugly...but it works. *fixup_pointer = (const char *)*url_name; CRTFREEIF(urlString); } } Is mucking with libmime internals. This should really be calling into libmime to make this type of memory change. - rhp
Reporter | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Comment 1•24 years ago
|
||
rhp: thanks for not forgetting to log this bug.
QA Contact: esther → pmock
Updated•23 years ago
|
Status: NEW → ASSIGNED
Target Milestone: Future → mozilla0.9.6
Updated•23 years ago
|
Target Milestone: mozilla1.0 → Future
Is this still valid, Jean-Francois?
OS: Windows NT → All
QA Contact: pmock → stephend
Hardware: PC → All
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Assignee: ducarroz → nobody
Status: ASSIGNED → NEW
QA Contact: stephend → mime
Assignee | ||
Updated•16 years ago
|
Product: Core → MailNews Core
Comment 5•5 years ago
|
||
This may be outside your wheelhouse - is this possibly still valid?
Flags: needinfo?(benc)
Priority: P3 → --
Comment 6•5 years ago
|
||
It's still in there:
https://searchfox.org/comm-central/search?q=rhp%3A+Ugh&case=true®exp=false&path=mailnews%2Fmime%2Fsrc
I'd guess that it's not going to cause problems unless the libmime internals change.
I'm not familiar with any of the mime stuff, but if I ever find myself in there I'll make sure to have a go at it - it seems the least we can do after rhp was good enough to log it!
Flags: needinfo?(benc)
Comment 7•5 years ago
|
||
Thanks. So no real impact yet -> minor
Severity: normal → minor
Target Milestone: Future → ---
Updated•2 years ago
|
Severity: minor → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•