Open
Description
Hi, I hv noticed that there are two dangling pointers used in the function https://github.com/tanriol/ftdi-rs/blob/master/src/opener.rs#L45C8-L45C23. https://github.com/tanriol/ftdi-rs/blob/master/src/opener.rs#L45C8-L45C23 will generate two dangling pointers passed in ffi::ftdi_usb_open_desc_index()
, which may result in a later Use-After-Free bug.
Metadata
Metadata
Assignees
Labels
No labels