Better HN
topnewbestaskshowjobs
Log inSign up

bnurun

8 karma · joined Apr 26, 2021 (5y ago) · 6 submissions

Submissions

comment 5y ago · link · parent

Considering where Firefox and Chrome overall stand on sandboxing, two libraries isn't substantial. Chrome has consistent, extensive sandboxing, and Firefox has sandboxing here and there as an afterthought. I looked into trying Firefox on Android but it apparently doesn't even have a sandbox.

comment 5y ago · link · parent

> if Chrome doesn't have it, it must be useless

Those Chrome CVEs are for single-digit version numbers from 10 years ago. I'm sure they sandbox FFmpeg more extensively now.

comment 5y ago · link · parent

Site Isolation can mitigate Spectre attacks: https://security.googleblog.com/2018/07/mitigating-spectre-w...

comment 5y ago · link · parent

> not an innocent-looking convenience syntax for flirting with the UB

I agree, but C++ uses this pattern in so many places that I think it is less confusing to be consistent. When I see a nice, concise syntax or function, I check cppreference for undefined behavior...

comment 5y ago · link · parent

The deliberate omission of std::span::at() is annoying. The paper that introduced std::span was titled "span: bounds-safe views for sequences of objects," but there is actually no bounds checking in the standard. It's only true with debug builds that also use slow, debug versions of the STL, which have almost negligible value compared to just using sanitizers.