This is an automated email from the ASF dual-hosted git repository.

asf-gitbox-commits pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/guacamole-server.git

commit 66478d5d1cacc7a4434b772d884e79176ba3998c
Merge: c802cdce 3cba41e6
Author: Virtually Nick <[email protected]>
AuthorDate: Thu May 7 21:42:25 2026 -0400

    Merge patch branch changes to main.

 configure.ac                  | 24 ++++++++++++++++++++++++
 src/protocols/vnc/clipboard.c |  4 ++++
 src/protocols/vnc/clipboard.h |  2 ++
 src/protocols/vnc/vnc.c       |  2 ++
 4 files changed, 32 insertions(+)

diff --cc src/protocols/vnc/clipboard.c
index 59674850,ec18e402..d682d379
--- a/src/protocols/vnc/clipboard.c
+++ b/src/protocols/vnc/clipboard.c
@@@ -161,10 -141,10 +162,11 @@@ int guac_vnc_clipboard_end_handler(guac
                      vnc_client->clipboard->length))
              return 0;
      }
+ #endif
  
      /* Fall back to classic clipboard with encoding conversion */
 -    char* output_data = guac_mem_alloc(GUAC_COMMON_CLIPBOARD_MAX_LENGTH);
 +    int output_buf_size = clipboard->available;
 +    char* output_data = guac_mem_alloc(output_buf_size);
      if (output_data == NULL) {
          guac_client_log(client, GUAC_LOG_WARNING,
                  "Clipboard conversion failed: unable to allocate output "

Reply via email to