Closed Bug 80818 Opened 24 years ago Closed 24 years ago

Crash dragging a link

Categories

(Core :: XUL, defect, P1)

PowerPC
Mac System 8.5
defect

Tracking

()

VERIFIED FIXED
mozilla0.9.1

People

(Reporter: sfraser_bugs, Assigned: mikepinkerton)

Details

I crash dragging a link from the content area. inRegion is null in nsDragService 
:: BuildDragRegion
Fix:

Index: mozilla/widget/src/mac/nsDragService.cpp
===================================================================
RCS file: /cvsroot/mozilla/widget/src/mac/nsDragService.cpp,v
retrieving revision 1.49
diff -b -u -2 -r1.49 nsDragService.cpp
--- nsDragService.cpp	2001/05/12 20:55:27	1.49
+++ nsDragService.cpp	2001/05/14 23:04:31
@@ -288,4 +288,5 @@
   PRBool retVal = PR_TRUE;
   nsCOMPtr<nsIRegion> geckoRegion;
+  if (inRegion)
     inRegion->GetRegion(getter_AddRefs(geckoRegion));
     
doh! i thought i did that. guess not.
Severity: normal → blocker
Status: NEW → ASSIGNED
Priority: -- → P1
Target Milestone: --- → mozilla0.9.1
Adding myself
fixed.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Not sure exactly how to reproduce the problem, but I could drag links all over
the place on:

Win2K - 2001060308
Linux - 2001060411
MacOS - 2001060408

verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.