Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
chc4
· 2y ago · 0 comments
raw_ptr<T> is in fact a smart pointer wrapper that mitigates exploitation of most use-after-frees
https://security.googleblog.com/2022/09/use-after-freedom-mi...
Comments
[–]
fractaled
2y ago
It might be better to say raw_ptr<T> is a
dumb
pointer wrapper. raw_ptr is discouraged in favor of unique_ptr/WeakPtr/RefCounted; but it is used in places where you'd have a T* at rest.