Closed Bug 146304 Opened 23 years ago Closed 23 years ago

nsCacheEntryDescriptor::nsOutputStreamWrapper::Init is not thread safe

Categories

(Core :: Networking: Cache, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: gordon, Assigned: gordon)

Details

nsCacheEntryDescriptor::nsOutputStreamWrapper::Init() is not going through the nsCacheService::OnDataSizeChange() method. It should probably call nsCacheEntryDescriptor::RequestDataSizeChange(), rather than calling the device directly.
will this be fixed along with your stream wrapper patch?
Yes, this was fixed with that landing. nsCacheEntryDescriptor::nsOutputStreamWrapper::Init() now enters the nsCacheService::ServiceLock() before calling device->OnDataSizeChange().
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.