Skip to content

Conversation

paulb777
Copy link
Member

@paulb777 paulb777 commented Mar 7, 2019

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.

Copy link
Member

@ryanwilson ryanwilson left a comment

Choose a reason for hiding this comment

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

LGTM on Travis Green

@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