Skip to content

Commit

Permalink
fix overflow and refactor websockets decode (Hybi)
Browse files Browse the repository at this point in the history
fix critical heap-based buffer overflow which allowed easy modification
of a return address via an overwritten function pointer

fix bug causing connections to fail due a "one websocket frame = one
ws_read" assumption, which failed with LibVNCServer-0.9.11

refactor websocket Hybi decode to use a simple state machine for
decoding of websocket frames
  • Loading branch information
Andreas Weigel authored and bk138 committed May 14, 2017
1 parent 0fcd4a3 commit aac95a9
Showing 1 changed file with 463 additions and 132 deletions.
Loading

0 comments on commit aac95a9

Please sign in to comment.