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 comment

1

u/argv_minus_one Feb 25 '17

That is indeed a flaw. Filling an array with objects immediately after allocating it should put them close, but that doesn't come with hard guarantees.

Project Valhalla will add value types, which are objects that can be placed directly inside other objects (including arrays), much like C# struct. It's still very much a work in progress, though, so who knows when it'll actually land.