Re: Debugging issue with -m32 program
"Mahmood Naderan via gdb" <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
>Did you overwrite memory by strcpy to an output that's too small? Indeed yes. But not too small. The buffer is more than 100 characters while dest is 100 characters. The question is why the same program, without specifying -m32, works actually?! Which one is correct behavior? Crash or not crash?! Regards, Mahmood