Skip to content

Commit

Permalink
parser: fix bug causing node to crash
Browse files Browse the repository at this point in the history
PR-URL: #75
  • Loading branch information
belochub committed Jan 22, 2018
1 parent 345417a commit a8a3a5e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/packet_parser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ Local<String> ParseNetworkPackets(Isolate* isolate,
curr_chunk + chunk_size);

if (parsed_chunk_size != chunk_size) {
delete[] source;
THROW_EXCEPTION(SyntaxError, "Invalid format");
return Local<String>();
}
Expand Down

0 comments on commit a8a3a5e

Please sign in to comment.