Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

"If they read over (i.e. the NULL byte is in byte position 1 2 or 3), isn't that technically undefined behavior?"

Only if they are using C, not implementing it. That is why the C standard has that 'undefined behavior' claus. It makes optimizations like this possible.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: