mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 12:51:06 +00:00
Bug 1781038
- Add missing null check in TCPSocketParent. r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D152637
This commit is contained in:
parent
40f072b8de
commit
390fbea6c3
@ -113,6 +113,7 @@ mozilla::ipc::IPCResult TCPSocketParent::RecvResume() {
|
||||
}
|
||||
|
||||
mozilla::ipc::IPCResult TCPSocketParent::RecvData(const SendableData& aData) {
|
||||
NS_ENSURE_TRUE(mSocket, IPC_OK());
|
||||
ErrorResult rv;
|
||||
|
||||
switch (aData.type()) {
|
||||
|
Loading…
Reference in New Issue
Block a user