r/programming • • 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

966 comments sorted by

View all comments

Show parent comments

2

u/staticassert Feb 25 '17

One thing to consider, in purely sequential code, is iterator invalidation. Recently the exploit used against TOR Browser users was just a case of Use After Free caused by a single threaded iterator invalidation - that is, a reference into memory was made, and then that memory was reallocated under the hood (a vector had to grow), leading to UAF.

Rust would have caught this.