Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
arestor
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
arestor
10y ago
It's still UB. The array could potentially be at the end of the address space...
2.
▲
by
arestor
10y ago
See https://news.ycombinator.com/item?id=13719437
3.
▲
by
arestor
10y ago
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 ma
4.
▲
by
arestor
10y ago
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 ==.