Skip to content

fix(cdk/clipboard): avoid infinite attempt loop#33366

Open
crisbeto wants to merge 1 commit into
angular:mainfrom
crisbeto:clipboard-infinite-loop
Open

fix(cdk/clipboard): avoid infinite attempt loop#33366
crisbeto wants to merge 1 commit into
angular:mainfrom
crisbeto:clipboard-infinite-loop

Conversation

@crisbeto

@crisbeto crisbeto commented Jun 9, 2026

Copy link
Copy Markdown
Member

CdkCopyToClipboard.copy can go into an infinite loop if a large number is passed into attempts. These changes add a 50 attempt maximum.

`CdkCopyToClipboard.copy` can go into an infinite loop if a large number is passed into `attempts`. These changes add a 50 attempt maximum.
@crisbeto crisbeto added the target: patch This PR is targeted for the next patch release label Jun 9, 2026
@pullapprove pullapprove Bot requested review from adolgachev and andrewseguin June 9, 2026 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: cdk/clipboard target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant