This is probably not the correct interpretation of this error.
The Win32 error above is more likely to indicate the actual problem.
Flags
Severity
Success
This code indicates success, rather than an error.
This may not be the correct interpretation of this code,
or possibly the program is handling errors incorrectly.
I'm curious about how overwriting the stack is different in the main function than in other functions Take this example: #include <stdio.h> int main(int argc, char *argv[]) { char buf[8]; gets(buf); } In this code, the buffer to be overflowed is created in the main function, and as a result [...] read more