Slashdot Mirror


How Do You Know Your Code is Secure?

bvc writes "Marucs Ranum notes that 'It's really hard to tell the difference between a program that works and one that just appears to work.' He explains that he just recently found a buffer overflow in Firewall Toolkit (FWTK), code that he wrote back in 1994. How do you go about making sure your code is secure? Especially if you have to write in a language like C or C++?"

4 of 349 comments (clear)

  1. TAHT first post? by Anonymous Coward · · Score: -1, Troll

    TAHT first post?

  2. Just Say No by iliketrash · · Score: 0, Troll

    "How do you go about making sure your code is secure? Especially if you have to write in a language like C or C++?" Don't write in C or C++. Duh. Where is it written that all software must be written in C or C++? Is anyone capable of independent thought? There are plenty of fine languages that are safe. Ada comes to mind. Maybe others will come to your mind (if you have one).

  3. So how much did Fortify pay for the ad on /.? by Anonymous Coward · · Score: -1, Troll

    nuff said...

  4. Re:Don't use C++ as if it was only "C with classes by Hal_Porter · · Score: -1, Troll

    I dunno, maybe he's hetrosexual?

    --
    echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;