diff options
author | Nicolas Ruff <nruff@google.com> | 2014-08-18 15:16:16 +0200 |
---|---|---|
committer | Nicolas Ruff <nruff@google.com> | 2014-08-18 15:16:16 +0200 |
commit | 6037a9074d52b1963c97cb28ea1096c7c14cbf28 (patch) | |
tree | 06fc40f0c264b9f811439ef62fb1f2a8eec328b2 /webclients | |
parent | 7c9ef6372d3ce2942fe78e853c611e269f68eb69 (diff) | |
download | libvncserver-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