Windows Programmers... check this out

Discussion in 'Archived Threads 2001-2004' started by Steven K, Aug 14, 2002.

  1. Steven K

    Steven K Supporting Actor

    Joined:
    Jan 10, 2000
    Messages:
    830
    Likes Received:
    0
    From the newest edition of 2600 magazine: check out the C code below:
     
  2. Andre F

    Andre F Screenwriter

    Joined:
    Dec 9, 2000
    Messages:
    1,486
    Likes Received:
    2
    I'm curious....why are you posting this? I read 2600 as well but don't feel the need to post "code crashing" selections from it. BTW, I have plently of code written over the years that will crash almost anything, of course it's not intentional [​IMG] ...
     
  3. Kolya

    Kolya Stunt Coordinator

    Joined:
    Mar 10, 2001
    Messages:
    91
    Likes Received:
    0
    Here is more info on this bug.
    I heard about it last year on slashdot.
     
  4. Steven K

    Steven K Supporting Actor

    Joined:
    Jan 10, 2000
    Messages:
    830
    Likes Received:
    0
     
  5. Andre F

    Andre F Screenwriter

    Joined:
    Dec 9, 2000
    Messages:
    1,486
    Likes Received:
    2
    Steven,
    Fair enough. When I something like this I always feel better with an explanation. When it has to do with an interest in the code I think that's fine, on the other hand if it's with the intention of bringing down muliple systems or something like that I get worried....sorry to be a stick in the mud about it.
     
  6. Alan Erceg

    Alan Erceg Stunt Coordinator

    Joined:
    Jul 16, 1999
    Messages:
    154
    Likes Received:
    0
    and i thought i was the only one who read 2600...very interesting stuff in that little book...lol
     
  7. Andre F

    Andre F Screenwriter

    Joined:
    Dec 9, 2000
    Messages:
    1,486
    Likes Received:
    2
     
  8. Steven K

    Steven K Supporting Actor

    Joined:
    Jan 10, 2000
    Messages:
    830
    Likes Received:
    0
     
  9. Jeff Peake

    Jeff Peake Supporting Actor

    Joined:
    Jul 12, 1998
    Messages:
    501
    Likes Received:
    0
    It's been a while since I have done C programming, what is b??? Backspace?

    So it looks like that code writes HUNGUP (6 chars) to stdout and backspaces 7 times. A backwards buffer-overflow, cool!
     

Share This Page