noVNC/include
Solly Ross 89bdc8ce48 Fix buffer over-reads in handle_tight
For performance reasons, the `handle_tight` function skips the
use of the receive queue API and uses the raw receive queue directly.
Because of the way that typed array receive queue gets reused, this
introduced the potential for buffer over-reads.

To address this, a new function, `rQwhole`, was introduced.
`rQwhole` simply returns a new view into the receive queue that
starts at 0 and ends at the current recorded end of the queue.

`handle_tight` now makes use of this function.

Fixes #522
2015-08-26 14:31:23 -04:00
..
chrome-app tcp-client.js: after read, try read again. 2012-09-17 17:15:50 -05:00
Orbitron700.ttf Add local copy of Orbitron font. 2011-09-27 16:53:09 -05:00
Orbitron700.woff Add local copy of Orbitron font. 2011-09-27 16:53:09 -05:00
base.css * Hide the fullscreen toggle button on Safari since alphanumerical 2015-06-25 22:37:05 +02:00
base64.js Cleanup and Test: base64.js 2014-09-15 16:46:02 -04:00
black.css Added Copyright information to all modified files. 2013-07-17 16:44:13 +02:00
blue.css Added Copyright information to all modified files. 2013-07-17 16:44:13 +02:00
des.js Cleanup: DES code 2014-09-15 16:46:02 -04:00
display.js Fix bug in non-true-color code 2015-08-24 19:34:30 -04:00
inflator.js Avoid Creating Small Objects Frequently 2015-08-06 14:47:03 -04:00
input.js Cleanup: Input code 2014-09-15 16:46:02 -04:00
jsunzip.js Refactoring hot blocks to help Chrome optimizing compiler. 2012-10-15 13:48:07 -05:00
keyboard.js Fixes #309, make use of keysym.js 2014-11-26 09:24:13 +01:00
keysym.js Fixes issue #435 - added missing comma in keysym.js 2015-02-03 13:04:16 +01:00
keysymdef.js Keyboard Handling [7/8]: Replace keysym table with optimized version 2013-12-05 12:31:50 -05:00
logo.js Add logo, favicon. 2011-02-03 11:04:32 -06:00
playback.js Use Typed Arrays for the Websock receive queue 2015-08-06 14:47:03 -04:00
rfb.js Fix buffer over-reads in handle_tight 2015-08-26 14:31:23 -04:00
ui.js UI: Fix typo preventing reconnect after password 2015-08-24 16:41:00 -04:00
util.js Create RFB object on connect 2015-03-26 17:09:05 -04:00
websock.js Fix buffer over-reads in handle_tight 2015-08-26 14:31:23 -04:00
webutil.js Cleanup: Webutil code 2014-09-15 16:46:02 -04:00