Re: Problem with debugging -m32 program

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>If you're overwriting the stack, then it is undefined behaviour.  Anything
>can happen.



That should be concerned if the modified return address is going to be executed (jump to another location). What is odd here, is that I am just copying and overwriting the values. Please see in the first post that the next command just runs strcpy. So, no matter what is the result, it has to overwrite the memory location. 


Don't you agree?



Regards,
Mahmood 





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux