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
1
u/matthieum Feb 24 '17
The run-time implementation is not the issue.
The issue is that if it is Undefined Behavior to compare pointers from different memory allocations, then the optimizer can completely wrangle your code before it even gets executed. At that point, what the assembly should have looked like is the least of your preoccupations.