Skip to content

Add missing nil check - #2488

Merged
paulb777 merged 2 commits into
masterfrom
pb-db-nil
Mar 9, 2019
Merged

Add missing nil check#2488
paulb777 merged 2 commits into
masterfrom
pb-db-nil

Conversation

@paulb777

@paulb777 paulb777 commented Mar 7, 2019

Copy link
Copy Markdown
Member

Fix #2485

The _sendFrameWithOpcode function in FSRWebSocket assert for nil at the top but then fails to test it earlier. The upstream SocketRocket code includes a nil check.

This PR adds it.

@ryanwilson ryanwilson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM on Travis Green

Comment thread Firebase/Database/third_party/SocketRocket/FSRWebSocket.m
@paulb777
paulb777 merged commit 7abbcab into master Mar 9, 2019
@paulb777
paulb777 deleted the pb-db-nil branch March 9, 2019 14:42
@firebase firebase locked and limited conversation to collaborators Oct 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crash in -[FSRWebSocket _sendFrameWithOpcode:data:] line 1389

4 participants