Better HN
topnewbestaskshowjobs
Log inSign up

arestor

8 karma · joined Feb 24, 2017 (9y ago) · 4 submissions

Submissions

comment 9y ago · link · parent

It's still UB. The array could potentially be at the end of the address space...

comment 9y ago · link · parent

See https://news.ycombinator.com/item?id=13719437

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

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 ==.