Closed Bug 20953 Opened 25 years ago Closed 21 years ago

purify reports UMR in nsEventStateManager::GenerateMouseEnterExit

Categories

(Core :: Layout, defect, P3)

x86
Windows NT
defect

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: buster, Assigned: joki)

References

()

Details

(Keywords: helpwanted)

[W] UMR: Uninitialized memory read in
nsEventStateManager::GenerateMouseEnterExit(nsIPresContext *,nsGUIEvent *) {1
occurrence}
    Reading 4 bytes from 0x0012f7d0 (4 bytes at 0x0012f7d0 uninitialized)
    Address 0x0012f7d0 points into a thread's stack
    Address 0x0012f7d0 is 8 bytes past the start of local variable 'event' in
nsEnderEventListener::DispatchMouseEvent(nsIDOMMouseEvent *,int)
    Thread ID: 0xe3
    Error location
        nsEventStateManager::GenerateMouseEnterExit(nsIPresContext *,nsGUIEvent
*) [nsEventStateManager.cpp:1066]
                        event.message = NS_MOUSE_ENTER;
                        event.widget = aEvent->widget;
                        event.clickCount = 0;
             =>         event.point = aEvent->point;
                        event.refPoint = aEvent->refPoint;

                        mCurrentTargetContent = targetContent;
        nsEventStateManager::PreHandleEvent(nsIPresContext *,nsGUIEvent
*,nsIFrame *,nsEventStatus *,nsIView *) [nsEventStateManager.cpp:195]
        nsEnderEventListener::DispatchMouseEvent(nsIDOMMouseEvent *,int)
[nsGfxTextControlFrame.cpp:3140]
        nsEnderEventListener::MouseOver(nsIDOMEvent *)
[nsGfxTextControlFrame.cpp:3337]
        nsEventListenerManager::HandleEvent(nsIPresContext *,nsEvent
*,nsIDOMEvent * *,UINT,nsEventStatus *) [nsEventListenerManager.cpp:705]
        nsDocument::HandleDOMEvent(nsIPresContext *,nsEvent *,nsIDOMEvent *
*,UINT,nsEventStatus *) [nsDocument.cpp:2399]
        nsHTMLHtmlElement::HandleDOMEvent(nsIPresContext *,nsEvent *,nsIDOMEvent
* *,UINT,nsEventStatus *) [nsHTMLHtmlElement.cpp:192]
        nsGenericElement::HandleDOMEvent(nsIPresContext *,nsEvent *,nsIDOMEvent
* *,UINT,nsEventStatus *) [nsGenericElement.cpp:794]
        nsHTMLDivElement::HandleDOMEvent(nsIPresContext *,nsEvent *,nsIDOMEvent
* *,UINT,nsEventStatus *) [nsHTMLDivElement.cpp:226]
        nsGenericDOMDataNode::HandleDOMEvent(nsIPresContext *,nsEvent
*,nsIDOMEvent * *,UINT,nsEventStatus *) [nsGenericDOMDataNode.cpp:799]
Target Milestone: M13
Target Milestone: M13 → M14
Mass-moving excess bugs to M14
Moving to M15 
Target Milestone: M14 → M15
Mass-moving bugs out of M15 that I won't get to.  Will refit individual 
milestones after moving them.
Target Milestone: M15 → M16
Moving to M18
Target Milestone: M16 → M18
This bug has been marked "future" because the original netscape engineer working 
on this is over-burdened. If you feel this is an error, that you or another 
known resource will be working on this bug,or if it blocks your work in some way 
-- please attach your concern to the bug for reconsideration.
Target Milestone: M18 → Future
fixed the summary, it's a UMR, not an ABR.  Marking "helpwanted", this is a bug 
that somebody could easily pick up for Tom.
Keywords: helpwanted
Summary: purify reports ABR in nsEventStateManager::GenerateMouseEnterExit → purify reports UMR in nsEventStateManager::GenerateMouseEnterExit
Depends on: 203505
I just ran a current build with Purify and this UMR doesn't happen anymore.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.