Closed Bug 24194 Opened 25 years ago Closed 25 years ago

nsIPluginInstancePeer.ShowStatus crashes browser

Categories

(Core Graveyard :: Plug-ins, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: blackconnect, Assigned: serhunt)

Details

(Keywords: crash)

How to reproduce:
apply following patch to mozilla/modules/plugin/test/npsimple.cpp
--
Index: npsimple.cpp
===================================================================
RCS file: /cvsroot/mozilla/modules/plugin/test/npsimple.cpp,v
retrieving revision 1.15
diff -c -r1.15 npsimple.cpp
*** npsimple.cpp        1999/12/07 23:50:00     1.15
--- npsimple.cpp        2000/01/18 02:41:35
***************
*** 711,716 ****
--- 711,717 ----
  NS_METHOD
  SimplePluginInstance::Initialize(nsIPluginInstancePeer* peer)
  {
+     peer->ShowStatus("Hello");
  #ifdef NS_DEBUG
      printf("SimplePluginInstance::Initialize\n");
  #endif
--

Run this test.

Results:
Mozilla crashes
Severity: normal → critical
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
I added a check on zero-pointer to avoid crash.
Did you check this changes in?
Yes, yesterday, although I could have confused bug number in the check-in
comments.
Could somebody please mark this bug verified? Thanks !
Adding crash keyword
Keywords: crash
verif that the fix is in.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.