Thread: Really weird stack smashing problem

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Jul 2010
    Posts
    20

    Question Really weird stack smashing problem

    $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
    Last edited by Salem; 07-23-2010 at 10:26 PM. Reason: Deleted hacking code

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. *** stack smashing detected ***
    By chakra in forum C Programming
    Replies: 2
    Last Post: 06-09-2009, 09:12 PM
  2. *** stack smashing detected ***
    By Martin_HS in forum C Programming
    Replies: 9
    Last Post: 05-29-2009, 04:01 AM
  3. Weird access violation error with stack
    By ryeguy in forum C++ Programming
    Replies: 2
    Last Post: 02-29-2008, 02:53 AM
  4. Stack Program Here
    By Troll_King in forum C Programming
    Replies: 7
    Last Post: 10-15-2001, 05:36 PM
  5. Array Stack Problem
    By Drew in forum C++ Programming
    Replies: 3
    Last Post: 09-04-2001, 06:58 PM

Tags for this Thread