Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Security

Why Coding Is Insecure 176

Stuart of Wapping writes "Even patches are not safe, especially if they come from a closed background (maybe) - An interesting article on why coding, is naturally insecure, from SecurityFocus."
This discussion has been archived. No new comments can be posted.

Why Coding Is Insecure

Comments Filter:
  • by togtog ( 104205 ) on Sunday February 03, 2002 @09:42AM (#2945883) Homepage
    Security Focus is redirecting to google. Which has a cache of the page, please use that instead.

    http://www.google.com/search?q=cache:M13ch6-wvbw C: www.securityfocus.com/infocus/1541+&hl=en
  • so use it (Score:2, Informative)

    by Anonymous Coward on Sunday February 03, 2002 @12:51PM (#2946513)
    If you want run-time bounds checking, use run-time bounds checking. --enable-bounded is there right next to the --enable-omitfp in your glibc configure script.

    Your argument that you have to do your own bounds checking, every time, is wrong. If you have a good grasp of the C language, you should be able to code perfectly secure programs that only perform bounds-checking on external (e.g. user-input) strings.

    C is a lot like X: the people who criticise it are exactly the people who don't understand it. If you want bounds-checking, use bounds-checking. If you want garbage collection, use garbage collection. If you want the specific warnings that you've mentioned, use lint. ALL OF THESE TOOLS ALREADY EXIST AND ARE IN COMMON USE. It's alright if you're ignorant of these tools, but for heaven's sakes don't blame the C language for them.

  • Re:NSA Linux (Score:3, Informative)

    by Dwonis ( 52652 ) on Sunday February 03, 2002 @02:15PM (#2946832)
    Linux 2.4 hasn't had a serious security flaw yet. And it is at a 2.4.18 (patch) level.

    The iptables connection tracking security flaw was a major flaw.

The optimum committee has no members. -- Norman Augustine

Working...