4 ms·
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 i
by zamalek 11y ago
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.
- MichaelGG 11y agoWould not the compiler be free to change around things during optimization? Fail secure is more a protection against logic bugs in your code.