Skip to content
Snippets Groups Projects
user avatar
Fiona Ebner authored
Commit d921fea3 ("ui/vnc-clipboard: fix infinite loop in
inflate_buffer (CVE-2023-3255)") removed this hunk, but it is still
required, because it can happen that stream.avail_in becomes zero
before coming across a return value of Z_STREAM_END in the loop.

This fixes the host->guest direction of the clipboard with noVNC and
TigerVNC as clients.

Fixes: d921fea3 ("ui/vnc-clipboard: fix infinite loop in inflate_buffer (CVE-2023-3255)")
Reported-by: default avatarFriedrich Weber <f.weber@proxmox.com>
Signed-off-by: default avatarFiona Ebner <f.ebner@proxmox.com>
Acked-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20231122125826.228189-1-f.ebner@proxmox.com>
ebfbf394
History