Hacker News new | past | comments | ask | show | jobs | submit login

    B8 01 00 00 00    mov  eax, 1   ; never reached: set result to 1 (fail)
This is why you should always initialize variables to "fail" in secure code, although in this case it probably wouldn't have helped.



Would not the compiler be free to change around things during optimization? Fail secure is more a protection against logic bugs in your code.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: