Closed Bug 66205 Opened 25 years ago Closed 24 years ago

NPP_Write passed wrong buffer pointer in Netscape 6.0

Categories

(Core Graveyard :: Plug-ins, defect)

x86
Windows 98
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED FIXED
mozilla1.0

People

(Reporter: foeflein, Assigned: serhunt)

References

Details

If NPP_WriteReady(NPP instance, NPStream stream) returns a size less then 8192 (8k) then Netscape 6.0 is passing bad values to the NPP_Write(NPP instance, NPStream stream, int32 offset, int32 len, void *buffer ) call. It passes a correct len, a correct offset, but an incorrect buffer pointer. By changing our maxbuffer size returned by NPP_WriteReady() to 8K from 4K our plug-in now works. This is still a bug in Netscape 6.0.
Do you see this problem in current Mozilla builds as well as Netscape 6.0?
email from foeflein@tamarack-software.com: >YES, THE PROBLEM EXISTS IN MOZILLA AND NETSCAPE 6.0. FJO
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: 4xp
Blocks: 55959
Can someone attach a testcase?
Keywords: testcase
Not if you add the testcase keyword, they won't :-) That flags bugs which have one already. Gerv
Keywords: testcase
Target Milestone: --- → mozilla1.0
Blocks: 76771
Patch checked in. This should now be FIXED.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
this must've got fixed woth 64645. VERIFIED.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.