It's hard to appreciate how good Rustls is at avoiding UaF since UaF avoidance is taken for granted in idiomatic Rust code. Tiny things like `#[must_use]` are small but help avoid big failures. Our friends doing concurrency & malloc/free in C are still struggling w/ the basics.
I don't know quite why it's hard to find the places where we get unexpected reentrancy. I kind of imagine that most of this "unexpected" reentrancy happens many times through a few paths that are kind of stubbornly not rearchitected to avoid it. That's a pretty uninformed guess.
-
-
Mutation observers are the most common source of this problem. Remove a node from the DOM while in the middle of an operation on that node.
-
Mutation Events? Mutation Observers run around microtask time, which is pretty clearly defined and not reentrant.
-
Yeah, you are right. I always get those names mixed up for some reason.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.