You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The broadcast channel internally calls clone on the stored value when
receiving it, and only requires T:Send. This means that using the broadcast
channel with values that are Send but not Sync can trigger unsoundness if
the clone implementation makes use of the value being !Sync.
Thank you to Austin Bonander for finding and reporting this issue.
tokio
1.38.0
The broadcast channel internally calls
clone
on the stored value whenreceiving it, and only requires
T:Send
. This means that using the broadcastchannel with values that are
Send
but notSync
can trigger unsoundness ifthe
clone
implementation makes use of the value being!Sync
.Thank you to Austin Bonander for finding and reporting this issue.
See advisory page for additional details.
The text was updated successfully, but these errors were encountered: