Skip to content

[v10] desktop clipboard: prevent integer underflow#17179

Merged
zmb3 merged 1 commit into
branch/v10from
bot/backport-17175-branch/v10
Oct 7, 2022
Merged

[v10] desktop clipboard: prevent integer underflow#17179
zmb3 merged 1 commit into
branch/v10from
bot/backport-17175-branch/v10

Conversation

@zmb3
Copy link
Copy Markdown
Collaborator

@zmb3 zmb3 commented Oct 7, 2022

Backport #17175 to branch/v10

A misbehaving server could send a single byte to the clipboard
using format CF_UNICODETEXT, which would cause an underflow.

Fixes gravitational/teleport-private#177
@zmb3 zmb3 merged commit f82c016 into branch/v10 Oct 7, 2022
@zmb3 zmb3 deleted the bot/backport-17175-branch/v10 branch October 7, 2022 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants