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
When sockets_to_add is more than one, the static mutable variables TCP_SERVER_RX_DATA and TCP_SERVER_TX_DATA are used multiple times to create multiple TcpSocket's.
This will result in multiple mutable references to the same buffer which is unsound.
And as a consequence data is corrupted when multiple sockets are used at the same time.
The text was updated successfully, but these errors were encountered:
In function
create_network_interface()
fromsrc/wifi/utils.rs
When
sockets_to_add
is more than one, the static mutable variablesTCP_SERVER_RX_DATA
andTCP_SERVER_TX_DATA
are used multiple times to create multiple TcpSocket's.This will result in multiple mutable references to the same buffer which is unsound.
And as a consequence data is corrupted when multiple sockets are used at the same time.
The text was updated successfully, but these errors were encountered: