Uploaded image for project: 'Apache Guacamole - Contributions'
  1. Apache Guacamole - Contributions
  2. GUAC-1391 Release 0.9.9
  3. GUAC-1428

"blob" instruction handler assumes stream exist

    XMLWordPrintable

    Details

    • Type: Defect
    • Status: Done
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: guacamole-common-js
    • Labels:
      None
    • Sprint:
      DEV 2015-12-18

      Description

      Within Guacamole.Client the instruction handler for the "blob" instruction (and presumably other stream instructions) assumes that the associated stream actually exists, invoking function calls on the stream having the specified index. If the stream does not actually exist, this results in a hard JavaScript error.

      Streams will are not guaranteed to be defined - particularly if stream-related handlers like "onclipboard" are not set or if the Guacamole server ignores or simply has not yet received errors which implicitly close the stream.

      By definition, implementations of the Guacamole protocol do not need to limit "blob" instructions to existing streams, nor do they need to wait for or handle error conditions reported by "ack".

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mike.jumper Michael Jumper
              Reporter:
              mike.jumper Michael Jumper
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: