Closed
Bug 34701
Opened 25 years ago
Closed 25 years ago
UMR in nsXMLMIMEDataSource.cpp
Categories
(Core :: Networking, defect, P3)
Tracking
()
VERIFIED
FIXED
M15
People
(Reporter: sfraser_bugs, Assigned: davidm)
Details
(Whiteboard: fix in hand)
There is some badness in nsXMLMIMEDataSource::GetFromTypeCreator that means that
the type/creator info is not properly put into the key string. Here's the patch:
Index: nsXMLMIMEDataSource.cpp
===================================================================
RCS file: /cvsroot/mozilla/netwerk/mime/src/nsXMLMIMEDataSource.cpp,v
retrieving revision 1.2
diff -w -c -1 -r1.2 nsXMLMIMEDataSource.cpp
*** nsXMLMIMEDataSource.cpp 2000/04/05 06:18:10 1.2
--- nsXMLMIMEDataSource.cpp 2000/04/05 22:08:15
***************
*** 552,557 ****
! char buf[16];
buf[0] = aType;
! buf[4] = aCreator;
! nsAutoString keyString( buf,8 );
keyString+=aExt;
--- 552,557 ----
! PRUint32 buf[2];
buf[0] = aType;
! buf[1] = aCreator;
! nsAutoString keyString((char *)buf, 8);
keyString+=aExt;
Reporter | ||
Comment 1•25 years ago
|
||
PDT+, since this might cause unpredictable behaviour.
Keywords: dogfood
Whiteboard: fix in hand
Updated•25 years ago
|
Target Milestone: --- → M16
Reporter | ||
Comment 2•25 years ago
|
||
This is a no-brainer fix (and the fix is in-hand). I argue for M15.
Target Milestone: M16 → M15
fix checked in
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•