4 ms·
This is essentially what caused the Cap'n'Proto remote vulnerability[1] 6 months back. The compiler optimized away an overflow check that directed control to a
by kbenson 9y ago
This is essentially what caused the Cap'n'Proto remote vulnerability[1] 6 months back. The compiler optimized away an overflow check that directed control to an error handling path, eliding the code that checked for the exact error. Fun.
1: https://news.ycombinator.com/item?id=14163111 https://news.ycombinator.com/item?id=14163111