Closed Bug 71921 Opened 25 years ago Closed 25 years ago

nsInputStreamTee::WriteSegmentFun has a minor bug

Categories

(Core :: XPCOM, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED
mozilla0.9

People

(Reporter: darin.moz, Assigned: darin.moz)

Details

Attachments

(1 file)

nsInputStreamTee::WriteSegmentFun compares writeCount to zero when it should really be comparing *writeCount to zero. This has led to all sorts of data corruption.
Status: NEW → ASSIGNED
Keywords: nsbeta1
Target Milestone: --- → mozilla0.9
Actually, I was mistaken about the severity of this bug. writeCount is almost always non-zero, and there is no harm (other than missing out on a small optimization) in not having the (*writeCount == 0) test. So, this bug is really very minor.
Severity: normal → minor
Keywords: patch
Summary: nsInputStreamTee::WriteSegmentFun is broken → nsInputStreamTee::WriteSegmentFun has a minor bug
dougt says "sr"
fix checked in
marking FIXED
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: