You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
newInputStream and newOutputStream are not atomic:
They first call #getEntry which releases the lock and does not increment the open count. Only after this are the streams created and the open count incremented. This allows for a race where file can be deleted between #getEntry returning and the stream being created.
The text was updated successfully, but these errors were encountered:
newInputStream
andnewOutputStream
are not atomic:They first call
#getEntry
which releases the lock and does not increment the open count. Only after this are the streams created and the open count incremented. This allows for a race where file can be deleted between#getEntry
returning and the stream being created.The text was updated successfully, but these errors were encountered: