Cleared 2m ago · DragonOS-Community/DragonOS #1508 · Rust · ★ 1.2k · GPL-2.0

[BUG REPORT] Unsound pointer arithmetic and unbounded loop in check_and_clone_cstr_array

描述错误 DragonOS/kernel/src/syscall/user_access.rs Lines 164 to 197 in fa4d785 pub fn check_and_clone_cstr_array(user: *const *const u8) -> Result<Vec<CString>, SystemError> { if user.is_null() { Ok(Vec::new()) } else { // debug!("check_and_clone_cstr_array: {:p}\n", user); let mut…

What we checked

Similar unclaimed issues