Open
Description
Here, a packet is filled by bytes from a message:
midir/src/backend/winmm/mod.rs
Lines 509 to 513 in db24d55
This is undefined behaviour, because the address of an immutable u32
is taken and cast to a *mut u8
, which is then written to in an unsafe
block.
I have fixes ready in #136 but these are part of a rather large patchset, so if you like I can send a small patch ahead, too.
Metadata
Metadata
Assignees
Labels
No labels