$uname -a
Linux localhost 2.6.28-18-generic #60-Ubuntu SMP Fri Mar 12 04:40:52 UTC 2010 i686 GNU/Linux
$$ gcc --version
gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3
Feel free to experiment with the commented line.
If you set rotated[32]=0x01 for example, it triggers stack smashing detection.
Functions and main are at the bottom...
CODE DELETED
http://cboard.cprogramming.com/c-pro...e-posting.html
READ THEM