gecko-dev/xpcom/io
Nika Layzell 4d7290a26c Bug 1681529 - Part 8: Handle clones of closed nsPipeInputStreams, r=baku
Previously if `Clone()` was called on a closed nsPipeInputStream, it could cause
crashes due to the already-closed nsPipeInputStream being added to mInputList,
violating internal nsPipe invariants. Skipping adding the stream to that list
should avoid this edge-case, as the pipe is already closed.

Differential Revision: https://phabricator.services.mozilla.com/D101807
2021-01-27 21:55:21 +00:00
..
Base64.cpp
Base64.h
CocoaFileUtils.h
CocoaFileUtils.mm
FileDescriptorFile.cpp
FileDescriptorFile.h
FilePreferences.cpp
FilePreferences.h
FileUtilsWin.cpp
FileUtilsWin.h
InputStreamLengthHelper.cpp
InputStreamLengthHelper.h
InputStreamLengthWrapper.cpp
InputStreamLengthWrapper.h
NonBlockingAsyncInputStream.cpp
NonBlockingAsyncInputStream.h
SeekableStreamWrapper.cpp Bug 1681529 - Part 6: Introduce a SeekableStreamWrapper to make pipes seekable, r=baku 2021-01-27 21:55:17 +00:00
SeekableStreamWrapper.h Bug 1681529 - Part 6: Introduce a SeekableStreamWrapper to make pipes seekable, r=baku 2021-01-27 21:55:17 +00:00
SlicedInputStream.cpp
SlicedInputStream.h
SnappyCompressOutputStream.cpp
SnappyCompressOutputStream.h
SnappyFrameUtils.cpp
SnappyFrameUtils.h
SnappyUncompressInputStream.cpp
SnappyUncompressInputStream.h
SpecialSystemDirectory.cpp
SpecialSystemDirectory.h
components.conf
crc32c.c
crc32c.h
moz.build Bug 1681529 - Part 6: Introduce a SeekableStreamWrapper to make pipes seekable, r=baku 2021-01-27 21:55:17 +00:00
nsAnonymousTemporaryFile.cpp
nsAnonymousTemporaryFile.h
nsAppDirectoryServiceDefs.h
nsAppFileLocationProvider.cpp
nsAppFileLocationProvider.h
nsBinaryStream.cpp
nsBinaryStream.h
nsDirectoryService.cpp
nsDirectoryService.h
nsDirectoryServiceDefs.h
nsDirectoryServiceUtils.h
nsEscape.cpp
nsEscape.h
nsIAsyncInputStream.idl
nsIAsyncOutputStream.idl
nsIBinaryInputStream.idl
nsIBinaryOutputStream.idl
nsICloneableInputStream.idl
nsIConverterInputStream.idl
nsIConverterOutputStream.idl
nsIDirectoryEnumerator.idl
nsIDirectoryService.idl
nsIFile.idl
nsIIOUtil.idl
nsIInputStream.idl
nsIInputStreamLength.idl
nsIInputStreamPriority.idl
nsIInputStreamTee.idl
nsILineInputStream.idl
nsILocalFileMac.idl
nsILocalFileWin.idl
nsIMultiplexInputStream.idl
nsIOUtil.cpp
nsIOUtil.h
nsIObjectInputStream.idl
nsIObjectOutputStream.idl
nsIOutputStream.idl
nsIPipe.idl
nsISafeOutputStream.idl
nsIScriptableBase64Encoder.idl
nsIScriptableInputStream.idl
nsISeekableStream.idl
nsIStorageStream.idl
nsIStreamBufferAccess.idl
nsIStringStream.idl
nsITellableStream.idl
nsIUnicharInputStream.idl
nsIUnicharLineInputStream.idl
nsIUnicharOutputStream.idl
nsInputStreamTee.cpp
nsLinebreakConverter.cpp
nsLinebreakConverter.h
nsLocalFile.h
nsLocalFileCommon.cpp
nsLocalFileCommon.h
nsLocalFileUnix.cpp
nsLocalFileUnix.h
nsLocalFileWin.cpp Bug 1689598 r=tkikuchi,mhowell,dmajor,valentin 2021-02-02 12:36:56 +00:00
nsLocalFileWin.h
nsMultiplexInputStream.cpp
nsMultiplexInputStream.h
nsNativeCharsetUtils.cpp
nsNativeCharsetUtils.h
nsPipe.h
nsPipe3.cpp Bug 1681529 - Part 8: Handle clones of closed nsPipeInputStreams, r=baku 2021-01-27 21:55:21 +00:00
nsScriptableBase64Encoder.cpp
nsScriptableBase64Encoder.h
nsScriptableInputStream.cpp
nsScriptableInputStream.h
nsSegmentedBuffer.cpp
nsSegmentedBuffer.h
nsStorageStream.cpp
nsStorageStream.h
nsStreamUtils.cpp
nsStreamUtils.h
nsStringStream.cpp
nsStringStream.h
nsUnicharInputStream.cpp
nsUnicharInputStream.h
nsWildCard.cpp
nsWildCard.h