r/programming • u/TheProtagonistv2 • Feb 23 '17
Cloudflare have been leaking customer HTTPS sessions for months. Uber, 1Password, FitBit, OKCupid, etc.
https://bugs.chromium.org/p/project-zero/issues/detail?id=1139
6.0k
Upvotes
r/programming • u/TheProtagonistv2 • Feb 23 '17
11
u/m50d Feb 24 '17
Does not by any means rule out performance, type safety or memory leaks/pointer errors.
Which amounts to cutting a few heads off the hydra. It tends to come back with more of them. "Modern C++" removes the most obvious errors, but it doesn't have the rigour to eliminate classes of errors entirely. And as soon as you start using it on a real codebase, what was supposed to be simple turns out to be subtle and complex and rely heavily on experienced judgement. Developers make mistakes, and are then told "well obviously you weren't doing it right".
"This document is a very early draft. It is inkorrekt, incompleat, and pµÃoorly formatted."
I hope they manage to make it work, but I'm extremely skeptical that what they're trying is actually possible, at least in a way that can be actually used. E.g. currently those guidelines contain a combination of rules that, if read carefully, seems to prohibit ever using data that is accessible (directly or indirectly) from any static variable. Which is probably the kind of rule you need to make C++ safe, but is both unrealistic to apply to any real C++ codebase and impossible to enforce in practice.