HNHacker News
TopNewBestAskShowJobs

arestor

8 karma · joined February 24, 2017

submissionscomments
arestor··on Cloudflare Reverse Proxies Are Dumping Uninitialized Memory
It's still UB. The array could potentially be at the end of the address space...
arestor··on Cloudflare Reverse Proxies Are Dumping Uninitialized Memory
See https://news.ycombinator.com/item?id=13719437
arestor··on Cloudflare Reverse Proxies Are Dumping Uninitialized Memory
Some features had a bug which lead to uninitialized memory (AKA previous memory contents) in the output of a malformed HTML page was requested.

As one such server handles many sites, everything that the server handled before that request may be compromised. This includes all HTTP-GET/POST data (credentials, direct messages to other users, ...), Headers (API tokens, Login-Cookies) and contents.

So, you have to assume that everything you did on a CF "protected" website in the last months (especially between 2017-02-13 and 2017-02-17) is potentially compromised.

arestor··on Cloudflare Reverse Proxies Are Dumping Uninitialized Memory
It's C. If you have an array, you may only compare to one element behind the last. Everything else is undefined behavior. So a compiler may just "optimize" your >= to ==.