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
HeaderSlice constructs and dereferences invalid pointers created from non-pointer integers in from_header_and_iter_alloc.
Here's what miri has to say about it:
error: Undefined Behavior: invalid use of 8 as a pointer
--> components/servo_arc/lib.rs:716:69
|
716 | let fake_ref: &ArcInner<HeaderSlice<H, [T]>> = unsafe { &*fake_ptr };
| ^^^^^^^^^^ invalid use of 8 as a pointer |
= help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information = note: inside `Arc::<HeaderSlice<HeaderWithLength<u32>, [i32]>>::from_header_and_iter_alloc::<[closure@components/servo_arc/lib.rs:815:1
3: 826:14], std::iter::Empty<i32>>` at components/servo_arc/lib.rs:716:69
The text was updated successfully, but these errors were encountered:
HeaderSlice
constructs and dereferences invalid pointers created from non-pointer integers infrom_header_and_iter_alloc
.Here's what miri has to say about it:
The text was updated successfully, but these errors were encountered: