logoalt Hacker News

saagarjhayesterday at 11:23 AM1 replyview on HN

Turning undefined behavior into implementation defined behavior is rarely a fix, though.


Replies

lelanthranyesterday at 11:39 AM

It's a fix that removes the most pointy part of UB.

"Going past the end of the array results in addressing arbitrary values" I can live with. "Going past the end of an array results in anything happening" is a hard sell.

show 3 replies