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
At line 102 and 108, they both cast the type aligned to 2 bytes to the type aligned to 4 bytes. This could lead to undefined behavior in safe functions.
The text was updated successfully, but these errors were encountered:
The source of unsoundness
Hi, we found that two safe functions created misaligned pointers and dereference:
if-addrs/src/sockaddr.rs
Lines 99 to 108 in 947c634
At line 102 and 108, they both cast the type aligned to 2 bytes to the type aligned to 4 bytes. This could lead to undefined behavior in safe functions.
The text was updated successfully, but these errors were encountered: