Skip to content

Conversation

Gabba90
Copy link
Contributor

@Gabba90 Gabba90 commented Feb 9, 2022

Hello,

I get the following error when trying to encode a binary packet with a null prototype object:

socketio_parser_error

I think the solutions is to simply use the safer version of the call to hasOwnProperty, just like here.

Let me know what you think of it.

@darrachequesne darrachequesne merged commit 7f6b262 into socketio:master Feb 17, 2022
@darrachequesne
Copy link
Member

@Gabba90 thanks! 👍

@darrachequesne darrachequesne added this to the 4.1.2 milestone Feb 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants