Closed Bug 990984 Opened 10 years ago Closed 10 years ago

[IPC] Make UnixSocket fail when reading from a to-be-closed socket

Categories

(Firefox OS Graveyard :: Bluetooth, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: tzimmermann, Assigned: tzimmermann)

Details

Attachments

(1 file)

We should fail if we're trying to read from a socket that is about to be closed. This might point to the cause of bug 981239.
Closes the socket fd ASAP. There's a long explanation in bug 981239, comment 4.
Attachment #8400534 - Flags: review?(kyle)
Summary: [IPC] Make UnixSocket when reading from a to-be-closed socket → [IPC] Make UnixSocket fail when reading from a to-be-closed socket
Attachment #8400534 - Flags: review?(kyle) → review+
https://hg.mozilla.org/mozilla-central/rev/5390f327cecc
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: