Skip to content
This repository has been archived by the owner on Oct 8, 2020. It is now read-only.

Commit

Permalink
fix #4 @ code.google.com
Browse files Browse the repository at this point in the history
  • Loading branch information
m8rge committed Mar 25, 2012
1 parent 5c2e630 commit 9a91601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion websocket.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ enum ws_frame_type ws_parse_input_frame(const uint8_t *input_frame, size_t input
data_length *= 0x80;
data_length += *frame_ptr & 0xF9;
if (data_length < old_data_length || // overflow occured
input_len < data_length) // something wrong :\
input_len < data_length) // something wrong
return WS_ERROR_FRAME;
frame_ptr++;
}
Expand Down

0 comments on commit 9a91601

Please sign in to comment.