guacamole-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Jumper (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GUACAMOLE-128) Clipboard sharing can crash IE
Date Sun, 27 Nov 2016 03:30:58 GMT

    [ https://issues.apache.org/jira/browse/GUACAMOLE-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15698956#comment-15698956
] 

Michael Jumper commented on GUACAMOLE-128:
------------------------------------------

{quote}
Using internet explorer 11 with "programmatic clipboard access enabled" you can crash the
browser and consume high CPU on the client when placing a large amount of data on the clipboard.
(1600 lines of text is enough)
{quote}

This definitely sounds bad. However:

{quote}
... a good feature to detect the client browser and disable this functionality to prevent
a crash.
{quote}

Browser sniffing is almost always a bad solution. In this case, it's almost self-defeating,
as IE11 is actually one of the browsers which stands to benefit most from the clipboard integration
added by GUACAMOLE-24 due to the way it handles clipboard permissions.

I'm curious why the CPU usage would be so high, and why the browser would crash in the first
place. Setting aside for the moment that there is certainly an underlying bug in IE, 1600
lines is not very large. Even if we assume that IE is absolutely horribly written, something
else must be happening for such a relatively small amount of data to result in a full blown
crash.

Can you provide any other information regarding how this can be reproduced? Ideally:

# Example clipboard contents which, when copied, cause the problem
# The application which the clipboard contents were copied from
# The exact version of IE
# The version of Windows that IE was running under
# The application running on the remote side of the RDP connection (if any)
# The version of Windows used by the RDP server


> Clipboard sharing can crash IE
> ------------------------------
>
>                 Key: GUACAMOLE-128
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-128
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacd-docker
>    Affects Versions: 0.9.10-incubating
>         Environment: Ubuntu 16 using docker containers from latest 0.9.10
>            Reporter: Robin
>
> Using internet explorer 11 with "programmatic clipboard access enabled" you can crash
the browser and consume high CPU on the client when placing a large amount of data on the
clipboard.  (1600 lines of text is enough)
> A work around is to disable "Programmatic clipboard access"  - While this works on other
browsers and is almost certainly an IE 11 issue it would be a good feature to detect the client
browser and disable this functionality to prevent a crash.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message