Cheerful Ottering
Cheerful Ottering
same for ``` pub fn offset(&mut self, offset: isize) { self.top = unsafe { self.top.offset(offset) }; } ``` 23:52:11|RAP|INFO|: 3: Public function using public struct field in unsafe operation: table::Table::free...
maybe same problem for https://github.com/zmwangx/rust-ffmpeg/blob/a7b50dd5f909e071affffe238d434d184da30aee/src/codec/audio.rs#L64 here is my PoC: ``` extern crate ffmpeg_next; use std::ptr; use ffmpeg_next::codec::audio::RateIter; fn main() { let invalid_ptr:*const i32=ptr::null(); let mut a=RateIter::new(invalid_ptr); a.next(); } ``` Result:...
same for https://github.com/zmwangx/rust-ffmpeg/blob/a7b50dd5f909e071affffe238d434d184da30aee/src/codec/codec.rs#L105
also https://github.com/zmwangx/rust-ffmpeg/blob/a7b50dd5f909e071affffe238d434d184da30aee/src/codec/video.rs#L48
and https://github.com/zmwangx/rust-ffmpeg/blob/a7b50dd5f909e071affffe238d434d184da30aee/src/codec/audio.rs#L91
and https://github.com/zmwangx/rust-ffmpeg/blob/a7b50dd5f909e071affffe238d434d184da30aee/src/filter/filter.rs#L82
I haven't received any feedback, and I think this crate is no longer maintained.
Consider this is a unsound problem, I suggest we should report it to RustSec.[https://rustsec.org/contributing.html](url)
@safe4u May I ask if it is convenient for you to report to Rustsec? If it is not convenient for you, I can make a report :)