summaryrefslogtreecommitdiffstats
path: root/webclients
diff options
context:
space:
mode:
authorNicolas Ruff <nruff@google.com>2014-08-18 15:16:16 +0200
committerNicolas Ruff <nruff@google.com>2014-08-18 15:16:16 +0200
commit6037a9074d52b1963c97cb28ea1096c7c14cbf28 (patch)
tree06fc40f0c264b9f811439ef62fb1f2a8eec328b2 /webclients
parent7c9ef6372d3ce2942fe78e853c611e269f68eb69 (diff)
downloadlibvncserver-6037a9074d52b1963c97cb28ea1096c7c14cbf28.zip
libvncserver-6037a9074d52b1963c97cb28ea1096c7c14cbf28.tar.gz
Check malloc() return value on client->server ClientCutText message. Client can send up to 2**32-1 bytes of text, and such a large allocation is likely to fail in case of high memory pressure. This would in a server crash (write at address 0).
Diffstat (limited to 'webclients')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud