Closed Bug 25069 Opened 25 years ago Closed 25 years ago

requestRead of PlugletStreamInfo can cause the crash of Mozilla

Categories

(Core Graveyard :: Java-Implemented Plugins, defect, P3)

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: avm, Assigned: blackconnect)

Details

(Keywords: crash)

Overview Description:
When Java-Implemented Plugin try to invoke the requestRead(ByteRanges ranges)
method
of PlugletStreamInfo object with null argument,then Mozilla crashes.

Steps to reproduce:
In OnStartBinding method of PlugletStreamListener try to
invoke method PlugletStreamInfo.requestRead with null argument.

Actual Results:
Mozilla crashes 

Expected Results:
Mozilla shouldn't crash on any pluglet's action.

Build Date & Platform Bug Found:
Bug reproduced on Windows NT4.0.
The sources of build from 01.18.2000
Severity: normal → critical
I added null checking to requestRead
I am closing this bug as fixed
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Adding crash keyword
Keywords: crash
This bug doesn't reprodused right now. Mozilla do not crashed when method 
requestRead invoking with null parameter. It throws 
UnsupportedOperationException (method do not implemented yet).
Verified with mozilla branch Netscape61_RELEASE and blackwood branch 
JAVADEV_6_1_20010831.
VERIFIED
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.