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 authored and aqrln committed Feb 20, 2017
1 parent ee18232 commit 2568c8b
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 2568c8b

Please sign in to comment.