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
We consider that queue::Queue::get is unsound because the program tried to cast u8 slice to f32/f64/i32 and created a unaligned pointer. The unaligned pointer was passed to slice::from_raw_parts which requires the guarantee of pointer's alignment.
The text was updated successfully, but these errors were encountered:
The source of unsoundness
gfx/src/backend/gl/src/queue.rs
Lines 185 to 189 in bc77309
We consider that
queue::Queue::get
is unsound because the program tried to castu8
slice tof32/f64/i32
and created a unaligned pointer. The unaligned pointer was passed toslice::from_raw_parts
which requires the guarantee of pointer's alignment.The text was updated successfully, but these errors were encountered: