Closed Bug 26579 Opened 26 years ago Closed 26 years ago

purify reports UMR in nsString::DetermineRadix()

Categories

(Core :: XPCOM, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: buster, Assigned: rickg)

Details

several reports: [W] UMR: Uninitialized memory read in nsString::DetermineRadix(void) {75 occurrences} Reading 1 byte from 0x0012f215 (1 byte at 0x0012f215 uninitialized) Address 0x0012f215 points into a thread's stack Address 0x0012f215 is 53 bytes below the frame pointer in nsString::DetermineRadix(void) Thread ID: 0x11a Error location nsString::DetermineRadix(void) [xpcom.dll] nsString::ToInteger(int *,UINT)const [xpcom.dll] nsGetServiceByCID::nsGetServiceByCID(nsID const&,nsISupports *,UINT *) [appshell.dll] nsGetServiceByCID::nsGetServiceByCID(nsID const&,nsISupports *,UINT *) [appshell.dll] DllGetClassObject [GKWEB.dll] nsGetInterface::=(nsGetInterface const&) [urildr.dll] nsGetInterface::=(nsGetInterface const&) [urildr.dll] nsGetInterface::=(nsGetInterface const&) [urildr.dll] nsGetServiceByCID::nsGetServiceByCID(nsID const&,nsISupports *,UINT *) [necko.dll] nsGetServiceByCID::nsGetServiceByCID(nsID const&,nsISupports *,UINT *) [nkfile.dll] [W] UMR: Uninitialized memory read in nsString::DetermineRadix(void) {75 occurrences} Reading 1 byte from 0x0012f215 (1 byte at 0x0012f215 uninitialized) Address 0x0012f215 points into a thread's stack Address 0x0012f215 is 53 bytes below the frame pointer in nsString::DetermineRadix(void) Thread ID: 0x11a Error location nsString::DetermineRadix(void) [xpcom.dll] nsString::ToInteger(int *,UINT)const [xpcom.dll] nsGetServiceByCID::nsGetServiceByCID(nsID const&,nsISupports *,UINT *) [appshell.dll] nsGetServiceByCID::nsGetServiceByCID(nsID const&,nsISupports *,UINT *) [appshell.dll] DllGetClassObject [GKWEB.dll] nsGetInterface::=(nsGetInterface const&) [urildr.dll] nsGetInterface::=(nsGetInterface const&) [urildr.dll] nsGetInterface::=(nsGetInterface const&) [urildr.dll] nsGetServiceByCID::nsGetServiceByCID(nsID const&,nsISupports *,UINT *) [necko.dll] nsGetServiceByCID::nsGetServiceByCID(nsID const&,nsISupports *,UINT *) [nkfile.dll] [W] UMR: Uninitialized memory read in nsString::DetermineRadix(void) {71 occurrences} Reading 1 byte from 0x0012f215 (1 byte at 0x0012f215 uninitialized) Address 0x0012f215 points into a thread's stack Address 0x0012f215 is 53 bytes below the frame pointer in nsString::DetermineRadix(void) Thread ID: 0x11a Error location nsString::DetermineRadix(void) [xpcom.dll] nsString::ToInteger(int *,UINT)const [xpcom.dll] nsGetServiceByCID::nsGetServiceByCID(nsID const&,nsISupports *,UINT *) [appshell.dll] nsGetServiceByCID::nsGetServiceByCID(nsID const&,nsISupports *,UINT *) [appshell.dll] DllGetClassObject [GKWEB.dll] nsGetInterface::=(nsGetInterface const&) [urildr.dll] nsGetInterface::=(nsGetInterface const&) [urildr.dll] nsGetInterface::=(nsGetInterface const&) [urildr.dll] nsGetServiceByCID::nsGetServiceByCID(nsID const&,nsISupports *,UINT *) [necko.dll] nsGetServiceByCID::nsGetServiceByCID(nsID const&,nsISupports *,UINT *) [nkfile.dll] [W] UMR: Uninitialized memory read in nsString::DetermineRadix(void) {75 occurrences} Reading 1 byte from 0x0012f215 (1 byte at 0x0012f215 uninitialized) Address 0x0012f215 points into a thread's stack Address 0x0012f215 is 53 bytes below the frame pointer in nsString::DetermineRadix(void) Thread ID: 0x11a Error location nsString::DetermineRadix(void) [xpcom.dll] nsString::ToInteger(int *,UINT)const [xpcom.dll] nsGetServiceByCID::nsGetServiceByCID(nsID const&,nsISupports *,UINT *) [appshell.dll] nsGetServiceByCID::nsGetServiceByCID(nsID const&,nsISupports *,UINT *) [appshell.dll] DllGetClassObject [GKWEB.dll] nsGetInterface::=(nsGetInterface const&) [urildr.dll] nsGetInterface::=(nsGetInterface const&) [urildr.dll] nsGetInterface::=(nsGetInterface const&) [urildr.dll] nsGetServiceByCID::nsGetServiceByCID(nsID const&,nsISupports *,UINT *) [necko.dll] nsGetServiceByCID::nsGetServiceByCID(nsID const&,nsISupports *,UINT *) [nkfile.dll] [W] UMR: Uninitialized memory read in nsString::DetermineRadix(void) {71 occurrences} Reading 1 byte from 0x0012f215 (1 byte at 0x0012f215 uninitialized) Address 0x0012f215 points into a thread's stack Address 0x0012f215 is 53 bytes below the frame pointer in nsString::DetermineRadix(void) Thread ID: 0x11a Error location nsString::DetermineRadix(void) [xpcom.dll] nsString::ToInteger(int *,UINT)const [xpcom.dll] nsGetServiceByCID::nsGetServiceByCID(nsID const&,nsISupports *,UINT *) [appshell.dll] nsGetServiceByCID::nsGetServiceByCID(nsID const&,nsISupports *,UINT *) [appshell.dll] DllGetClassObject [GKWEB.dll] nsGetInterface::=(nsGetInterface const&) [urildr.dll] nsGetInterface::=(nsGetInterface const&) [urildr.dll] nsGetInterface::=(nsGetInterface const&) [urildr.dll] nsGetServiceByCID::nsGetServiceByCID(nsID const&,nsISupports *,UINT *) [necko.dll] nsGetServiceByCID::nsGetServiceByCID(nsID const&,nsISupports *,UINT *) [nkfile.dll] [W] UMR: Uninitialized memory read in nsString::DetermineRadix(void) {63 occurrences} Reading 1 byte from 0x0012f349 (1 byte at 0x0012f349 uninitialized) Address 0x0012f349 points into a thread's stack Address 0x0012f349 is 53 bytes below the frame pointer in nsString::DetermineRadix(void) Thread ID: 0x11a Error location nsString::DetermineRadix(void) [xpcom.dll] nsString::ToInteger(int *,UINT)const [xpcom.dll] nsGetServiceByCID::nsGetServiceByCID(nsID const&,nsISupports *,UINT *) [appshell.dll] nsGetServiceByCID::nsGetServiceByCID(nsID const&,nsISupports *,UINT *) [appshell.dll] DllGetClassObject [GKWEB.dll] nsGetInterface::=(nsGetInterface const&) [urildr.dll] nsGetInterface::=(nsGetInterface const&) [urildr.dll] nsGetInterface::=(nsGetInterface const&) [urildr.dll] nsGetServiceByCID::nsGetServiceByCID(nsID const&,nsISupports *,UINT *) [necko.dll] nsGetServiceByCID::nsGetServiceByCID(nsID const&,nsISupports *,UINT *) [necko.dll]
Yeah, yeah.
Status: NEW → ASSIGNED
This appears to be fixed in my string testbed. I'll land it with my next major update.
Target Milestone: M14
Fixed by update last night.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
code level fix, verified with purify
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.